Lines Matching refs:device_path
507 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder, in btrfs_get_bdev_and_sb() argument
513 *bdev = blkdev_get_by_path(device_path, flags, holder); in btrfs_get_bdev_and_sb()
2002 const char *device_path) in btrfs_scratch_superblocks() argument
2037 update_dev_time(device_path); in btrfs_scratch_superblocks()
2040 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path, in btrfs_rm_device() argument
2057 device = btrfs_find_device_by_devspec(fs_info, devid, device_path); in btrfs_rm_device()
2061 strcmp(device_path, "missing") == 0) in btrfs_rm_device()
2278 struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_find_device_by_path() argument
2287 ret = btrfs_get_bdev_and_sb(device_path, FMODE_READ, in btrfs_find_device_by_path()
2313 const char *device_path) in btrfs_find_device_by_devspec() argument
2325 if (!device_path || !device_path[0]) in btrfs_find_device_by_devspec()
2328 if (strcmp(device_path, "missing") == 0) { in btrfs_find_device_by_devspec()
2339 return btrfs_find_device_by_path(fs_info, device_path); in btrfs_find_device_by_devspec()
2486 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path) in btrfs_init_new_device() argument
2505 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL, in btrfs_init_new_device()
2536 name = rcu_string_strdup(device_path, GFP_KERNEL); in btrfs_init_new_device()
2677 btrfs_forget_devices(device_path); in btrfs_init_new_device()
2680 update_dev_time(device_path); in btrfs_init_new_device()