Searched refs:kobj (Results 1 – 2 of 2) sorted by relevance
/lib/ |
D | kobject.c | 30 static int populate_dir(struct kobject *kobj) in populate_dir() argument 32 struct kobj_type *t = get_ktype(kobj); in populate_dir() 39 error = sysfs_create_file(kobj, attr); in populate_dir() 47 static int create_dir(struct kobject *kobj) in create_dir() argument 50 error = sysfs_create_dir(kobj); in create_dir() 52 error = populate_dir(kobj); in create_dir() 54 sysfs_remove_dir(kobj); in create_dir() 59 static int get_kobj_path_length(struct kobject *kobj) in get_kobj_path_length() argument 62 struct kobject *parent = kobj; in get_kobj_path_length() 77 static void fill_kobj_path(struct kobject *kobj, char *path, int length) in fill_kobj_path() argument [all …]
|
D | kobject_uevent.c | 91 struct kobject *kobj = data; in kobj_bcast_filter() local 94 ops = kobj_ns_ops(kobj); in kobj_bcast_filter() 97 ns = kobj->ktype->namespace(kobj); in kobj_bcast_filter() 106 static int kobj_usermode_filter(struct kobject *kobj) in kobj_usermode_filter() argument 110 ops = kobj_ns_ops(kobj); in kobj_usermode_filter() 113 ns = kobj->ktype->namespace(kobj); in kobj_usermode_filter() 131 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, in kobject_uevent_env() argument 148 kobject_name(kobj), kobj, __func__); in kobject_uevent_env() 151 top_kobj = kobj; in kobject_uevent_env() 157 "without kset!\n", kobject_name(kobj), kobj, in kobject_uevent_env() [all …]
|