Searched refs:xfile (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/xfs/scrub/ |
| H A D | xfblob.c | 37 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 D | xfile.c | 54 struct xfile **xfilep) in xfile_create() 57 struct xfile *xf; in xfile_create() 60 xf = kmalloc_obj(struct xfile, XCHK_GFP_FLAGS); in xfile_create() 92 struct xfile *xf) in xfile_destroy() 109 struct xfile *xf, in xfile_load() 172 struct xfile *xf, in xfile_store() 231 struct xfile *xf, in xfile_seek_data() 248 struct xfile *xf, in xfile_get_folio() 306 struct xfile *xf, in xfile_put_folio() 318 struct xfile *xf, in xfile_discard()
|
| H A D | rtsummary.c | 72 XFS_FSB_TO_B(mp, mp->m_rsumblocks), &sc->xfile); in xchk_setup_rtsummary() 120 return xfile_load(sc->xfile, rawinfo, in xfsum_load() 131 return xfile_store(sc->xfile, &rawinfo, in xfsum_store() 143 return xfile_load(sc->xfile, rawinfo, nr_words << XFS_WORDLOG, in xfsum_copyout()
|
| H A D | scrub.c | 216 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 D | scrub.h | 165 struct xfile *xfile; member
|
| H A D | trace.h | 22 struct xfile; 970 TP_PROTO(struct xfile *xf), 984 TP_PROTO(struct xfile *xf), 1005 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount), 1032 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount), \ 1055 __entry->ino = file_inode(xfa->xfile->file)->i_ino; 1075 __entry->ino = file_inode(si->array->xfile->file)->i_ino; 1095 __entry->ino = file_inode(si->array->xfile->file)->i_ino; 1117 __entry->ino = file_inode(si->array->xfile->file)->i_ino; 1145 __entry->ino = file_inode(si->array->xfile->file)->i_ino; [all …]
|