Searched refs:backing_dev (Results 1 – 7 of 7) sorted by relevance
419 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() local494 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 …]
131 struct file *backing_dev; member
65 /sys/block/zramX/backing_dev.
94 What: /sys/block/zram<id>/backing_dev98 The backing_dev file is read-write and set up backing
106 __str_field(1, DRBD_F_REQUIRED | DRBD_F_INVARIANT, backing_dev, 128)
210 backing_dev RW set up backend storage for zram to write out316 echo /dev/sda5 > /sys/block/zramX/backing_dev
1671 bdev = open_backing_dev(device, new_disk_conf->backing_dev, device, true); in open_backing_devices()