Lines Matching refs:p

139 	struct rb_node **p = &root->rb_node, *parent = NULL;  in __ext_tree_insert()  local
142 while (*p) { in __ext_tree_insert()
143 parent = *p; in __ext_tree_insert()
155 p = &(*p)->rb_left; in __ext_tree_insert()
162 p = &(*p)->rb_right; in __ext_tree_insert()
168 rb_link_node(&new->be_node, parent, p); in __ext_tree_insert()
506 static __be32 *encode_block_extent(struct pnfs_block_extent *be, __be32 *p) in encode_block_extent() argument
508 p = xdr_encode_opaque_fixed(p, be->be_device->deviceid.data, in encode_block_extent()
510 p = xdr_encode_hyper(p, be->be_f_offset << SECTOR_SHIFT); in encode_block_extent()
511 p = xdr_encode_hyper(p, be->be_length << SECTOR_SHIFT); in encode_block_extent()
512 p = xdr_encode_hyper(p, 0LL); in encode_block_extent()
513 *p++ = cpu_to_be32(PNFS_BLOCK_READWRITE_DATA); in encode_block_extent()
514 return p; in encode_block_extent()
517 static __be32 *encode_scsi_range(struct pnfs_block_extent *be, __be32 *p) in encode_scsi_range() argument
519 p = xdr_encode_hyper(p, be->be_f_offset << SECTOR_SHIFT); in encode_scsi_range()
520 return xdr_encode_hyper(p, be->be_length << SECTOR_SHIFT); in encode_scsi_range()
523 static int ext_tree_encode_commit(struct pnfs_block_layout *bl, __be32 *p, in ext_tree_encode_commit() argument
543 p = encode_scsi_range(be, p); in ext_tree_encode_commit()
545 p = encode_block_extent(be, p); in ext_tree_encode_commit()
598 void *p = start_p, *end = p + arg->layoutupdate_len; in ext_tree_prepare_commit() local
603 for ( ; p < end; p += PAGE_SIZE) { in ext_tree_prepare_commit()
604 page = vmalloc_to_page(p); in ext_tree_prepare_commit()