Home
last modified time | relevance | path

Searched refs:pnfs_layout_hdr (Results 1 – 15 of 15) sorted by relevance

/fs/nfs/objlayout/
Dobjlayout.h52 struct pnfs_layout_hdr pnfs_layout;
68 OBJLAYOUT(struct pnfs_layout_hdr *lo) in OBJLAYOUT()
98 struct pnfs_layout_hdr *pnfs_layout_type) in objlayout_init_ioerrs()
111 struct pnfs_layout_hdr *pnfslay,
156 extern struct pnfs_layout_hdr *objlayout_alloc_layout_hdr(struct inode *, gfp_t gfp_flags);
157 extern void objlayout_free_layout_hdr(struct pnfs_layout_hdr *);
160 struct pnfs_layout_hdr *,
173 struct pnfs_layout_hdr *,
178 struct pnfs_layout_hdr *,
Dobjlayout.c50 struct pnfs_layout_hdr *
68 objlayout_free_layout_hdr(struct pnfs_layout_hdr *lo) in objlayout_free_layout_hdr()
82 objlayout_alloc_lseg(struct pnfs_layout_hdr *pnfslay, in objlayout_alloc_lseg()
371 objlayout_encode_layoutcommit(struct pnfs_layout_hdr *pnfslay, in objlayout_encode_layoutcommit()
507 objlayout_encode_layoutreturn(struct pnfs_layout_hdr *pnfslay, in objlayout_encode_layoutreturn()
Dobjio_osd.c211 struct pnfs_layout_hdr *pnfslay, in objio_alloc_lseg()
294 objio_alloc_io_state(struct pnfs_layout_hdr *pnfs_layout_type, bool is_reading, in objio_alloc_io_state()
/fs/nfs/
Dpnfs.h69 struct pnfs_layout_hdr *pls_layout;
127 struct pnfs_layout_hdr * (*alloc_layout_hdr) (struct inode *inode, gfp_t gfp_flags);
128 void (*free_layout_hdr) (struct pnfs_layout_hdr *);
130 …struct pnfs_layout_segment * (*alloc_lseg) (struct pnfs_layout_hdr *layoutid, struct nfs4_layoutge…
132 void (*add_lseg) (struct pnfs_layout_hdr *layoutid,
136 void (*return_range) (struct pnfs_layout_hdr *lo,
175 void (*encode_layoutreturn) (struct pnfs_layout_hdr *layoutid,
181 void (*encode_layoutcommit) (struct pnfs_layout_hdr *lo,
188 struct pnfs_layout_hdr { struct
236 void pnfs_get_layout_hdr(struct pnfs_layout_hdr *lo);
[all …]
Dpnfs.c56 static void pnfs_layoutreturn_before_put_layout_hdr(struct pnfs_layout_hdr *lo);
246 pnfs_get_layout_hdr(struct pnfs_layout_hdr *lo) in pnfs_get_layout_hdr()
251 static struct pnfs_layout_hdr *
259 pnfs_free_layout_hdr(struct pnfs_layout_hdr *lo) in pnfs_free_layout_hdr()
276 pnfs_detach_layout_hdr(struct pnfs_layout_hdr *lo) in pnfs_detach_layout_hdr()
287 pnfs_put_layout_hdr(struct pnfs_layout_hdr *lo) in pnfs_put_layout_hdr()
303 pnfs_clear_layoutreturn_info(struct pnfs_layout_hdr *lo) in pnfs_clear_layoutreturn_info()
318 pnfs_mark_layout_stateid_invalid(struct pnfs_layout_hdr *lo, in pnfs_mark_layout_stateid_invalid()
340 pnfs_layout_set_fail_bit(struct pnfs_layout_hdr *lo, int fail_bit) in pnfs_layout_set_fail_bit()
348 pnfs_layout_clear_fail_bit(struct pnfs_layout_hdr *lo, int fail_bit) in pnfs_layout_clear_fail_bit()
[all …]
Dcallback_proc.c121 static struct pnfs_layout_hdr * get_layout_by_fh_locked(struct nfs_client *clp, in get_layout_by_fh_locked()
127 struct pnfs_layout_hdr *lo; in get_layout_by_fh_locked()
156 static struct pnfs_layout_hdr * get_layout_by_fh(struct nfs_client *clp, in get_layout_by_fh()
159 struct pnfs_layout_hdr *lo; in get_layout_by_fh()
173 static u32 pnfs_check_callback_stateid(struct pnfs_layout_hdr *lo, in pnfs_check_callback_stateid()
212 struct pnfs_layout_hdr *lo; in initiate_file_draining()
Dnfs42proc.c334 struct pnfs_layout_hdr *lo; in nfs42_layoutstat_prepare()
355 struct pnfs_layout_hdr *lo; in nfs42_layoutstat_done()
Dnfs4trace.h1520 struct pnfs_layout_hdr *lo,
Dnfs4proc.c8299 struct pnfs_layout_hdr *lo; in nfs4_layoutget_handle_exception()
8558 struct pnfs_layout_hdr *lo = lrp->args.layout; in nfs4_layoutreturn_release()
/fs/nfs/flexfilelayout/
Dflexfilelayout.h72 struct pnfs_layout_hdr *layout;
99 struct pnfs_layout_hdr generic_hdr;
107 FF_LAYOUT_FROM_HDR(struct pnfs_layout_hdr *lo) in FF_LAYOUT_FROM_HDR()
Dflexfilelayout.c34 static struct pnfs_layout_hdr *
50 ff_layout_free_layout_hdr(struct pnfs_layout_hdr *lo) in ff_layout_free_layout_hdr()
169 ff_layout_add_mirror(struct pnfs_layout_hdr *lo, in ff_layout_add_mirror()
332 ff_layout_add_lseg(struct pnfs_layout_hdr *lo, in ff_layout_add_lseg()
369 ff_layout_alloc_lseg(struct pnfs_layout_hdr *lh, in ff_layout_alloc_lseg()
577 static bool ff_layout_has_rw_segments(struct pnfs_layout_hdr *layout) in ff_layout_has_rw_segments()
1069 struct pnfs_layout_hdr *lo = lseg->pls_layout; in ff_layout_async_handle_error_v4()
1955 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; in ff_layout_get_ds_info()
1974 struct pnfs_layout_hdr *hdr = &flo->generic_hdr; in ff_layout_encode_ioerr()
2017 ff_layout_encode_layoutreturn(struct pnfs_layout_hdr *lo, in ff_layout_encode_layoutreturn()
[all …]
/fs/nfs/filelayout/
Dfilelayout.h70 struct pnfs_layout_hdr generic_hdr;
75 FILELAYOUT_FROM_HDR(struct pnfs_layout_hdr *lo) in FILELAYOUT_FROM_HDR()
Dfilelayout.c127 struct pnfs_layout_hdr *lo = lseg->pls_layout; in filelayout_async_handle_error()
572 filelayout_check_layout(struct pnfs_layout_hdr *lo, in filelayout_check_layout()
657 filelayout_decode_layout(struct pnfs_layout_hdr *flo, in filelayout_decode_layout()
828 filelayout_alloc_lseg(struct pnfs_layout_hdr *layoutid, in filelayout_alloc_lseg()
1113 static struct pnfs_layout_hdr *
1123 filelayout_free_layout_hdr(struct pnfs_layout_hdr *lo) in filelayout_free_layout_hdr()
1131 struct pnfs_layout_hdr *layout = NFS_I(inode)->layout; in filelayout_get_ds_info()
/fs/nfs/blocklayout/
Dblocklayout.h139 struct pnfs_layout_hdr bl_layout;
148 BLK_LO2EXT(struct pnfs_layout_hdr *lo) in BLK_LO2EXT()
Dblocklayout.c439 static void bl_free_layout_hdr(struct pnfs_layout_hdr *lo) in bl_free_layout_hdr()
452 static struct pnfs_layout_hdr *__bl_alloc_layout_hdr(struct inode *inode, in __bl_alloc_layout_hdr()
470 static struct pnfs_layout_hdr *bl_alloc_layout_hdr(struct inode *inode, in bl_alloc_layout_hdr()
476 static struct pnfs_layout_hdr *sl_alloc_layout_hdr(struct inode *inode, in sl_alloc_layout_hdr()
556 bl_alloc_extent(struct xdr_stream *xdr, struct pnfs_layout_hdr *lo, in bl_alloc_extent()
611 bl_alloc_lseg(struct pnfs_layout_hdr *lo, struct nfs4_layoutget_res *lgr, in bl_alloc_lseg()
703 bl_return_range(struct pnfs_layout_hdr *lo, in bl_return_range()