Searched refs:devices_kobj (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/vfio/mdev/ |
D | mdev_sysfs.c | 122 type->devices_kobj = kobject_create_and_add("devices", &type->kobj); in add_mdev_supported_type() 123 if (!type->devices_kobj) { in add_mdev_supported_type() 139 kobject_put(type->devices_kobj); in add_mdev_supported_type() 152 kobject_put(type->devices_kobj); in remove_mdev_supported_type() 255 ret = sysfs_create_link(type->devices_kobj, &dev->kobj, dev_name(dev)); in mdev_create_sysfs_files() 272 sysfs_remove_link(type->devices_kobj, dev_name(dev)); in mdev_create_sysfs_files() 280 sysfs_remove_link(type->devices_kobj, dev_name(dev)); in mdev_remove_sysfs_files()
|
D | mdev_private.h | 46 struct kobject *devices_kobj; member
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | sysfs.c | 956 if (fs_devs->devices_kobj) { in __btrfs_sysfs_remove_fsid() 957 kobject_del(fs_devs->devices_kobj); in __btrfs_sysfs_remove_fsid() 958 kobject_put(fs_devs->devices_kobj); in __btrfs_sysfs_remove_fsid() 959 fs_devs->devices_kobj = NULL; in __btrfs_sysfs_remove_fsid() 1237 struct kobject *devices_kobj; in btrfs_sysfs_remove_device() local 1243 devices_kobj = device->fs_info->fs_devices->devices_kobj; in btrfs_sysfs_remove_device() 1244 ASSERT(devices_kobj); in btrfs_sysfs_remove_device() 1249 sysfs_remove_link(devices_kobj, disk_kobj->name); in btrfs_sysfs_remove_device() 1341 struct kobject *devices_kobj; in btrfs_sysfs_add_device() local 1348 devices_kobj = device->fs_info->fs_devices->devices_kobj; in btrfs_sysfs_add_device() [all …]
|
D | volumes.h | 263 struct kobject *devices_kobj; member
|
/kernel/linux/linux-5.10/drivers/iommu/ |
D | iommu.c | 37 struct kobject *devices_kobj; member 601 group->devices_kobj = kobject_create_and_add("devices", &group->kobj); in iommu_group_alloc() 602 if (!group->devices_kobj) { in iommu_group_alloc() 651 kobject_get(group->devices_kobj); in iommu_group_get_by_id() 819 ret = sysfs_create_link_nowarn(group->devices_kobj, in iommu_group_add_device() 835 kobject_get(group->devices_kobj); in iommu_group_add_device() 862 kobject_put(group->devices_kobj); in iommu_group_add_device() 863 sysfs_remove_link(group->devices_kobj, device->name); in iommu_group_add_device() 909 sysfs_remove_link(group->devices_kobj, device->name); in iommu_group_remove_device() 917 kobject_put(group->devices_kobj); in iommu_group_remove_device() [all …]
|