Home
last modified time | relevance | path

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

/drivers/block/zram/
Dzram_drv.c395 if (!zram->backing_dev) in reset_bdev()
403 filp_close(zram->backing_dev, NULL); in reset_bdev()
404 zram->backing_dev = NULL; in reset_bdev()
422 file = zram->backing_dev; in backing_dev_show()
448 struct file *backing_dev = NULL; in backing_dev_store() local
474 backing_dev = filp_open(file_name, O_RDWR|O_LARGEFILE, 0); in backing_dev_store()
475 if (IS_ERR(backing_dev)) { in backing_dev_store()
476 err = PTR_ERR(backing_dev); in backing_dev_store()
477 backing_dev = NULL; in backing_dev_store()
481 mapping = backing_dev->f_mapping; in backing_dev_store()
[all …]
Dzram_drv.h115 struct file *backing_dev; member
DKconfig24 /sys/block/zramX/backing_dev.
/drivers/block/drbd/
Ddrbd_nl.c1741 bdev = open_backing_dev(device, new_disk_conf->backing_dev, device, true); in open_backing_devices()