Searched refs:ktype (Results 1 – 2 of 2) sorted by relevance
35 return kobj->ktype->namespace(kobj); in kobject_namespace()53 if (kobj->ktype->get_ownership) in kobject_get_ownership()54 kobj->ktype->get_ownership(kobj, uid, gid); in kobject_get_ownership()85 const struct kobj_type *ktype = get_ktype(kobj); in create_dir() local99 if (ktype) { in create_dir()100 error = sysfs_create_groups(kobj, ktype->default_groups); in create_dir()357 void kobject_init(struct kobject *kobj, struct kobj_type *ktype) in kobject_init() argument365 if (!ktype) { in kobject_init()377 kobj->ktype = ktype; in kobject_init()472 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, in kobject_init_and_add() argument[all …]
244 ns = kobj->ktype->namespace(kobj); in kobj_usermode_filter()404 if (ops && ops->netlink_ns && kobj->ktype->namespace) in kobject_uevent_net_broadcast()406 net = kobj->ktype->namespace(kobj); in kobject_uevent_net_broadcast()