Lines Matching refs:device_path
497 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
503 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
1886 static void update_dev_time(const char *device_path) in update_dev_time() argument
1892 ret = kern_path(device_path, LOOKUP_FOLLOW, &path); in update_dev_time()
2022 const char *device_path) in btrfs_scratch_superblocks() argument
2062 update_dev_time(device_path); in btrfs_scratch_superblocks()
2393 const char *device_path) in btrfs_find_device_by_devspec() argument
2407 ret = btrfs_get_dev_args_from_path(fs_info, &args, device_path); in btrfs_find_device_by_devspec()
2589 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device() argument
2608 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_new_device()
2644 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_new_device()
2653 ret = lookup_bdev(device_path, &device->devt); in btrfs_init_new_device()
2804 update_dev_time(device_path); in btrfs_init_new_device()