Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/
Ddm-path-selector.c31 struct ps_internal *psi; in __find_path_selector_type() local
33 list_for_each_entry(psi, &_path_selectors, list) { in __find_path_selector_type()
34 if (!strcmp(name, psi->pst.name)) in __find_path_selector_type()
35 return psi; in __find_path_selector_type()
43 struct ps_internal *psi; in get_path_selector() local
46 psi = __find_path_selector_type(name); in get_path_selector()
47 if (psi && !try_module_get(psi->pst.module)) in get_path_selector()
48 psi = NULL; in get_path_selector()
51 return psi; in get_path_selector()
56 struct ps_internal *psi; in dm_get_path_selector() local
[all …]
/linux-4.1.27/fs/pstore/
Dplatform.c401 struct pstore_info *psi) in pstore_write_compat() argument
403 return psi->write_buf(type, reason, id, part, psinfo->buf, compressed, in pstore_write_compat()
404 size, psi); in pstore_write_compat()
416 int pstore_register(struct pstore_info *psi) in pstore_register() argument
418 struct module *owner = psi->owner; in pstore_register()
420 if (backend && strcmp(backend, psi->name)) in pstore_register()
429 if (!psi->write) in pstore_register()
430 psi->write = pstore_write_compat; in pstore_register()
431 psinfo = psi; in pstore_register()
447 if ((psi->flags & PSTORE_FLAGS_FRAGILE) == 0) { in pstore_register()
[all …]
Dinode.c50 struct pstore_info *psi; member
200 if (p->psi->erase) in pstore_unlink()
201 p->psi->erase(p->type, p->id, p->count, in pstore_unlink()
202 d_inode(dentry)->i_ctime, p->psi); in pstore_unlink()
302 struct timespec time, struct pstore_info *psi) in pstore_mkfile() argument
316 pos->psi == psi) { in pstore_mkfile()
337 private->psi = psi; in pstore_mkfile()
Dram.c112 static int ramoops_pstore_open(struct pstore_info *psi) in ramoops_pstore_open() argument
114 struct ramoops_context *cxt = psi->data; in ramoops_pstore_open()
184 struct pstore_info *psi) in ramoops_pstore_read() argument
188 struct ramoops_context *cxt = psi->data; in ramoops_pstore_read()
256 struct pstore_info *psi) in ramoops_pstore_write_buf() argument
258 struct ramoops_context *cxt = psi->data; in ramoops_pstore_write_buf()
317 struct timespec time, struct pstore_info *psi) in ramoops_pstore_erase() argument
319 struct ramoops_context *cxt = psi->data; in ramoops_pstore_erase()
Dinternal.h61 struct pstore_info *psi);
/linux-4.1.27/include/linux/
Dpstore.h57 int (*open)(struct pstore_info *psi);
58 int (*close)(struct pstore_info *psi);
61 bool *compressed, struct pstore_info *psi);
65 size_t size, struct pstore_info *psi);
69 size_t size, struct pstore_info *psi);
72 struct pstore_info *psi);
83 pstore_register(struct pstore_info *psi) in pstore_register() argument
/linux-4.1.27/drivers/firmware/efi/
Defi-pstore.c19 static int efi_pstore_open(struct pstore_info *psi) in efi_pstore_open() argument
21 psi->data = NULL; in efi_pstore_open()
25 static int efi_pstore_close(struct pstore_info *psi) in efi_pstore_close() argument
27 psi->data = NULL; in efi_pstore_close()
213 struct pstore_info *psi) in efi_pstore_read() argument
231 (struct efivar_entry **)&psi->data); in efi_pstore_read()
241 struct pstore_info *psi) in efi_pstore_write() argument
256 size, psi->buf); in efi_pstore_write()
322 struct timespec time, struct pstore_info *psi) in efi_pstore_erase() argument
/linux-4.1.27/drivers/acpi/apei/
Derst.c931 static int erst_open_pstore(struct pstore_info *psi);
932 static int erst_close_pstore(struct pstore_info *psi);
935 bool *compressed, struct pstore_info *psi);
938 size_t size, struct pstore_info *psi);
940 struct timespec time, struct pstore_info *psi);
974 static int erst_open_pstore(struct pstore_info *psi) in erst_open_pstore() argument
986 static int erst_close_pstore(struct pstore_info *psi) in erst_close_pstore() argument
995 bool *compressed, struct pstore_info *psi) in erst_reader() argument
1067 size_t size, struct pstore_info *psi) in erst_writer() argument
1116 struct timespec time, struct pstore_info *psi) in erst_clearer() argument
/linux-4.1.27/arch/powerpc/kernel/
Dnvram_64.c384 static int nvram_pstore_open(struct pstore_info *psi) in nvram_pstore_open() argument
411 struct pstore_info *psi) in nvram_pstore_write() argument
448 bool *compressed, struct pstore_info *psi) in nvram_pstore_read() argument