Home
last modified time | relevance | path

Searched refs:pp (Results 1 – 17 of 17) 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 page_cache_release(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.c120 struct page *pp; in vxfs_find_entry() local
122 pp = vxfs_get_page(ip->i_mapping, page); in vxfs_find_entry()
123 if (IS_ERR(pp)) in vxfs_find_entry()
125 kaddr = (caddr_t)page_address(pp); in vxfs_find_entry()
144 *ppp = pp; in vxfs_find_entry()
149 vxfs_put_page(pp); in vxfs_find_entry()
171 struct page *pp; in vxfs_inode_by_name() local
174 de = vxfs_find_entry(dip, dp, &pp); in vxfs_inode_by_name()
177 kunmap(pp); in vxfs_inode_by_name()
178 page_cache_release(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_CACHE_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.c133 struct page *pp; in __vxfs_iget() local
137 pp = vxfs_get_page(ilistp->i_mapping, ino * VXFS_ISIZE / PAGE_SIZE); in __vxfs_iget()
139 if (!IS_ERR(pp)) { in __vxfs_iget()
142 caddr_t kaddr = (char *)page_address(pp); in __vxfs_iget()
151 vxfs_put_page(pp); in __vxfs_iget()
155 printk(KERN_WARNING "vxfs: error on page %p\n", pp); in __vxfs_iget()
156 return ERR_CAST(pp); in __vxfs_iget()
160 vxfs_put_page(pp); in __vxfs_iget()
/fs/afs/
Dserver.c35 struct rb_node **pp, *p; in afs_install_server() local
43 pp = &afs_servers.rb_node; in afs_install_server()
45 while (*pp) { in afs_install_server()
46 p = *pp; in afs_install_server()
50 pp = &(*pp)->rb_left; in afs_install_server()
52 pp = &(*pp)->rb_right; in afs_install_server()
57 rb_link_node(&server->master_rb, p, pp); in afs_install_server()
/fs/hpfs/
Dmap.c268 unsigned p, pp = 0; in hpfs_map_dnode() local
286 hpfs_error(s, "bad dirent size in dnode %08x, dirent %03x, last %03x", secno, p, pp); in hpfs_map_dnode()
291 …error(s, "namelen does not match dirent size in dnode %08x, dirent %03x, last %03x", secno, p, pp); in hpfs_map_dnode()
297 hpfs_error(s, "bad down pointer in dnode %08x, dirent %03x, last %03x", secno, p, pp); in hpfs_map_dnode()
300 pp = p; in hpfs_map_dnode()
307 if (d[pp + 30] != 1 || d[pp + 31] != 255) { in hpfs_map_dnode()
/fs/xfs/libxfs/
Dxfs_btree.c1652 union xfs_btree_ptr *pp, /* ptr to btree block */ in xfs_btree_lookup_get_block() argument
1672 if (bp && XFS_BUF_ADDR(bp) == xfs_btree_ptr_to_daddr(cur, pp)) { in xfs_btree_lookup_get_block()
1677 error = xfs_btree_read_buf_block(cur, pp, 0, blkp, &bp); in xfs_btree_lookup_get_block()
1722 union xfs_btree_ptr *pp; /* ptr to btree block */ in xfs_btree_lookup() local
1735 pp = &ptr; in xfs_btree_lookup()
1745 error = xfs_btree_lookup_get_block(cur, level, pp, &block); in xfs_btree_lookup()
1815 pp = xfs_btree_ptr_addr(cur, keyno, block); in xfs_btree_lookup()
1818 error = xfs_btree_check_ptr(cur, pp, 0, level); in xfs_btree_lookup()
2615 union xfs_btree_ptr *pp; /* pointer to block addr */ in xfs_btree_new_iroot() local
2631 pp = xfs_btree_ptr_addr(cur, 1, block); in xfs_btree_new_iroot()
[all …]
Dxfs_bmap.c286 __be64 *pp, *thispa; /* pointer to block address */ in xfs_check_block() local
306 pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, i, sz); in xfs_check_block()
308 pp = XFS_BMBT_PTR_ADDR(mp, block, i, dmxr); in xfs_check_block()
315 if (*thispa == *pp) { in xfs_check_block()
345 __be64 *pp; /* pointer to block address */ in xfs_bmap_check_leaf_extents() local
365 pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, 1, ifp->if_broot_bytes); in xfs_bmap_check_leaf_extents()
366 bno = be64_to_cpu(*pp); in xfs_bmap_check_leaf_extents()
398 pp = XFS_BMBT_PTR_ADDR(mp, block, 1, mp->m_bmap_dmxr[1]); in xfs_bmap_check_leaf_extents()
399 bno = be64_to_cpu(*pp); in xfs_bmap_check_leaf_extents()
674 __be64 *pp; /* ptr to block address */ in xfs_bmap_btree_to_extents() local
[all …]
/fs/exofs/
Dore_raid.c491 struct page **pp = &_1ps->pages[c]; in _read_4_write_first_stripe() local
494 if (*pp) { in _read_4_write_first_stripe()
497 _add_to_r4w_first_page(ios, *pp); in _read_4_write_first_stripe()
502 *pp = ios->r4w->get_page(ios->private, offset, in _read_4_write_first_stripe()
504 if (unlikely(!*pp)) in _read_4_write_first_stripe()
508 _add_to_r4w(ios, &read_si, *pp, PAGE_SIZE); in _read_4_write_first_stripe()
/fs/fuse/
Dcuse.c215 static int cuse_parse_one(char **pp, char *end, char **keyp, char **valp) in cuse_parse_one() argument
217 char *p = *pp; in cuse_parse_one()
247 *pp = p; in cuse_parse_one()
/fs/xfs/
Dxfs_bmap_util.c355 __be64 *pp; in xfs_bmap_count_tree() local
384 pp = XFS_BMBT_PTR_ADDR(mp, block, 1, mp->m_bmap_dmxr[1]); in xfs_bmap_count_tree()
385 bno = be64_to_cpu(*pp); in xfs_bmap_count_tree()
431 __be64 *pp; /* pointer to block address */ in xfs_bmap_count_blocks() local
449 pp = XFS_BMAP_BROOT_PTR_ADDR(mp, block, 1, ifp->if_broot_bytes); in xfs_bmap_count_blocks()
450 bno = be64_to_cpu(*pp); in xfs_bmap_count_blocks()
/fs/jfs/
Djfs_xtree.c2568 xtpage_t *p, *pp, *rp, *lp; /* base B+-tree index page */ in xtRelocate() local
2608 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2616 xad = &pp->xad[index]; in xtRelocate()
2629 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2638 xad = &pp->xad[index]; in xtRelocate()
2712 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate()
2858 xad = &pp->xad[index]; in xtRelocate()
2863 xtlck->lwm.length = le16_to_cpu(pp->header.nextindex) - in xtRelocate()
Djfs_dmap.c2900 int lp, pp, k; in dbAdjTree() local
2927 pp = (lp - 1) >> 2; in dbAdjTree()
2936 if (tp->dmt_stree[pp] == max) in dbAdjTree()
2941 tp->dmt_stree[pp] = max; in dbAdjTree()
2945 lp = pp; in dbAdjTree()
Djfs_dtree.c1648 dtpage_t *sp, *pp; in dtExtendPage() local
1673 DT_GETPAGE(ip, parent->bn, pmp, PSIZE, pp, rc); in dtExtendPage()
1849 tpxd = (pxd_t *) & pp->slot[1]; in dtExtendPage()
2450 dtpage_t *p, *pp, *rp = 0, *lp= 0; in dtRelocate() local
2479 DT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in dtRelocate()
2618 stbl = DT_GETSTBL(pp); in dtRelocate()
2619 pxd = (pxd_t *) & pp->slot[stbl[index]]; in dtRelocate()
/fs/
Dbinfmt_flat.c122 unsigned long pp, in create_flat_tables() argument
127 char * p = (char*)pp; in create_flat_tables()
/fs/nfsd/
Dvfs.c836 struct page **pp = rqstp->rq_next_page; in nfsd_splice_actor() local
848 } else if (page != pp[-1]) { in nfsd_splice_actor()