Home
last modified time | relevance | path

Searched defs:lseg (Results 1 – 15 of 15) sorted by relevance

/fs/nfs/
Dpnfs.c375 struct pnfs_layout_segment *lseg; in pnfs_clear_layoutreturn_info() local
396 pnfs_clear_lseg_state(struct pnfs_layout_segment *lseg, in pnfs_clear_lseg_state()
465 struct pnfs_layout_segment *lseg, *next; in pnfs_mark_layout_stateid_invalid() local
540 pnfs_init_lseg(struct pnfs_layout_hdr *lo, struct pnfs_layout_segment *lseg, in pnfs_init_lseg()
554 static void pnfs_free_lseg(struct pnfs_layout_segment *lseg) in pnfs_free_lseg()
564 struct pnfs_layout_segment *lseg) in pnfs_layout_remove_lseg()
583 struct pnfs_layout_segment *lseg) in pnfs_cache_lseg_for_layoutreturn()
595 pnfs_put_lseg(struct pnfs_layout_segment *lseg) in pnfs_put_lseg()
641 static bool pnfs_lseg_dec_and_remove_zero(struct pnfs_layout_segment *lseg, in pnfs_lseg_dec_and_remove_zero()
652 static int mark_lseg_invalid(struct pnfs_layout_segment *lseg, in mark_lseg_invalid()
[all …]
Dpnfs_nfs.c128 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()
406 struct pnfs_layout_segment *lseg; in pnfs_bucket_get_committing() local
1156 struct pnfs_layout_segment *lseg, in pnfs_layout_mark_request_commit()
Dnfs4trace.h1779 #define NFS4_LSEG_LAYOUT_STATEID_HASH(lseg) \ argument
1782 #define NFS4_LSEG_LAYOUT_STATEID_HASH(lseg) (0) argument
Dpnfs.h447 pnfs_get_lseg(struct pnfs_layout_segment *lseg) in pnfs_get_lseg()
457 pnfs_is_valid_lseg(struct pnfs_layout_segment *lseg) in pnfs_is_valid_lseg()
518 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in pnfs_mark_request_commit()
683 pnfs_lseg_request_intersecting(struct pnfs_layout_segment *lseg, struct nfs_page *req) in pnfs_lseg_request_intersecting()
722 pnfs_get_lseg(struct pnfs_layout_segment *lseg) in pnfs_get_lseg()
727 static inline void pnfs_put_lseg(struct pnfs_layout_segment *lseg) in pnfs_put_lseg()
836 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in pnfs_mark_request_commit()
Dwrite.c934 nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in nfs_mark_request_commit()
1727 struct pnfs_layout_segment *lseg, in nfs_init_commit()
1767 struct pnfs_layout_segment *lseg, in nfs_retry_commit()
Dnfs42proc.c869 nfs42_alloc_layouterror_data(struct pnfs_layout_segment *lseg, gfp_t gfp_flags) in nfs42_alloc_layouterror_data()
994 int nfs42_proc_layouterror(struct pnfs_layout_segment *lseg, in nfs42_proc_layouterror()
Dnfs4proc.c9677 struct pnfs_layout_segment *lseg = NULL; in nfs4_proc_layoutget() local
/fs/nfs/filelayout/
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()
254 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() local
499 struct pnfs_layout_segment *lseg = hdr->lseg; in filelayout_write_pagelist() local
744 filelayout_free_lseg(struct pnfs_layout_segment *lseg) in filelayout_free_lseg()
845 struct pnfs_layout_segment *lseg = NULL; in fl_pnfs_update_layout() local
940 struct pnfs_layout_segment *lseg, in filelayout_mark_request_commit()
963 static u32 calc_ds_index_from_commit(struct pnfs_layout_segment *lseg, u32 i) in calc_ds_index_from_commit()
974 select_ds_fh_from_commit(struct pnfs_layout_segment *lseg, u32 i) in select_ds_fh_from_commit()
[all …]
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()
Dfilelayout.h82 FILELAYOUT_LSEG(struct pnfs_layout_segment *lseg) in FILELAYOUT_LSEG()
90 FILELAYOUT_DEVID_NODE(struct pnfs_layout_segment *lseg) in FILELAYOUT_DEVID_NODE()
/fs/nfs/flexfilelayout/
Dflexfilelayout.c337 struct pnfs_layout_segment *lseg, in ff_layout_add_lseg()
554 ff_layout_free_lseg(struct pnfs_layout_segment *lseg) in ff_layout_free_lseg()
718 ff_layout_mark_ds_unreachable(struct pnfs_layout_segment *lseg, u32 idx) in ff_layout_mark_ds_unreachable()
727 ff_layout_mark_ds_reachable(struct pnfs_layout_segment *lseg, u32 idx) in ff_layout_mark_ds_reachable()
736 ff_layout_choose_ds_for_read(struct pnfs_layout_segment *lseg, in ff_layout_choose_ds_for_read()
764 ff_layout_choose_any_ds_for_read(struct pnfs_layout_segment *lseg, in ff_layout_choose_any_ds_for_read()
771 ff_layout_choose_valid_ds_for_read(struct pnfs_layout_segment *lseg, in ff_layout_choose_valid_ds_for_read()
778 ff_layout_choose_best_ds_for_read(struct pnfs_layout_segment *lseg, in ff_layout_choose_best_ds_for_read()
793 struct pnfs_layout_segment *lseg = pgio->pg_lseg; in ff_layout_get_ds_for_read() local
1089 struct pnfs_layout_segment *lseg, in ff_layout_async_handle_error_v4()
[all …]
Dflexfilelayoutdev.c367 nfs4_ff_layout_prepare_ds(struct pnfs_layout_segment *lseg, in nfs4_ff_layout_prepare_ds()
550 static bool ff_read_layout_has_available_ds(struct pnfs_layout_segment *lseg) in ff_read_layout_has_available_ds()
572 static bool ff_rw_layout_has_available_ds(struct pnfs_layout_segment *lseg) in ff_rw_layout_has_available_ds()
592 static bool ff_layout_has_available_ds(struct pnfs_layout_segment *lseg) in ff_layout_has_available_ds()
600 bool ff_layout_avoid_mds_available_ds(struct pnfs_layout_segment *lseg) in ff_layout_avoid_mds_available_ds()
606 bool ff_layout_avoid_read_on_rw(struct pnfs_layout_segment *lseg) in ff_layout_avoid_read_on_rw()
Dflexfilelayout.h128 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()
/fs/nfs/blocklayout/
Dblocklayout.c507 static void bl_free_lseg(struct pnfs_layout_segment *lseg) in bl_free_lseg()
675 struct pnfs_layout_segment *lseg; in bl_alloc_lseg() local
Dblocklayout.h153 BLK_LSEG2EXT(struct pnfs_layout_segment *lseg) in BLK_LSEG2EXT()