Home
last modified time | relevance | path

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

/Linux-v6.6/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
1159 struct pnfs_layout_segment *lseg, in pnfs_layout_mark_request_commit()
Dnfs4trace.h1469 #define NFS4_LSEG_LAYOUT_STATEID_HASH(lseg) \ argument
1472 #define NFS4_LSEG_LAYOUT_STATEID_HASH(lseg) (0) argument
Dpnfs.h445 pnfs_get_lseg(struct pnfs_layout_segment *lseg) in pnfs_get_lseg()
455 pnfs_is_valid_lseg(struct pnfs_layout_segment *lseg) in pnfs_is_valid_lseg()
516 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in pnfs_mark_request_commit()
681 pnfs_lseg_request_intersecting(struct pnfs_layout_segment *lseg, struct nfs_page *req) in pnfs_lseg_request_intersecting()
691 struct pnfs_layout_segment *lseg) in pnfs_lseg_cancel_io()
727 pnfs_get_lseg(struct pnfs_layout_segment *lseg) in pnfs_get_lseg()
732 static inline void pnfs_put_lseg(struct pnfs_layout_segment *lseg) in pnfs_put_lseg()
841 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in pnfs_mark_request_commit()
Dwrite.c943 nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in nfs_mark_request_commit()
1742 struct pnfs_layout_segment *lseg, in nfs_init_commit()
1782 struct pnfs_layout_segment *lseg, in nfs_retry_commit()
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()
Dnfs4proc.c9738 struct pnfs_layout_segment *lseg = NULL; in nfs4_proc_layoutget() local
/Linux-v6.6/fs/nfs/flexfilelayout/
Dflexfilelayout.c343 struct pnfs_layout_segment *lseg, in ff_layout_add_lseg()
560 ff_layout_free_lseg(struct pnfs_layout_segment *lseg) in ff_layout_free_lseg()
724 ff_layout_mark_ds_unreachable(struct pnfs_layout_segment *lseg, u32 idx) in ff_layout_mark_ds_unreachable()
733 ff_layout_mark_ds_reachable(struct pnfs_layout_segment *lseg, u32 idx) in ff_layout_mark_ds_reachable()
742 ff_layout_choose_ds_for_read(struct pnfs_layout_segment *lseg, in ff_layout_choose_ds_for_read()
770 ff_layout_choose_any_ds_for_read(struct pnfs_layout_segment *lseg, in ff_layout_choose_any_ds_for_read()
777 ff_layout_choose_valid_ds_for_read(struct pnfs_layout_segment *lseg, in ff_layout_choose_valid_ds_for_read()
784 ff_layout_choose_best_ds_for_read(struct pnfs_layout_segment *lseg, in ff_layout_choose_best_ds_for_read()
799 struct pnfs_layout_segment *lseg = pgio->pg_lseg; in ff_layout_get_ds_for_read() local
1086 struct pnfs_layout_segment *lseg, in ff_layout_async_handle_error_v4()
[all …]
Dflexfilelayoutdev.c369 nfs4_ff_layout_prepare_ds(struct pnfs_layout_segment *lseg, in nfs4_ff_layout_prepare_ds()
552 static bool ff_read_layout_has_available_ds(struct pnfs_layout_segment *lseg) in ff_read_layout_has_available_ds()
574 static bool ff_rw_layout_has_available_ds(struct pnfs_layout_segment *lseg) in ff_rw_layout_has_available_ds()
594 static bool ff_layout_has_available_ds(struct pnfs_layout_segment *lseg) in ff_layout_has_available_ds()
602 bool ff_layout_avoid_mds_available_ds(struct pnfs_layout_segment *lseg) in ff_layout_avoid_mds_available_ds()
608 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()
/Linux-v6.6/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()
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() 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
947 struct pnfs_layout_segment *lseg, in filelayout_mark_request_commit()
970 static u32 calc_ds_index_from_commit(struct pnfs_layout_segment *lseg, u32 i) in calc_ds_index_from_commit()
981 select_ds_fh_from_commit(struct pnfs_layout_segment *lseg, u32 i) in select_ds_fh_from_commit()
[all …]
Dfilelayoutdev.c222 nfs4_fl_calc_j_index(struct pnfs_layout_segment *lseg, loff_t offset) in nfs4_fl_calc_j_index()
234 nfs4_fl_calc_ds_index(struct pnfs_layout_segment *lseg, u32 j) in nfs4_fl_calc_ds_index()
240 nfs4_fl_select_ds_fh(struct pnfs_layout_segment *lseg, u32 j) in nfs4_fl_select_ds_fh()
260 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()
/Linux-v6.6/Documentation/filesystems/nfs/
Dpnfs.rst54 lseg chapter
/Linux-v6.6/fs/nfs/blocklayout/
Dblocklayout.c488 static void bl_free_lseg(struct pnfs_layout_segment *lseg) in bl_free_lseg()
654 struct pnfs_layout_segment *lseg; in bl_alloc_lseg() local
Dblocklayout.h153 BLK_LSEG2EXT(struct pnfs_layout_segment *lseg) in BLK_LSEG2EXT()
/Linux-v6.6/arch/x86/kernel/
Dmodule.c364 void *lseg = (void *)locks->sh_addr; in module_finalize() local
/Linux-v6.6/include/linux/
Dnfs_xdr.h425 struct pnfs_layout_segment *lseg; member
1296 struct pnfs_layout_segment *lseg; member
1303 struct pnfs_layout_segment *lseg; member
1618 struct pnfs_layout_segment *lseg; member
1685 struct pnfs_layout_segment *lseg; member