Home
last modified time | relevance | path

Searched refs:xfpage (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/fs/xfs/scrub/
H A Dxfile.c323 struct xfile_page *xfpage) in xfile_get_page() argument
380 xfpage->page = page; in xfile_get_page()
381 xfpage->fsdata = fsdata; in xfile_get_page()
382 xfpage->pos = key; in xfile_get_page()
395 struct xfile_page *xfpage) in xfile_put_page() argument
403 trace_xfile_put_page(xf, xfpage->pos, PAGE_SIZE); in xfile_put_page()
406 put_page(xfpage->page); in xfile_put_page()
409 ret = aops->write_end(NULL, mapping, xfpage->pos, PAGE_SIZE, PAGE_SIZE, in xfile_put_page()
410 xfpage->page, xfpage->fsdata); in xfile_put_page()
412 memset(xfpage, 0, sizeof(struct xfile_page)); in xfile_put_page()
H A Dxfile.h15 static inline bool xfile_page_cached(const struct xfile_page *xfpage) in xfile_page_cached() argument
17 return xfpage->page != NULL; in xfile_page_cached()
20 static inline pgoff_t xfile_page_index(const struct xfile_page *xfpage) in xfile_page_index() argument
22 return xfpage->page->index; in xfile_page_index()
H A Dxfarray.c575 error = xfile_get_page(si->array->xfile, pos, len, &si->xfpage); in xfarray_sort_get_page()
583 si->page_kaddr = kmap_local_page(si->xfpage.page); in xfarray_sort_get_page()
598 return xfile_put_page(si->array->xfile, &si->xfpage); in xfarray_sort_put_page()
866 if (xfile_page_cached(&si->xfpage) && in xfarray_sort_load_cached()
867 xfile_page_index(&si->xfpage) != startpage) { in xfarray_sort_load_cached()
877 if (!xfile_page_cached(&si->xfpage)) { in xfarray_sort_load_cached()
H A Dxfarray.h87 struct xfile_page xfpage; member