Home
last modified time | relevance | path

Searched refs:xfile (Results 1 – 12 of 12) sorted by relevance

/linux/fs/xfs/scrub/
A Dxfblob.c37 struct xfile *xfile; in xfblob_create() local
40 error = xfile_create(description, 0, &xfile); in xfblob_create()
50 blob->xfile = xfile; in xfblob_create()
57 xfile_destroy(xfile); in xfblob_create()
66 xfile_destroy(blob->xfile); in xfblob_destroy()
81 error = xfile_load(blob->xfile, &key, sizeof(key), cookie); in xfblob_load()
94 return xfile_load(blob->xfile, ptr, key.xb_size, in xfblob_load()
114 error = xfile_store(blob->xfile, &key, sizeof(key), pos); in xfblob_store()
119 error = xfile_store(blob->xfile, ptr, size, pos); in xfblob_store()
127 xfile_discard(blob->xfile, blob->last_offset, sizeof(key)); in xfblob_store()
[all …]
A Dxfile.h9 struct xfile { struct
13 int xfile_create(const char *description, loff_t isize, struct xfile **xfilep); argument
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 void xfile_discard(struct xfile *xf, loff_t pos, u64 count);
21 loff_t xfile_seek_data(struct xfile *xf, loff_t pos);
26 struct folio *xfile_get_folio(struct xfile *xf, loff_t offset, size_t len,
28 void xfile_put_folio(struct xfile *xf, struct folio *folio);
30 static inline unsigned long long xfile_bytes(struct xfile *xf) in xfile_bytes()
A Dxfile.c54 struct xfile **xfilep) in xfile_create()
57 struct xfile *xf; in xfile_create()
60 xf = kmalloc(sizeof(struct xfile), XCHK_GFP_FLAGS); in xfile_create()
91 struct xfile *xf) in xfile_destroy()
108 struct xfile *xf, in xfile_load()
171 struct xfile *xf, in xfile_store()
230 struct xfile *xf, in xfile_seek_data()
247 struct xfile *xf, in xfile_get_folio()
305 struct xfile *xf, in xfile_put_folio()
317 struct xfile *xf, in xfile_discard()
A Dxfarray.c77 struct xfile *xfile; in xfarray_create() local
82 error = xfile_create(description, 0, &xfile); in xfarray_create()
91 array->xfile = xfile; in xfarray_create()
116 xfile_destroy(xfile); in xfarray_create()
125 xfile_destroy(array->xfile); in xfarray_destroy()
139 return xfile_load(array->xfile, ptr, array->obj_size, in xfarray_load()
313 new_pos = xfile_seek_data(array->xfile, end_pos); in xfarray_find_data()
600 xfile_put_folio(si->array->xfile, folio); in xfarray_foliosort()
794 xfile_put_folio(si->array->xfile, si->folio); in xfarray_sort_scan_done()
1063 return xfile_bytes(array->xfile); in xfarray_bytes()
[all …]
A Dxfblob.h10 struct xfile *xfile; member
A Drtsummary.c67 &sc->xfile); in xchk_setup_rtsummary()
119 return xfile_load(sc->xfile, rawinfo, in xfsum_load()
130 return xfile_store(sc->xfile, &rawinfo, in xfsum_store()
142 return xfile_load(sc->xfile, rawinfo, nr_words << XFS_WORDLOG, in xfsum_copyout()
A Dxfarray.h22 struct xfile *xfile; member
A Dscrub.c204 if (sub->sc.xfile) in xchk_scrub_free_subord()
205 xfile_destroy(sub->sc.xfile); in xchk_scrub_free_subord()
242 if (sc->xfile) { in xchk_teardown()
243 xfile_destroy(sc->xfile); in xchk_teardown()
244 sc->xfile = NULL; in xchk_teardown()
573 sub->sc.xfile = NULL; in xchk_scrub_create_subord()
A Dscrub.h150 struct xfile *xfile; member
A Dtrace.h21 struct xfile;
957 TP_PROTO(struct xfile *xf),
979 TP_PROTO(struct xfile *xf),
1000 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount),
1050 __entry->ino = file_inode(xfa->xfile->file)->i_ino;
1070 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
1090 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
1112 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
1140 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
1168 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
[all …]
/linux/fs/xfs/
A DMakefile183 xfile.o \
/linux/Documentation/filesystems/xfs/
A Dxfs-online-fsck-design.rst1878 Hence, the ``xfile`` was born!
1894 xfile Access Models
1949 xfile Access Coordination
1995 the byte-accessible xfile.
2160 atop an xfile.
2208 Recall that the :ref:`xfile <xfile>` abstraction represents memory pages as a
2230 pages from the xfile and "write" cached pages back to the xfile.
2270 pointing to the xfile.
2274 initial root block to the xfile.
3800 xfbtree changes to the xfile.
[all …]

Completed in 34 milliseconds