cregit-Linux how code gets into the kernel

Release 4.16 include/linux/jump_label_ratelimit.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_JUMP_LABEL_RATELIMIT_H

#define _LINUX_JUMP_LABEL_RATELIMIT_H

#include <linux/jump_label.h>
#include <linux/workqueue.h>

#if defined(CC_HAVE_ASM_GOTO) && defined(CONFIG_JUMP_LABEL)

struct static_key_deferred {
	
struct static_key key;
	
unsigned long timeout;
	
struct delayed_work work;
};
#endif

#ifdef HAVE_JUMP_LABEL
extern void static_key_slow_dec_deferred(struct static_key_deferred *key);
extern void static_key_deferred_flush(struct static_key_deferred *key);
extern void
jump_label_rate_limit(struct static_key_deferred *key, unsigned long rl);

#else	/* !HAVE_JUMP_LABEL */

struct static_key_deferred {
	
struct static_key  key;
};

static inline void static_key_slow_dec_deferred(struct static_key_deferred *key) { STATIC_KEY_CHECK_USE(key); static_key_slow_dec(&key->key); }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Jones2080.00%133.33%
Borislav Petkov312.00%133.33%
Hannes Frederic Sowa28.00%133.33%
Total25100.00%3100.00%


static inline void static_key_deferred_flush(struct static_key_deferred *key) { STATIC_KEY_CHECK_USE(key); }

Contributors

PersonTokensPropCommitsCommitProp
David Matlack1482.35%150.00%
Borislav Petkov317.65%150.00%
Total17100.00%2100.00%


static inline void jump_label_rate_limit(struct static_key_deferred *key, unsigned long rl) { STATIC_KEY_CHECK_USE(key); }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Jones1466.67%133.33%
Hannes Frederic Sowa419.05%133.33%
Borislav Petkov314.29%133.33%
Total21100.00%3100.00%

#endif /* HAVE_JUMP_LABEL */ #endif /* _LINUX_JUMP_LABEL_RATELIMIT_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Andrew Jones12175.16%120.00%
David Matlack2414.91%120.00%
Borislav Petkov95.59%120.00%
Hannes Frederic Sowa63.73%120.00%
Greg Kroah-Hartman10.62%120.00%
Total161100.00%5100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.