Home
last modified time | relevance | path

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

12

/include/linux/
Dkobject.h82 int kobject_set_name(struct kobject *kobj, const char *name, ...);
84 int kobject_set_name_vargs(struct kobject *kobj, const char *fmt,
87 static inline const char *kobject_name(const struct kobject *kobj) in kobject_name() argument
89 return kobj->name; in kobject_name()
92 extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype);
94 int kobject_add(struct kobject *kobj, struct kobject *parent,
97 int kobject_init_and_add(struct kobject *kobj,
101 extern void kobject_del(struct kobject *kobj);
110 extern struct kobject *kobject_get(struct kobject *kobj);
112 struct kobject *kobj);
[all …]
Dsysfs.h222 int __must_check sysfs_create_dir_ns(struct kobject *kobj, const void *ns);
223 void sysfs_remove_dir(struct kobject *kobj);
224 int __must_check sysfs_rename_dir_ns(struct kobject *kobj, const char *new_name,
226 int __must_check sysfs_move_dir_ns(struct kobject *kobj,
234 int __must_check sysfs_create_file_ns(struct kobject *kobj,
237 int __must_check sysfs_create_files(struct kobject *kobj,
239 int __must_check sysfs_chmod_file(struct kobject *kobj,
241 struct kernfs_node *sysfs_break_active_protection(struct kobject *kobj,
244 void sysfs_remove_file_ns(struct kobject *kobj, const struct attribute *attr,
246 bool sysfs_remove_file_self(struct kobject *kobj, const struct attribute *attr);
[all …]
Dlivepatch.h61 struct kobject kobj; member
102 struct kobject kobj; member
122 struct kobject kobj; member
Dcdev.h14 struct kobject kobj; member
30 void cdev_set_parent(struct cdev *p, struct kobject *kobj);
Dkobject_ns.h52 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))
Discsi_boot_sysfs.h69 struct kobject kobj; member
Dslub_def.h87 struct kobject kobj; /* For sysfs */ member
Dpadata.h158 struct kobject kobj; member
Di2c.h239 static inline struct i2c_client *kobj_to_i2c_client(struct kobject *kobj) in kobj_to_i2c_client() argument
241 struct device * const dev = container_of(kobj, struct device, kobj); in kobj_to_i2c_client()
Ddevice.h772 struct kobject kobj; member
845 static inline struct device *kobj_to_dev(struct kobject *kobj) in kobj_to_dev() argument
847 return container_of(kobj, struct device, kobj); in kobj_to_dev()
859 return kobject_name(&dev->kobj); in dev_name()
917 return dev->kobj.uevent_suppress; in dev_get_uevent_suppress()
922 dev->kobj.uevent_suppress = val; in dev_set_uevent_suppress()
927 return dev->kobj.state_in_sysfs; in device_is_registered()
Delevator.h113 struct kobject kobj; member
Dof.h61 struct kobject kobj; member
88 kobject_init(&node->kobj, &of_node_ktype); in of_node_init()
95 return node && node->kobj.state_initialized; in of_node_is_initialized()
101 return node && node->kobj.state_in_sysfs; in of_node_is_attached()
Dcpufreq.h93 struct kobject kobj; member
534 struct kobject kobj; member
Dblk-mq.h61 struct kobject kobj; member
Dfscache-cache.h50 struct kobject *kobj; /* system representation of this cache */ member
Defi.h1135 struct kobject kobj; member
1163 kobject_put(&var->kobj); in efivar_unregister()
1228 static inline int efi_runtime_map_init(struct kobject *kobj) in efi_runtime_map_init() argument
Dmodule.h42 struct kobject kobj; member
Dgenhd.h154 struct kobject kobj; member
/include/drm/ttm/
Dttm_memory.h78 struct kobject kobj; member
Dttm_bo_driver.h468 struct kobject kobj; member
/include/acpi/
Dacpi_bus.h116 struct kobject kobj; member
124 struct kobject *kobj) in to_acpi_hotplug_profile() argument
126 return container_of(kobj, struct acpi_hotplug_profile, kobj); in to_acpi_hotplug_profile()
389 struct kobject kobj; member
/include/net/
Dbonding.h180 struct kobject kobj; member
184 static inline struct slave *to_slave(struct kobject *kobj) in to_slave() argument
186 return container_of(kobj, struct slave, kobj); in to_slave()
/include/video/
Domapdss.h406 struct kobject kobj; member
461 struct kobject kobj; member
691 struct kobject kobj; member
/include/net/bluetooth/
Dhci_core.h979 atomic_read(&d->dev.kobj.kref.refcount)); in hci_dev_put()
987 atomic_read(&d->dev.kobj.kref.refcount)); in hci_dev_hold()

12