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()
2032 const char *device_path) in btrfs_scratch_superblocks() argument
2075 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device() argument
2092 device = btrfs_find_device_by_devspec(fs_info, devid, device_path); in btrfs_rm_device()
2096 device_path && strcmp(device_path, "missing") == 0) in btrfs_rm_device()
2324 struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_find_device_by_path() argument
2333 ret = btrfs_get_bdev_and_sb(device_path, FMODE_READ, in btrfs_find_device_by_path()
2359 const char *device_path) in btrfs_find_device_by_devspec() argument
2371 if (!device_path || !device_path[0]) in btrfs_find_device_by_devspec()
2374 if (strcmp(device_path, "missing") == 0) { in btrfs_find_device_by_devspec()
2385 return btrfs_find_device_by_path(fs_info, device_path); in btrfs_find_device_by_devspec()
2532 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device() argument
2551 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_new_device()
2587 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_new_device()
2733 btrfs_forget_devices(device_path); in btrfs_init_new_device()