Searched refs:device_dir_kobj (Results 1 – 2 of 2) sorted by relevance
598 if (fs_devs->device_dir_kobj) { in __btrfs_sysfs_remove_fsid()599 kobject_del(fs_devs->device_dir_kobj); in __btrfs_sysfs_remove_fsid()600 kobject_put(fs_devs->device_dir_kobj); in __btrfs_sysfs_remove_fsid()601 fs_devs->device_dir_kobj = NULL; in __btrfs_sysfs_remove_fsid()724 if (!fs_devices->device_dir_kobj) in btrfs_sysfs_rm_device_link()731 sysfs_remove_link(fs_devices->device_dir_kobj, in btrfs_sysfs_rm_device_link()745 sysfs_remove_link(fs_devices->device_dir_kobj, in btrfs_sysfs_rm_device_link()754 if (!fs_devs->device_dir_kobj) in btrfs_sysfs_add_device()755 fs_devs->device_dir_kobj = kobject_create_and_add("devices", in btrfs_sysfs_add_device()758 if (!fs_devs->device_dir_kobj) in btrfs_sysfs_add_device()[all …]
249 struct kobject *device_dir_kobj; member