Home
last modified time | relevance | path

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

/openbmc/linux/fs/nfsd/
H A Dnfs4layouts.c492 struct nfsd4_layoutreturn *lrp) in nfsd4_return_file_layouts() argument
501 false, lrp->lr_layout_type, in nfsd4_return_file_layouts()
510 if (layouts_overlapping(lp, &lrp->lr_seg)) { 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
542 lrp->lrs_present = 0; in nfsd4_return_client_layouts()
546 if (ls->ls_layout_type != lrp->lr_layout_type) in nfsd4_return_client_layouts()
549 if (lrp->lr_return_type == RETURN_FSID && in nfsd4_return_client_layouts()
556 if (lrp->lr_seg.iomode == IOMODE_ANY || in nfsd4_return_client_layouts()
[all …]
H A Dpnfs.h61 struct nfsd4_layoutreturn *lrp);
64 struct nfsd4_layoutreturn *lrp);
H A Dnfs4xdr.c606 struct nfsd4_layoutreturn *lrp) in nfsd4_decode_layoutreturn4() argument
612 switch (lrp->lr_return_type) { 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()
631 lrp->lr_seg.offset = 0; in nfsd4_decode_layoutreturn4()
632 lrp->lr_seg.length = NFS4_MAX_UINT64; in nfsd4_decode_layoutreturn4()
1821 memset(lrp, 0, sizeof(*lrp)); in nfsd4_decode_layoutreturn()
1828 return nfsd4_decode_layoutreturn4(argp, lrp); in nfsd4_decode_layoutreturn()
4780 *p++ = cpu_to_be32(lrp->lrs_present); in nfsd4_encode_layoutreturn()
[all …]
H A Dnfs4proc.c2367 struct nfsd4_layoutreturn *lrp = &u->layoutreturn; in nfsd4_layoutreturn() local
2376 if (!nfsd4_layout_verify(current_fh->fh_export, lrp->lr_layout_type)) in nfsd4_layoutreturn()
2379 switch (lrp->lr_seg.iomode) { in nfsd4_layoutreturn()
2386 lrp->lr_seg.iomode); in nfsd4_layoutreturn()
2391 switch (lrp->lr_return_type) { in nfsd4_layoutreturn()
2393 nfserr = nfsd4_return_file_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
2397 nfserr = nfsd4_return_client_layouts(rqstp, cstate, lrp); in nfsd4_layoutreturn()
2401 lrp->lr_return_type); in nfsd4_layoutreturn()
/openbmc/linux/sound/soc/codecs/
H A 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()
H A 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()
H A 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()
/openbmc/linux/fs/nfs/
H A Dnfs4proc.c9815 &lrp->res.seq_res, in nfs4_layoutreturn_prepare()
9871 pnfs_layoutreturn_free_lsegs(lo, &lrp->args.stateid, &lrp->args.range, in nfs4_layoutreturn_release()
9872 lrp->res.lrs_present ? &lrp->res.stateid : NULL); in nfs4_layoutreturn_release()
9874 if (lrp->ld_private.ops && lrp->ld_private.ops->free) in nfs4_layoutreturn_release()
9875 lrp->ld_private.ops->free(&lrp->ld_private); in nfs4_layoutreturn_release()
9910 lrp->inode = nfs_igrab_and_active(lrp->args.inode); in nfs4_proc_layoutreturn()
9912 if (!lrp->inode) { in nfs4_proc_layoutreturn()
9918 if (!lrp->inode) in nfs4_proc_layoutreturn()
9919 nfs4_init_sequence(&lrp->args.seq_args, &lrp->res.seq_res, 1, in nfs4_proc_layoutreturn()
9922 nfs4_init_sequence(&lrp->args.seq_args, &lrp->res.seq_res, 1, in nfs4_proc_layoutreturn()
[all …]
H A Dpnfs.c1245 struct nfs4_layoutreturn *lrp; in pnfs_send_layoutreturn() local
1250 lrp = kzalloc(sizeof(*lrp), nfs_io_gfp_mask()); in pnfs_send_layoutreturn()
1251 if (unlikely(lrp == NULL)) { in pnfs_send_layoutreturn()
1261 pnfs_init_layoutreturn_args(&lrp->args, lo, stateid, iomode); in pnfs_send_layoutreturn()
1262 lrp->args.ld_private = &lrp->ld_private; in pnfs_send_layoutreturn()
1263 lrp->clp = NFS_SERVER(ino)->nfs_client; in pnfs_send_layoutreturn()
1264 lrp->cred = cred; in pnfs_send_layoutreturn()
1266 ld->prepare_layoutreturn(&lrp->args); in pnfs_send_layoutreturn()
1268 status = nfs4_proc_layoutreturn(lrp, sync); in pnfs_send_layoutreturn()
H A Dpnfs.h249 extern int nfs4_proc_layoutreturn(struct nfs4_layoutreturn *lrp, bool sync);
/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_btree.c2412 union xfs_btree_rec *lrp; /* left record pointer */ in xfs_btree_lshift() local
2414 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_lshift()
2417 xfs_btree_copy_recs(cur, lrp, rrp, 1); in xfs_btree_lshift()
2421 xfs_btree_rec_addr(cur, lrecs - 1, left), lrp)); in xfs_btree_lshift()
2608 union xfs_btree_rec *lrp; in xfs_btree_rshift() local
2611 lrp = xfs_btree_rec_addr(cur, lrecs, left); in xfs_btree_rshift()
2617 xfs_btree_copy_recs(cur, rrp, lrp, 1); in xfs_btree_rshift()
2789 lrp = xfs_btree_rec_addr(cur, src_index, left); in __xfs_btree_split()
2793 xfs_btree_copy_recs(cur, rrp, lrp, rrecs); in __xfs_btree_split()
4158 lrp = xfs_btree_rec_addr(cur, lrecs + 1, left); in xfs_btree_delrec()
[all …]