Home
last modified time | relevance | path

Searched refs:devices_kobj (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/vfio/mdev/
H A Dmdev_sysfs.c186 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()
282 ret = sysfs_create_link(type->devices_kobj, kobj, dev_name(&mdev->dev)); in mdev_create_sysfs_files()
292 sysfs_remove_link(mdev->type->devices_kobj, dev_name(&mdev->dev)); in mdev_create_sysfs_files()
301 sysfs_remove_link(mdev->type->devices_kobj, dev_name(&mdev->dev)); in mdev_remove_sysfs_files()
/openbmc/linux/fs/btrfs/
H A Dsysfs.c1410 if (fs_devs->devices_kobj) { in __btrfs_sysfs_remove_fsid()
1411 kobject_del(fs_devs->devices_kobj); in __btrfs_sysfs_remove_fsid()
1412 kobject_put(fs_devs->devices_kobj); in __btrfs_sysfs_remove_fsid()
1413 fs_devs->devices_kobj = NULL; in __btrfs_sysfs_remove_fsid()
1683 struct kobject *devices_kobj; in btrfs_sysfs_remove_device() local
1689 devices_kobj = device->fs_info->fs_devices->devices_kobj; in btrfs_sysfs_remove_device()
1690 ASSERT(devices_kobj); in btrfs_sysfs_remove_device()
1860 struct kobject *devices_kobj; in btrfs_sysfs_add_device() local
1867 devices_kobj = device->fs_info->fs_devices->devices_kobj; in btrfs_sysfs_add_device()
1869 ASSERT(devices_kobj); in btrfs_sysfs_add_device()
[all …]
H A Dvolumes.h369 struct kobject *devices_kobj; member
/openbmc/linux/include/linux/
H A Dmdev.h36 struct kobject *devices_kobj; member
/openbmc/linux/drivers/iommu/
H A Diommu.c52 struct kobject *devices_kobj; member
584 sysfs_remove_link(group->devices_kobj, grp_dev->name); in __iommu_group_free_device()
953 group->devices_kobj = kobject_create_and_add("devices", &group->kobj); in iommu_group_alloc()
954 if (!group->devices_kobj) { in iommu_group_alloc()
969 kobject_put(group->devices_kobj); in iommu_group_alloc()
975 kobject_put(group->devices_kobj); in iommu_group_alloc()
1142 ret = sysfs_create_link_nowarn(group->devices_kobj, in iommu_group_alloc_device()
1262 kobject_get(group->devices_kobj); in iommu_group_get()
1277 kobject_get(group->devices_kobj); in iommu_group_ref_get()
1292 kobject_put(group->devices_kobj); in iommu_group_put()