Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 18 of 18) sorted by relevance

/fs/jffs2/
Dcompr_rubin.c42 struct pushpull pp; member
47 static inline void init_pushpull(struct pushpull *pp, char *buf, in init_pushpull() argument
51 pp->buf = buf; in init_pushpull()
52 pp->buflen = buflen; in init_pushpull()
53 pp->ofs = ofs; in init_pushpull()
54 pp->reserve = reserve; in init_pushpull()
57 static inline int pushbit(struct pushpull *pp, int bit, int use_reserved) in pushbit() argument
59 if (pp->ofs >= pp->buflen - (use_reserved?0:pp->reserve)) in pushbit()
63 pp->buf[pp->ofs >> 3] |= (1<<(7-(pp->ofs & 7))); in pushbit()
65 pp->buf[pp->ofs >> 3] &= ~(1<<(7-(pp->ofs & 7))); in pushbit()
[all …]
/fs/freevxfs/
Dvxfs_subr.c50 vxfs_put_page(struct page *pp) in vxfs_put_page() argument
52 kunmap(pp); in vxfs_put_page()
53 put_page(pp); in vxfs_put_page()
70 struct page * pp; in vxfs_get_page() local
72 pp = read_mapping_page(mapping, n, NULL); in vxfs_get_page()
74 if (!IS_ERR(pp)) { in vxfs_get_page()
75 kmap(pp); in vxfs_get_page()
78 if (PageError(pp)) in vxfs_get_page()
82 return (pp); in vxfs_get_page()
85 vxfs_put_page(pp); in vxfs_get_page()
Dvxfs_lookup.c92 struct page *pp; in vxfs_find_entry() local
96 pp = vxfs_get_page(ip->i_mapping, pos >> PAGE_SHIFT); in vxfs_find_entry()
97 if (IS_ERR(pp)) in vxfs_find_entry()
99 kaddr = (char *)page_address(pp); in vxfs_find_entry()
129 *ppp = pp; in vxfs_find_entry()
135 vxfs_put_page(pp); in vxfs_find_entry()
159 struct page *pp; in vxfs_inode_by_name() local
162 de = vxfs_find_entry(dip, dp, &pp); in vxfs_inode_by_name()
165 kunmap(pp); in vxfs_inode_by_name()
166 put_page(pp); in vxfs_inode_by_name()
[all …]
Dvxfs_immed.c66 vxfs_immed_readpage(struct file *fp, struct page *pp) in vxfs_immed_readpage() argument
68 struct vxfs_inode_info *vip = VXFS_INO(pp->mapping->host); in vxfs_immed_readpage()
69 u_int64_t offset = (u_int64_t)pp->index << PAGE_SHIFT; in vxfs_immed_readpage()
72 kaddr = kmap(pp); in vxfs_immed_readpage()
74 kunmap(pp); in vxfs_immed_readpage()
76 flush_dcache_page(pp); in vxfs_immed_readpage()
77 SetPageUptodate(pp); in vxfs_immed_readpage()
78 unlock_page(pp); in vxfs_immed_readpage()
Dvxfs_inode.c213 struct page *pp; in __vxfs_iget() local
217 pp = vxfs_get_page(ilistp->i_mapping, ino * VXFS_ISIZE / PAGE_SIZE); in __vxfs_iget()
219 if (!IS_ERR(pp)) { in __vxfs_iget()
221 caddr_t kaddr = (char *)page_address(pp); in __vxfs_iget()
229 vxfs_put_page(pp); in __vxfs_iget()
234 pp, (unsigned long)ino); in __vxfs_iget()
235 return PTR_ERR(pp); in __vxfs_iget()
/fs/afs/
Dvolume.c23 struct rb_node *parent = NULL, **pp; in afs_insert_volume_into_cell() local
27 pp = &cell->volumes.rb_node; in afs_insert_volume_into_cell()
28 while (*pp) { in afs_insert_volume_into_cell()
29 parent = *pp; in afs_insert_volume_into_cell()
32 pp = &(*pp)->rb_left; in afs_insert_volume_into_cell()
34 pp = &(*pp)->rb_right; in afs_insert_volume_into_cell()
46 rb_link_node_rcu(&volume->cell_node, parent, pp); in afs_insert_volume_into_cell()
Dserver.c144 struct rb_node **pp, *p; in afs_install_server() local
152 pp = &net->fs_servers.rb_node; in afs_install_server()
154 while (*pp) { in afs_install_server()
155 p = *pp; in afs_install_server()
160 pp = &(*pp)->rb_left; in afs_install_server()
162 pp = &(*pp)->rb_right; in afs_install_server()
186 rb_link_node(&server->uuid_rb, p, pp); in afs_install_server()
Dcell.c239 struct rb_node *parent, **pp; in afs_lookup_cell() local
269 pp = &net->cells.rb_node; in afs_lookup_cell()
271 while (*pp) { in afs_lookup_cell()
272 parent = *pp; in afs_lookup_cell()
280 pp = &(*pp)->rb_left; in afs_lookup_cell()
282 pp = &(*pp)->rb_right; in afs_lookup_cell()
291 rb_link_node_rcu(&cell->net_node, parent, pp); in afs_lookup_cell()
/fs/xfs/scrub/
Dbtree.c256 union xfs_btree_ptr *pp; in xchk_btree_block_check_sibling() local
294 pp = xfs_btree_ptr_addr(ncur, ncur->bc_ptrs[level + 1], pblock); in xchk_btree_block_check_sibling()
295 if (!xchk_btree_ptr_ok(bs, level + 1, pp)) in xchk_btree_block_check_sibling()
300 if (xfs_btree_diff_two_ptrs(cur, pp, sibling)) in xchk_btree_block_check_sibling()
527 union xfs_btree_ptr *pp, in xchk_btree_get_block() argument
537 error = xfs_btree_lookup_get_block(bs->cur, level, pp, pblock); in xchk_btree_get_block()
639 union xfs_btree_ptr *pp; in xchk_btree() local
717 pp = xfs_btree_ptr_addr(cur, cur->bc_ptrs[level], block); in xchk_btree()
718 if (!xchk_btree_ptr_ok(&bs, level, pp)) { in xchk_btree()
723 error = xchk_btree_get_block(&bs, level, pp, &block, &bp); in xchk_btree()
/fs/hpfs/
Dmap.c269 unsigned p, pp = 0; in hpfs_map_dnode() local
287 hpfs_error(s, "bad dirent size in dnode %08x, dirent %03x, last %03x", secno, p, pp); in hpfs_map_dnode()
292 …error(s, "namelen does not match dirent size in dnode %08x, dirent %03x, last %03x", secno, p, pp); in hpfs_map_dnode()
298 hpfs_error(s, "bad down pointer in dnode %08x, dirent %03x, last %03x", secno, p, pp); in hpfs_map_dnode()
301 pp = p; in hpfs_map_dnode()
308 if (d[pp + 30] != 1 || d[pp + 31] != 255) { in hpfs_map_dnode()
/fs/xfs/libxfs/
Dxfs_btree.c1796 const union xfs_btree_ptr *pp, /* ptr to btree block */ in xfs_btree_lookup_get_block() argument
1817 error = xfs_btree_ptr_to_daddr(cur, pp, &daddr); in xfs_btree_lookup_get_block()
1825 error = xfs_btree_read_buf_block(cur, pp, 0, blkp, &bp); in xfs_btree_lookup_get_block()
1892 union xfs_btree_ptr *pp; /* ptr to btree block */ in xfs_btree_lookup() local
1906 pp = &ptr; in xfs_btree_lookup()
1916 error = xfs_btree_lookup_get_block(cur, level, pp, &block); in xfs_btree_lookup()
1991 pp = xfs_btree_ptr_addr(cur, keyno, block); in xfs_btree_lookup()
1993 error = xfs_btree_debug_check_ptr(cur, pp, 0, level); in xfs_btree_lookup()
2969 union xfs_btree_ptr *pp; /* pointer to block addr */ in xfs_btree_new_iroot() local
2982 pp = xfs_btree_ptr_addr(cur, 1, block); in xfs_btree_new_iroot()
[all …]
Dxfs_bmap.c269 __be64 *pp, *thispa; /* pointer to block address */ in xfs_check_block() local
289 pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, i, sz); in xfs_check_block()
291 pp = XFS_BMBT_PTR_ADDR(mp, block, i, dmxr); in xfs_check_block()
298 if (*thispa == *pp) { in xfs_check_block()
331 __be64 *pp; /* pointer to block address */ in xfs_bmap_check_leaf_extents() local
352 pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, 1, ifp->if_broot_bytes); in xfs_bmap_check_leaf_extents()
353 bno = be64_to_cpu(*pp); in xfs_bmap_check_leaf_extents()
385 pp = XFS_BMBT_PTR_ADDR(mp, block, 1, mp->m_bmap_dmxr[1]); in xfs_bmap_check_leaf_extents()
386 bno = be64_to_cpu(*pp); in xfs_bmap_check_leaf_extents()
600 __be64 *pp; /* ptr to block address */ in xfs_bmap_btree_to_extents() local
[all …]
Dxfs_btree.h506 const union xfs_btree_ptr *pp, struct xfs_btree_block **blkp);
/fs/fuse/
Dcuse.c218 static int cuse_parse_one(char **pp, char *end, char **keyp, char **valp) in cuse_parse_one() argument
220 char *p = *pp; in cuse_parse_one()
250 *pp = p; in cuse_parse_one()
/fs/jfs/
Djfs_xtree.c2555 xtpage_t *p, *pp, *rp, *lp; /* base B+-tree index page */ in xtRelocate() local
2595 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2603 xad = &pp->xad[index]; in xtRelocate()
2616 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2625 xad = &pp->xad[index]; in xtRelocate()
2699 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2845 xad = &pp->xad[index]; in xtRelocate()
2850 xtlck->lwm.length = le16_to_cpu(pp->header.nextindex) - in xtRelocate()
Djfs_dmap.c2932 int lp, pp, k; in dbAdjTree() local
2964 pp = (lp - 1) >> 2; in dbAdjTree()
2973 if (tp->dmt_stree[pp] == max) in dbAdjTree()
2978 tp->dmt_stree[pp] = max; in dbAdjTree()
2982 lp = pp; in dbAdjTree()
Djfs_dtree.c1641 dtpage_t *sp, *pp; in dtExtendPage() local
1666 DT_GETPAGE(ip, parent->bn, pmp, PSIZE, pp, rc); in dtExtendPage()
1842 tpxd = (pxd_t *) & pp->slot[1]; in dtExtendPage()
2443 dtpage_t *p, *pp, *rp = 0, *lp= 0; in dtRelocate() local
2472 DT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in dtRelocate()
2611 stbl = DT_GETSTBL(pp); in dtRelocate()
2612 pxd = (pxd_t *) & pp->slot[stbl[index]]; in dtRelocate()
/fs/nfsd/
Dvfs.c840 struct page **pp = rqstp->rq_next_page; in nfsd_splice_actor() local
846 } else if (page != pp[-1]) { in nfsd_splice_actor()