Lines Matching refs:elog_obj
20 struct elog_obj { struct
28 #define to_elog_obj(x) container_of(x, struct elog_obj, kobj) argument
32 ssize_t (*show)(struct elog_obj *elog, struct elog_attribute *attr,
34 ssize_t (*store)(struct elog_obj *elog, struct elog_attribute *attr,
39 static ssize_t elog_id_show(struct elog_obj *elog_obj, in elog_id_show() argument
43 return sprintf(buf, "0x%llx\n", elog_obj->id); in elog_id_show()
54 static ssize_t elog_type_show(struct elog_obj *elog_obj, in elog_type_show() argument
59 elog_obj->type, in elog_type_show()
60 elog_type_to_string(elog_obj->type)); in elog_type_show()
63 static ssize_t elog_ack_show(struct elog_obj *elog_obj, in elog_ack_show() argument
70 static ssize_t elog_ack_store(struct elog_obj *elog_obj, in elog_ack_store() argument
79 if (sysfs_remove_file_self(&elog_obj->kobj, &attr->attr)) { in elog_ack_store()
80 opal_send_ack_elog(elog_obj->id); in elog_ack_store()
81 kobject_put(&elog_obj->kobj); in elog_ack_store()
100 struct elog_obj *elog; in elog_attr_show()
116 struct elog_obj *elog; in elog_attr_store()
134 struct elog_obj *elog; in elog_release()
164 struct elog_obj *elog = to_elog_obj(kobj); in raw_attr_read()
190 struct elog_obj *elog; in create_elog_obj()