Home
last modified time | relevance | path

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

12

/include/linux/
Dkobject.h90 __printf(2, 3) int kobject_set_name(struct kobject *kobj, const char *name, ...);
91 __printf(2, 0) int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, va_list vargs);
93 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name() argument
95 return kobj->name; in kobject_name()
98 void kobject_init(struct kobject *kobj, const struct kobj_type *ktype);
99 __printf(3, 4) __must_check int kobject_add(struct kobject *kobj,
102 __printf(4, 5) __must_check int kobject_init_and_add(struct kobject *kobj,
107 void kobject_del(struct kobject *kobj);
114 struct kobject *kobject_get(struct kobject *kobj);
115 struct kobject * __must_check kobject_get_unless_zero(struct kobject *kobj);
[all …]
Dsysfs.h149 struct kobject *kobj, struct attribute *attr, int n) \
151 if (n == 0 && !name##_group_visible(kobj)) \
153 return name##_attr_visible(kobj, attr, n); \
181 struct kobject *kobj, struct attribute *a, int n) \
183 if (n == 0 && !name##_group_visible(kobj)) \
196 struct kobject *kobj, struct bin_attribute *attr, int n) \
198 if (n == 0 && !name##_group_visible(kobj)) \
200 return name##_attr_visible(kobj, attr, n); \
205 struct kobject *kobj, struct bin_attribute *a, int n) \
207 if (n == 0 && !name##_group_visible(kobj)) \
[all …]
Dcdev.h15 struct kobject kobj; member
31 void cdev_set_parent(struct cdev *p, struct kobject *kobj);
Dw1.h313 static inline struct w1_slave* kobj_to_w1_slave(struct kobject *kobj) in kobj_to_w1_slave() argument
315 return dev_to_w1_slave(container_of(kobj, struct device, kobj)); in kobj_to_w1_slave()
Dlivepatch.h71 struct kobject kobj; member
124 struct kobject kobj; member
167 struct kobject kobj; member
Dkobject_ns.h51 const struct kobj_ns_type_operations *kobj_ns_ops(const struct kobject *kobj);
Dhuge_mm.h59 ssize_t single_hugepage_flag_store(struct kobject *kobj,
63 ssize_t single_hugepage_flag_show(struct kobject *kobj,
314 struct kobject kobj; member
319 #define to_thpsize(kobj) container_of(kobj, struct thpsize, kobj) argument
Dmdev.h35 struct kobject kobj; member
Ddevice.h606 struct kobject kobj; member
754 #define kobj_to_dev(__kobj) container_of_const(__kobj, struct device, kobj)
780 return kobject_name(&dev->kobj); in dev_name()
849 return dev->kobj.uevent_suppress; in dev_get_uevent_suppress()
854 dev->kobj.uevent_suppress = val; in dev_set_uevent_suppress()
859 return dev->kobj.state_in_sysfs; in device_is_registered()
Discsi_boot_sysfs.h68 struct kobject kobj; member
Dpadata.h173 struct kobject kobj; member
Dcpufreq.h91 struct kobject kobj; member
656 struct kobject kobj; member
665 static inline struct gov_attr_set *to_gov_attr_set(struct kobject *kobj) in to_gov_attr_set() argument
667 return container_of(kobj, struct gov_attr_set, kobj); in to_gov_attr_set()
Dirqdesc.h112 struct kobject kobj; member
Ddma-buf.h526 struct kobject kobj; member
Dnfs_fs_sb.h289 struct kobject kobj; member
Dblk_types.h92 (&((_bdev)->bd_device.kobj))
Di2c.h362 static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj) in kobj_to_i2c_client() argument
364 struct device * const dev = kobj_to_dev(kobj); in kobj_to_i2c_client()
Dof.h60 struct kobject kobj; member
116 kobject_init(&node->kobj, &of_node_ktype); in of_node_init()
122 #define of_node_kobj(n) (&(n)->kobj)
Dmodule.h47 struct kobject kobj; member
/include/rdma/
Dib_sysfs.h34 struct ib_device *ib_port_sysfs_get_ibdev_kobj(struct kobject *kobj,
/include/net/
Dnetdev_rx_queue.h19 struct kobject kobj; member
Dbonding.h187 struct kobject kobj; member
191 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
193 return container_of(kobj, struct slave, kobj); in to_slave()
/include/acpi/
Dacpi_bus.h118 struct kobject kobj; member
126 struct kobject *kobj) in to_acpi_hotplug_profile() argument
128 return container_of(kobj, struct acpi_hotplug_profile, kobj); in to_acpi_hotplug_profile()
507 struct kobject kobj; member
Dcppc_acpi.h71 struct kobject kobj; member
/include/video/
Domapfb_dss.h315 struct kobject kobj; member
370 struct kobject kobj; member
599 struct kobject kobj; member

12