Lines Matching refs:p
191 PhysPageEntry *p; in phys_map_node_alloc() local
194 p = map->nodes[ret]; in phys_map_node_alloc()
201 memcpy(&p[i], &e, sizeof(e)); in phys_map_node_alloc()
210 PhysPageEntry *p; in phys_page_set_level() local
216 p = map->nodes[lp->ptr]; in phys_page_set_level()
217 lp = &p[(*index >> (level * P_L2_BITS)) & (P_L2_SIZE - 1)]; in phys_page_set_level()
219 while (*nb && lp < &p[P_L2_SIZE]) { in phys_page_set_level()
249 PhysPageEntry *p; in phys_page_compact() local
256 p = nodes[lp->ptr]; in phys_page_compact()
258 if (p[i].ptr == PHYS_MAP_NODE_NIL) { in phys_page_compact()
264 if (p[i].skip) { in phys_page_compact()
265 phys_page_compact(&p[i], nodes); in phys_page_compact()
278 lp->skip + p[valid_ptr].skip >= (1 << 6)) { in phys_page_compact()
282 lp->ptr = p[valid_ptr].ptr; in phys_page_compact()
283 if (!p[valid_ptr].skip) { in phys_page_compact()
292 lp->skip += p[valid_ptr].skip; in phys_page_compact()
316 PhysPageEntry lp = d->phys_map, *p; in phys_page_find() local
326 p = nodes[lp.ptr]; in phys_page_find()
327 lp = p[(index >> (i * P_L2_BITS)) & (P_L2_SIZE - 1)]; in phys_page_find()