cregit-Linux how code gets into the kernel

Release 4.18 fs/pstore/internal.h

Directory: fs/pstore
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __PSTORE_INTERNAL_H__

#define __PSTORE_INTERNAL_H__

#include <linux/types.h>
#include <linux/time.h>
#include <linux/pstore.h>


#define PSTORE_DEFAULT_KMSG_BYTES 10240
extern unsigned long kmsg_bytes;

#ifdef CONFIG_PSTORE_FTRACE
extern void pstore_register_ftrace(void);
extern void pstore_unregister_ftrace(void);
#else

static inline void pstore_register_ftrace(void) {}

Contributors

PersonTokensPropCommitsCommitProp
Anton Vorontsov8100.00%1100.00%
Total8100.00%1100.00%


static inline void pstore_unregister_ftrace(void) {}

Contributors

PersonTokensPropCommitsCommitProp
Geliang Tang8100.00%1100.00%
Total8100.00%1100.00%

#endif #ifdef CONFIG_PSTORE_PMSG extern void pstore_register_pmsg(void); extern void pstore_unregister_pmsg(void); #else
static inline void pstore_register_pmsg(void) {}

Contributors

PersonTokensPropCommitsCommitProp
Mark Salyzyn8100.00%1100.00%
Total8100.00%1100.00%


static inline void pstore_unregister_pmsg(void) {}

Contributors

PersonTokensPropCommitsCommitProp
Geliang Tang8100.00%1100.00%
Total8100.00%1100.00%

#endif extern struct pstore_info *psinfo; extern void pstore_set_kmsg_bytes(int); extern void pstore_get_records(int); extern void pstore_get_backend_records(struct pstore_info *psi, struct dentry *root, int quiet); extern int pstore_mkfile(struct dentry *root, struct pstore_record *record); extern bool pstore_is_mounted(void); extern void pstore_record_init(struct pstore_record *record, struct pstore_info *psi); /* Called during module_init() */ extern void __init pstore_choose_compression(void); #endif

Overall Contributors

PersonTokensPropCommitsCommitProp
Kees Cook4926.49%425.00%
Anton Vorontsov4524.32%318.75%
Geliang Tang3116.76%212.50%
Tony Luck2714.59%318.75%
Mark Salyzyn2211.89%16.25%
David Howells94.86%16.25%
Greg Kroah-Hartman10.54%16.25%
Matthew Garrett10.54%16.25%
Total185100.00%16100.00%
Directory: fs/pstore
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.