Lines Matching refs:device_path
513 btrfs_get_bdev_and_sb(const char *device_path, blk_mode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
519 *bdev = blkdev_get_by_path(device_path, flags, holder, NULL); in btrfs_get_bdev_and_sb()
1911 static void update_dev_time(const char *device_path) in update_dev_time() argument
1916 ret = kern_path(device_path, LOOKUP_FOLLOW, &path); in update_dev_time()
2067 const char *device_path) in btrfs_scratch_superblocks() argument
2085 update_dev_time(device_path); in btrfs_scratch_superblocks()
2416 const char *device_path) in btrfs_find_device_by_devspec() argument
2430 ret = btrfs_get_dev_args_from_path(fs_info, &args, device_path); in btrfs_find_device_by_devspec()
2612 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device() argument
2630 bdev = blkdev_get_by_path(device_path, BLK_OPEN_WRITE, in btrfs_init_new_device()
2659 device = btrfs_alloc_device(fs_info, NULL, NULL, device_path); in btrfs_init_new_device()
2668 ret = lookup_bdev(device_path, &device->devt); in btrfs_init_new_device()
2819 update_dev_time(device_path); in btrfs_init_new_device()