Lines Matching defs:kobj
84 static int store_password_instance(struct kobject *kobj, const char *buf,
96 id = get_password_instance_id(kobj);
117 static ssize_t current_password_store(struct kobject *kobj,
121 return store_password_instance(kobj, buf, count, true);
126 static ssize_t new_password_store(struct kobject *kobj,
130 return store_password_instance(kobj, buf, count, true);
141 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf)
143 if (!strcmp(kobj->name, SETUP_PASSWD))
146 if (!strcmp(kobj->name, POWER_ON_PASSWD))
154 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr,
157 int i = get_password_instance_id(kobj);