cregit-Linux how code gets into the kernel

Release 4.12 include/linux/jump_label_ratelimit.h

Directory: include/linux
#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(); static_key_slow_dec(&key->key); }

Contributors

PersonTokensPropCommitsCommitProp
Andrew Jones2086.96%150.00%
Hannes Frederic Sowa313.04%150.00%
Total23100.00%2100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
David Matlack15100.00%1100.00%
Total15100.00%1100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
Andrew Jones1473.68%150.00%
Hannes Frederic Sowa526.32%150.00%
Total19100.00%2100.00%

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

Overall Contributors

PersonTokensPropCommitsCommitProp
Andrew Jones12178.57%133.33%
David Matlack2516.23%133.33%
Hannes Frederic Sowa85.19%133.33%
Total154100.00%3100.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.