Home
last modified time | relevance | path

Searched refs:psi (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/fs/pstore/
Dplatform.c370 record->psi = psinfo; in pstore_record_init()
530 ret = record->psi->write(record); in pstore_write_user_compat()
546 int pstore_register(struct pstore_info *psi) in pstore_register() argument
548 struct module *owner = psi->owner; in pstore_register()
550 if (backend && strcmp(backend, psi->name)) { in pstore_register()
551 pr_warn("ignoring unexpected backend '%s'\n", psi->name); in pstore_register()
556 if (!psi->flags) { in pstore_register()
558 psi->name); in pstore_register()
563 if (!psi->read || !psi->write) { in pstore_register()
565 psi->name); in pstore_register()
[all …]
Dinode.c194 if (!record->psi->erase) in pstore_unlink()
197 mutex_lock(&record->psi->read_mutex); in pstore_unlink()
198 record->psi->erase(record); in pstore_unlink()
199 mutex_unlock(&record->psi->read_mutex); in pstore_unlink()
321 pos->record->psi == record->psi) { in pstore_mkfile()
340 record->psi->name, record->id, in pstore_mkfile()
345 record->psi->name, record->id); in pstore_mkfile()
349 record->psi->name, record->id); in pstore_mkfile()
353 record->psi->name, record->id); in pstore_mkfile()
357 record->psi->name, record->id); in pstore_mkfile()
[all …]
Dinternal.h32 extern void pstore_get_backend_records(struct pstore_info *psi,
38 struct pstore_info *psi);
Dram.c115 static int ramoops_pstore_open(struct pstore_info *psi) in ramoops_pstore_open() argument
117 struct ramoops_context *cxt = psi->data; in ramoops_pstore_open()
244 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_read()
381 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write()
467 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_write_user()
479 struct ramoops_context *cxt = record->psi->data; in ramoops_pstore_erase()
Dftrace.c44 .psi = psinfo, in pstore_ftrace_call()
/linux-4.19.296/include/linux/
Dpstore.h71 struct pstore_info *psi; member
185 int (*open)(struct pstore_info *psi);
186 int (*close)(struct pstore_info *psi);