summaryrefslogtreecommitdiff
path: root/include/linux/bitops.h
AgeCommit message (Expand)AuthorFilesLines
2022-10-12Merge tag 'mm-nonmm-stable-2022-10-11' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-5/+6
2022-09-26lib: add find_nth{,_and,_andnot}_bit()Yury Norov1-0/+19
2022-09-12bitops: use try_cmpxchg in set_mask_bits and bit_clear_unlessUros Bizjak1-5/+6
2022-08-26wait_on_bit: add an acquire memory barrierMikulas Patocka1-0/+1
2022-07-01bitops: let optimize out non-atomic bitops on compile-time constantsAlexander Lobakin1-1/+17
2022-07-01bitops: wrap non-atomic bitops with a transparent macroAlexander Lobakin1-1/+17
2022-07-01bitops: define const_*() versions of the non-atomicsAlexander Lobakin1-0/+1
2022-07-01bitops: unify non-atomic bitops prototypes across architecturesAlexander Lobakin1-0/+17
2022-01-15include/linux: move for_each_bit() macros from bitops.h to find.hYury Norov1-34/+0
2021-07-08bitops: Add non-atomic bitops for pointersKumar Kartikeya Dwivedi1-0/+50
2021-05-07lib: add fast path for find_first_*_bit() and find_last_bit()Yury Norov1-12/+0
2021-02-26include/linux/bitops.h: spelling s/synomyn/synonym/Geert Uytterhoeven1-1/+1
2020-12-16kernel.h: split out mathematical helpersAndy Shevchenko1-4/+7
2020-10-16bitops: use the same mechanism for get_count_order[_long]Wei Yang1-5/+3
2020-10-16bitops: simplify get_count_order_long()Wei Yang1-4/+1
2020-06-05include/linux/bitops.h: avoid clang shift-count-overflow warningsArnd Bergmann1-1/+1
2020-04-07bitops: always inline sign extension helpersJosh Poimboeuf1-2/+2
2020-02-04bitops: more BITS_TO_* macrosYury Norov1-1/+3
2020-01-31ocfs2/dlm: move BITS_TO_BYTES() to bitops.h for wider useAndy Shevchenko1-0/+1
2019-12-05bitops: introduce the for_each_set_clump8 macroWilliam Breathitt Gray1-0/+12
2019-10-01lib: introduce copy_struct_from_user() helperAleksa Sarai1-0/+7
2019-05-15include/linux/bitops.h: sanitize rotate primitivesRasmus Villemoes1-8/+8
2019-03-08include/linux/bitops.h: set_mask_bits() to return old valueVineet Gupta1-1/+1
2018-10-15bitops: protect variables in bit_clear_unless() macroMiklos Szeredi1-8/+8
2018-10-15bitops: protect variables in set_mask_bits() macroMiklos Szeredi1-7/+7
2018-08-22include/linux/bitops.h: introduce BITS_PER_TYPEChris Wilson1-1/+2
2018-06-21locking/atomics, asm-generic: Move some macros from <linux/bitops.h> to a new...Will Deacon1-21/+1
2017-11-15Merge tag 'gpio-v4.15-1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+24
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar1-0/+1
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman1-0/+1
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-2/+2
2017-10-19bitops: Introduce assign_bit()Lukas Wunner1-0/+24
2017-09-09bitops: avoid integer overflow in GENMASK(_ULL)Matthias Kaehlcke1-2/+3
2016-10-08mm/vmalloc.c: fix align value calculation errorzijun_hu1-10/+26
2016-05-09md: set MD_CHANGE_PENDING in a atomic regionGuoqing Jiang1-0/+16
2015-12-09bitops.h: correctly handle rol32 with 0 byte shiftSasha Levin1-1/+1
2015-11-07bitops.h: add sign_extend64()Martin Kepplinger1-0/+11
2015-11-07bitops.h: improve sign_extend32()'s documentationMartin Kepplinger1-0/+2
2015-08-05linux/bitmap: Force inlining of bitmap weight functionsDenys Vlasenko1-3/+3
2015-04-17lib: find_*_bit reimplementationYury Norov1-2/+2
2014-11-16bitops: Fix shift overflow in GENMASK macrosMaxime COQUELIN1-2/+5
2014-08-13locking: Remove deprecated smp_mb__() barriersPeter Zijlstra1-20/+0
2014-04-18arch: Prepare for smp_mb__{before,after}_atomic()Peter Zijlstra1-0/+20
2014-03-31ext4: atomically set inode->i_flags in ext4_set_inode_flags()Theodore Ts'o1-0/+15
2013-11-14Merge tag 'pm+acpi-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+3
2013-10-22bitops: Introduce a more generic BITMASK macroChen, Gong1-0/+8
2013-10-17bitops: Introduce BIT_ULLSrinivas Pandruvada1-0/+3
2012-03-24bitops: introduce for_each_clear_bit()Akinobu Mita1-0/+11
2012-03-24bitops: remove for_each_set_bit_cont()Akinobu Mita1-3/+0
2012-03-24bitops: rename for_each_set_bit_cont() in favor of analogous list.h functionAkinobu Mita1-1/+4