Home
last modified time | relevance | path

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

/linux-2.6.39/fs/nfs/
Dpnfs.h40 struct pnfs_layout_segment { struct
73 …struct pnfs_layout_segment * (*alloc_lseg) (struct pnfs_layout_hdr *layoutid, struct nfs4_layoutge…
74 void (*free_lseg) (struct pnfs_layout_segment *lseg);
82 bool (*mark_pnfs_commit)(struct pnfs_layout_segment *lseg);
126 void put_lseg(struct pnfs_layout_segment *lseg);
127 struct pnfs_layout_segment *
165 static inline struct pnfs_layout_segment *
166 get_lseg(struct pnfs_layout_segment *lseg) in get_lseg()
182 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg) in pnfs_mark_request_commit()
236 static inline struct pnfs_layout_segment *
[all …]
Dnfs4filelayout.h73 struct pnfs_layout_segment generic_hdr;
87 FILELAYOUT_LSEG(struct pnfs_layout_segment *lseg) in FILELAYOUT_LSEG()
95 nfs4_fl_select_ds_fh(struct pnfs_layout_segment *lseg, u32 j);
99 u32 nfs4_fl_calc_j_index(struct pnfs_layout_segment *lseg, loff_t offset);
100 u32 nfs4_fl_calc_ds_index(struct pnfs_layout_segment *lseg, u32 j);
101 struct nfs4_pnfs_ds *nfs4_fl_prepare_ds(struct pnfs_layout_segment *lseg,
Dpnfs.c208 init_lseg(struct pnfs_layout_hdr *lo, struct pnfs_layout_segment *lseg) in init_lseg()
217 static void free_lseg(struct pnfs_layout_segment *lseg) in free_lseg()
227 put_lseg_common(struct pnfs_layout_segment *lseg) in put_lseg_common()
242 put_lseg(struct pnfs_layout_segment *lseg) in put_lseg()
272 static int mark_lseg_invalid(struct pnfs_layout_segment *lseg, in mark_lseg_invalid()
301 struct pnfs_layout_segment *lseg, *next; in mark_matching_lsegs_invalid()
328 struct pnfs_layout_segment *lseg, *tmp; in pnfs_free_lseg_list()
334 lo = list_first_entry(free_me, struct pnfs_layout_segment, in pnfs_free_lseg_list()
467 static struct pnfs_layout_segment *
476 struct pnfs_layout_segment *lseg = NULL; in send_layoutget()
[all …]
Dnfs4filelayout.c64 filelayout_get_dserver_offset(struct pnfs_layout_segment *lseg, loff_t offset) in filelayout_get_dserver_offset()
81 filelayout_set_lo_fail(struct pnfs_layout_segment *lseg) in filelayout_set_lo_fail()
325 struct pnfs_layout_segment *lseg = data->lseg; in filelayout_read_pagelist()
369 struct pnfs_layout_segment *lseg = data->lseg; in filelayout_write_pagelist()
600 filelayout_free_lseg(struct pnfs_layout_segment *lseg) in filelayout_free_lseg()
610 static struct pnfs_layout_segment *
678 static bool filelayout_mark_pnfs_commit(struct pnfs_layout_segment *lseg) in filelayout_mark_pnfs_commit()
693 struct pnfs_layout_segment *lseg = req->wb_commit_lseg; in filelayout_choose_commit_list()
715 static u32 calc_ds_index_from_commit(struct pnfs_layout_segment *lseg, u32 i) in calc_ds_index_from_commit()
726 select_ds_fh_from_commit(struct pnfs_layout_segment *lseg, u32 i) in select_ds_fh_from_commit()
[all …]
Dnfs4filelayoutdev.c639 nfs4_fl_calc_j_index(struct pnfs_layout_segment *lseg, loff_t offset) in nfs4_fl_calc_j_index()
651 nfs4_fl_calc_ds_index(struct pnfs_layout_segment *lseg, u32 j) in nfs4_fl_calc_ds_index()
657 nfs4_fl_select_ds_fh(struct pnfs_layout_segment *lseg, u32 j) in nfs4_fl_select_ds_fh()
691 nfs4_fl_prepare_ds(struct pnfs_layout_segment *lseg, u32 ds_idx) in nfs4_fl_prepare_ds()
Dinternal.h298 struct pnfs_layout_segment *lseg);
300 struct pnfs_layout_segment *lseg);
Dwrite.c439 nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg) in nfs_mark_request_commit()
495 nfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg) in nfs_mark_request_commit()
852 struct pnfs_layout_segment *lseg, in nfs_write_rpcsetup()
917 struct pnfs_layout_segment *lseg; in nfs_flush_multi()
992 struct pnfs_layout_segment *lseg = desc->pg_lseg; in nfs_flush_one()
1343 struct pnfs_layout_segment *lseg) in nfs_init_commit()
1371 struct pnfs_layout_segment *lseg) in nfs_retry_commit()
Dread.c208 struct pnfs_layout_segment *lseg) in nfs_read_rpcsetup()
272 struct pnfs_layout_segment *lseg; in nfs_pagein_multi()
334 struct pnfs_layout_segment *lseg = desc->pg_lseg; in nfs_pagein_one()
/linux-2.6.39/include/linux/
Dnfs_page.h43 struct pnfs_layout_segment *wb_commit_lseg; /* Used when PG_PNFS_COMMIT set */
70 struct pnfs_layout_segment *pg_lseg;
Dnfs_xdr.h235 struct pnfs_layout_segment **lsegpp;
266 struct pnfs_layout_segment *lseg;
1085 struct pnfs_layout_segment *lseg;
1106 struct pnfs_layout_segment *lseg;
/linux-2.6.39/Documentation/filesystems/nfs/
Dpnfs.txt14 pnfs_layout_segment, usually referred to by the variable name lseg.