Home
last modified time | relevance | path

Searched refs:pnfs_layout_segment (Results 1 – 20 of 20) sorted by relevance

/linux/fs/nfs/
H A Dpnfs.h69 struct pnfs_layout_segment { struct
144 …struct pnfs_layout_segment * (*alloc_lseg) (struct pnfs_layout_hdr *layoutid, struct nfs4_layoutge…
145 void (*free_lseg) (struct pnfs_layout_segment *lseg);
147 struct pnfs_layout_segment *lseg,
179 void (*cancel_io)(struct pnfs_layout_segment *lseg);
184 struct pnfs_layout_segment *);
192 struct pnfs_layout_segment *lseg,
255 extern struct pnfs_layout_segment *
263 void pnfs_put_lseg(struct pnfs_layout_segment *lseg);
276 void pnfs_set_lo_fail(struct pnfs_layout_segment *lseg);
[all …]
H A Dpnfs.c62 static bool pnfs_lseg_dec_and_remove_zero(struct pnfs_layout_segment *lseg,
376 struct pnfs_layout_segment *lseg; in pnfs_clear_layoutreturn_info()
397 pnfs_clear_lseg_state(struct pnfs_layout_segment *lseg, in pnfs_clear_lseg_state()
466 struct pnfs_layout_segment *lseg, *next; in pnfs_mark_layout_stateid_invalid()
553 pnfs_init_lseg(struct pnfs_layout_hdr *lo, struct pnfs_layout_segment *lseg, in pnfs_init_lseg()
567 static void pnfs_free_lseg(struct pnfs_layout_segment *lseg) in pnfs_free_lseg()
577 struct pnfs_layout_segment *lseg) in pnfs_layout_remove_lseg()
596 struct pnfs_layout_segment *lseg) in pnfs_cache_lseg_for_layoutreturn()
608 pnfs_put_lseg(struct pnfs_layout_segment *lseg) in pnfs_put_lseg()
654 static bool pnfs_lseg_dec_and_remove_zero(struct pnfs_layout_segment *lseg, in pnfs_lseg_dec_and_remove_zero()
[all …]
H A Dpnfs_nfs.c62 static struct pnfs_layout_segment *
66 struct pnfs_layout_segment *freeme = bucket->lseg; in pnfs_free_bucket_lseg()
128 struct pnfs_layout_segment *lseg) in pnfs_find_commit_array_by_lseg()
142 struct pnfs_layout_segment *lseg) in pnfs_add_commit_array()
159 struct pnfs_layout_segment *lseg) in pnfs_lookup_commit_array()
217 struct pnfs_layout_segment *lseg) in pnfs_generic_ds_cinfo_release_lseg()
309 struct pnfs_layout_segment *freeme; in pnfs_bucket_recover_commit_reqs()
354 static struct pnfs_layout_segment *
359 struct pnfs_layout_segment *lseg; in pnfs_bucket_get_committing()
389 struct pnfs_layout_segment *freeme; in pnfs_generic_retry_commit()
[all …]
H A Dnfs42.h28 int nfs42_proc_layouterror(struct pnfs_layout_segment *lseg,
H A Dinternal.h583 struct pnfs_layout_segment *lseg,
591 struct pnfs_layout_segment *lseg,
599 struct pnfs_layout_segment *lseg,
H A Dnfs4trace.h1534 const struct pnfs_layout_segment *lseg = hdr->lseg;
1608 const struct pnfs_layout_segment *lseg = hdr->lseg;
1678 const struct pnfs_layout_segment *lseg = data->lseg;
1826 struct pnfs_layout_segment *lseg,
1883 struct pnfs_layout_segment *lseg
1937 struct pnfs_layout_segment *lseg \
H A Dwrite.c921 nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in nfs_mark_request_commit()
1738 struct pnfs_layout_segment *lseg, in nfs_init_commit()
1778 struct pnfs_layout_segment *lseg, in nfs_retry_commit()
H A Dnfs42proc.c882 nfs42_alloc_layouterror_data(struct pnfs_layout_segment *lseg, gfp_t gfp_flags) in nfs42_alloc_layouterror_data()
1007 int nfs42_proc_layouterror(struct pnfs_layout_segment *lseg, in nfs42_proc_layouterror()
H A Dnfs4proc.c9916 struct pnfs_layout_segment *
9937 struct pnfs_layout_segment *lseg = NULL; in nfs4_proc_layoutget()
/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.h98 struct pnfs_layout_segment generic_hdr;
128 FF_LAYOUT_LSEG(struct pnfs_layout_segment *lseg) in FF_LAYOUT_LSEG()
142 FF_LAYOUT_COMP(struct pnfs_layout_segment *lseg, u32 idx) in FF_LAYOUT_COMP()
152 FF_LAYOUT_DEVID_NODE(struct pnfs_layout_segment *lseg, u32 idx) in FF_LAYOUT_DEVID_NODE()
166 FF_LAYOUT_MIRROR_COUNT(struct pnfs_layout_segment *lseg) in FF_LAYOUT_MIRROR_COUNT()
172 ff_layout_no_fallback_to_mds(struct pnfs_layout_segment *lseg) in ff_layout_no_fallback_to_mds()
178 ff_layout_no_read_on_rw(struct pnfs_layout_segment *lseg) in ff_layout_no_read_on_rw()
198 void ff_layout_send_layouterror(struct pnfs_layout_segment *lseg);
212 nfs4_ff_layout_prepare_ds(struct pnfs_layout_segment *lseg,
223 bool ff_layout_avoid_mds_available_ds(struct pnfs_layout_segment *lseg);
[all …]
H A Dflexfilelayout.c291 ff_lseg_match_mirrors(struct pnfs_layout_segment *l1, in ff_lseg_match_mirrors()
292 struct pnfs_layout_segment *l2) in ff_lseg_match_mirrors()
325 ff_lseg_merge(struct pnfs_layout_segment *new, in ff_lseg_merge()
326 struct pnfs_layout_segment *old) in ff_lseg_merge()
359 struct pnfs_layout_segment *lseg, in ff_layout_add_lseg()
381 static struct pnfs_layout_segment *
386 struct pnfs_layout_segment *ret; in ff_layout_alloc_lseg()
576 ff_layout_free_lseg(struct pnfs_layout_segment *lseg) in ff_layout_free_lseg()
740 ff_layout_mark_ds_unreachable(struct pnfs_layout_segment *lseg, u32 idx) in ff_layout_mark_ds_unreachable()
749 ff_layout_mark_ds_reachable(struct pnfs_layout_segment *lseg, u32 idx) in ff_layout_mark_ds_reachable()
[all …]
H A Dflexfilelayoutdev.c24 static bool ff_layout_has_available_ds(struct pnfs_layout_segment *lseg);
369 nfs4_ff_layout_prepare_ds(struct pnfs_layout_segment *lseg, in nfs4_ff_layout_prepare_ds()
558 static bool ff_read_layout_has_available_ds(struct pnfs_layout_segment *lseg) in ff_read_layout_has_available_ds()
580 static bool ff_rw_layout_has_available_ds(struct pnfs_layout_segment *lseg) in ff_rw_layout_has_available_ds()
600 static bool ff_layout_has_available_ds(struct pnfs_layout_segment *lseg) in ff_layout_has_available_ds()
608 bool ff_layout_avoid_mds_available_ds(struct pnfs_layout_segment *lseg) in ff_layout_avoid_mds_available_ds()
614 bool ff_layout_avoid_read_on_rw(struct pnfs_layout_segment *lseg) in ff_layout_avoid_read_on_rw()
/linux/fs/nfs/filelayout/
H A Dfilelayout.h58 struct pnfs_layout_segment generic_hdr;
82 FILELAYOUT_LSEG(struct pnfs_layout_segment *lseg) in FILELAYOUT_LSEG()
90 FILELAYOUT_DEVID_NODE(struct pnfs_layout_segment *lseg) in FILELAYOUT_DEVID_NODE()
105 nfs4_fl_select_ds_fh(struct pnfs_layout_segment *lseg, u32 j);
107 u32 nfs4_fl_calc_j_index(struct pnfs_layout_segment *lseg, loff_t offset);
108 u32 nfs4_fl_calc_ds_index(struct pnfs_layout_segment *lseg, u32 j);
109 struct nfs4_pnfs_ds *nfs4_fl_prepare_ds(struct pnfs_layout_segment *lseg,
H A Dfilelayout.c74 filelayout_get_dserver_offset(struct pnfs_layout_segment *lseg, loff_t offset) in filelayout_get_dserver_offset()
126 struct pnfs_layout_segment *lseg) in filelayout_async_handle_error()
256 filelayout_reset_to_mds(struct pnfs_layout_segment *lseg) in filelayout_reset_to_mds()
452 struct pnfs_layout_segment *lseg = hdr->lseg; in filelayout_read_pagelist()
499 struct pnfs_layout_segment *lseg = hdr->lseg; in filelayout_write_pagelist()
736 filelayout_free_lseg(struct pnfs_layout_segment *lseg) in filelayout_free_lseg()
757 static struct pnfs_layout_segment *
828 static struct pnfs_layout_segment *
837 struct pnfs_layout_segment *lseg = NULL; in fl_pnfs_update_layout()
939 struct pnfs_layout_segment *lseg, in filelayout_mark_request_commit()
[all …]
H A Dfilelayoutdev.c224 nfs4_fl_calc_j_index(struct pnfs_layout_segment *lseg, loff_t offset) in nfs4_fl_calc_j_index()
236 nfs4_fl_calc_ds_index(struct pnfs_layout_segment *lseg, u32 j) in nfs4_fl_calc_ds_index()
242 nfs4_fl_select_ds_fh(struct pnfs_layout_segment *lseg, u32 j) in nfs4_fl_select_ds_fh()
262 nfs4_fl_prepare_ds(struct pnfs_layout_segment *lseg, u32 ds_idx) in nfs4_fl_prepare_ds()
/linux/fs/nfs/blocklayout/
H A Dblocklayout.h159 BLK_LSEG2EXT(struct pnfs_layout_segment *lseg) in BLK_LSEG2EXT()
H A Dblocklayout.c488 static void bl_free_lseg(struct pnfs_layout_segment *lseg) in bl_free_lseg()
665 static struct pnfs_layout_segment *
676 struct pnfs_layout_segment *lseg; in bl_alloc_lseg()
/linux/include/linux/
H A Dnfs_xdr.h425 struct pnfs_layout_segment *lseg;
1328 struct pnfs_layout_segment *lseg;
1335 struct pnfs_layout_segment *lseg;
1650 struct pnfs_layout_segment *lseg;
1717 struct pnfs_layout_segment *lseg;
H A Dnfs_page.h105 struct pnfs_layout_segment *pg_lseg;
/linux/Documentation/filesystems/nfs/
H A Dpnfs.rst16 pnfs_layout_segment, usually referred to by the variable name lseg.