Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dmerge.c529 const char *probe_file = "./foo"; in TEST_F()
536 fd = open(probe_file, O_RDWR|O_CREAT, 0600); in TEST_F()
547 attr.config1 = (__u64)(long)probe_file; in TEST_F()
565 remove(probe_file); in TEST_F()
516 const char *probe_file = "./foo"; TEST_F() local
/linux/fs/btrfs/
H A Dvolumes.c2868 struct file *probe_file, *bdev_file; in btrfs_open_device_deny_freeze() local
2872 probe_file = bdev_file_open_by_path(path, BLK_OPEN_WRITE, NULL, NULL); in btrfs_open_device_deny_freeze()
2873 if (IS_ERR(probe_file)) in btrfs_open_device_deny_freeze()
2874 return probe_file; in btrfs_open_device_deny_freeze()
2876 ret = bdev_deny_freeze(file_bdev(probe_file)); in btrfs_open_device_deny_freeze()
2878 bdev_fput(probe_file); in btrfs_open_device_deny_freeze()
2882 bdev_file = fs_bdev_file_open_by_dev(file_bdev(probe_file)->bd_dev, in btrfs_open_device_deny_freeze()
2885 bdev_allow_freeze(file_bdev(probe_file)); in btrfs_open_device_deny_freeze()
2886 bdev_fput(probe_file); in btrfs_open_device_deny_freeze()