Home
last modified time | relevance | path

Searched refs:lrp (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
Dnfs4layouts.c491 struct nfsd4_layoutreturn *lrp) in nfsd4_return_file_layouts() argument
499 nfserr = nfsd4_preprocess_layout_stateid(rqstp, cstate, &lrp->lr_sid, in nfsd4_return_file_layouts()
500 false, lrp->lr_layout_type, in nfsd4_return_file_layouts()
503 trace_nfsd_layout_return_lookup_fail(&lrp->lr_sid); in nfsd4_return_file_layouts()
509 if (layouts_overlapping(lp, &lrp->lr_seg)) { in nfsd4_return_file_layouts()
510 nfsd4_return_file_layout(lp, &lrp->lr_seg, &reaplist); in nfsd4_return_file_layouts()
516 nfs4_inc_and_copy_stateid(&lrp->lr_sid, &ls->ls_stid); in nfsd4_return_file_layouts()
517 lrp->lrs_present = 1; in nfsd4_return_file_layouts()
521 lrp->lrs_present = 0; in nfsd4_return_file_layouts()
534 struct nfsd4_layoutreturn *lrp) in nfsd4_return_client_layouts() argument
[all …]
Dpnfs.h61 struct nfsd4_layoutreturn *lrp);
64 struct nfsd4_layoutreturn *lrp);
Dnfs4xdr.c1693 struct nfsd4_layoutreturn *lrp) in nfsd4_decode_layoutreturn() argument
1698 lrp->lr_reclaim = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
1699 lrp->lr_layout_type = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
1700 lrp->lr_seg.iomode = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
1701 lrp->lr_return_type = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
1702 if (lrp->lr_return_type == RETURN_FILE) { in nfsd4_decode_layoutreturn()
1704 p = xdr_decode_hyper(p, &lrp->lr_seg.offset); in nfsd4_decode_layoutreturn()
1705 p = xdr_decode_hyper(p, &lrp->lr_seg.length); in nfsd4_decode_layoutreturn()
1707 status = nfsd4_decode_stateid(argp, &lrp->lr_sid); in nfsd4_decode_layoutreturn()
1712 lrp->lrf_body_len = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
[all …]
Dnfs4proc.c2055 struct nfsd4_layoutreturn *lrp = &u->layoutreturn; in nfsd4_layoutreturn() local
2064 if (!nfsd4_layout_verify(current_fh->fh_export, lrp->lr_layout_type)) in nfsd4_layoutreturn()
2067 switch (lrp->lr_seg.iomode) { in nfsd4_layoutreturn()
2074 lrp->lr_seg.iomode); in nfsd4_layoutreturn()
2079 switch (lrp->lr_return_type) { in nfsd4_layoutreturn()
2081 nfserr = nfsd4_return_file_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
2085 nfserr = nfsd4_return_client_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
2089 lrp->lr_return_type); in nfsd4_layoutreturn()
/kernel/linux/linux-5.10/sound/soc/codecs/
Dwm8804.c219 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()
Dwm8983.c572 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()
Dwm8985.c664 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()
/kernel/linux/linux-5.10/fs/nfs/
Dnfs4proc.c9539 struct nfs4_layoutreturn *lrp = calldata; in nfs4_layoutreturn_prepare() local
9542 nfs4_setup_sequence(lrp->clp, in nfs4_layoutreturn_prepare()
9543 &lrp->args.seq_args, in nfs4_layoutreturn_prepare()
9544 &lrp->res.seq_res, in nfs4_layoutreturn_prepare()
9546 if (!pnfs_layout_is_valid(lrp->args.layout)) in nfs4_layoutreturn_prepare()
9552 struct nfs4_layoutreturn *lrp = calldata; in nfs4_layoutreturn_done() local
9557 if (!nfs41_sequence_process(task, &lrp->res.seq_res)) in nfs4_layoutreturn_done()
9565 lrp->res.lrs_present = 0; in nfs4_layoutreturn_done()
9569 server = NFS_SERVER(lrp->args.inode); in nfs4_layoutreturn_done()
9572 if (nfs4_layout_refresh_old_stateid(&lrp->args.stateid, in nfs4_layoutreturn_done()
[all …]
Dpnfs.c1236 struct nfs4_layoutreturn *lrp; in pnfs_send_layoutreturn() local
1241 lrp = kzalloc(sizeof(*lrp), GFP_NOFS); in pnfs_send_layoutreturn()
1242 if (unlikely(lrp == NULL)) { in pnfs_send_layoutreturn()
1252 pnfs_init_layoutreturn_args(&lrp->args, lo, stateid, iomode); in pnfs_send_layoutreturn()
1253 lrp->args.ld_private = &lrp->ld_private; in pnfs_send_layoutreturn()
1254 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn()
1255 lrp->cred = cred; in pnfs_send_layoutreturn()
1257 ld->prepare_layoutreturn(&lrp->args); in pnfs_send_layoutreturn()
1259 status = nfs4_proc_layoutreturn(lrp, sync); in pnfs_send_layoutreturn()
Dpnfs.h246 extern int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp, bool sync);
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree.c2344 union xfs_btree_rec *lrp; /* left record pointer */ in xfs_btree_lshift() local
2346 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_lshift()
2349 xfs_btree_copy_recs(cur, lrp, rrp, 1); in xfs_btree_lshift()
2353 xfs_btree_rec_addr(cur, lrecs - 1, left), lrp)); in xfs_btree_lshift()
2540 union xfs_btree_rec *lrp; in xfs_btree_rshift() local
2543 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_rshift()
2549 xfs_btree_copy_recs(cur, rrp, lrp, 1); in xfs_btree_rshift()
2718 union xfs_btree_rec *lrp; /* left record pointer */ in __xfs_btree_split() local
2721 lrp = xfs_btree_rec_addr(cur, src_index, left); in __xfs_btree_split()
2725 xfs_btree_copy_recs(cur, rrp, lrp, rrecs); in __xfs_btree_split()
[all …]