Home
last modified time | relevance | path

Searched refs:lo_disk (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/block/
Dloop.h64 struct gendisk *lo_disk; member
Dloop.c242 set_capacity(lo->lo_disk, x); in figure_loop_size()
839 lo->sysfs_inited = !sysfs_create_group(&disk_to_dev(lo->lo_disk)->kobj, in loop_sysfs_init()
846 sysfs_remove_group(&disk_to_dev(lo->lo_disk)->kobj, in loop_sysfs_exit()
1009 set_capacity(lo->lo_disk, size); in loop_set_fd()
1131 set_capacity(lo->lo_disk, 0); in __loop_clr_fd()
1180 lo->lo_disk->flags |= GENHD_FL_NO_PART_SCAN; in __loop_clr_fd()
1336 lo->lo_disk->flags &= ~GENHD_FL_NO_PART_SCAN; in loop_set_status()
2027 disk = lo->lo_disk = alloc_disk(1 << part_shift); in loop_add()
2079 del_gendisk(lo->lo_disk); in loop_remove()
2082 put_disk(lo->lo_disk); in loop_remove()
[all …]