Searched refs:one_device (Results 1 – 2 of 2) sorted by relevance
720 struct btrfs_device *one_device) in btrfs_sysfs_rm_device_link() argument728 if (one_device && one_device->bdev) { in btrfs_sysfs_rm_device_link()729 disk = one_device->bdev->bd_part; in btrfs_sysfs_rm_device_link()736 if (one_device) in btrfs_sysfs_rm_device_link()739 list_for_each_entry(one_device, in btrfs_sysfs_rm_device_link()741 if (!one_device->bdev) in btrfs_sysfs_rm_device_link()743 disk = one_device->bdev->bd_part; in btrfs_sysfs_rm_device_link()766 struct btrfs_device *one_device) in btrfs_sysfs_add_device_link() argument780 if (one_device && one_device != dev) in btrfs_sysfs_add_device_link()
84 struct btrfs_device *one_device);86 struct btrfs_device *one_device);