cregit-Linux how code gets into the kernel

Release 4.14 include/linux/bottom_half.h

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

#define _LINUX_BH_H

#include <linux/preempt.h>

#ifdef CONFIG_TRACE_IRQFLAGS
extern void __local_bh_disable_ip(unsigned long ip, unsigned int cnt);
#else

static __always_inline void __local_bh_disable_ip(unsigned long ip, unsigned int cnt) { preempt_count_add(cnt); barrier(); }

Contributors

PersonTokensPropCommitsCommitProp
Peter Zijlstra23100.00%1100.00%
Total23100.00%1100.00%

#endif
static inline void local_bh_disable(void) { __local_bh_disable_ip(_THIS_IP_, SOFTIRQ_DISABLE_OFFSET); }

Contributors

PersonTokensPropCommitsCommitProp
Peter Zijlstra16100.00%1100.00%
Total16100.00%1100.00%

extern void _local_bh_enable(void); extern void __local_bh_enable_ip(unsigned long ip, unsigned int cnt);
static inline void local_bh_enable_ip(unsigned long ip) { __local_bh_enable_ip(ip, SOFTIRQ_DISABLE_OFFSET); }

Contributors

PersonTokensPropCommitsCommitProp
Peter Zijlstra1161.11%150.00%
Andrew Morton738.89%150.00%
Total18100.00%2100.00%


static inline void local_bh_enable(void) { __local_bh_enable_ip(_THIS_IP_, SOFTIRQ_DISABLE_OFFSET); }

Contributors

PersonTokensPropCommitsCommitProp
Peter Zijlstra16100.00%1100.00%
Total16100.00%1100.00%

#endif /* _LINUX_BH_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Peter Zijlstra9273.02%133.33%
Andrew Morton3326.19%133.33%
Greg Kroah-Hartman10.79%133.33%
Total126100.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.