Searched refs:lgp (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/fs/nfs/ |
D | pnfs.c | 1092 struct nfs4_layoutget *lgp; in pnfs_alloc_init_layoutget_args() local 1096 lgp = kzalloc(sizeof(*lgp), gfp_flags); in pnfs_alloc_init_layoutget_args() 1097 if (lgp == NULL) in pnfs_alloc_init_layoutget_args() 1106 lgp->args.layout.pages = nfs4_alloc_pages(max_pages, gfp_flags); in pnfs_alloc_init_layoutget_args() 1107 if (!lgp->args.layout.pages) { in pnfs_alloc_init_layoutget_args() 1108 kfree(lgp); in pnfs_alloc_init_layoutget_args() 1111 lgp->args.layout.pglen = max_pages * PAGE_SIZE; in pnfs_alloc_init_layoutget_args() 1112 lgp->res.layoutp = &lgp->args.layout; in pnfs_alloc_init_layoutget_args() 1115 lgp->res.status = -NFS4ERR_DELAY; in pnfs_alloc_init_layoutget_args() 1117 lgp->args.minlength = PAGE_SIZE; in pnfs_alloc_init_layoutget_args() [all …]
|
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
|
D | nfs4proc.c | 1456 nfs4_lgopen_release(p->lgp); in nfs4_opendata_free() 3097 pnfs_parse_lgopen(state->inode, opendata->lgp, ctx); in _nfs4_open_and_get_state() 3111 if (opendata->lgp) { in _nfs4_open_and_get_state() 3112 nfs4_lgopen_release(opendata->lgp); in _nfs4_open_and_get_state() 3113 opendata->lgp = NULL; in _nfs4_open_and_get_state() 9603 struct nfs4_layoutget *lgp = calldata; in nfs4_layoutget_prepare() local 9604 struct nfs_server *server = NFS_SERVER(lgp->args.inode); in nfs4_layoutget_prepare() 9606 nfs4_setup_sequence(server->nfs_client, &lgp->args.seq_args, in nfs4_layoutget_prepare() 9607 &lgp->res.seq_res, task); in nfs4_layoutget_prepare() 9612 struct nfs4_layoutget *lgp = calldata; in nfs4_layoutget_done() local [all …]
|
D | nfs4_fs.h | 245 struct nfs4_layoutget *lgp; member
|
/linux-6.6.21/fs/nfsd/ |
D | pnfs.h | 33 struct nfsd4_layoutget *lgp); 35 struct nfsd4_layoutget *lgp); 57 __be32 nfsd4_insert_layout(struct nfsd4_layoutget *lgp,
|
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()
|
D | flexfilelayoutxdr.h | 48 struct nfsd4_layoutget *lgp);
|
D | blocklayoutxdr.h | 56 struct nfsd4_layoutget *lgp);
|
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()
|
D | nfs4proc.c | 2216 struct nfsd4_layoutget *lgp = &u->layoutget; in nfsd4_layoutget() local 2223 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget() 2232 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget() 2242 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget() 2258 if (lgp->lg_seg.length < lgp->lg_minlength || in nfsd4_layoutget() 2259 (lgp->lg_minlength != NFS4_MAX_UINT64 && in nfsd4_layoutget() 2260 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) || in nfsd4_layoutget() 2261 (lgp->lg_seg.length != NFS4_MAX_UINT64 && in nfsd4_layoutget() 2262 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset)) in nfsd4_layoutget() 2264 if (lgp->lg_seg.length == 0) in nfsd4_layoutget() [all …]
|
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() 1803 if (xdr_stream_decode_u32(argp->xdr, &lgp->lg_signal) < 0) in nfsd4_decode_layoutget() 1805 if (xdr_stream_decode_u32(argp->xdr, &lgp->lg_layout_type) < 0) in nfsd4_decode_layoutget() 1807 if (xdr_stream_decode_u32(argp->xdr, &lgp->lg_seg.iomode) < 0) in nfsd4_decode_layoutget() 1809 if (xdr_stream_decode_u64(argp->xdr, &lgp->lg_seg.offset) < 0) in nfsd4_decode_layoutget() 1811 if (xdr_stream_decode_u64(argp->xdr, &lgp->lg_seg.length) < 0) in nfsd4_decode_layoutget() 1813 if (xdr_stream_decode_u64(argp->xdr, &lgp->lg_minlength) < 0) in nfsd4_decode_layoutget() 1815 status = nfsd4_decode_stateid4(argp, &lgp->lg_sid); in nfsd4_decode_layoutget() 1818 if (xdr_stream_decode_u32(argp->xdr, &lgp->lg_maxcount) < 0) in nfsd4_decode_layoutget() [all …]
|
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()
|