Searched refs:device_dir_kobj (Results 1 – 2 of 2) sorted by relevance
520 if (fs_devs->device_dir_kobj) { in __btrfs_sysfs_remove_fsid()521 kobject_del(fs_devs->device_dir_kobj); in __btrfs_sysfs_remove_fsid()522 kobject_put(fs_devs->device_dir_kobj); in __btrfs_sysfs_remove_fsid()523 fs_devs->device_dir_kobj = NULL; in __btrfs_sysfs_remove_fsid()646 if (!fs_devices->device_dir_kobj) in btrfs_sysfs_rm_device_link()653 sysfs_remove_link(fs_devices->device_dir_kobj, in btrfs_sysfs_rm_device_link()667 sysfs_remove_link(fs_devices->device_dir_kobj, in btrfs_sysfs_rm_device_link()676 if (!fs_devs->device_dir_kobj) in btrfs_sysfs_add_device()677 fs_devs->device_dir_kobj = kobject_create_and_add("devices", in btrfs_sysfs_add_device()680 if (!fs_devs->device_dir_kobj) in btrfs_sysfs_add_device()[all …]
267 struct kobject *device_dir_kobj; member