cregit-Linux how code gets into the kernel

Release 4.7 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
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 jonesandrew jones2086.96%150.00%
hannes frederic sowahannes frederic sowa313.04%150.00%
Total23100.00%2100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
andrew jonesandrew jones1473.68%150.00%
hannes frederic sowahannes frederic sowa526.32%150.00%
Total19100.00%2100.00%

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

Overall Contributors

PersonTokensPropCommitsCommitProp
andrew jonesandrew jones12193.80%150.00%
hannes frederic sowahannes frederic sowa86.20%150.00%
Total129100.00%2100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
{% endraw %}