Searched refs:lgp (Results 1 – 11 of 11) sorted by relevance
/linux/fs/nfs/ |
H A D | pnfs.c | 1172 struct nfs4_layoutget *lgp; in pnfs_alloc_init_layoutget_args() local 1176 lgp = kzalloc(sizeof(*lgp), gfp_flags); in pnfs_alloc_init_layoutget_args() 1177 if (lgp == NULL) in pnfs_alloc_init_layoutget_args() 1186 lgp->args.layout.pages = nfs4_alloc_pages(max_pages, gfp_flags); in pnfs_alloc_init_layoutget_args() 1187 if (!lgp->args.layout.pages) { in pnfs_alloc_init_layoutget_args() 1188 kfree(lgp); in pnfs_alloc_init_layoutget_args() 1191 lgp->args.layout.pglen = max_pages * PAGE_SIZE; in pnfs_alloc_init_layoutget_args() 1192 lgp->res.layoutp = &lgp->args.layout; in pnfs_alloc_init_layoutget_args() 1195 lgp->res.status = -NFS4ERR_DELAY; in pnfs_alloc_init_layoutget_args() 1197 lgp->args.minlength = PAGE_SIZE; in pnfs_alloc_init_layoutget_args() [all …]
|
H A D | pnfs.h | 256 nfs4_proc_layoutget(struct nfs4_layoutget *lgp, 277 struct pnfs_layout_segment *pnfs_layout_process(struct nfs4_layoutget *lgp); 278 void pnfs_layoutget_free(struct nfs4_layoutget *lgp); 433 void pnfs_parse_lgopen(struct inode *ino, struct nfs4_layoutget *lgp, 435 void nfs4_lgopen_release(struct nfs4_layoutget *lgp); 903 struct nfs4_layoutget *lgp, in pnfs_parse_lgopen() argument 908 static inline void nfs4_lgopen_release(struct nfs4_layoutget *lgp) in nfs4_lgopen_release() argument
|
H A D | nfs4proc.c | 1509 nfs4_lgopen_release(p->lgp); in nfs4_opendata_free() 3172 pnfs_parse_lgopen(state->inode, opendata->lgp, ctx); in _nfs4_open_and_get_state() 3183 if (opendata->lgp) { in _nfs4_open_and_get_state() 3184 nfs4_lgopen_release(opendata->lgp); in _nfs4_open_and_get_state() 3185 opendata->lgp = NULL; in _nfs4_open_and_get_state() 9789 struct nfs4_layoutget *lgp = calldata; in nfs4_layoutget_prepare() local 9790 struct nfs_server *server = NFS_SERVER(lgp->args.inode); in nfs4_layoutget_prepare() 9792 nfs4_setup_sequence(server->nfs_client, &lgp->args.seq_args, in nfs4_layoutget_prepare() 9793 &lgp->res.seq_res, task); in nfs4_layoutget_prepare() 9798 struct nfs4_layoutget *lgp = calldata; in nfs4_layoutget_done() local [all …]
|
H A D | nfs4_fs.h | 246 struct nfs4_layoutget *lgp; member
|
/linux/fs/nfsd/ |
H A D | pnfs.h | 33 struct nfsd4_layoutget *lgp); 35 const struct nfsd4_layoutget *lgp); 58 __be32 nfsd4_insert_layout(struct nfsd4_layoutget *lgp,
|
H A D | flexfilelayoutxdr.c | 20 const struct nfsd4_layoutget *lgp) in nfsd4_ff_encode_layoutget() argument 22 const struct pnfs_ff_layout *fl = lgp->lg_content; in nfsd4_ff_encode_layoutget()
|
H A D | flexfilelayoutxdr.h | 48 const struct nfsd4_layoutget *lgp);
|
H A D | blocklayoutxdr.c | 19 const struct nfsd4_layoutget *lgp) in nfsd4_block_encode_layoutget() argument 21 const struct pnfs_block_extent *b = lgp->lg_content; in nfsd4_block_encode_layoutget()
|
H A D | blocklayoutxdr.h | 56 const struct nfsd4_layoutget *lgp);
|
H A D | nfs4proc.c | 2356 struct nfsd4_layoutget *lgp = &u->layoutget; in nfsd4_layoutget() local 2363 switch (lgp->lg_seg.iomode) { in nfsd4_layoutget() 2372 __func__, lgp->lg_seg.iomode); in nfsd4_layoutget() 2382 ops = nfsd4_layout_verify(current_fh->fh_export, lgp->lg_layout_type); in nfsd4_layoutget() 2398 if (lgp->lg_seg.length < lgp->lg_minlength || in nfsd4_layoutget() 2399 (lgp->lg_minlength != NFS4_MAX_UINT64 && in nfsd4_layoutget() 2400 lgp->lg_minlength > NFS4_MAX_UINT64 - lgp->lg_seg.offset) || in nfsd4_layoutget() 2401 (lgp->lg_seg.length != NFS4_MAX_UINT64 && in nfsd4_layoutget() 2402 lgp->lg_seg.length > NFS4_MAX_UINT64 - lgp->lg_seg.offset)) in nfsd4_layoutget() 2404 if (lgp->lg_seg.length == 0) in nfsd4_layoutget() [all …]
|
H A D | nfs4layouts.c | 417 nfsd4_insert_layout(struct nfsd4_layoutget *lgp, struct nfs4_layout_stateid *ls) in nfsd4_insert_layout() argument 419 struct nfsd4_layout_seg *seg = &lgp->lg_seg; in nfsd4_insert_layout() 456 nfs4_inc_and_copy_stateid(&lgp->lg_sid, &ls->ls_stid); in nfsd4_insert_layout()
|