/openbmc/linux/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.h | 98 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 D | flexfilelayout.c | 275 ff_lseg_match_mirrors(struct pnfs_layout_segment *l1, in ff_lseg_match_mirrors() 276 struct pnfs_layout_segment *l2) in ff_lseg_match_mirrors() 309 ff_lseg_merge(struct pnfs_layout_segment *new, in ff_lseg_merge() 310 struct pnfs_layout_segment *old) in ff_lseg_merge() 343 struct pnfs_layout_segment *lseg, in ff_layout_add_lseg() 365 static struct pnfs_layout_segment * 370 struct pnfs_layout_segment *ret; in ff_layout_alloc_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() [all …]
|
H A D | flexfilelayoutdev.c | 24 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() 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()
|
/openbmc/linux/fs/nfs/filelayout/ |
H A D | filelayout.h | 58 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 D | filelayout.c | 74 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() 744 filelayout_free_lseg(struct pnfs_layout_segment *lseg) in filelayout_free_lseg() 765 static struct pnfs_layout_segment * 836 static struct pnfs_layout_segment * 845 struct pnfs_layout_segment *lseg = NULL; in fl_pnfs_update_layout() 947 struct pnfs_layout_segment *lseg, in filelayout_mark_request_commit() [all …]
|
H A D | filelayoutdev.c | 222 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()
|
/openbmc/linux/fs/nfs/ |
H A D | pnfs.h | 68 struct pnfs_layout_segment { struct 138 …struct pnfs_layout_segment * (*alloc_lseg) (struct pnfs_layout_hdr *layoutid, struct nfs4_layoutge… 139 void (*free_lseg) (struct pnfs_layout_segment *lseg); 141 struct pnfs_layout_segment *lseg, 173 void (*cancel_io)(struct pnfs_layout_segment *lseg); 178 struct pnfs_layout_segment *); 186 struct pnfs_layout_segment *lseg, 248 extern struct pnfs_layout_segment* nfs4_proc_layoutget(struct nfs4_layoutget *lgp, long *timeout); 253 void pnfs_put_lseg(struct pnfs_layout_segment *lseg); 267 void pnfs_set_lo_fail(struct pnfs_layout_segment *lseg); [all …]
|
H A D | pnfs.c | 62 static bool pnfs_lseg_dec_and_remove_zero(struct pnfs_layout_segment *lseg, 375 struct pnfs_layout_segment *lseg; in pnfs_clear_layoutreturn_info() 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() 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() [all …]
|
H A D | pnfs_nfs.c | 62 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() 401 static struct pnfs_layout_segment * 406 struct pnfs_layout_segment *lseg; in pnfs_bucket_get_committing() 436 struct pnfs_layout_segment *freeme; in pnfs_generic_retry_commit() [all …]
|
H A D | nfs42.h | 28 int nfs42_proc_layouterror(struct pnfs_layout_segment *lseg,
|
H A D | internal.h | 527 struct pnfs_layout_segment *lseg, 535 struct pnfs_layout_segment *lseg, 543 struct pnfs_layout_segment *lseg,
|
H A D | nfs4trace.h | 1504 const struct pnfs_layout_segment *lseg = hdr->lseg; 1578 const struct pnfs_layout_segment *lseg = hdr->lseg; 1648 const struct pnfs_layout_segment *lseg = data->lseg; 1796 struct pnfs_layout_segment *lseg, 1853 struct pnfs_layout_segment *lseg 1907 struct pnfs_layout_segment *lseg \
|
H A D | write.c | 945 nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg, in nfs_mark_request_commit() 1744 struct pnfs_layout_segment *lseg, in nfs_init_commit() 1784 struct pnfs_layout_segment *lseg, in nfs_retry_commit()
|
H A D | nfs42proc.c | 882 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 D | nfs4proc.c | 9751 struct pnfs_layout_segment * 9771 struct pnfs_layout_segment *lseg = NULL; in nfs4_proc_layoutget()
|
/openbmc/linux/fs/nfs/blocklayout/ |
H A D | blocklayout.h | 153 BLK_LSEG2EXT(struct pnfs_layout_segment *lseg) in BLK_LSEG2EXT()
|
H A D | blocklayout.c | 488 static void bl_free_lseg(struct pnfs_layout_segment *lseg) in bl_free_lseg() 645 static struct pnfs_layout_segment * 656 struct pnfs_layout_segment *lseg; in bl_alloc_lseg()
|
/openbmc/linux/include/linux/ |
H A D | nfs_xdr.h | 425 struct pnfs_layout_segment *lseg; 1296 struct pnfs_layout_segment *lseg; 1303 struct pnfs_layout_segment *lseg; 1618 struct pnfs_layout_segment *lseg; 1685 struct pnfs_layout_segment *lseg;
|
H A D | nfs_page.h | 105 struct pnfs_layout_segment *pg_lseg;
|
/openbmc/linux/Documentation/filesystems/nfs/ |
H A D | pnfs.rst | 16 pnfs_layout_segment, usually referred to by the variable name lseg.
|