/include/linux/ |
D | kobject.h | 89 int kobject_set_name(struct kobject *kobj, const char *name, ...); 91 int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, 94 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name() argument 96 return kobj->name; in kobject_name() 99 extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype); 101 int kobject_add(struct kobject *kobj, struct kobject *parent, 104 int kobject_init_and_add(struct kobject *kobj, 108 extern void kobject_del(struct kobject *kobj); 117 extern struct kobject *kobject_get(struct kobject *kobj); 119 struct kobject *kobj); [all …]
|
D | sysfs.h | 237 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); 238 void sysfs_remove_dir(struct kobject *kobj); 239 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, 241 int __must_check sysfs_move_dir_ns(struct kobject *kobj, 249 int __must_check sysfs_create_file_ns(struct kobject *kobj, 252 int __must_check sysfs_create_files(struct kobject *kobj, 254 int __must_check sysfs_chmod_file(struct kobject *kobj, 256 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, 259 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, 261 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr); [all …]
|
D | cdev.h | 15 struct kobject kobj; member 31 void cdev_set_parent(struct cdev *p, struct kobject *kobj);
|
D | mdev.h | 84 int (*create)(struct kobject *kobj, struct mdev_device *mdev); 100 ssize_t (*show)(struct kobject *kobj, struct device *dev, char *buf); 101 ssize_t (*store)(struct kobject *kobj, struct device *dev,
|
D | livepatch.h | 72 struct kobject kobj; member 125 struct kobject kobj; member 168 struct kobject kobj; member
|
D | w1.h | 312 static inline struct w1_slave* kobj_to_w1_slave(struct kobject *kobj) in kobj_to_w1_slave() argument 314 return dev_to_w1_slave(container_of(kobj, struct device, kobj)); in kobj_to_w1_slave()
|
D | kobject_ns.h | 51 const struct kobj_ns_type_operations *kobj_ns_ops(struct kobject *kobj);
|
D | pktcdvd.h | 157 struct kobject kobj; member 161 ((struct pktcdvd_kobj*)container_of(_k,struct pktcdvd_kobj,kobj))
|
D | device.h | 460 struct kobject kobj; member 601 static inline struct device *kobj_to_dev(struct kobject *kobj) in kobj_to_dev() argument 603 return container_of(kobj, struct device, kobj); in kobj_to_dev() 625 return kobject_name(&dev->kobj); in dev_name() 694 return dev->kobj.uevent_suppress; in dev_get_uevent_suppress() 699 dev->kobj.uevent_suppress = val; in dev_set_uevent_suppress() 704 return dev->kobj.state_in_sysfs; in device_is_registered()
|
D | padata.h | 171 struct kobject kobj; member
|
D | iscsi_boot_sysfs.h | 68 struct kobject kobj; member
|
D | slub_def.h | 111 struct kobject kobj; /* For sysfs */ member
|
D | elevator.h | 114 struct kobject kobj; member
|
D | irqdesc.h | 99 struct kobject kobj; member
|
D | dma-buf.h | 424 struct kobject kobj; member
|
D | huge_mm.h | 98 ssize_t single_hugepage_flag_store(struct kobject *kobj, 102 ssize_t single_hugepage_flag_show(struct kobject *kobj,
|
D | efi.h | 989 struct kobject kobj; member 997 kobject_put(&var->kobj); in efivar_unregister() 1059 static inline int efi_runtime_map_init(struct kobject *kobj) in efi_runtime_map_init() argument
|
D | i2c.h | 345 static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj) in kobj_to_i2c_client() argument 347 struct device * const dev = kobj_to_dev(kobj); in kobj_to_i2c_client()
|
/include/trace/events/ |
D | kyber.h | 33 __entry->dev = disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent))); 62 __entry->dev = disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent))); 84 __entry->dev = disk_devt(dev_to_disk(kobj_to_dev(q->kobj.parent)));
|
/include/drm/ttm/ |
D | ttm_memory.h | 67 struct kobject kobj; member
|
D | ttm_bo_driver.h | 278 struct kobject kobj; member
|
/include/acpi/ |
D | cppc_acpi.h | 68 struct kobject kobj; member
|
D | acpi_bus.h | 109 struct kobject kobj; member 117 struct kobject *kobj) in to_acpi_hotplug_profile() argument 119 return container_of(kobj, struct acpi_hotplug_profile, kobj); in to_acpi_hotplug_profile() 390 struct kobject kobj; member
|
/include/net/ |
D | bonding.h | 182 struct kobject kobj; member 186 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument 188 return container_of(kobj, struct slave, kobj); in to_slave()
|
/include/video/ |
D | omapfb_dss.h | 315 struct kobject kobj; member 370 struct kobject kobj; member 599 struct kobject kobj; member
|