Home
last modified time | relevance | path

Searched refs:device_dir_kobj (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/fs/btrfs/
Dsysfs.c599 if (fs_devs->device_dir_kobj) { in __btrfs_sysfs_remove_fsid()
600 kobject_del(fs_devs->device_dir_kobj); in __btrfs_sysfs_remove_fsid()
601 kobject_put(fs_devs->device_dir_kobj); in __btrfs_sysfs_remove_fsid()
602 fs_devs->device_dir_kobj = NULL; in __btrfs_sysfs_remove_fsid()
725 if (!fs_devices->device_dir_kobj) in btrfs_sysfs_rm_device_link()
732 sysfs_remove_link(fs_devices->device_dir_kobj, in btrfs_sysfs_rm_device_link()
746 sysfs_remove_link(fs_devices->device_dir_kobj, in btrfs_sysfs_rm_device_link()
755 if (!fs_devs->device_dir_kobj) in btrfs_sysfs_add_device()
756 fs_devs->device_dir_kobj = kobject_create_and_add("devices", in btrfs_sysfs_add_device()
759 if (!fs_devs->device_dir_kobj) in btrfs_sysfs_add_device()
[all …]
Dvolumes.h254 struct kobject *device_dir_kobj; member