Lines Matching refs:kobj_attribute

311 static ssize_t is_enabled_show(struct kobject *kobj, struct kobj_attribute *attr,  in is_enabled_show()
319 static struct kobj_attribute auth_is_pass_set = __ATTR_RO(is_enabled);
322 struct kobj_attribute *attr, in current_password_store()
341 static struct kobj_attribute auth_current_password = __ATTR_WO(current_password);
344 struct kobj_attribute *attr, in new_password_store()
388 static struct kobj_attribute auth_new_password = __ATTR_WO(new_password);
390 static ssize_t min_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in min_password_length_show()
398 static struct kobj_attribute auth_min_pass_length = __ATTR_RO(min_password_length);
400 static ssize_t max_password_length_show(struct kobject *kobj, struct kobj_attribute *attr, in max_password_length_show()
407 static struct kobj_attribute auth_max_pass_length = __ATTR_RO(max_password_length);
409 static ssize_t mechanism_show(struct kobject *kobj, struct kobj_attribute *attr, in mechanism_show()
414 static struct kobj_attribute auth_mechanism = __ATTR_RO(mechanism);
416 static ssize_t encoding_show(struct kobject *kobj, struct kobj_attribute *attr, in encoding_show()
425 struct kobj_attribute *attr, in encoding_store()
440 static struct kobj_attribute auth_encoding = __ATTR_RW(encoding);
442 static ssize_t kbdlang_show(struct kobject *kobj, struct kobj_attribute *attr, in kbdlang_show()
451 struct kobj_attribute *attr, in kbdlang_store()
467 static struct kobj_attribute auth_kbdlang = __ATTR_RW(kbdlang);
469 static ssize_t role_show(struct kobject *kobj, struct kobj_attribute *attr, in role_show()
476 static struct kobj_attribute auth_role = __ATTR_RO(role);
496 static ssize_t display_name_show(struct kobject *kobj, struct kobj_attribute *attr, in display_name_show()
504 static ssize_t current_value_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in current_value_show()
524 static ssize_t possible_values_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) in possible_values_show()
535 struct kobj_attribute *attr, in current_value_store()
598 static struct kobj_attribute attr_displ_name = __ATTR_RO(display_name);
600 static struct kobj_attribute attr_possible_values = __ATTR_RO(possible_values);
602 static struct kobj_attribute attr_current_val = __ATTR_RW_MODE(current_value, 0600);
618 struct kobj_attribute *kattr; in tlmi_attr_show()
620 kattr = container_of(attr, struct kobj_attribute, attr); in tlmi_attr_show()
629 struct kobj_attribute *kattr; in tlmi_attr_store()
631 kattr = container_of(attr, struct kobj_attribute, attr); in tlmi_attr_store()
667 static ssize_t pending_reboot_show(struct kobject *kobj, struct kobj_attribute *attr, in pending_reboot_show()
673 static struct kobj_attribute pending_reboot = __ATTR_RO(pending_reboot);
676 static ssize_t debug_cmd_store(struct kobject *kobj, struct kobj_attribute *attr, in debug_cmd_store()
731 static struct kobj_attribute debug_cmd = __ATTR_WO(debug_cmd);