/src/sbin/gpt/ |
gpt_private.h | 44 struct map *tbl, *lbt, *gpt, *tpg; member in struct:gpt
|
resizedisk.c | 124 gpt->tpg = map_find(gpt, MAP_TYPE_SEC_GPT_HDR); 127 if (gpt->tpg == NULL || gpt->lbt == NULL) 140 if (gpt->tpg != NULL && gpt->lbt != NULL) 171 if (newloc > 0 && gpt->tpg != NULL && gpt->lbt != NULL) { 174 gpt->tpg->map_start = newloc; 193 memcpy(gpt->tpg->map_data, gpt->gpt->map_data, gpt->secsz); 197 hdr->hdr_lba_alt = htole64((uint64_t)gpt->tpg->map_start); 204 hdr = gpt->tpg->map_data; 205 hdr->hdr_lba_self = htole64((uint64_t)gpt->tpg->map_start);
|
recover.c | 81 sgpt = gpt->tpg; 87 dgpt = &gpt->tpg; 164 gpt->tpg = map_find(gpt, MAP_TYPE_SEC_GPT_HDR); 168 if (gpt->gpt == NULL && gpt->tpg == NULL) { 196 if (gpt->gpt != NULL && gpt->tpg == NULL) { 199 } else if (gpt->gpt == NULL && gpt->tpg != NULL) {
|
gpt.c | 700 gpt->tpg = map_find(gpt, MAP_TYPE_SEC_GPT_HDR); 701 if (gpt->tpg == NULL) { 749 return gpt_write_crc(gpt, gpt->tpg, gpt->lbt); 789 return gpt_ent(gpt->tpg, gpt->lbt, i); 944 memcpy(gpt->tpg->map_data, gpt->gpt->map_data, gpt->secsz); 946 hdr = gpt->tpg->map_data; 947 hdr->hdr_lba_self = htole64((uint64_t)gpt->tpg->map_start); 1117 hdr = gpt->tpg->map_data; 1419 t = &gpt->tpg;
|
biosboot.c | 250 if (set_bootable(gpt, gpt->tpg, gpt->lbt, i) == -1)
|
/src/sys/miscfs/genfs/ |
genfs_io.c | 877 struct vm_page *pg, *tpg; local in function:genfs_do_putpages 1232 tpg = pgs[i]; 1233 KASSERT(tpg->uobject == uobj); 1235 pgs[i-1]->offset + PAGE_SIZE == tpg->offset); 1245 if (tpg->offset < startoff || tpg->offset >= endoff) 1247 if (flags & PGO_DEACTIVATE && tpg->wire_count == 0) { 1248 uvm_pagelock(tpg); 1249 uvm_pagedeactivate(tpg); 1250 uvm_pageunlock(tpg); [all...] |
/src/sys/uvm/ |
uvm_vnode.c | 316 struct vm_page __diagused *tpg; local in function:uvn_findpage 320 KASSERT((tpg = uvm_pagelookup(uobj, offset)) == NULL || 322 !uvm_obj_page_dirty_p(tpg)));
|
uvm_page.c | 2124 struct vm_page *tpg; local in function:uvm_page_printit 2166 tpg = uvm_pagelookup(uobj, pg->offset); 2167 if (tpg) 2182 LIST_FOREACH(tpg, pgl, pageq.list) { 2183 if (tpg == pg) { 2187 if (tpg)
|