Home
last modified time | relevance | path

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

/Linux-v4.19/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.c1677 struct nfsd4_layoutreturn *lrp) in nfsd4_decode_layoutreturn() argument
1682 lrp->lr_reclaim = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
1683 lrp->lr_layout_type = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
1684 lrp->lr_seg.iomode = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
1685 lrp->lr_return_type = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
1686 if (lrp->lr_return_type == RETURN_FILE) { in nfsd4_decode_layoutreturn()
1688 p = xdr_decode_hyper(p, &lrp->lr_seg.offset); in nfsd4_decode_layoutreturn()
1689 p = xdr_decode_hyper(p, &lrp->lr_seg.length); in nfsd4_decode_layoutreturn()
1691 status = nfsd4_decode_stateid(argp, &lrp->lr_sid); in nfsd4_decode_layoutreturn()
1696 lrp->lrf_body_len = be32_to_cpup(p++); in nfsd4_decode_layoutreturn()
[all …]
Dnfs4proc.c1515 struct nfsd4_layoutreturn *lrp = &u->layoutreturn; in nfsd4_layoutreturn() local
1524 if (!nfsd4_layout_verify(current_fh->fh_export, lrp->lr_layout_type)) in nfsd4_layoutreturn()
1527 switch (lrp->lr_seg.iomode) { in nfsd4_layoutreturn()
1534 lrp->lr_seg.iomode); in nfsd4_layoutreturn()
1539 switch (lrp->lr_return_type) { in nfsd4_layoutreturn()
1541 nfserr = nfsd4_return_file_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
1545 nfserr = nfsd4_return_client_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
1549 lrp->lr_return_type); in nfsd4_layoutreturn()
/Linux-v4.19/sound/soc/codecs/
Dwm8804.c222 u16 format, master, bcp, lrp; in wm8804_set_fmt() local
264 bcp = lrp = 0; in wm8804_set_fmt()
269 bcp = lrp = 1; in wm8804_set_fmt()
275 lrp = 1; in wm8804_set_fmt()
284 (bcp << 4) | (lrp << 5)); in wm8804_set_fmt()
286 (bcp << 4) | (lrp << 5)); in wm8804_set_fmt()
Dwm8983.c575 u16 format, master, bcp, lrp; in wm8983_set_fmt() local
624 bcp = lrp = 0; in wm8983_set_fmt()
629 bcp = lrp = 1; in wm8983_set_fmt()
635 lrp = 1; in wm8983_set_fmt()
643 WM8983_LRCP_MASK, lrp << WM8983_LRCP_SHIFT); in wm8983_set_fmt()
Dwm8985.c667 u16 format, master, bcp, lrp; in wm8985_set_fmt() local
724 bcp = lrp = 0; in wm8985_set_fmt()
729 bcp = lrp = 1; in wm8985_set_fmt()
735 lrp = 1; in wm8985_set_fmt()
743 WM8985_LRP_MASK, lrp << WM8985_LRP_SHIFT); in wm8985_set_fmt()
/Linux-v4.19/fs/nfs/
Dnfs4proc.c8939 struct nfs4_layoutreturn *lrp = calldata; in nfs4_layoutreturn_prepare() local
8942 nfs4_setup_sequence(lrp->clp, in nfs4_layoutreturn_prepare()
8943 &lrp->args.seq_args, in nfs4_layoutreturn_prepare()
8944 &lrp->res.seq_res, in nfs4_layoutreturn_prepare()
8946 if (!pnfs_layout_is_valid(lrp->args.layout)) in nfs4_layoutreturn_prepare()
8952 struct nfs4_layoutreturn *lrp = calldata; in nfs4_layoutreturn_done() local
8957 if (!nfs41_sequence_process(task, &lrp->res.seq_res)) in nfs4_layoutreturn_done()
8960 server = NFS_SERVER(lrp->args.inode); in nfs4_layoutreturn_done()
8963 if (nfs4_layoutreturn_refresh_stateid(&lrp->args.stateid, in nfs4_layoutreturn_done()
8964 &lrp->args.range, in nfs4_layoutreturn_done()
[all …]
Dpnfs.c1145 struct nfs4_layoutreturn *lrp; in pnfs_send_layoutreturn() local
1148 lrp = kzalloc(sizeof(*lrp), GFP_NOFS); in pnfs_send_layoutreturn()
1149 if (unlikely(lrp == NULL)) { in pnfs_send_layoutreturn()
1158 pnfs_init_layoutreturn_args(&lrp->args, lo, stateid, iomode); in pnfs_send_layoutreturn()
1159 lrp->args.ld_private = &lrp->ld_private; in pnfs_send_layoutreturn()
1160 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn()
1161 lrp->cred = lo->plh_lc_cred; in pnfs_send_layoutreturn()
1163 ld->prepare_layoutreturn(&lrp->args); in pnfs_send_layoutreturn()
1165 status = nfs4_proc_layoutreturn(lrp, sync); in pnfs_send_layoutreturn()
Dpnfs.h234 extern int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp, bool sync);
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_btree.c2398 union xfs_btree_rec *lrp; /* left record pointer */ in xfs_btree_lshift() local
2400 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_lshift()
2403 xfs_btree_copy_recs(cur, lrp, rrp, 1); in xfs_btree_lshift()
2407 xfs_btree_rec_addr(cur, lrecs - 1, left), lrp)); in xfs_btree_lshift()
2593 union xfs_btree_rec *lrp; in xfs_btree_rshift() local
2596 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_rshift()
2602 xfs_btree_copy_recs(cur, rrp, lrp, 1); in xfs_btree_rshift()
2768 union xfs_btree_rec *lrp; /* left record pointer */ in __xfs_btree_split() local
2771 lrp = xfs_btree_rec_addr(cur, src_index, left); in __xfs_btree_split()
2775 xfs_btree_copy_recs(cur, rrp, lrp, rrecs); in __xfs_btree_split()
[all …]