Home
last modified time | relevance | path

Searched refs:kobj (Results 1 – 25 of 33) sorted by relevance

12

/include/linux/
Dkobject.h89 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 …]
Dsysfs.h245 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 …]
Dcdev.h15 struct kobject kobj; member
31 void cdev_set_parent(struct cdev *p, struct kobject *kobj);
Dw1.h312 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()
Dlivepatch.h72 struct kobject kobj; member
125 struct kobject kobj; member
168 struct kobject kobj; member
Dkobject_ns.h51 const struct kobj_ns_type_operations *kobj_ns_ops(struct kobject *kobj);
Dpktcdvd.h157 struct kobject kobj; member
161 ((struct pktcdvd_kobj*)container_of(_k,struct pktcdvd_kobj,kobj))
Ddevice.h475 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()
Dpadata.h171 struct kobject kobj; member
Discsi_boot_sysfs.h68 struct kobject kobj; member
Dcpufreq.h91 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()
Dslub_def.h117 struct kobject kobj; /* For sysfs */ member
Dirqdesc.h99 struct kobject kobj; member
Delevator.h114 struct kobject kobj; member
Ddma-buf.h522 struct kobject kobj; member
Dhuge_mm.h96 ssize_t single_hugepage_flag_store(struct kobject *kobj,
100 ssize_t single_hugepage_flag_show(struct kobject *kobj,
Defi.h977 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
Dblk_types.h67 (&((_bdev)->bd_device.kobj))
Di2c.h352 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()
Dfscache-cache.h58 struct kobject *kobj; /* system representation of this cache */ member
/include/rdma/
Dib_sysfs.h34 struct ib_device *ib_port_sysfs_get_ibdev_kobj(struct kobject *kobj,
/include/acpi/
Dacpi_bus.h111 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
Dcppc_acpi.h69 struct kobject kobj; member
/include/net/
Dbonding.h181 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/
Domapfb_dss.h315 struct kobject kobj; member
370 struct kobject kobj; member
599 struct kobject kobj; member

12