| H A D | xfile.c | 57 struct xfile *xf; in xfile_create() local 60 xf = kmalloc(sizeof(struct xfile), XCHK_GFP_FLAGS); in xfile_create() 61 if (!xf) in xfile_create() 64 xf->file = shmem_kernel_file_setup(description, isize, VM_NORESERVE); in xfile_create() 65 if (IS_ERR(xf->file)) { in xfile_create() 66 error = PTR_ERR(xf->file); in xfile_create() 70 inode = file_inode(xf->file); in xfile_create() 79 trace_xfile_create(xf); in xfile_create() 81 *xfilep = xf; in xfile_create() 84 kfree(xf); in xfile_create() 91 xfile_destroy(struct xfile * xf) xfile_destroy() argument 108 xfile_load(struct xfile * xf,void * buf,size_t count,loff_t pos) xfile_load() argument 171 xfile_store(struct xfile * xf,const void * buf,size_t count,loff_t pos) xfile_store() argument 230 xfile_seek_data(struct xfile * xf,loff_t pos) xfile_seek_data() argument 247 xfile_get_folio(struct xfile * xf,loff_t pos,size_t len,unsigned int flags) xfile_get_folio() argument 305 xfile_put_folio(struct xfile * xf,struct folio * folio) xfile_put_folio() argument 317 xfile_discard(struct xfile * xf,loff_t pos,u64 count) xfile_discard() argument [all...] |