Lines Matching refs:hr_bdev_file
216 struct file *hr_bdev_file; member
266 return reg->hr_bdev_file ? file_bdev(reg->hr_bdev_file) : NULL; in reg_bdev()
1512 if (reg->hr_bdev_file) in o2hb_region_release()
1513 fput(reg->hr_bdev_file); in o2hb_region_release()
1572 if (reg->hr_bdev_file) in o2hb_region_block_bytes_store()
1601 if (reg->hr_bdev_file) in o2hb_region_start_block_store()
1626 if (reg->hr_bdev_file) in o2hb_region_blocks_store()
1645 if (to_o2hb_region(item)->hr_bdev_file) in o2hb_region_dev_show()
1772 if (reg->hr_bdev_file) in o2hb_region_dev_store()
1798 reg->hr_bdev_file = bdev_file_open_by_dev(fd_file(f)->f_mapping->host->i_rdev, in o2hb_region_dev_store()
1800 if (IS_ERR(reg->hr_bdev_file)) { in o2hb_region_dev_store()
1801 ret = PTR_ERR(reg->hr_bdev_file); in o2hb_region_dev_store()
1802 reg->hr_bdev_file = NULL; in o2hb_region_dev_store()
1906 fput(reg->hr_bdev_file); in o2hb_region_dev_store()
1907 reg->hr_bdev_file = NULL; in o2hb_region_dev_store()