Home
last modified time | relevance | path

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

/lib/
Dkobject.c28 const void *kobject_namespace(struct kobject *kobj) in kobject_namespace() argument
30 const struct kobj_ns_type_operations *ns_ops = kobj_ns_ops(kobj); in kobject_namespace()
35 return kobj->ktype->namespace(kobj); in kobject_namespace()
48 void kobject_get_ownership(struct kobject *kobj, kuid_t *uid, kgid_t *gid) in kobject_get_ownership() argument
53 if (kobj->ktype->get_ownership) in kobject_get_ownership()
54 kobj->ktype->get_ownership(kobj, uid, gid); in kobject_get_ownership()
66 static int populate_dir(struct kobject *kobj) in populate_dir() argument
68 struct kobj_type *t = get_ktype(kobj); in populate_dir()
75 error = sysfs_create_file(kobj, attr); in populate_dir()
83 static int create_dir(struct kobject *kobj) in create_dir() argument
[all …]
Dkobject_uevent.c192 int kobject_synth_uevent(struct kobject *kobj, const char *buf, size_t count) in kobject_synth_uevent() argument
208 r = kobject_uevent_env(kobj, action, no_uuid_envp); in kobject_synth_uevent()
222 r = kobject_uevent_env(kobj, action, env->envp); in kobject_synth_uevent()
226 devpath = kobject_get_path(kobj, GFP_KERNEL); in kobject_synth_uevent()
236 static int kobj_usermode_filter(struct kobject *kobj) in kobj_usermode_filter() argument
240 ops = kobj_ns_ops(kobj); in kobj_usermode_filter()
244 ns = kobj->ktype->namespace(kobj); in kobj_usermode_filter()
380 static int kobject_uevent_net_broadcast(struct kobject *kobj, in kobject_uevent_net_broadcast() argument
391 ops = kobj_ns_ops(kobj); in kobject_uevent_net_broadcast()
392 if (!ops && kobj->kset) { in kobject_uevent_net_broadcast()
[all …]