Lines Matching refs:loop_device

50 struct loop_device {
102 * @lo: struct loop_device
103 * @global: true if @lo is about to bind another "struct loop_device", false otherwise
107 * Since loop_validate_file() traverses on other "struct loop_device" if
111 static int loop_global_lock_killable(struct loop_device *lo, bool global)
129 * @lo: struct loop_device
130 * @global: true if @lo was about to bind another "struct loop_device", false otherwise
132 static void loop_global_unlock(struct loop_device *lo, bool global)
163 static loff_t get_loop_size(struct loop_device *lo, struct file *file)
173 static bool lo_bdev_can_use_dio(struct loop_device *lo,
185 static void __loop_update_dio(struct loop_device *lo, bool dio)
227 * @lo: struct loop_device to set the size for
233 static void loop_set_size(struct loop_device *lo, loff_t size)
259 static int lo_write_simple(struct loop_device *lo, struct request *rq,
276 static int lo_read_simple(struct loop_device *lo, struct request *rq,
305 static void loop_clear_limits(struct loop_device *lo, int mode)
320 static int lo_fallocate(struct loop_device *lo, struct request *rq, loff_t pos,
349 static int lo_req_flush(struct loop_device *lo, struct request *rq)
413 static int lo_rw_aio(struct loop_device *lo, struct loop_cmd *cmd,
482 static int do_req_filebacked(struct loop_device *lo, struct request *rq)
526 static inline void loop_update_dio(struct loop_device *lo)
532 static void loop_reread_partitions(struct loop_device *lo)
558 struct loop_device *l;
584 static int loop_change_fd(struct loop_device *lo, struct block_device *bdev,
670 ssize_t (*callback)(struct loop_device *, char *))
673 struct loop_device *lo = disk->private_data;
679 static ssize_t loop_attr_##_name##_show(struct loop_device *, char *); \
688 static ssize_t loop_attr_backing_file_show(struct loop_device *lo, char *buf)
710 static ssize_t loop_attr_offset_show(struct loop_device *lo, char *buf)
715 static ssize_t loop_attr_sizelimit_show(struct loop_device *lo, char *buf)
720 static ssize_t loop_attr_autoclear_show(struct loop_device *lo, char *buf)
727 static ssize_t loop_attr_partscan_show(struct loop_device *lo, char *buf)
734 static ssize_t loop_attr_dio_show(struct loop_device *lo, char *buf)
763 static void loop_sysfs_init(struct loop_device *lo)
769 static void loop_sysfs_exit(struct loop_device *lo)
776 static void loop_config_discard(struct loop_device *lo,
820 struct loop_device *lo;
839 static void loop_queue_work(struct loop_device *lo, struct loop_cmd *cmd)
909 static void loop_set_timer(struct loop_device *lo)
914 static void loop_free_idle_workers(struct loop_device *lo, bool delete_all)
937 struct loop_device *lo = container_of(timer, struct loop_device, timer);
942 static void loop_update_rotational(struct loop_device *lo)
962 * @lo: struct loop_device to configure
969 loop_set_status_from_info(struct loop_device *lo,
1001 static int loop_reconfigure_limits(struct loop_device *lo, unsigned short bsize,
1015 static int loop_configure(struct loop_device *lo, blk_mode_t mode,
1157 static void __loop_clr_fd(struct loop_device *lo, bool release)
1238 static int loop_clr_fd(struct loop_device *lo)
1281 loop_set_status(struct loop_device *lo, const struct loop_info64 *info)
1345 loop_get_status(struct loop_device *lo, struct loop_info64 *info)
1417 loop_set_status_old(struct loop_device *lo, const struct loop_info __user *arg)
1429 loop_set_status64(struct loop_device *lo, const struct loop_info64 __user *arg)
1439 loop_get_status_old(struct loop_device *lo, struct loop_info __user *arg) {
1456 loop_get_status64(struct loop_device *lo, struct loop_info64 __user *arg) {
1469 static int loop_set_capacity(struct loop_device *lo)
1482 static int loop_set_dio(struct loop_device *lo, unsigned long arg)
1496 static int loop_set_block_size(struct loop_device *lo, unsigned long arg)
1521 static int lo_simple_ioctl(struct loop_device *lo, unsigned int cmd,
1549 struct loop_device *lo = bdev->bd_disk->private_data;
1680 loop_set_status_compat(struct loop_device *lo,
1693 loop_get_status_compat(struct loop_device *lo,
1710 struct loop_device *lo = bdev->bd_disk->private_data;
1745 struct loop_device *lo = disk->private_data;
1766 struct loop_device *lo = disk->private_data;
1864 struct loop_device *lo = rq->q->queuedata;
1908 struct loop_device *lo = rq->q->queuedata;
1952 struct list_head *cmd_list, struct loop_device *lo)
1994 struct loop_device *lo =
1995 container_of(work, struct loop_device, rootcg_work);
2012 struct loop_device *lo;
2131 static void loop_remove(struct loop_device *lo)
2159 struct loop_device *lo;
2206 struct loop_device *lo;
2311 struct loop_device *lo;