Searched refs:map_find (Results 1 – 12 of 12) sorted by relevance
| /netbsd/src/sbin/gpt/ |
| D | recover.c | 158 if (map_find(gpt, MAP_TYPE_MBR) != NULL) { in recover() 163 gpt->gpt = map_find(gpt, MAP_TYPE_PRI_GPT_HDR); in recover() 164 gpt->tpg = map_find(gpt, MAP_TYPE_SEC_GPT_HDR); in recover() 165 gpt->tbl = map_find(gpt, MAP_TYPE_PRI_GPT_TBL); in recover() 166 gpt->lbt = map_find(gpt, MAP_TYPE_SEC_GPT_TBL); in recover() 207 if (map_find(gpt, MAP_TYPE_PMBR) == NULL) { in recover()
|
| D | resizedisk.c | 102 mbrmap = map_find(gpt, MAP_TYPE_PMBR); in resizedisk() 109 gpt->gpt = map_find(gpt, MAP_TYPE_PRI_GPT_HDR); in resizedisk() 115 gpt->tbl = map_find(gpt, MAP_TYPE_PRI_GPT_TBL); in resizedisk() 124 gpt->tpg = map_find(gpt, MAP_TYPE_SEC_GPT_HDR); in resizedisk() 125 gpt->lbt = map_find(gpt, MAP_TYPE_SEC_GPT_TBL); in resizedisk()
|
| D | destroy.c | 73 pri_hdr = map_find(gpt, MAP_TYPE_PRI_GPT_HDR); in destroy() 74 sec_hdr = map_find(gpt, MAP_TYPE_SEC_GPT_HDR); in destroy() 75 pmbr = map_find(gpt, MAP_TYPE_PMBR); in destroy()
|
| D | create.c | 78 map = map_find(gpt, MAP_TYPE_MBR); in create() 91 if (map_find(gpt, MAP_TYPE_PMBR) == NULL) { in create()
|
| D | gpt.c | 591 map = map_find(gpt, MAP_TYPE_PRI_GPT_HDR); in gpt_open() 694 gpt->gpt = map_find(gpt, MAP_TYPE_PRI_GPT_HDR); in gpt_hdr() 700 gpt->tpg = map_find(gpt, MAP_TYPE_SEC_GPT_HDR); in gpt_hdr() 706 gpt->tbl = map_find(gpt, MAP_TYPE_PRI_GPT_TBL); in gpt_hdr() 707 gpt->lbt = map_find(gpt, MAP_TYPE_SEC_GPT_TBL); in gpt_hdr() 840 if (map_find(gpt, MAP_TYPE_PRI_GPT_HDR) != NULL || in gpt_create() 841 map_find(gpt, MAP_TYPE_SEC_GPT_HDR) != NULL) { in gpt_create()
|
| D | restore.c | 192 if (map_find(gpt, MAP_TYPE_PRI_GPT_HDR) != NULL || in restore() 193 map_find(gpt, MAP_TYPE_SEC_GPT_HDR) != NULL) { in restore() 199 map = map_find(gpt, MAP_TYPE_MBR); in restore()
|
| D | map.h | 58 struct map *map_find(struct gpt *, int);
|
| D | header.c | 83 map = map_find(gpt, MAP_TYPE_PRI_GPT_HDR); in header()
|
| D | biosboot.c | 185 mbrmap = map_find(gpt, MAP_TYPE_PMBR); in biosboot()
|
| D | migrate.c | 246 map = map_find(gpt, MAP_TYPE_MBR); in migrate()
|
| D | show.c | 463 if (map_find(gpt, MAP_TYPE_PRI_GPT_HDR) == NULL) in cmd_show()
|
| D | map.c | 360 map_find(gpt_t gpt, int type) in map_find() function
|