mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
638c1fd303
Some pstore implementations may not have a static context, so extend the API to pass the pstore_info struct to all calls and allow for a context pointer. Signed-off-by: Matthew Garrett <mjg@redhat.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
7 lines
273 B
C
7 lines
273 B
C
extern void pstore_set_kmsg_bytes(int);
|
|
extern void pstore_get_records(void);
|
|
extern int pstore_mkfile(enum pstore_type_id, char *psname, u64 id,
|
|
char *data, size_t size,
|
|
struct timespec time, struct pstore_info *psi);
|
|
extern int pstore_is_mounted(void);
|