Lines Matching refs:device_path

468 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder,  in btrfs_get_bdev_and_sb()  argument
474 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
2090 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device() argument
2107 device = btrfs_find_device_by_devspec(fs_info, devid, device_path); in btrfs_rm_device()
2111 strcmp(device_path, "missing") == 0) in btrfs_rm_device()
2344 struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_find_device_by_path() argument
2354 ret = btrfs_get_bdev_and_sb(device_path, FMODE_READ, in btrfs_find_device_by_path()
2380 const char *device_path) in btrfs_find_device_by_devspec() argument
2392 if (!device_path || !device_path[0]) in btrfs_find_device_by_devspec()
2395 if (strcmp(device_path, "missing") == 0) { in btrfs_find_device_by_devspec()
2406 return btrfs_find_device_by_path(fs_info, device_path); in btrfs_find_device_by_devspec()
2547 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device() argument
2566 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_new_device()
2597 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_new_device()
2728 update_dev_time(device_path); in btrfs_init_new_device()
7560 void btrfs_scratch_superblocks(struct block_device *bdev, const char *device_path) in btrfs_scratch_superblocks() argument
7587 update_dev_time(device_path); in btrfs_scratch_superblocks()