Searched refs:lgp (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/fs/nfs/ |
A D | pnfs.c | 1096 lgp = kzalloc(sizeof(*lgp), gfp_flags); in pnfs_alloc_init_layoutget_args() 1108 kfree(lgp); in pnfs_alloc_init_layoutget_args() 1112 lgp->res.layoutp = &lgp->args.layout; in pnfs_alloc_init_layoutget_args() 1138 return lgp; in pnfs_alloc_init_layoutget_args() 1148 kfree(lgp); in pnfs_layoutget_free() 2136 if (!lgp) { in pnfs_update_layout() 2278 if (!lgp) { in _lgopen_prepare_attached() 2285 data->lgp = lgp; in _lgopen_prepare_attached() 2304 if (!lgp) in _lgopen_prepare_floating() 2306 data->lgp = lgp; in _lgopen_prepare_floating() [all …]
|
A D | pnfs.h | 248 extern struct pnfs_layout_segment* nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout); 268 struct pnfs_layout_segment *pnfs_layout_process(struct nfs4_layoutget *lgp); 269 void pnfs_layoutget_free(struct nfs4_layoutget *lgp); 423 void pnfs_parse_lgopen(struct inode *ino, struct nfs4_layoutget *lgp, 425 void nfs4_lgopen_release(struct nfs4_layoutget *lgp); 906 struct nfs4_layoutget *lgp, in pnfs_parse_lgopen() argument 911 static inline void nfs4_lgopen_release(struct nfs4_layoutget *lgp) in nfs4_lgopen_release() argument
|
A D | nfs4proc.c | 3105 if (opendata->lgp) { in _nfs4_open_and_get_state() 3107 opendata->lgp = NULL; in _nfs4_open_and_get_state() 9695 pnfs_layoutget_free(lgp); in nfs4_layoutget_release() 9712 .rpc_argp = &lgp->args, in nfs4_proc_layoutget() 9713 .rpc_resp = &lgp->res, in nfs4_proc_layoutget() 9714 .rpc_cred = lgp->cred, in nfs4_proc_layoutget() 9720 .callback_data = lgp, in nfs4_proc_layoutget() 9731 nfs4_init_sequence(&lgp->args.seq_args, &lgp->res.seq_res, 0, 0); in nfs4_proc_layoutget() 9751 &lgp->args.range, in nfs4_proc_layoutget() 9752 &lgp->res.range, in nfs4_proc_layoutget() [all …]
|
A D | nfs4_fs.h | 245 struct nfs4_layoutget *lgp; member
|
/linux-6.3-rc2/fs/nfsd/ |
A D | pnfs.h | 33 struct nfsd4_layoutget *lgp); 35 struct nfsd4_layoutget *lgp); 57 __be32 nfsd4_insert_layout(struct nfsd4_layoutget *lgp,
|
A D | flexfilelayoutxdr.c | 20 struct nfsd4_layoutget *lgp) in nfsd4_ff_encode_layoutget() argument 22 struct pnfs_ff_layout *fl = lgp->lg_content; in nfsd4_ff_encode_layoutget()
|
A D | flexfilelayoutxdr.h | 48 struct nfsd4_layoutget *lgp);
|
A D | blocklayoutxdr.c | 19 struct nfsd4_layoutget *lgp) in nfsd4_block_encode_layoutget() argument 21 struct pnfs_block_extent *b = lgp->lg_content; in nfsd4_block_encode_layoutget()
|
A D | blocklayoutxdr.h | 56 struct nfsd4_layoutget *lgp);
|
A D | nfs4proc.c | 2183 struct nfsd4_layoutget *lgp = &u->layoutget; in nfsd4_layoutget() local 2190 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget() 2199 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget() 2225 if (lgp->lg_seg.length < lgp->lg_minlength || in nfsd4_layoutget() 2226 (lgp->lg_minlength != NFS4_MAX_UINT64 && in nfsd4_layoutget() 2227 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) || in nfsd4_layoutget() 2229 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset)) in nfsd4_layoutget() 2231 if (lgp->lg_seg.length == 0) in nfsd4_layoutget() 2235 true, lgp->lg_layout_type, &ls); in nfsd4_layoutget() 2246 current_fh, lgp); in nfsd4_layoutget() [all …]
|
A D | nfs4xdr.c | 1799 struct nfsd4_layoutget *lgp = &u->layoutget; in nfsd4_decode_layoutget() local 1802 memset(lgp, 0, sizeof(*lgp)); in nfsd4_decode_layoutget() 1815 status = nfsd4_decode_stateid4(argp, &lgp->lg_sid); in nfsd4_decode_layoutget() 4728 struct nfsd4_layoutget *lgp = &u->layoutget; in nfsd4_encode_layoutget() local 4738 *p++ = cpu_to_be32(lgp->lg_sid.si_generation); in nfsd4_encode_layoutget() 4743 p = xdr_encode_hyper(p, lgp->lg_seg.offset); in nfsd4_encode_layoutget() 4744 p = xdr_encode_hyper(p, lgp->lg_seg.length); in nfsd4_encode_layoutget() 4745 *p++ = cpu_to_be32(lgp->lg_seg.iomode); in nfsd4_encode_layoutget() 4746 *p++ = cpu_to_be32(lgp->lg_layout_type); in nfsd4_encode_layoutget() 4748 ops = nfsd4_layout_ops[lgp->lg_layout_type]; in nfsd4_encode_layoutget() [all …]
|
A D | nfs4layouts.c | 403 nfsd4_insert_layout(struct nfsd4_layoutget *lgp, struct nfs4_layout_stateid *ls) in nfsd4_insert_layout() argument 405 struct nfsd4_layout_seg *seg = &lgp->lg_seg; in nfsd4_insert_layout() 442 nfs4_inc_and_copy_stateid(&lgp->lg_sid, &ls->ls_stid); in nfsd4_insert_layout()
|
Completed in 60 milliseconds