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.c2049 struct nfsd4_layoutreturn *lrp = &u->layoutreturn; in nfsd4_layoutreturn() local
2058 if (!nfsd4_layout_verify(current_fh->fh_export, lrp->lr_layout_type)) in nfsd4_layoutreturn()
2061 switch (lrp->lr_seg.iomode) { in nfsd4_layoutreturn()
2068 lrp->lr_seg.iomode); in nfsd4_layoutreturn()
2073 switch (lrp->lr_return_type) { in nfsd4_layoutreturn()
2075 nfserr = nfsd4_return_file_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
2079 nfserr = nfsd4_return_client_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
2083 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.c9568 struct nfs4_layoutreturn *lrp = calldata; in nfs4_layoutreturn_prepare() local
9571 nfs4_setup_sequence(lrp->clp, in nfs4_layoutreturn_prepare()
9572 &lrp->args.seq_args, in nfs4_layoutreturn_prepare()
9573 &lrp->res.seq_res, in nfs4_layoutreturn_prepare()
9575 if (!pnfs_layout_is_valid(lrp->args.layout)) in nfs4_layoutreturn_prepare()
9581 struct nfs4_layoutreturn *lrp = calldata; in nfs4_layoutreturn_done() local
9586 if (!nfs41_sequence_process(task, &lrp->res.seq_res)) in nfs4_layoutreturn_done()
9594 lrp->res.lrs_present = 0; in nfs4_layoutreturn_done()
9598 server = NFS_SERVER(lrp->args.inode); in nfs4_layoutreturn_done()
9601 if (nfs4_layout_refresh_old_stateid(&lrp->args.stateid, in nfs4_layoutreturn_done()
[all …]
Dpnfs.c1248 struct nfs4_layoutreturn *lrp; in pnfs_send_layoutreturn() local
1253 lrp = kzalloc(sizeof(*lrp), GFP_NOFS); in pnfs_send_layoutreturn()
1254 if (unlikely(lrp == NULL)) { in pnfs_send_layoutreturn()
1264 pnfs_init_layoutreturn_args(&lrp->args, lo, stateid, iomode); in pnfs_send_layoutreturn()
1265 lrp->args.ld_private = &lrp->ld_private; in pnfs_send_layoutreturn()
1266 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn()
1267 lrp->cred = cred; in pnfs_send_layoutreturn()
1269 ld->prepare_layoutreturn(&lrp->args); in pnfs_send_layoutreturn()
1271 status = nfs4_proc_layoutreturn(lrp, sync); in pnfs_send_layoutreturn()
Dpnfs.h249 extern int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp, bool sync);
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_btree.c2341 union xfs_btree_rec *lrp; /* left record pointer */ in xfs_btree_lshift() local
2343 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_lshift()
2346 xfs_btree_copy_recs(cur, lrp, rrp, 1); in xfs_btree_lshift()
2350 xfs_btree_rec_addr(cur, lrecs - 1, left), lrp)); in xfs_btree_lshift()
2537 union xfs_btree_rec *lrp; in xfs_btree_rshift() local
2540 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_rshift()
2546 xfs_btree_copy_recs(cur, rrp, lrp, 1); in xfs_btree_rshift()
2715 union xfs_btree_rec *lrp; /* left record pointer */ in __xfs_btree_split() local
2718 lrp = xfs_btree_rec_addr(cur, src_index, left); in __xfs_btree_split()
2722 xfs_btree_copy_recs(cur, rrp, lrp, rrecs); in __xfs_btree_split()
[all …]