Home
last modified time | relevance | path

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

/linux-6.15/fs/xfs/scrub/
H 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 …]
H 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()
H 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()
H 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 …]
H A Dxfblob.h10 struct xfile *xfile; member
H A Drtsummary.c75 &sc->xfile); in xchk_setup_rtsummary()
124 return xfile_load(sc->xfile, rawinfo, in xfsum_load()
135 return xfile_store(sc->xfile, &rawinfo, in xfsum_store()
147 return xfile_load(sc->xfile, rawinfo, nr_words << XFS_WORDLOG, in xfsum_copyout()
H A Dxfarray.h22 struct xfile *xfile; member
H A Drtbitmap_repair.c56 error = xfile_create(descr, blocks * mp->m_sb.sb_blocksize, &sc->xfile); in xrep_setup_rtbitmap()
110 error = xfile_load(rtb->sc->xfile, &urk, in xfbmp_load()
131 return xfile_store(rtb->sc->xfile, &urk, in xfbmp_store()
143 return xfile_store(rtb->sc->xfile, word, nr_words << XFS_WORDLOG, in xfbmp_copyin()
154 return xfile_load(rtb->sc->xfile, word, nr_words << XFS_WORDLOG, in xfbmp_copyout()
H A Dscrub.c216 if (sub->sc.xfile) in xchk_scrub_free_subord()
217 xfile_destroy(sub->sc.xfile); in xchk_scrub_free_subord()
258 if (sc->xfile) { in xchk_teardown()
259 xfile_destroy(sc->xfile); in xchk_teardown()
260 sc->xfile = NULL; in xchk_teardown()
648 sub->sc.xfile = NULL; in xchk_scrub_create_subord()
H A Dscrub.h165 struct xfile *xfile; member
H A Dtrace.h22 struct xfile;
970 TP_PROTO(struct xfile *xf),
992 TP_PROTO(struct xfile *xf),
1013 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount),
1063 __entry->ino = file_inode(xfa->xfile->file)->i_ino;
1083 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
1103 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
1125 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
1153 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
1181 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
[all …]
/linux-6.15/fs/xfs/
H A DMakefile195 xfile.o \
/linux-6.15/Documentation/filesystems/xfs/
H 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 …]