Lines Matching defs:device_path
509 btrfs_get_bdev_and_sb(const char *device_path, fmode_t flags, void *holder,
515 *bdev = blkdev_get_by_path(device_path, flags, holder);
1943 static void update_dev_time(const char *device_path)
1949 ret = kern_path(device_path, LOOKUP_FOLLOW, &path);
2095 const char *device_path)
2130 update_dev_time(device_path);
2133 int btrfs_rm_device(struct btrfs_fs_info *fs_info, const char *device_path,
2153 device = btrfs_find_device_by_devspec(fs_info, devid, device_path);
2157 device_path && strcmp(device_path, "missing") == 0)
2371 struct btrfs_fs_info *fs_info, const char *device_path)
2380 ret = btrfs_get_bdev_and_sb(device_path, FMODE_READ,
2406 const char *device_path)
2418 if (!device_path || !device_path[0])
2421 if (strcmp(device_path, "missing") == 0) {
2432 return btrfs_find_device_by_path(fs_info, device_path);
2579 int btrfs_init_new_device(struct btrfs_fs_info *fs_info, const char *device_path)
2598 bdev = blkdev_get_by_path(device_path, FMODE_WRITE | FMODE_EXCL,
2629 name = rcu_string_strdup(device_path, GFP_KERNEL);
2765 * other fs_devices list if device_path alienates any other scanned
2770 btrfs_forget_devices(device_path);
2773 update_dev_time(device_path);