/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 | 245 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns); 246 void sysfs_remove_dir(struct kobject *kobj); 247 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name, 249 int __must_check sysfs_move_dir_ns(struct kobject *kobj, 257 int __must_check sysfs_create_file_ns(struct kobject *kobj, 260 int __must_check sysfs_create_files(struct kobject *kobj, 262 int __must_check sysfs_chmod_file(struct kobject *kobj, 264 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj, 267 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr, 269 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 | 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 | livepatch.h | 72 struct kobject kobj; member 125 struct kobject kobj; member 168 struct kobject kobj; member
|
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 | 475 struct kobject kobj; member 619 static inline struct device *kobj_to_dev(struct kobject *kobj) in kobj_to_dev() argument 621 return container_of(kobj, struct device, kobj); in kobj_to_dev() 643 return kobject_name(&dev->kobj); in dev_name() 712 return dev->kobj.uevent_suppress; in dev_get_uevent_suppress() 717 dev->kobj.uevent_suppress = val; in dev_set_uevent_suppress() 722 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 | cpufreq.h | 91 struct kobject kobj; member 637 struct kobject kobj; member 646 static inline struct gov_attr_set *to_gov_attr_set(struct kobject *kobj) in to_gov_attr_set() argument 648 return container_of(kobj, struct gov_attr_set, kobj); in to_gov_attr_set()
|
D | slub_def.h | 117 struct kobject kobj; /* For sysfs */ member
|
D | irqdesc.h | 99 struct kobject kobj; member
|
D | elevator.h | 114 struct kobject kobj; member
|
D | dma-buf.h | 522 struct kobject kobj; member
|
D | huge_mm.h | 96 ssize_t single_hugepage_flag_store(struct kobject *kobj, 100 ssize_t single_hugepage_flag_show(struct kobject *kobj,
|
D | efi.h | 977 struct kobject kobj; member 985 kobject_put(&var->kobj); in efivar_unregister() 1051 static inline int efi_runtime_map_init(struct kobject *kobj) in efi_runtime_map_init() argument
|
D | blk_types.h | 67 (&((_bdev)->bd_device.kobj))
|
D | i2c.h | 352 static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj) in kobj_to_i2c_client() argument 354 struct device * const dev = kobj_to_dev(kobj); in kobj_to_i2c_client()
|
D | fscache-cache.h | 58 struct kobject *kobj; /* system representation of this cache */ member
|
/include/rdma/ |
D | ib_sysfs.h | 34 struct ib_device *ib_port_sysfs_get_ibdev_kobj(struct kobject *kobj,
|
/include/acpi/ |
D | acpi_bus.h | 111 struct kobject kobj; member 119 struct kobject *kobj) in to_acpi_hotplug_profile() argument 121 return container_of(kobj, struct acpi_hotplug_profile, kobj); in to_acpi_hotplug_profile() 398 struct kobject kobj; member
|
D | cppc_acpi.h | 69 struct kobject kobj; member
|
/include/net/ |
D | bonding.h | 181 struct kobject kobj; member 185 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument 187 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
|