/Linux-v6.1/fs/nfsd/ |
D | nfs4layouts.c | 492 struct nfsd4_layoutreturn *lrp) in nfsd4_return_file_layouts() argument 500 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts() 501 false, lrp->lr_layout_type, in nfsd4_return_file_layouts() 504 trace_nfsd_layout_return_lookup_fail(&lrp->lr_sid); in nfsd4_return_file_layouts() 510 if (layouts_overlapping(lp, &lrp->lr_seg)) { in nfsd4_return_file_layouts() 511 nfsd4_return_file_layout(lp, &lrp->lr_seg, &reaplist); in nfsd4_return_file_layouts() 517 nfs4_inc_and_copy_stateid(&lrp->lr_sid, &ls->ls_stid); in nfsd4_return_file_layouts() 518 lrp->lrs_present = 1; in nfsd4_return_file_layouts() 522 lrp->lrs_present = 0; in nfsd4_return_file_layouts() 535 struct nfsd4_layoutreturn *lrp) in nfsd4_return_client_layouts() argument [all …]
|
D | pnfs.h | 61 struct nfsd4_layoutreturn *lrp); 64 struct nfsd4_layoutreturn *lrp);
|
D | nfs4xdr.c | 606 struct nfsd4_layoutreturn *lrp) in nfsd4_decode_layoutreturn4() argument 610 if (xdr_stream_decode_u32(argp->xdr, &lrp->lr_return_type) < 0) in nfsd4_decode_layoutreturn4() 612 switch (lrp->lr_return_type) { in nfsd4_decode_layoutreturn4() 614 if (xdr_stream_decode_u64(argp->xdr, &lrp->lr_seg.offset) < 0) in nfsd4_decode_layoutreturn4() 616 if (xdr_stream_decode_u64(argp->xdr, &lrp->lr_seg.length) < 0) in nfsd4_decode_layoutreturn4() 618 status = nfsd4_decode_stateid4(argp, &lrp->lr_sid); in nfsd4_decode_layoutreturn4() 621 if (xdr_stream_decode_u32(argp->xdr, &lrp->lrf_body_len) < 0) in nfsd4_decode_layoutreturn4() 623 if (lrp->lrf_body_len > 0) { in nfsd4_decode_layoutreturn4() 624 lrp->lrf_body = xdr_inline_decode(argp->xdr, lrp->lrf_body_len); in nfsd4_decode_layoutreturn4() 625 if (!lrp->lrf_body) in nfsd4_decode_layoutreturn4() [all …]
|
D | nfs4proc.c | 2350 struct nfsd4_layoutreturn *lrp = &u->layoutreturn; in nfsd4_layoutreturn() local 2359 if (!nfsd4_layout_verify(current_fh->fh_export, lrp->lr_layout_type)) in nfsd4_layoutreturn() 2362 switch (lrp->lr_seg.iomode) { in nfsd4_layoutreturn() 2369 lrp->lr_seg.iomode); in nfsd4_layoutreturn() 2374 switch (lrp->lr_return_type) { in nfsd4_layoutreturn() 2376 nfserr = nfsd4_return_file_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn() 2380 nfserr = nfsd4_return_client_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn() 2384 lrp->lr_return_type); in nfsd4_layoutreturn()
|
/Linux-v6.1/sound/soc/codecs/ |
D | wm8804.c | 219 u16 format, master, bcp, lrp; in wm8804_set_fmt() local 261 bcp = lrp = 0; in wm8804_set_fmt() 266 bcp = lrp = 1; in wm8804_set_fmt() 272 lrp = 1; in wm8804_set_fmt() 281 (bcp << 4) | (lrp << 5)); in wm8804_set_fmt() 283 (bcp << 4) | (lrp << 5)); in wm8804_set_fmt()
|
D | wm8983.c | 572 u16 format, master, bcp, lrp; in wm8983_set_fmt() local 621 bcp = lrp = 0; in wm8983_set_fmt() 626 bcp = lrp = 1; in wm8983_set_fmt() 632 lrp = 1; in wm8983_set_fmt() 640 WM8983_LRCP_MASK, lrp << WM8983_LRCP_SHIFT); in wm8983_set_fmt()
|
D | wm8985.c | 664 u16 format, master, bcp, lrp; in wm8985_set_fmt() local 721 bcp = lrp = 0; in wm8985_set_fmt() 726 bcp = lrp = 1; in wm8985_set_fmt() 732 lrp = 1; in wm8985_set_fmt() 740 WM8985_LRP_MASK, lrp << WM8985_LRP_SHIFT); in wm8985_set_fmt()
|
/Linux-v6.1/fs/nfs/ |
D | nfs4proc.c | 9759 struct nfs4_layoutreturn *lrp = calldata; in nfs4_layoutreturn_prepare() local 9761 nfs4_setup_sequence(lrp->clp, in nfs4_layoutreturn_prepare() 9762 &lrp->args.seq_args, in nfs4_layoutreturn_prepare() 9763 &lrp->res.seq_res, in nfs4_layoutreturn_prepare() 9765 if (!pnfs_layout_is_valid(lrp->args.layout)) in nfs4_layoutreturn_prepare() 9771 struct nfs4_layoutreturn *lrp = calldata; in nfs4_layoutreturn_done() local 9774 if (!nfs41_sequence_process(task, &lrp->res.seq_res)) in nfs4_layoutreturn_done() 9782 lrp->res.lrs_present = 0; in nfs4_layoutreturn_done() 9786 server = NFS_SERVER(lrp->args.inode); in nfs4_layoutreturn_done() 9789 if (nfs4_layout_refresh_old_stateid(&lrp->args.stateid, in nfs4_layoutreturn_done() [all …]
|
D | pnfs.c | 1246 struct nfs4_layoutreturn *lrp; in pnfs_send_layoutreturn() local 1251 lrp = kzalloc(sizeof(*lrp), nfs_io_gfp_mask()); in pnfs_send_layoutreturn() 1252 if (unlikely(lrp == NULL)) { in pnfs_send_layoutreturn() 1262 pnfs_init_layoutreturn_args(&lrp->args, lo, stateid, iomode); in pnfs_send_layoutreturn() 1263 lrp->args.ld_private = &lrp->ld_private; in pnfs_send_layoutreturn() 1264 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn() 1265 lrp->cred = cred; in pnfs_send_layoutreturn() 1267 ld->prepare_layoutreturn(&lrp->args); in pnfs_send_layoutreturn() 1269 status = nfs4_proc_layoutreturn(lrp, sync); in pnfs_send_layoutreturn()
|
D | pnfs.h | 249 extern int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp, bool sync);
|
/Linux-v6.1/fs/xfs/libxfs/ |
D | xfs_btree.c | 2413 union xfs_btree_rec *lrp; /* left record pointer */ in xfs_btree_lshift() local 2415 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_lshift() 2418 xfs_btree_copy_recs(cur, lrp, rrp, 1); in xfs_btree_lshift() 2422 xfs_btree_rec_addr(cur, lrecs - 1, left), lrp)); in xfs_btree_lshift() 2609 union xfs_btree_rec *lrp; in xfs_btree_rshift() local 2612 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_rshift() 2618 xfs_btree_copy_recs(cur, rrp, lrp, 1); in xfs_btree_rshift() 2787 union xfs_btree_rec *lrp; /* left record pointer */ in __xfs_btree_split() local 2790 lrp = xfs_btree_rec_addr(cur, src_index, left); in __xfs_btree_split() 2794 xfs_btree_copy_recs(cur, rrp, lrp, rrecs); in __xfs_btree_split() [all …]
|