Lines Matching refs:device_path
383 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
389 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
1857 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device() argument
1880 ret = btrfs_find_device_by_devspec(fs_info, devid, device_path, in btrfs_rm_device()
2100 const char *device_path, in btrfs_find_device_by_path() argument
2111 ret = btrfs_get_bdev_and_sb(device_path, FMODE_READ, in btrfs_find_device_by_path()
2127 const char *device_path, in btrfs_find_device_missing_or_by_path() argument
2131 if (strcmp(device_path, "missing") == 0) { in btrfs_find_device_missing_or_by_path()
2149 return btrfs_find_device_by_path(fs_info, device_path, device); in btrfs_find_device_missing_or_by_path()
2314 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device() argument
2333 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_new_device()
2364 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_new_device()
2503 update_dev_time(device_path); in btrfs_init_new_device()
7244 void btrfs_scratch_superblocks(struct block_device *bdev, const char *device_path) in btrfs_scratch_superblocks() argument
7271 update_dev_time(device_path); in btrfs_scratch_superblocks()