Lines Matching full:record
24 * pstore record types (see fs/pstore/platform.c for pstore_type_names[])
51 * struct pstore_record - details of a pstore record entry
53 * @type: pstore record type
54 * @id: per-type unique identifier for record
55 * @time: timestamp of the record
56 * @buf: pointer to record contents
62 * when the record is freed.
68 * @part: position in a multipart record
132 * Read next available backend record. Called after a successful
135 * @record:
136 * pointer to record to populate. @buf should be allocated
141 * Returns record size on success, zero when no more records are
145 * A newly generated record needs to be written to backend storage.
147 * @record:
148 * pointer to record metadata. When @type is PSTORE_TYPE_DMESG,
153 * can help identify this record to a future @erase callback.
161 * Perform a frontend write to a backend record, using a specified
163 * @record @buf.
165 * @record: pointer to record metadata.
171 * Delete a record from backend storage. Different backends
172 * identify records differently, so entire original record is
176 * @record: pointer to record metadata.
197 ssize_t (*read)(struct pstore_record *record);
198 int (*write)(struct pstore_record *record);
199 int (*write_user)(struct pstore_record *record,
201 int (*erase)(struct pstore_record *record);