Home
last modified time | relevance | path

Searched refs:map_start (Results 1 – 13 of 13) sorted by relevance

/netbsd/src/sbin/gpt/
Dmap.c56 m->map_start = start; in map_create()
106 (uintmax_t)n->map_start, (uintmax_t)n->map_size); in map_add()
110 while (n != NULL && n->map_start + n->map_size <= start) in map_add()
118 if (n->map_start + n->map_size < start + size) { in map_add()
123 n->map_start, n->map_size, start, size); in map_add()
127 if (n->map_start == start && n->map_size == size) { in map_add()
160 if (start == n->map_start) { in map_add()
168 n->map_start += size; in map_add()
170 } else if (start + size == n->map_start + n->map_size) { in map_add()
179 p = map_create(n->map_start, start - n->map_start, n->map_type); in map_add()
[all …]
Dshow.c116 print_part_type(int map_type, int flags, void *map_data, off_t map_start) in print_part_type() argument
131 if (map_start != 0) in print_part_type()
134 if (map_start == 0 && flags & SHOW_GUID) in print_part_type()
158 if (p->map_start != 0) in print_part_type()
166 if (map_start == p->map_start + start) in print_part_type()
223 printf(FMT, gpt->lbawidth, (uintmax_t)m->map_start); in show()
233 print_part_type(m->map_type, xshow, m->map_data, m->map_start); in show()
276 gpt_show_sec_num("Start", gpt->secsz, m->map_start); in show_one()
321 printf(FMT, gpt->lbawidth, (uintmax_t)m->map_start); in show_all()
328 m->map_start); in show_all()
[all …]
Dresizedisk.c103 if (mbrmap == NULL || mbrmap->map_start != 0) { in resizedisk()
174 gpt->tpg->map_start = newloc; in resizedisk()
175 gpt->lbt->map_start = newloc - gpt_size; in resizedisk()
197 hdr->hdr_lba_alt = htole64((uint64_t)gpt->tpg->map_start); in resizedisk()
199 hdr->hdr_lba_end = htole64((uint64_t)(gpt->lbt->map_start - 1)); in resizedisk()
205 hdr->hdr_lba_self = htole64((uint64_t)gpt->tpg->map_start); in resizedisk()
206 hdr->hdr_lba_alt = htole64((uint64_t)gpt->gpt->map_start); in resizedisk()
207 hdr->hdr_lba_end = htole64((uint64_t)(gpt->lbt->map_start - 1)); in resizedisk()
208 hdr->hdr_lba_table = htole64((uint64_t)gpt->lbt->map_start); in resizedisk()
Dresize.c124 end = htole64((uint64_t)(map->map_start + newsize - 1LL)); in resize()
137 map->map_start, newsize); in resize()
168 if (start != m->map_start) in cmd_resize()
Dadd.c75 ent->ent_lba_start = htole64((uint64_t)map->map_start); in ent_set()
76 ent->ent_lba_end = htole64((uint64_t)(map->map_start + in ent_set()
158 buf, map->map_start, map->map_size); in add()
Drecover.c101 hdr->hdr_lba_self = htole64((uint64_t)(*dgpt)->map_start); in recover_gpt_hdr()
102 hdr->hdr_lba_alt = htole64((uint64_t)sgpt->map_start); in recover_gpt_hdr()
103 hdr->hdr_lba_table = htole64((uint64_t)dtbl->map_start); in recover_gpt_hdr()
Dbiosboot.c186 if (mbrmap == NULL || mbrmap->map_start != 0) { in biosboot()
231 m->map_start == start && m->map_size == (off_t)size) in biosboot()
235 m->map_start == start) in biosboot()
Dgpt.c273 ofs = map->map_start * gpt->secsz; in gpt_write()
910 hdr->hdr_lba_self = htole64((uint64_t)gpt->gpt->map_start); in gpt_create()
912 hdr->hdr_lba_start = htole64((uint64_t)(gpt->tbl->map_start + blocks)); in gpt_create()
916 hdr->hdr_lba_table = htole64((uint64_t)(gpt->tbl->map_start)); in gpt_create()
947 hdr->hdr_lba_self = htole64((uint64_t)gpt->tpg->map_start); in gpt_create()
948 hdr->hdr_lba_alt = htole64((uint64_t)gpt->gpt->map_start); in gpt_create()
949 hdr->hdr_lba_table = htole64((uint64_t)gpt->lbt->map_start); in gpt_create()
1064 if (find->block > 0 && find->block != m->map_start) in gpt_change_ent()
Dmap.h35 off_t map_start; member
Dunset.c105 if (start != m->map_start) in cmd_unset()
Dset.c108 if (start != m->map_start) in cmd_set()
Dmigrate.c247 if (map == NULL || map->map_start != 0) { in migrate()
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
Dsolib-corrupted.exp37 set probes { init_start init_complete map_start reloc_complete unmap_start