Home
last modified time | relevance | path

Searched refs:kobj (Results 1 – 25 of 35) 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.h237 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 …]
Dcdev.h15 struct kobject kobj; member
31 void cdev_set_parent(struct cdev *p, struct kobject *kobj);
Dmdev.h84 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,
Dlivepatch.h72 struct kobject kobj; member
125 struct kobject kobj; member
168 struct kobject kobj; member
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()
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.h460 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()
Dpadata.h171 struct kobject kobj; member
Discsi_boot_sysfs.h68 struct kobject kobj; member
Dslub_def.h111 struct kobject kobj; /* For sysfs */ member
Delevator.h114 struct kobject kobj; member
Dirqdesc.h99 struct kobject kobj; member
Ddma-buf.h424 struct kobject kobj; member
Dhuge_mm.h98 ssize_t single_hugepage_flag_store(struct kobject *kobj,
102 ssize_t single_hugepage_flag_show(struct kobject *kobj,
Defi.h989 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
Di2c.h345 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/
Dkyber.h33 __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/
Dttm_memory.h67 struct kobject kobj; member
Dttm_bo_driver.h278 struct kobject kobj; member
/include/acpi/
Dcppc_acpi.h68 struct kobject kobj; member
Dacpi_bus.h109 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/
Dbonding.h182 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/
Domapfb_dss.h315 struct kobject kobj; member
370 struct kobject kobj; member
599 struct kobject kobj; member

12