loop_device
static int loop_global_lock_killable(struct loop_device *lo, bool global)
static void __loop_clr_fd(struct loop_device *lo)
static int loop_clr_fd(struct loop_device *lo)
loop_set_status(struct loop_device *lo, const struct loop_info64 *info)
loop_get_status(struct loop_device *lo, struct loop_info64 *info)
static void loop_global_unlock(struct loop_device *lo, bool global)
loop_set_status_old(struct loop_device *lo, const struct loop_info __user *arg)
loop_set_status64(struct loop_device *lo, const struct loop_info64 __user *arg)
loop_get_status_old(struct loop_device *lo, struct loop_info __user *arg) {
loop_get_status64(struct loop_device *lo, struct loop_info64 __user *arg) {
static loff_t lo_calculate_size(struct loop_device *lo, struct file *file)
static int loop_set_capacity(struct loop_device *lo)
static int loop_set_dio(struct loop_device *lo, unsigned long arg)
static int loop_set_block_size(struct loop_device *lo, blk_mode_t mode,
static int lo_simple_ioctl(struct loop_device *lo, unsigned int cmd,
struct loop_device *lo = bdev->bd_disk->private_data;
loop_set_status_compat(struct loop_device *lo,
loop_get_status_compat(struct loop_device *lo,
struct loop_device *lo = bdev->bd_disk->private_data;
struct loop_device *lo = disk->private_data;
struct loop_device *lo = disk->private_data;
struct loop_device *lo = disk->private_data;
static bool lo_can_use_dio(struct loop_device *lo)
struct loop_device *lo = rq->q->queuedata;
struct loop_device *lo = rq->q->queuedata;
struct list_head *cmd_list, struct loop_device *lo)
struct loop_device *lo =
container_of(work, struct loop_device, rootcg_work);
static inline void loop_update_dio(struct loop_device *lo)
struct loop_device *lo;
static void loop_remove(struct loop_device *lo)
struct loop_device *lo;
static void loop_set_size(struct loop_device *lo, loff_t size)
struct loop_device *lo;
static void loop_clear_limits(struct loop_device *lo, int mode)
struct loop_device *lo;
static int lo_fallocate(struct loop_device *lo, struct request *rq, loff_t pos,
static int lo_req_flush(struct loop_device *lo, struct request *rq)
static int lo_rw_aio(struct loop_device *lo, struct loop_cmd *cmd,
static int do_req_filebacked(struct loop_device *lo, struct request *rq)
static void loop_reread_partitions(struct loop_device *lo)
static unsigned int loop_query_min_dio_size(struct loop_device *lo)
struct loop_device *l;
static void loop_assign_backing_file(struct loop_device *lo, struct file *file)
static int loop_change_fd(struct loop_device *lo, struct block_device *bdev,
ssize_t (*callback)(struct loop_device *, char *))
struct loop_device *lo = disk->private_data;
static ssize_t loop_attr_##_name##_show(struct loop_device *, char *); \
static ssize_t loop_attr_backing_file_show(struct loop_device *lo, char *buf)
static ssize_t loop_attr_offset_show(struct loop_device *lo, char *buf)
static ssize_t loop_attr_sizelimit_show(struct loop_device *lo, char *buf)
static ssize_t loop_attr_autoclear_show(struct loop_device *lo, char *buf)
static ssize_t loop_attr_partscan_show(struct loop_device *lo, char *buf)
static ssize_t loop_attr_dio_show(struct loop_device *lo, char *buf)
static void loop_sysfs_init(struct loop_device *lo)
static void loop_sysfs_exit(struct loop_device *lo)
static void loop_get_discard_config(struct loop_device *lo,
struct loop_device *lo;
static void loop_queue_work(struct loop_device *lo, struct loop_cmd *cmd)
static void loop_set_timer(struct loop_device *lo)
static void loop_free_idle_workers(struct loop_device *lo, bool delete_all)
struct loop_device *lo = container_of(timer, struct loop_device, timer);
loop_set_status_from_info(struct loop_device *lo,
static unsigned int loop_default_blocksize(struct loop_device *lo)
static void loop_update_limits(struct loop_device *lo, struct queue_limits *lim,
static int loop_configure(struct loop_device *lo, blk_mode_t mode,