Home
last modified time | relevance | path

Searched refs:kuid (Results 1 – 3 of 3) sorted by relevance

/drivers/base/power/
Dsysfs.c512 static inline int dpm_sysfs_wakeup_change_owner(struct device *dev, kuid_t kuid, in dpm_sysfs_wakeup_change_owner() argument
516 return device_change_owner(dev->power.wakeup->dev, kuid, kgid); in dpm_sysfs_wakeup_change_owner()
545 static inline int dpm_sysfs_wakeup_change_owner(struct device *dev, kuid_t kuid, in dpm_sysfs_wakeup_change_owner() argument
738 int dpm_sysfs_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid) in dpm_sysfs_change_owner() argument
745 rc = sysfs_group_change_owner(&dev->kobj, &pm_attr_group, kuid, kgid); in dpm_sysfs_change_owner()
751 &dev->kobj, &pm_runtime_attr_group, kuid, kgid); in dpm_sysfs_change_owner()
758 kuid, kgid); in dpm_sysfs_change_owner()
762 rc = dpm_sysfs_wakeup_change_owner(dev, kuid, kgid); in dpm_sysfs_change_owner()
769 &dev->kobj, &pm_qos_latency_tolerance_attr_group, kuid, in dpm_sysfs_change_owner()
Dpower.h81 extern int dpm_sysfs_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid);
96 static inline int dpm_sysfs_change_owner(struct device *dev, kuid_t kuid, in dpm_sysfs_change_owner() argument
/drivers/base/
Dcore.c4357 static int device_attrs_change_owner(struct device *dev, kuid_t kuid, in device_attrs_change_owner() argument
4370 error = sysfs_groups_change_owner(kobj, class->dev_groups, kuid, in device_attrs_change_owner()
4381 error = sysfs_groups_change_owner(kobj, type->groups, kuid, in device_attrs_change_owner()
4388 error = sysfs_groups_change_owner(kobj, dev->groups, kuid, kgid); in device_attrs_change_owner()
4395 kuid, kgid); in device_attrs_change_owner()
4415 int device_change_owner(struct device *dev, kuid_t kuid, kgid_t kgid) in device_change_owner() argument
4428 error = sysfs_change_owner(kobj, kuid, kgid); in device_change_owner()
4437 error = sysfs_file_change_owner(kobj, dev_attr_uevent.attr.name, kuid, in device_change_owner()
4447 error = device_attrs_change_owner(dev, kuid, kgid); in device_change_owner()
4451 error = dpm_sysfs_change_owner(dev, kuid, kgid); in device_change_owner()
[all …]