Searched refs:devices_kobj (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/vfio/mdev/ |
D | mdev_sysfs.c | 186 type->devices_kobj = kobject_create_and_add("devices", &type->kobj); in mdev_type_add() 187 if (!type->devices_kobj) { in mdev_type_add() 202 kobject_put(type->devices_kobj); in mdev_type_remove() 281 ret = sysfs_create_link(type->devices_kobj, kobj, dev_name(&mdev->dev)); in mdev_create_sysfs_files() 291 sysfs_remove_link(mdev->type->devices_kobj, dev_name(&mdev->dev)); in mdev_create_sysfs_files() 300 sysfs_remove_link(mdev->type->devices_kobj, dev_name(&mdev->dev)); in mdev_remove_sysfs_files()
|
/linux-6.1.9/fs/btrfs/ |
D | sysfs.c | 1354 if (fs_devs->devices_kobj) { in __btrfs_sysfs_remove_fsid() 1355 kobject_del(fs_devs->devices_kobj); in __btrfs_sysfs_remove_fsid() 1356 kobject_put(fs_devs->devices_kobj); in __btrfs_sysfs_remove_fsid() 1357 fs_devs->devices_kobj = NULL; in __btrfs_sysfs_remove_fsid() 1627 struct kobject *devices_kobj; in btrfs_sysfs_remove_device() local 1633 devices_kobj = device->fs_info->fs_devices->devices_kobj; in btrfs_sysfs_remove_device() 1634 ASSERT(devices_kobj); in btrfs_sysfs_remove_device() 1637 sysfs_remove_link(devices_kobj, bdev_kobj(device->bdev)->name); in btrfs_sysfs_remove_device() 1800 struct kobject *devices_kobj; in btrfs_sysfs_add_device() local 1807 devices_kobj = device->fs_info->fs_devices->devices_kobj; in btrfs_sysfs_add_device() [all …]
|
D | volumes.h | 361 struct kobject *devices_kobj; member
|
/linux-6.1.9/include/linux/ |
D | mdev.h | 36 struct kobject *devices_kobj; member
|
/linux-6.1.9/drivers/iommu/ |
D | iommu.c | 43 struct kobject *devices_kobj; member 737 group->devices_kobj = kobject_create_and_add("devices", &group->kobj); in iommu_group_alloc() 738 if (!group->devices_kobj) { in iommu_group_alloc() 787 kobject_get(group->devices_kobj); in iommu_group_get_by_id() 965 ret = sysfs_create_link_nowarn(group->devices_kobj, in iommu_group_add_device() 981 kobject_get(group->devices_kobj); in iommu_group_add_device() 1004 kobject_put(group->devices_kobj); in iommu_group_add_device() 1005 sysfs_remove_link(group->devices_kobj, device->name); in iommu_group_add_device() 1047 sysfs_remove_link(group->devices_kobj, device->name); in iommu_group_remove_device() 1055 kobject_put(group->devices_kobj); in iommu_group_remove_device() [all …]
|