aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
AgeCommit message (Expand)AuthorFilesLines
2024-03-18tracing: Support to dump instance traces by ftrace_dump_on_oopsHuang Yiwei1-0/+1
2024-02-29kernel.h: Move lib/cmdline.c prototypes to string.hAndy Shevchenko1-6/+0
2024-02-29kernel.h: Move upper_*_bits() and lower_*_bits() to wordpart.hAndy Shevchenko1-28/+2
2024-02-01kernel.h: removed REPEAT_BYTE from kernel.hTanzir Hasan1-8/+0
2023-10-03kernel.h: Move ARRAY_SIZE() to a separate headerAlejandro Colomar1-6/+1
2023-08-21lib/vsprintf: split out sprintf() and friendsAndy Shevchenko1-29/+1
2023-08-18kernel.h: split out COUNT_ARGS() and CONCATENATE() to args.hAndy Shevchenko1-7/+0
2023-04-08kernel.h: split the hexadecimal related helpers to hex.hAndy Shevchenko1-28/+1
2023-02-18tracing: Always use canonical ftrace pathRoss Zwisler1-1/+1
2022-04-27hex2bin: make the function hex_to_bin constant-timeMikulas Patocka1-1/+1
2022-04-11block: move lower_48_bits() to blockKeith Busch1-9/+0
2022-03-26Merge tag 'for-5.18/64bit-pi-2022-03-25' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+9
2022-03-07linux/kernel: introduce lower_48_bits functionKeith Busch1-0/+9
2022-02-19sched/preempt: Add PREEMPT_DYNAMIC using static keysMark Rutland1-1/+6
2022-01-20Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+9
2022-01-20kernel.h: include a note to discourage people from including it in headersAndy Shevchenko1-0/+9
2021-12-13exit: Rename complete_and_exit to kthread_complete_and_exitEric W. Biederman1-1/+0
2021-11-11preempt: Restore preemption model selection configsValentin Schneider1-1/+1
2021-11-09Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-37/+2
2021-11-09sections: move is_kernel_inittext() into sections.hKefeng Wang1-1/+0
2021-11-09sections: move and rename core_kernel_data() to is_kernel_core_data()Kefeng Wang1-1/+0
2021-11-09kernel.h: split out instruction pointer accessorsStephen Rothwell1-3/+1
2021-11-09kernel.h: split out container_of() and typeof_member() macrosAndy Shevchenko1-32/+1
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+1
2021-11-06mm: create a new system state and fix core_kernel_text()Christophe Leroy1-0/+1
2021-10-01sched: Make RCU nest depth distinct in __might_resched()Thomas Gleixner1-2/+2
2021-10-01sched: Remove preempt_offset argument from __might_sleep()Thomas Gleixner1-4/+3
2021-10-01sched: Clean up the might_sleep() underscore zooThomas Gleixner1-3/+3
2021-08-19isystem: ship and use stdarg.hAlexey Dobriyan1-1/+1
2021-07-02Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-225/+2
2021-07-01kernel.h: split out kstrtox() and simple_strtox() to a separate headerAndy Shevchenko1-142/+1
2021-07-01kernel.h: split out panic and oops helpersAndy Shevchenko1-83/+1
2021-06-30Merge tag 'net-next-5.14' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds1-0/+12
2021-06-29slub: force on no_hash_pointers when slub_debug is enabledStephen Boyd1-0/+2
2021-06-11ice: add low level PTP clock access functionsJacob Keller1-0/+12
2021-05-08Merge tag 'kbuild-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-0/+2
2021-05-09linux/kconfig.h: replace IF_ENABLED() with PTR_IF() in <linux/kernel.h>Masahiro Yamada1-0/+2
2021-05-06kernel.h: drop inclusion in bitmap.hAndy Shevchenko1-8/+1
2021-02-17sched: Harden PREEMPT_DYNAMICPeter Zijlstra1-1/+1
2021-02-17preempt/dynamic: Provide cond_resched() and might_resched() static callsPeter Zijlstra (Intel)1-4/+19
2020-12-15kernel.h: split out mathematical helpersAndy Shevchenko1-170/+3
2020-12-14Merge tag 'sched-core-2020-12-14' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-7/+14
2020-11-24sched: Make migrate_disable/enable() independent of RTThomas Gleixner1-7/+14
2020-11-19rcu: Panic after fixed number of stallschao1-0/+1
2020-10-25treewide: Convert macro and uses of __section(foo) to __section("foo")Joe Perches1-3/+3
2020-10-16kernel.h: split out min()/max() et al. helpersAndy Shevchenko1-149/+1
2020-10-13Merge tag 'printk-for-5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2020-09-15kernel.h: Move oops_in_progress to printk.hAndy Shevchenko1-1/+0
2020-08-28kernel.h: Silence sparse warning in lower_32_bitsHerbert Xu1-1/+1
2020-08-12panic: make print_oops_end_marker() staticYue Hu1-1/+0
2020-08-12kernel/panic.c: make oops_may_print() return boolTiezhu Yang1-1/+1
2020-08-12kstrto*: do not describe simple_strto*() as obsolete/replacedKars Mulder1-2/+2
2020-08-12kstrto*: correct documentation references to simple_strto*()Kars Mulder1-2/+2
2020-08-12kernel.h: remove duplicate include of asm/div64.hArvind Sankar1-1/+0
2020-07-27linux/kernel.h: Add PTR_ALIGN_DOWN macroKishon Vijay Abraham I1-0/+1
2020-06-08panic: add sysctl to dump all CPUs backtraces on oops eventGuilherme G. Piccoli1-0/+6
2020-06-08kernel: add panic_on_taintRafael Aquini1-0/+3
2020-02-20sched: Provide cant_migrate()Thomas Gleixner1-0/+7
2019-12-30kernel.h: Remove unused FIELD_SIZEOF()Kees Cook1-9/+0
2019-12-04kernel.h: update comment about simple_strto<foo>() functionsAndy Shevchenko1-5/+14
2019-11-25locking/refcount: Remove unused 'refcount_error_report()' functionWill Deacon1-7/+0
2019-09-07kernel.h: Add non_block_start/end()Daniel Vetter1-1/+22
2019-07-16include/linux/kernel.h: add typeof_member() macroAlexey Dobriyan1-0/+2
2019-06-29linux/kernel.h: fix overflow for DIV_ROUND_UP_ULLVinod Koul1-1/+2
2019-05-14lib/math: move int_pow() from pwm_bl.c for wider useAndy Shevchenko1-0/+1
2019-04-22Merge tag 'v5.1-rc6' into for-5.2/blockJens Axboe1-2/+2
2019-04-06block: remove CONFIG_LBDAFChristoph Hellwig1-12/+2
2019-04-03linux/kernel.h: Use parentheses around argument in u64_to_user_ptr()Jann Horn1-2/+2
2019-03-07linux/kernel.h: split *_MAX and *_MIN macros into <linux/limits.h>Masahiro Yamada1-28/+1
2019-03-07linux/kernel.h: use 'short' to define USHRT_MAX, SHRT_MAX, SHRT_MINMasahiro Yamada1-3/+3
2019-03-07<linux/kernel.h>: drop the gcc-3.3 'const' hack in roundup()Randy Dunlap1-3/+1
2019-03-07kernel.h: unconditionally include asm/div64.h for do_div()Jani Nikula1-1/+1
2019-02-19bpf: check that BPF programs run with preemption disabledPeter Zijlstra1-2/+12
2019-01-04kernel/sysctl: add panic_print into sysctlFeng Tang1-0/+1
2018-08-22kernel.h: documentation for roundup() vs round_up()Kees Cook1-1/+34
2018-06-21kernel.h: Fix a typo in commentWei Wang1-1/+1
2018-06-09Merge tag 'staging-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+16
2018-06-07mm/memblock: introduce PHYS_ADDR_MAXStefan Agner1-0/+1
2018-05-27PM / suspend: Prevent might sleep splatsThomas Gleixner1-0/+1
2018-04-26staging: kernel.h: Prevent macro expantion bug in container_of_safe()Dan Carpenter1-1/+1
2018-04-23staging: lustre: add container_of_safe()NeilBrown1-0/+16
2018-04-11taint: add taint for randstructKees Cook1-1/+2
2018-04-11taint: convert to indexed initializationKees Cook1-0/+1
2018-04-11proc: add seq_put_decimal_ull_width to speed up /proc/pid/smapsAndrei Vagin1-1/+2
2018-04-09Fix subtle macro variable shadowing in min_not_zero()Linus Torvalds1-8/+9
2018-04-05kernel.h: Retain constant expression output for max()/min()Kees Cook1-30/+41
2018-04-04Merge tag 'staging-4.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+9
2018-03-28macro: introduce COUNT_ARGS() macroAlexei Starovoitov1-0/+7
2018-03-19Merge 4.16-rc6 into staging-nextGreg Kroah-Hartman1-0/+1
2018-02-21extable: Make init_kernel_text() globalJosh Poimboeuf1-0/+1
2018-02-04lib: Add strongly typed 64bit int_sqrtCrt Mori1-0/+9
2017-11-17kernel/panic.c: add TAINT_AUXBorislav Petkov1-1/+2
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-13linux/kernel.h: add/correct kernel-doc notationRandy Dunlap1-16/+74
2017-09-08linux/kernel.h: move DIV_ROUND_DOWN_ULL() macroMasahiro Yamada1-2/+5
2017-08-17locking/refcounts, x86/asm: Implement fast refcount overflow protectionKees Cook1-0/+7
2017-07-12kernel.h: handle pointers to arrays better in container_of()Ian Abbott1-3/+7
2017-05-23init: Introduce SYSTEM_SCHEDULING stateThomas Gleixner1-1/+5
2017-05-02Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert...Linus Torvalds1-0/+1
2017-04-21linux/kernel.h: Add ALIGN_DOWN macroKrzysztof Kozlowski1-0/+1
2017-04-18boot/param: Move next_arg() function to lib/cmdline.c for later reuseBaoquan He1-0/+1
2017-02-24linux/kernel.h: fix DIV_ROUND_CLOSEST to support negative divisorsNiklas Söderlund1-4/+6
2017-01-17taint/module: Fix problems when out-of-kernel driver defines true or falseLarry Finger1-2/+2
2016-12-14Merge tag 'modules-for-v4.10' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+9
2016-12-13Merge branch 'for-4.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Linus Torvalds1-0/+1
2016-11-26taint/module: Clean up global and module taint flags handlingPetr Mladek1-0/+9
2016-11-01fs: decouple READ and WRITE from the block layer opsChristoph Hellwig1-0/+4
2016-10-19percpu: ensure the requested alignment is power of twozijun_hu1-0/+1
2016-10-07min/max: remove sparse warnings when they're nestedJohannes Berg1-20/+28
2016-09-22sched/core: Optimize __schedule()Peter Zijlstra1-6/+3
2016-08-02dynamic_debug: only add header when usedLuis de Bethencourt1-1/+0
2016-06-15rcu: sysctl: Panic on RCU StallDaniel Bristot de Oliveira1-0/+1
2016-05-20Merge tag 'staging-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+7
2016-05-19include/linux: apply __malloc attributeRasmus Villemoes1-2/+2
2016-04-29kernel.h: add u64_to_user_ptr()Gustavo Padovan1-0/+7
2016-03-24Merge tag 'trace-v4.6' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-3/+3
2016-03-22panic: change nmi_panic from macro to functionHidehiro Kawai1-20/+1
2016-03-22tracing: Fix trace_printk() to print when not using bprintk()Steven Rostedt (Red Hat)1-3/+3
2016-03-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-1/+1
2016-03-17lib: move strtobool() to kstrtobool()Kees Cook1-0/+2
2016-03-04uapi: define DIV_ROUND_UP for userlandNicolas Dichtel1-1/+1
2016-01-16include/linux/kernel.h: change abs() macro so it uses consistent return typeMichal Nazarewicz1-18/+18
2015-12-19panic, x86: Allow CPUs to save registers even if looping in NMI contextHidehiro Kawai1-4/+12
2015-12-19panic, x86: Fix re-entrance problem due to panic on NMIHidehiro Kawai1-0/+20
2015-11-09remove abs64()Andrew Morton1-3/+0
2015-11-09kernel.h: make abs() work with 64-bit typesMichal Nazarewicz1-21/+24
2015-11-06lib/kasprintf.c: introduce kvasprintf_constRasmus Villemoes1-0/+2
2015-07-17include, lib: add __printf attributes to several function prototypesNicolas Iooss1-4/+5
2015-07-01Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-0/+3
2015-07-01Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-8/+10
2015-06-30kernel/panic/kexec: fix "crash_kexec_post_notifiers" option issue in oops pathHATAYAMA Daisuke1-0/+3
2015-06-26Merge tag 'trace-v4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-6/+0
2015-05-28ring-buffer: Remove useless unused tracing_off_permanent()Steven Rostedt (Red Hat)1-6/+0
2015-05-28sysfs: tightened sysfs permission checksGobinda Charan Maji1-8/+10
2015-05-19sched/preempt, mm/fault: Trigger might_sleep() in might_fault() with disabled...David Hildenbrand1-1/+2
2015-04-17kernel.h: implement DIV_ROUND_CLOSEST_ULLJavi Merino1-0/+12
2015-02-12kernel.h: remove ancient __FUNCTION__ hackRasmus Villemoes1-3/+0
2015-02-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-0/+1
2015-02-01sched: don't cause task state changes in nested sleep debuggingLinus Torvalds1-1/+1
2014-12-22livepatch: kernel: add TAINT_LIVEPATCHSeth Jennings1-0/+1
2014-12-14Merge tag 'tty-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-3/+0
2014-12-10kernel: add panic_on_warnPrarit Bhargava1-0/+1
2014-11-05tty: Move session_of_pgrp() and make staticPeter Hurley1-3/+0
2014-10-28sched: Exclude cond_resched() from nested sleep testPeter Zijlstra1-0/+3
2014-10-28sched, exit: Deal with nested sleepsPeter Zijlstra1-0/+2
2014-10-23Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+1
2014-10-14include/linux: remove strict_strto* definitionsDaniel Walter1-4/+0
2014-10-12Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/...Linus Torvalds1-0/+1
2014-10-09include/linux/kernel.h: deduplicate code implementing clamp* macrosMichal Nazarewicz1-17/+7
2014-10-09include/linux/kernel.h: rewrite min3, max3 and clamp using min and maxMichal Nazarewicz1-27/+5
2014-10-03lib: Add a generic cmdline parse function parse_option_strDave Young1-0/+1
2014-09-16Provide a binary to hex conversion functionDavid Howells1-0/+1
2014-08-10Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+2
2014-08-08panic: add TAINT_SOFTLOCKUPJosh Hunt1-0/+1
2014-08-06kernel.h: remove deprecated pack_hex_byteJoe Perches1-5/+0
2014-07-27sysfs: disallow world-writable files.Rusty Russell1-0/+2
2014-06-25mac_pton: Use bool not int returnJoe Perches1-1/+1
2014-04-06Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+9
2014-03-24VERIFY_OCTAL_PERMISSIONS: stricter checking for sysfs perms.Rusty Russell1-0/+8
2014-03-20Rename TAINT_UNSAFE_SMP to TAINT_CPU_OUT_OF_SPECDave Jones1-1/+1
2014-03-13Fix: module signature vs tracepoints: add new TAINT_UNSIGNED_MODULEMathieu Desnoyers1-0/+1
2014-01-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-0/+19
2014-01-23kernel.h: define u8, s8, u32, etc. limitsAlex Elder1-0/+13
2014-01-21net: introduce reciprocal_scale helper and convert usersDaniel Borkmann1-0/+19
2014-01-20Merge branch 'core-debug-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-0/+9
2013-12-12include/linux/kernel.h: make might_fault() a nop for !MMUAxel Lin1-1/+2
2013-11-26panic: Make panic_timeout configurableJason Baron1-0/+9
2013-11-06tracing: Remove unused function ftrace_off_permanent()Steven Rostedt (Red Hat)1-2/+0
2013-09-20lib: introduce upper case hex ascii helpersAndre Naujoks1-0/+11
2013-08-02tracing: Fix trace_dump_stack() proto when CONFIG_TRACING is not setDhaval Giani1-1/+1
2013-07-04Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-3/+2
2013-07-02Merge branch 'sched-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-5/+2
2013-06-05net: core: move mac_pton() to lib/net_utils.cAndy Shevchenko1-0/+2
2013-05-28tracing: Put trace_puts() comment above trace_puts() macro for kernel docSteven Rostedt1-3/+2
2013-05-28mm, sched: Allow uaccess in atomic with pagefault_disable()Michael S. Tsirkin1-5/+2
2013-05-28mm, sched: Drop voluntary schedule from might_fault()Michael S. Tsirkin1-1/+1
2013-05-24linux/kernel.h: fix kernel-doc warningRandy Dunlap1-2/+3
2013-05-05Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-7/+0
2013-04-30kernel/compat.c: make do_sysinfo() staticStephen Rothwell1-2/+0
2013-04-29Merge tag 'trace-3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...Linus Torvalds1-3/+67
2013-03-22printk: Provide a wake_up_klogd() off-caseFrederic Weisbecker1-1/+0
2013-03-15CONFIG_SYMBOL_PREFIX: cleanup.Rusty Russell1-7/+0
2013-03-15tracing: Add skip argument to trace_dump_stack()Steven Rostedt (Red Hat)1-1/+1
2013-03-15tracing: Optimize trace_printk() with one arg to use trace_puts()Steven Rostedt (Red Hat)1-1/+22
2013-03-15tracing: Add trace_puts() for even faster trace_printk() tracingSteven Rostedt (Red Hat)1-1/+40
2013-03-15tracing: Add internal tracing_snapshot() functionsSteven Rostedt (Red Hat)1-0/+4
2013-01-21taint: add explicit flag to show whether lock dep is still OK.Rusty Russell1-1/+5
2012-12-20linux/kernel.h: fix DIV_ROUND_CLOSEST with unsigned divisorsGuenter Roeck1-2/+4
2012-12-17kstrto*: add documentationEldad Zack1-0/+33
2012-12-11Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-5/+2
2012-12-11mm: use IS_ENABLED(CONFIG_COMPACTION) instead of COMPACTION_BUILDKirill A. Shutemov1-7/+0
2012-12-11mm: use IS_ENABLED(CONFIG_NUMA) instead of NUMA_BUILDKirill A. Shutemov1-7/+0
2012-12-08Merge branch 'linus' into perf/coreIngo Molnar1-0/+7
2012-12-03linux/kernel.h: define SYMBOL_PREFIXJames Hogan1-0/+7
2012-10-31linux/kernel.h: Remove duplicate trace_printk declarationMichal Hocko1-5/+2
2012-10-13UAPI: (Scripted) Disintegrate include/linuxDavid Howells1-11/+1
2012-09-19linux/kernel.h: Fix warning seen with W=1 due to change in DIV_ROUND_CLOSESTGuenter Roeck1-1/+1
2012-09-01linux/kernel.h: Fix DIV_ROUND_CLOSEST to support negative dividendsGuenter Roeck1-2/+10
2012-07-21Remove SYSTEM_SUSPEND_DISK system stateRafael J. Wysocki1-1/+0
2012-05-31introduce SIZE_MAXXi Wang1-0/+1