Home
last modified time | relevance | path

Searched refs:backing_dev (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/block/zram/
Dzram_drv.c419 if (!zram->backing_dev) in reset_bdev()
425 filp_close(zram->backing_dev, NULL); in reset_bdev()
426 zram->backing_dev = NULL; in reset_bdev()
442 file = zram->backing_dev; in backing_dev_show()
468 struct file *backing_dev = NULL; in backing_dev_store() local
494 backing_dev = filp_open(file_name, O_RDWR|O_LARGEFILE, 0); in backing_dev_store()
495 if (IS_ERR(backing_dev)) { in backing_dev_store()
496 err = PTR_ERR(backing_dev); in backing_dev_store()
497 backing_dev = NULL; in backing_dev_store()
501 mapping = backing_dev->f_mapping; in backing_dev_store()
[all …]
Dzram_drv.h131 struct file *backing_dev; member
DKconfig65 /sys/block/zramX/backing_dev.
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-block-zram94 What: /sys/block/zram<id>/backing_dev
98 The backing_dev file is read-write and set up backing
/Linux-v6.6/include/linux/
Ddrbd_genl.h106 __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
/Linux-v6.6/Documentation/admin-guide/blockdev/
Dzram.rst210 backing_dev RW set up backend storage for zram to write out
316 echo /dev/sda5 > /sys/block/zramX/backing_dev
/Linux-v6.6/drivers/block/drbd/
Ddrbd_nl.c1671 bdev = open_backing_dev(device, new_disk_conf->backing_dev, device, true); in open_backing_devices()