Home
last modified time | relevance | path

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

/openbmc/linux/fs/xfs/scrub/
H A Dxfile.h25 struct xfile { struct
29 int xfile_create(const char *description, loff_t isize, struct xfile **xfilep); argument
30 void xfile_destroy(struct xfile *xf);
32 ssize_t xfile_pread(struct xfile *xf, void *buf, size_t count, loff_t pos);
33 ssize_t xfile_pwrite(struct xfile *xf, const void *buf, size_t count,
41 xfile_obj_load(struct xfile *xf, void *buf, size_t count, loff_t pos) in xfile_obj_load()
55 xfile_obj_store(struct xfile *xf, const void *buf, size_t count, loff_t pos) in xfile_obj_store()
64 loff_t xfile_seek_data(struct xfile *xf, loff_t pos);
71 int xfile_stat(struct xfile *xf, struct xfile_stat *statbuf);
73 int xfile_get_page(struct xfile *xf, loff_t offset, unsigned int len,
[all …]
H A Dxfile.c61 struct xfile **xfilep) in xfile_create()
64 struct xfile *xf; in xfile_create()
67 xf = kmalloc(sizeof(struct xfile), XCHK_GFP_FLAGS); in xfile_create()
109 struct xfile *xf) in xfile_destroy()
128 struct xfile *xf, in xfile_pread()
205 struct xfile *xf, in xfile_pwrite()
284 struct xfile *xf, in xfile_seek_data()
297 struct xfile *xf, in xfile_stat()
320 struct xfile *xf, in xfile_get_page()
394 struct xfile *xf, in xfile_put_page()
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_obj_load(array->xfile, ptr, array->obj_size, in xfarray_load()
155 error = xfile_obj_load(array->xfile, temp, array->obj_size, pos); in xfarray_is_unset()
187 error = xfile_obj_store(array->xfile, temp, array->obj_size, pos); in xfarray_unset()
212 ret = xfile_obj_store(array->xfile, ptr, array->obj_size, in xfarray_store()
248 error = xfile_obj_load(array->xfile, temp, array->obj_size, in xfarray_store_anywhere()
[all …]
H A Drtsummary.c49 error = xfile_create(descr, mp->m_rsumsize, &sc->xfile); in xchk_setup_rtsummary()
88 return xfile_obj_load(sc->xfile, info, sizeof(xfs_suminfo_t), in xfsum_load()
98 return xfile_obj_store(sc->xfile, &info, sizeof(xfs_suminfo_t), in xfsum_store()
109 return xfile_obj_load(sc->xfile, info, nr_words << XFS_WORDLOG, in xfsum_copyout()
H A Dxfarray.h21 struct xfile *xfile; member
H A Dscrub.h99 struct xfile *xfile; member
H A Dscrub.c189 if (sc->xfile) { in xchk_teardown()
190 xfile_destroy(sc->xfile); in xchk_teardown()
191 sc->xfile = NULL; in xchk_teardown()
H A Dtrace.h19 struct xfile;
782 TP_PROTO(struct xfile *xf),
804 TP_PROTO(struct xfile *xf),
832 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount),
866 TP_PROTO(struct xfile *xf, loff_t pos, unsigned long long bytecount), \
888 __entry->ino = file_inode(xfa->xfile->file)->i_ino;
908 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
928 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
950 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
978 __entry->ino = file_inode(si->array->xfile->file)->i_ino;
[all …]
/openbmc/linux/fs/xfs/
H A DMakefile168 xfile.o \
/openbmc/linux/Documentation/filesystems/
H A Dxfs-online-fsck-design.rst1878 Hence, the ``xfile`` was born!
1894 xfile Access Models
1911 To support the first four use cases, high level data structures wrap the xfile
1913 The rest of this section discusses the interfaces that the xfile presents to
1918 The most general storage interface supported by the xfile enables the reading
1919 and writing of arbitrary quantities of data at arbitrary offsets in the xfile.
1925 functions are provided to read and persist objects into an xfile.
1930 All five xfile usecases can be serviced by these four functions.
1939 pinned nor locked, which means the xfile must not pin too many folios.
1941 Short term direct access to xfile contents is done by locking the pagecache
[all …]
/openbmc/linux/
H A Dopengrok1.0.log[all...]