Searched refs:xfile (Results 1 - 9 of 9) sorted by relevance
/linux-master/fs/xfs/scrub/ |
H A D | xfile.h | 9 struct xfile { struct 13 int xfile_create(const char *description, loff_t isize, struct xfile **xfilep); 14 void xfile_destroy(struct xfile *xf); 16 int xfile_load(struct xfile *xf, void *buf, size_t count, loff_t pos); 17 int xfile_store(struct xfile *xf, const void *buf, size_t count, 20 loff_t xfile_seek_data(struct xfile *xf, loff_t pos); 25 struct folio *xfile_get_folio(struct xfile *xf, loff_t offset, size_t len, 27 void xfile_put_folio(struct xfile *xf, struct folio *folio);
|
H A D | xfile.c | 13 #include "scrub/xfile.h" 29 * requirements. Therefore, the xfile mechanism uses an unlinked shmem file to 32 * xfile must be freed with xfile_destroy. 47 * Create an xfile of the given size. The description will be used in the 54 struct xfile **xfilep) 57 struct xfile *xf; 60 xf = kmalloc(sizeof(struct xfile), XCHK_GFP_FLAGS); 91 struct xfile *xf) 108 struct xfile *xf, 171 struct xfile *x [all...] |
H A D | xfarray.h | 9 /* xfile array index type, along with cursor initialization */ 13 /* Iterate each index of an xfile array. */ 21 struct xfile *xfile; member in struct:xfarray 98 /* Declarations for xfile array sort functionality. */
|
H A D | xfarray.c | 10 #include "scrub/xfile.h" 19 * This memory array uses an xfile (which itself is a shmem file) to store 32 * Pointer to scratch space. Because we can't access the xfile data directly, 41 /* Compute array index given an xfile offset. */ 53 /* Compute xfile offset of array element. */ 77 struct xfile *xfile; local 82 error = xfile_create(description, 0, &xfile); 91 array->xfile = xfile; [all...] |
H A D | scrub.h | 99 /* xfile used by the scrubbers; freed at teardown. */ 100 struct xfile *xfile; member in struct:xfs_scrub
|
H A D | rtsummary.c | 23 #include "scrub/xfile.h" 31 * the ondisk version. We use the 'xfile' functionality to store this 64 * Create an xfile to construct a new rtsummary file. The xfile allows 68 error = xfile_create(descr, mp->m_rsumsize, &sc->xfile); 114 /* Helper functions to record suminfo words in an xfile. */ 122 return xfile_load(sc->xfile, rawinfo, 133 return xfile_store(sc->xfile, &rawinfo, 145 return xfile_load(sc->xfile, rawinfo, nr_words << XFS_WORDLOG,
|
H A D | scrub.c | 26 #include "scrub/xfile.h" 202 if (sc->xfile) { 203 xfile_destroy(sc->xfile); 204 sc->xfile = NULL;
|
H A D | trace.h | 21 struct xfile; 871 TP_PROTO(struct xfile *xf), 895 TP_PROTO(struct xfile *xf), 916 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount), 943 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount), \ 965 __entry->ino = file_inode(xfa->xfile->file)->i_ino; 985 __entry->ino = file_inode(si->array->xfile->file)->i_ino; 1005 __entry->ino = file_inode(si->array->xfile->file)->i_ino; 1027 __entry->ino = file_inode(si->array->xfile->file)->i_ino; 1055 __entry->ino = file_inode(si->array->xfile [all...] |
/linux-master/fs/xfs/ |
H A D | Makefile | 173 xfile.o \
|
Completed in 176 milliseconds