Lines Matching refs:lo_backing_file
57 struct file * lo_backing_file; member
187 struct file *file = lo->lo_backing_file; in __loop_update_dio()
264 ret = lo_write_bvec(lo->lo_backing_file, &bvec, &pos); in lo_write_simple()
283 len = vfs_iter_read(lo->lo_backing_file, &i, &pos, 0); in lo_read_simple()
324 struct file *file = lo->lo_backing_file; in lo_fallocate()
348 int ret = vfs_fsync(lo->lo_backing_file, 0); in lo_req_flush()
418 struct file *file = lo->lo_backing_file; in lo_rw_aio()
525 __loop_update_dio(lo, (lo->lo_backing_file->f_flags & O_DIRECT) | in loop_update_dio()
566 f = l->lo_backing_file; in loop_validate_file()
613 old_file = lo->lo_backing_file; in loop_change_fd()
625 lo->lo_backing_file = file; in loop_change_fd()
691 if (lo->lo_backing_file) in loop_attr_backing_file_show()
692 p = file_path(lo->lo_backing_file, buf, PAGE_SIZE - 1); in loop_attr_backing_file_show()
776 struct file *file = lo->lo_backing_file; in loop_config_discard()
984 if ((lo->lo_backing_file->f_flags & O_DIRECT) && backing_bdev) in loop_default_blocksize()
991 struct file *file = lo->lo_backing_file; in loop_reconfigure_limits()
1090 lo->lo_backing_file = file; in loop_configure()
1145 filp = lo->lo_backing_file; in __loop_clr_fd()
1146 lo->lo_backing_file = NULL; in __loop_clr_fd()
1285 lo->lo_backing_file); in loop_set_status()
1331 path = lo->lo_backing_file->f_path; in loop_get_status()
1440 size = get_loop_size(lo, lo->lo_backing_file); in loop_set_capacity()