Home
last modified time | relevance | path

Searched refs:rp (Results 1 – 17 of 17) sorted by relevance

/fs/nfsd/
Dnfscache.c96 struct svc_cacherep *rp; in nfsd_reply_cache_alloc() local
98 rp = kmem_cache_alloc(nn->drc_slab, GFP_KERNEL); in nfsd_reply_cache_alloc()
99 if (rp) { in nfsd_reply_cache_alloc()
100 rp->c_state = RC_UNUSED; in nfsd_reply_cache_alloc()
101 rp->c_type = RC_NOCACHE; in nfsd_reply_cache_alloc()
102 RB_CLEAR_NODE(&rp->c_node); in nfsd_reply_cache_alloc()
103 INIT_LIST_HEAD(&rp->c_lru); in nfsd_reply_cache_alloc()
105 memset(&rp->c_key, 0, sizeof(rp->c_key)); in nfsd_reply_cache_alloc()
106 rp->c_key.k_xid = rqstp->rq_xid; in nfsd_reply_cache_alloc()
107 rp->c_key.k_proc = rqstp->rq_proc; in nfsd_reply_cache_alloc()
[all …]
Dnfs4xdr.c4512 struct nfs4_replay *rp = op->replay; in nfsd4_encode_replay() local
4514 BUG_ON(!rp); in nfsd4_encode_replay()
4516 p = xdr_reserve_space(xdr, 8 + rp->rp_buflen); in nfsd4_encode_replay()
4522 *p++ = rp->rp_status; /* already xdr'ed */ in nfsd4_encode_replay()
4524 p = xdr_encode_opaque_fixed(p, rp->rp_buf, rp->rp_buflen); in nfsd4_encode_replay()
Dnfs4state.c4024 static void init_nfs4_replay(struct nfs4_replay *rp) in init_nfs4_replay() argument
4026 rp->rp_status = nfserr_serverfault; in init_nfs4_replay()
4027 rp->rp_buflen = 0; in init_nfs4_replay()
4028 rp->rp_buf = rp->rp_ibuf; in init_nfs4_replay()
4029 mutex_init(&rp->rp_mutex); in init_nfs4_replay()
Dnfs4proc.c385 struct nfs4_replay *rp = &open->op_openowner->oo_owner.so_replay; in nfsd4_open() local
388 &rp->rp_openfh); in nfsd4_open()
/fs/ntfs/
Dlogfile.c39 RESTART_PAGE_HEADER *rp, s64 pos) in ntfs_check_restart_page_header() argument
50 logfile_system_page_size = le32_to_cpu(rp->system_page_size); in ntfs_check_restart_page_header()
51 logfile_log_page_size = le32_to_cpu(rp->log_page_size); in ntfs_check_restart_page_header()
70 if (sle16_to_cpu(rp->major_ver) != 1 || in ntfs_check_restart_page_header()
71 sle16_to_cpu(rp->minor_ver) != 1) { in ntfs_check_restart_page_header()
74 "1.1 only.)", (int)sle16_to_cpu(rp->major_ver), in ntfs_check_restart_page_header()
75 (int)sle16_to_cpu(rp->minor_ver)); in ntfs_check_restart_page_header()
82 if (ntfs_is_chkd_record(rp->magic) && !le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
88 if (usa_count != le16_to_cpu(rp->usa_count)) { in ntfs_check_restart_page_header()
94 usa_ofs = le16_to_cpu(rp->usa_ofs); in ntfs_check_restart_page_header()
[all …]
Dlogfile.h286 RESTART_PAGE_HEADER **rp);
289 const RESTART_PAGE_HEADER *rp);
Dsuper.c1203 RESTART_PAGE_HEADER **rp) in load_and_check_logfile() argument
1215 if (!ntfs_check_logfile(tmp_ino, rp)) { in load_and_check_logfile()
1765 RESTART_PAGE_HEADER *rp; in load_system_files() local
1940 rp = NULL; in load_system_files()
1941 if (!load_and_check_logfile(vol, &rp) || in load_system_files()
1942 !ntfs_is_logfile_clean(vol->logfile_ino, rp)) { in load_system_files()
1958 BUG_ON(!rp); in load_system_files()
1959 ntfs_free(rp); in load_system_files()
1971 ntfs_free(rp); in load_system_files()
Dlayout.h1081 } __attribute__ ((__packed__)) rp; member
/fs/cifs/
Dcifs_unicode.h326 register const struct UniCaseRange *rp; in UniToupper() local
332 rp = CifsUniUpperRange; /* Use range tables */ in UniToupper()
333 while (rp->start) { in UniToupper()
334 if (uc < rp->start) /* Before start of range */ in UniToupper()
336 if (uc <= rp->end) /* In range */ in UniToupper()
337 return uc + rp->table[uc - rp->start]; in UniToupper()
338 rp++; /* Try next range */ in UniToupper()
368 register const struct UniCaseRange *rp; in UniTolower() local
374 rp = CifsUniLowerRange; /* Use range tables */ in UniTolower()
375 while (rp->start) { in UniTolower()
[all …]
/fs/jfs/
Djfs_unicode.h110 UNICASERANGE *rp; in UniToupper() local
115 rp = UniUpperRange; /* Use range tables */ in UniToupper()
116 while (rp->start) { in UniToupper()
117 if (uc < rp->start) /* Before start of range */ in UniToupper()
119 if (uc <= rp->end) /* In range */ in UniToupper()
120 return uc + rp->table[uc - rp->start]; in UniToupper()
121 rp++; /* Try next range */ in UniToupper()
Djfs_dtree.c169 static int ciGetLeafPrefixKey(dtpage_t * lp, int li, dtpage_t * rp,
926 dtpage_t *rp; /* new right page split from sp */ in dtSplitUp() local
1084 if ((rc = dtSplitPage(tid, ip, split, &rmp, &rp, &rpxd))) { in dtSplitUp()
1164 switch (rp->header.flag & BT_TYPE) { in dtSplitUp()
1176 rp, 0, &key, in dtSplitUp()
1189 dtGetKey(rp, 0, &key, sbi->mntflag); in dtSplitUp()
1200 dtGetKey(rp, 0, &key, sbi->mntflag); in dtSplitUp()
1237 dtSplitPage(tid, ip, split, &rmp, &rp, &rpxd); in dtSplitUp()
1325 dtpage_t *rp; /* new right page allocated */ in dtSplitPage() local
1375 rp = (dtpage_t *) rmp->data; in dtSplitPage()
[all …]
Djfs_xtree.c952 xtpage_t *rp; /* new right page allocated */ in xtSplitPage() local
998 rp = (xtpage_t *) rmp->data; in xtSplitPage()
999 rp->header.self = *pxd; in xtSplitPage()
1000 rp->header.flag = sp->header.flag & BT_TYPE; in xtSplitPage()
1001 rp->header.maxentry = sp->header.maxentry; /* little-endian */ in xtSplitPage()
1002 rp->header.nextindex = cpu_to_le16(XTENTRYSTART); in xtSplitPage()
1024 rp->header.next = cpu_to_le64(nextbn); in xtSplitPage()
1025 rp->header.prev = cpu_to_le64(addressPXD(&sp->header.self)); in xtSplitPage()
1050 xad = &rp->xad[XTENTRYSTART]; in xtSplitPage()
1054 rp->header.nextindex = cpu_to_le16(XTENTRYSTART + 1); in xtSplitPage()
[all …]
/fs/ceph/
Ddebugfs.c54 struct rb_node *rp; in mdsc_show() local
60 for (rp = rb_first(&mdsc->request_tree); rp; rp = rb_next(rp)) { in mdsc_show()
61 req = rb_entry(rp, struct ceph_mds_request, r_node); in mdsc_show()
/fs/
Dbinfmt_flat.c433 u32 __user *rp; in load_flat_file() local
768 for (rp = (u32 __user *)datapos; ; rp++) { in load_flat_file()
770 if (get_user(rp_val, rp)) in load_flat_file()
780 if (put_user(addr, rp)) in load_flat_file()
811 rp = (u32 __user *)calc_reloc(addr, libinfo, id, 1); in load_flat_file()
812 if (rp == (u32 __user *)RELOC_FAILED) { in load_flat_file()
818 ret = flat_get_addr_from_rp(rp, relval, flags, &addr); in load_flat_file()
841 ret = flat_put_addr_at_rp(rp, addr, relval); in load_flat_file()
/fs/dlm/
Ddebug_fs.c505 struct dlm_rsb *r, *rp; in table_seq_next() local
517 rp = ri->rsb; in table_seq_next()
518 next = rb_next(&rp->res_hashnode); in table_seq_next()
525 dlm_put_rsb(rp); in table_seq_next()
530 dlm_put_rsb(rp); in table_seq_next()
/fs/nfs/blocklayout/
Dblocklayout.c572 static int decode_sector_number(__be32 **rp, sector_t *sp) in decode_sector_number() argument
576 *rp = xdr_decode_hyper(*rp, &s); in decode_sector_number()
/fs/xfs/libxfs/
Dxfs_btree.c2246 union xfs_btree_rec *rp; in xfs_btree_update() local
2258 rp = xfs_btree_rec_addr(cur, ptr, block); in xfs_btree_update()
2261 xfs_btree_copy_recs(cur, rp, rec, 1); in xfs_btree_update()
3352 union xfs_btree_rec *rp; in xfs_btree_insrec() local
3354 rp = xfs_btree_rec_addr(cur, ptr, block); in xfs_btree_insrec()
3356 xfs_btree_shift_recs(cur, rp, 1, numrecs - ptr + 1); in xfs_btree_insrec()
3359 xfs_btree_copy_recs(cur, rp, rec, 1); in xfs_btree_insrec()
3364 ASSERT(cur->bc_ops->recs_inorder(cur, rp, in xfs_btree_insrec()