Lines Matching refs:record

40 	struct pstore_record *record;  member
56 if (private->record) { in free_pstore_private()
57 kvfree(private->record->buf); in free_pstore_private()
58 kfree(private->record->priv); in free_pstore_private()
59 kfree(private->record); in free_pstore_private()
111 rec = (struct pstore_ftrace_record *)(ps->record->buf + data->off); in pstore_ftrace_seq_show()
135 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_read()
138 ps->record->buf, ps->total_size); in pstore_file_read()
148 if (ps->record->type == PSTORE_TYPE_FTRACE) in pstore_file_open()
184 struct pstore_record *record = p->record; in pstore_unlink() local
187 if (!record->psi->erase) in pstore_unlink()
201 mutex_lock(&record->psi->read_mutex); in pstore_unlink()
202 record->psi->erase(record); in pstore_unlink()
203 mutex_unlock(&record->psi->read_mutex); in pstore_unlink()
324 if (pos->record->psi == psi) { in pstore_put_backend_records()
346 int pstore_mkfile(struct dentry *root, struct pstore_record *record) in pstore_mkfile() argument
353 size_t size = record->size + record->ecc_notice_size; in pstore_mkfile()
362 if (pos->record->type == record->type && in pstore_mkfile()
363 pos->record->id == record->id && in pstore_mkfile()
364 pos->record->psi == record->psi) in pstore_mkfile()
375 pstore_type_to_name(record->type), in pstore_mkfile()
376 record->psi->name, record->id, in pstore_mkfile()
377 record->compressed ? ".enc.z" : ""); in pstore_mkfile()
388 private->record = record; in pstore_mkfile()
392 if (record->time.tv_sec) in pstore_mkfile()
393 inode->i_mtime = inode_set_ctime_to_ts(inode, record->time); in pstore_mkfile()