Lines Matching refs:xfile
77 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()
155 error = xfile_load(array->xfile, temp, array->obj_size, pos); in xfarray_is_unset()
187 error = xfile_store(array->xfile, temp, array->obj_size, pos); in xfarray_unset()
212 ret = xfile_store(array->xfile, ptr, array->obj_size, in xfarray_store()
248 error = xfile_load(array->xfile, temp, array->obj_size, in xfarray_store_anywhere()
253 error = xfile_store(array->xfile, ptr, array->obj_size, in xfarray_store_anywhere()
313 new_pos = xfile_seek_data(array->xfile, end_pos); in xfarray_find_data()
555 error = xfile_load(si->array->xfile, scratch, len, lo_pos); in xfarray_isort()
563 return xfile_store(si->array->xfile, scratch, len, lo_pos); in xfarray_isort()
587 folio = xfile_get_folio(si->array->xfile, lo_pos, len, XFILE_ALLOC); in xfarray_foliosort()
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()
828 folio = xfile_get_folio(si->array->xfile, idx_pos, in xfarray_sort_scan()
852 error = xfile_load(si->array->xfile, temp, si->array->obj_size, in xfarray_sort_scan()
1063 return xfile_bytes(array->xfile); in xfarray_bytes()
1071 xfile_discard(array->xfile, 0, MAX_LFS_FILESIZE); in xfarray_truncate()