Lines Matching defs:lo
111 static int loop_global_lock_killable(struct loop_device *lo, bool global) in loop_global_lock_killable()
132 static void loop_global_unlock(struct loop_device *lo, bool global) in loop_global_unlock()
163 static loff_t get_loop_size(struct loop_device *lo, struct file *file) in get_loop_size()
173 static bool lo_bdev_can_use_dio(struct loop_device *lo, in lo_bdev_can_use_dio()
185 static void __loop_update_dio(struct loop_device *lo, bool dio) in __loop_update_dio()
233 static void loop_set_size(struct loop_device *lo, loff_t size) in loop_set_size()
261 static int lo_write_simple(struct loop_device *lo, struct request *rq, in lo_write_simple()
278 static int lo_read_simple(struct loop_device *lo, struct request *rq, in lo_read_simple()
307 static int lo_fallocate(struct loop_device *lo, struct request *rq, loff_t pos, in lo_fallocate()
328 static int lo_req_flush(struct loop_device *lo, struct request *rq) in lo_req_flush()
392 static int lo_rw_aio(struct loop_device *lo, struct loop_cmd *cmd, in lo_rw_aio()
461 static int do_req_filebacked(struct loop_device *lo, struct request *rq) in do_req_filebacked()
505 static inline void loop_update_dio(struct loop_device *lo) in loop_update_dio()
511 static void loop_reread_partitions(struct loop_device *lo) in loop_reread_partitions()
563 static int loop_change_fd(struct loop_device *lo, struct block_device *bdev, in loop_change_fd()
652 struct loop_device *lo = disk->private_data; in loop_attr_show() local
667 static ssize_t loop_attr_backing_file_show(struct loop_device *lo, char *buf) in loop_attr_backing_file_show()
689 static ssize_t loop_attr_offset_show(struct loop_device *lo, char *buf) in loop_attr_offset_show()
694 static ssize_t loop_attr_sizelimit_show(struct loop_device *lo, char *buf) in loop_attr_sizelimit_show()
699 static ssize_t loop_attr_autoclear_show(struct loop_device *lo, char *buf) in loop_attr_autoclear_show()
706 static ssize_t loop_attr_partscan_show(struct loop_device *lo, char *buf) in loop_attr_partscan_show()
713 static ssize_t loop_attr_dio_show(struct loop_device *lo, char *buf) in loop_attr_dio_show()
742 static void loop_sysfs_init(struct loop_device *lo) in loop_sysfs_init()
748 static void loop_sysfs_exit(struct loop_device *lo) in loop_sysfs_exit()
755 static void loop_config_discard(struct loop_device *lo) in loop_config_discard()
810 struct loop_device *lo; member
829 static void loop_queue_work(struct loop_device *lo, struct loop_cmd *cmd) in loop_queue_work()
899 static void loop_set_timer(struct loop_device *lo) in loop_set_timer()
904 static void loop_free_idle_workers(struct loop_device *lo, bool delete_all) in loop_free_idle_workers()
927 struct loop_device *lo = container_of(timer, struct loop_device, timer); in loop_free_idle_workers_timer() local
932 static void loop_update_rotational(struct loop_device *lo) in loop_update_rotational()
959 loop_set_status_from_info(struct loop_device *lo, in loop_set_status_from_info()
991 static int loop_configure(struct loop_device *lo, blk_mode_t mode, in loop_configure()
1134 static void __loop_clr_fd(struct loop_device *lo, bool release) in __loop_clr_fd()
1217 static int loop_clr_fd(struct loop_device *lo) in loop_clr_fd()
1260 loop_set_status(struct loop_device *lo, const struct loop_info64 *info) in loop_set_status()
1326 loop_get_status(struct loop_device *lo, struct loop_info64 *info) in loop_get_status()
1398 loop_set_status_old(struct loop_device *lo, const struct loop_info __user *arg) in loop_set_status_old()
1410 loop_set_status64(struct loop_device *lo, const struct loop_info64 __user *arg) in loop_set_status64()
1420 loop_get_status_old(struct loop_device *lo, struct loop_info __user *arg) { in loop_get_status_old()
1437 loop_get_status64(struct loop_device *lo, struct loop_info64 __user *arg) { in loop_get_status64()
1450 static int loop_set_capacity(struct loop_device *lo) in loop_set_capacity()
1463 static int loop_set_dio(struct loop_device *lo, unsigned long arg) in loop_set_dio()
1477 static int loop_set_block_size(struct loop_device *lo, unsigned long arg) in loop_set_block_size()
1504 static int lo_simple_ioctl(struct loop_device *lo, unsigned int cmd, in lo_simple_ioctl()
1532 struct loop_device *lo = bdev->bd_disk->private_data; in lo_ioctl() local
1663 loop_set_status_compat(struct loop_device *lo, in loop_set_status_compat()
1676 loop_get_status_compat(struct loop_device *lo, in loop_get_status_compat()
1693 struct loop_device *lo = bdev->bd_disk->private_data; in lo_compat_ioctl() local
1728 struct loop_device *lo = disk->private_data; in lo_release() local
1749 struct loop_device *lo = disk->private_data; in lo_free_disk() local
1847 struct loop_device *lo = rq->q->queuedata; in loop_queue_rq() local
1891 struct loop_device *lo = rq->q->queuedata; in loop_handle_cmd() local
1935 struct list_head *cmd_list, struct loop_device *lo) in loop_process_work()
1977 struct loop_device *lo = in loop_rootcg_workfn() local
1989 struct loop_device *lo; in loop_add() local
2110 static void loop_remove(struct loop_device *lo) in loop_remove()
2138 struct loop_device *lo; in loop_control_remove() local
2185 struct loop_device *lo; in loop_control_get_free() local
2290 struct loop_device *lo; in loop_exit() local