Lines Matching refs:device_path
369 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
375 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
1890 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device() argument
1913 ret = btrfs_find_device_by_devspec(fs_info, devid, device_path, in btrfs_rm_device()
2133 const char *device_path, in btrfs_find_device_by_path() argument
2144 ret = btrfs_get_bdev_and_sb(device_path, FMODE_READ, in btrfs_find_device_by_path()
2161 const char *device_path, in btrfs_find_device_missing_or_by_path() argument
2165 if (strcmp(device_path, "missing") == 0) { in btrfs_find_device_missing_or_by_path()
2183 return btrfs_find_device_by_path(fs_info, device_path, device); in btrfs_find_device_missing_or_by_path()
2350 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device() argument
2369 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_new_device()
2400 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_new_device()
2540 update_dev_time(device_path); in btrfs_init_new_device()
7223 void btrfs_scratch_superblocks(struct block_device *bdev, const char *device_path) in btrfs_scratch_superblocks() argument
7250 update_dev_time(device_path); in btrfs_scratch_superblocks()