aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bitmap.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-01cpumask: add cpumask_weight_andnot()Yury Norov1-0/+7
2023-10-16bitmap: move bitmap_*_region() functions to bitmap.hYury Norov1-64/+0
2023-10-14bitmap: drop _reg_op() functionYury Norov1-76/+0
2023-10-14bitmap: replace _reg_op(REG_OP_ISFREE) with find_next_bit()Yury Norov1-1/+1
2023-10-14bitmap: replace _reg_op(REG_OP_RELEASE) with bitmap_clear()Yury Norov1-1/+1
2023-10-14bitmap: replace _reg_op(REG_OP_ALLOC) with bitmap_set()Yury Norov1-1/+4
2023-10-14bitmap: fix opencoded bitmap_allocate_region()Yury Norov1-4/+2
2023-10-14bitmap: align __reg_op() wrappers with modern coding styleYury Norov1-7/+5
2023-10-14lib/bitmap: split-out string-related operations to a separate filesYury Norov1-512/+0
2023-10-14bitmap: Remove dead code, i.e. bitmap_copy_le()Andy Shevchenko1-23/+0
2023-10-14bitmap: Fix a typo ("identify map")Jonathan Neuschäfer1-2/+2
2023-06-22lib/bitmap: drop optimization of bitmap_{from,to}_arr64Yury Norov1-1/+1
2022-09-26lib/bitmap: remove bitmap_ord_to_posYury Norov1-33/+3
2022-09-26lib/bitmap: add bitmap_weight_and()Yury Norov1-9/+21
2022-09-26lib/bitmap: don't call __bitmap_weight() in kernel codeYury Norov1-1/+1
2022-08-07Merge tag 'bitmap-6.0-rc1' of https://github.com/norov/linuxLinus Torvalds1-6/+5
2022-07-15lib/bitmap: change type of bitmap_weight to unsigned longYury Norov1-3/+2
2022-07-14lib/bitmap: change return types to bool where appropriateYury Norov1-2/+2
2022-07-12lib/bitmap: fix off-by-one in bitmap_to_arr64()Alexander Lobakin1-1/+1
2022-06-03bitmap: Fix return values to be unsignedKees Cook1-15/+15
2022-06-03lib: add bitmap_{from,to}_arr64Yury Norov1-0/+54
2022-06-03lib/bitmap.c make bitmap_print_bitmask_to_buf parseableMauro Carvalho Chehab1-13/+20
2022-03-23lib: bitmap: fix many kernel-doc warningsRandy Dunlap1-7/+17
2021-10-26lib: bitmap: Introduce node-aware alloc APITariq Toukan1-0/+13
2021-08-13bitmap: extend comment to bitmap_print_bitmask/list_to_bufYury Norov1-0/+18
2021-08-13cpumask: introduce cpumap_print_list/bitmask_to_buf to support large bitmask ...Tian Tao1-0/+103
2021-07-05Merge tag 'gpio-updates-for-v5.14' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-2/+3
2021-05-12bitmap: Make bitmap_remap() and bitmap_bitremap() available to usersAndy Shevchenko1-2/+3
2021-05-10bitmap_parse: Support 'all' semanticsYury Norov1-0/+9
2021-05-05Merge tag 'gpio-updates-for-v5.13-v2' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-4/+38
2021-05-05lib: bitmap: provide devm_bitmap_alloc() and devm_bitmap_zalloc()Bartosz Golaszewski1-0/+33
2021-05-05lib: bitmap: order includes alphabeticallyBartosz Golaszewski1-4/+5
2021-03-08lib: bitmap: support "N" as an alias for size of bitmapPaul Gortmaker1-5/+17
2021-03-08lib: bitmap: move ERANGE check from set_region to check_regionPaul Gortmaker1-9/+5
2021-03-08lib: bitmap: fold nbits into region structPaul Gortmaker1-9/+10
2020-10-16lib: bitmap: delete duplicated wordsRandy Dunlap1-1/+1
2020-09-01Merge branch 'master' into for-nextJiri Kosina1-19/+25
2020-08-12lib/bitmap.c: fix bitmap_cut() for partial overlapping caseStefano Brivio1-2/+2
2020-06-10lib: fix bitmap_parse() on 64-bit big endian archsAlexander Gordeev1-2/+7
2020-05-18lib/bitmap.c: fix spelloRandy Dunlap1-1/+1
2020-04-20lib: bitmap.c: get rid of some doc warningsMauro Carvalho Chehab1-15/+16
2020-02-04lib: rework bitmap_parse()Yury Norov1-92/+83
2020-02-04lib: make bitmap_parse_user a wrapper on bitmap_parseYury Norov1-10/+10
2020-01-27bitmap: Introduce bitmap_cut(): cut bits and shift remainingStefano Brivio1-0/+66
2019-12-04lib/bitmap: introduce bitmap_replace() helperAndy Shevchenko1-0/+12
2019-07-25cpumask: Implement cpumask_or_equal()Thomas Gleixner1-0/+20
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230Thomas Gleixner1-3/+1
2019-05-14lib: rework bitmap_parselistYury Norov1-113/+142
2019-05-14lib: make bitmap_parselist_user() a wrapper on bitmap_parselist()Yury Norov1-8/+11
2019-05-14lib/bitmap.c: guard exotic bitmap functions by CONFIG_NUMARasmus Villemoes1-0/+2
2019-05-14lib/bitmap.c: remove unused EXPORT_SYMBOLsRasmus Villemoes1-4/+0
2019-01-03Remove 'type' argument from access_ok() functionLinus Torvalds1-2/+2
2018-10-31lib/bitmap.c: simplify bitmap_print_to_pagebuf()Rasmus Villemoes1-5/+2
2018-10-31lib/bitmap.c: fix remaining space computation in bitmap_print_to_pagebufRasmus Villemoes1-4/+6
2018-10-31lib/bitmap.c: remove wrong documentationRasmus Villemoes1-5/+0
2018-08-22lib/bitmap.c: drop unnecessary 0 check for u32 array operationsAndy Shevchenko1-8/+1
2018-08-18Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dto...Linus Torvalds1-0/+20
2018-08-01bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()Andy Shevchenko1-0/+20
2018-06-07lib/bitmap.c: micro-optimization for __bitmap_complement()Yury Norov1-4/+1
2018-04-05lib: fix stall in __bitmap_parselist()Yury Norov1-1/+1
2018-02-06bitmap: replace bitmap_{from,to}_u32arrayYury Norov1-87/+0
2018-02-06bitmap: new bitmap_copy_safe and bitmap_{from,to}_arr32Yury Norov1-0/+56
2017-10-19documentation: kernel-api: add more info on bitmap functionsRandy Dunlap1-1/+3
2017-09-08lib/bitmap.c: make bitmap_parselist() thread-safe and much fasterYury Norov1-12/+6
2017-07-10bitmap: optimise bitmap_set and bitmap_clear of a single bitMatthew Wilcox1-4/+4
2017-04-02kernel-api.rst: fix some complex tags at lib/bitmap.cmchehab@s-opensource.com1-11/+17
2016-10-11lib/bitmap.c: enhance bitmap syntaxNoam Camus1-4/+46
2016-07-15x86/uaccess: Move thread_info::addr_limit to thread_structAndy Lutomirski1-1/+1
2016-02-19lib/bitmap.c: conversion routines to/from u32 arrayDavid Decotigny1-0/+89
2015-09-10lib/bitmap.c: bitmap_parselist can accept string with whitespaces on head or ...Pan Xinhui1-14/+18
2015-09-10lib/bitmap.c: fix a special string handling bug in __bitmap_parselistPan Xinhui1-0/+4
2015-09-10lib/bitmap.c: correct a code style and do some, optimizationPan Xinhui1-3/+4
2015-06-25bitmap: remove explicit newline handling using scnprintf format stringSudeep Holla1-7/+8
2015-06-25__bitmap_parselist: fix bug in empty string handlingChris Metcalf1-8/+9
2015-04-17lib/bitmap.c: bitmap_[empty,full]: remove code duplicationYury Norov1-30/+0
2015-02-13bitmap, cpumask, nodemask: remove dedicated formatting functionsTejun Heo1-41/+0
2015-02-13bitmap: use %*pb[l] to print bitmaps including cpumasks and nodemasksTejun Heo1-2/+2
2015-02-13lib/vsprintf: implement bitmap printing through '%*pb[l]'Tejun Heo1-59/+2
2015-02-13lib: bitmap: remove redundant code from __bitmap_shift_leftRasmus Villemoes1-7/+2
2015-02-13lib: bitmap: eliminate branch in __bitmap_shift_leftRasmus Villemoes1-4/+3
2015-02-13lib: bitmap: change bitmap_shift_left to take unsigned parametersRasmus Villemoes1-5/+6
2015-02-13lib: bitmap: yet another simplification in __bitmap_shift_rightRasmus Villemoes1-4/+4
2015-02-13lib: bitmap: remove redundant code from __bitmap_shift_rightRasmus Villemoes1-2/+0
2015-02-13lib: bitmap: eliminate branch in __bitmap_shift_rightRasmus Villemoes1-3/+3
2015-02-13lib: bitmap: change bitmap_shift_right to take unsigned parametersRasmus Villemoes1-5/+5
2015-02-13lib/bitmap.c: elide bitmap_copy_le on little-endianRasmus Villemoes1-0/+2
2015-02-13lib/bitmap.c: change prototype of bitmap_copy_leRasmus Villemoes1-5/+4
2015-02-12lib/bitmap.c: make the bits parameter of bitmap_remap unsignedRasmus Villemoes1-8/+8
2015-02-12lib/bitmap.c: simplify bitmap_ord_to_posRasmus Villemoes1-17/+11
2015-02-12lib/bitmap.c: simplify bitmap_pos_to_ordRasmus Villemoes1-16/+6
2015-02-12lib/bitmap.c: change parameters of bitmap_fold to unsignedRasmus Villemoes1-5/+5
2015-02-12lib/bitmap.c: update bitmap_onto to unsignedRasmus Villemoes1-2/+2
2014-12-14Merge tag 'driver-core-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-0/+29
2014-12-13lib: bitmap: add alignment offset for bitmap_find_next_zero_area()Michal Nazarewicz1-11/+13
2014-11-07cpumask: factor out show_cpumap into separate helper functionSudeep Holla1-0/+29
2014-10-29lib/bitmap.c: fix undefined shift in __bitmap_shift_{left|right}()Jan Kara1-2/+6
2014-10-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-2/+2
2014-09-09Documentation: Docbook: Fix generated DocBook/kernel-api.xmlMasanari Iida1-2/+2
2014-08-06lib: bitmap: add missing mask in bitmap_andnotRasmus Villemoes1-2/+5
2014-08-06lib: bitmap: add missing mask in bitmap_andRasmus Villemoes1-2/+5
2014-08-06lib: bitmap: micro-optimize bitmap_allocate_regionRasmus Villemoes1-2/+1
2014-08-06lib: bitmap: change parameter of bitmap_*_region to unsignedRasmus Villemoes1-6/+6
2014-08-06lib: bitmap: fix typo in kerneldoc for bitmap_pos_to_ordRasmus Villemoes1-1/+1
2014-08-06lib: bitmap: simplify bitmap_parselistRasmus Villemoes1-7/+2
2014-08-06lib: bitmap: make the start index of bitmap_clear unsignedRasmus Villemoes1-5/+5
2014-08-06lib: bitmap: make the start index of bitmap_set unsignedRasmus Villemoes1-5/+5
2014-08-06lib: bitmap: make nbits parameter of bitmap_weight unsignedRasmus Villemoes1-2/+3
2014-08-06lib: bitmap: make nbits parameter of bitmap_subset unsignedRasmus Villemoes1-2/+2
2014-08-06lib: bitmap: make nbits parameter of bitmap_intersects unsignedRasmus Villemoes1-2/+2
2014-08-06lib: bitmap: make nbits parameter of bitmap_{and,or,xor,andnot} unsignedRasmus Villemoes1-12/+12
2014-08-06lib: bitmap: remove unnecessary mask from bitmap_complementRasmus Villemoes1-1/+1
2014-08-06lib: bitmap: make nbits parameter of bitmap_complement unsignedRasmus Villemoes1-2/+2
2014-08-06lib: bitmap: make nbits parameter of bitmap_equal unsignedRasmus Villemoes1-2/+2
2014-08-06lib: bitmap: make nbits parameter of bitmap_full unsignedRasmus Villemoes1-2/+2
2014-08-06lib: bitmap: make nbits parameter of bitmap_empty unsignedRasmus Villemoes1-2/+2
2012-12-06propagate name change to comments in kernel sourceNadia Yvette Chambers1-1/+1
2012-05-29lib/bitmap.c: fix documentation for scnprintf() functionsAndrew Morton1-6/+6
2012-03-24Merge tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+2
2012-03-07lib: reduce the use of module.h wherever possiblePaul Gortmaker1-1/+2
2012-02-29bug.h: add include of it to various implicit C usersPaul Gortmaker1-0/+1
2011-10-31lib/bitmap.c: quiet sparse noise about address spaceH Hartley Sweeten1-4/+6
2011-08-03Merge branch 'apei' into apei-releaseLen Brown1-2/+0
2011-08-03lib, Make gen_pool memory allocator locklessHuang Ying1-2/+0
2011-07-26cpusets: randomize node rotor used in cpuset_mem_spread_node()Michal Hocko1-1/+1
2011-06-15lib/bitmap.c: fix kernel-doc notationRandy Dunlap1-1/+1
2011-05-25bitmap, irq: add smp_affinity_list interface to /proc/irqMike Travis1-12/+97
2011-03-31Fix common misspellingsLucas De Marchi1-1/+1
2010-10-26lib/bitmap.c: use hex_to_bin()Andy Shevchenko1-2/+1
2010-05-30Revert "cpusets: randomize node rotor used in cpuset_mem_spread_node()"Linus Torvalds1-1/+1
2010-05-27cpusets: randomize node rotor used in cpuset_mem_spread_node()Jack Steiner1-1/+1
2010-03-06bitmap: use for_each_set_bit()Akinobu Mita1-9/+4
2010-03-06lib: fix first line of kernel-doc for a few functionsBen Hutchings1-3/+3
2009-12-16bitmap: introduce bitmap_set, bitmap_clear, bitmap_find_next_zero_areaAkinobu Mita1-0/+81
2009-08-21Make bitmask 'and' operators return a result codeLinus Torvalds1-4/+8
2009-03-12bitmap: fix end condition in bitmap_find_free_regionLinus Torvalds1-8/+8
2008-10-23Merge branch 'for-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+22
2008-10-20bitmask: remove bitmap_scnprintf_len()Lai Jiangshan1-11/+0
2008-09-17bitmap: add bitmap_copy_le()David Vrabel1-0/+22
2008-08-12seq_file: add seq_cpumask(), seq_nodemask()Alexey Dobriyan1-0/+11
2008-05-13cpumask: remove bitmap_scnprintf_len and cpumask_scnprintf_lenPaul Jackson1-16/+0
2008-04-28mempolicy: add bitmap_onto() and bitmap_fold() operationsPaul Jackson1-0/+158
2008-04-19cpumask: add cpumask_scnprintf_len functionMike Travis1-0/+16
2007-11-05Fix bitmap_scnlistprintf for empty masksAndi Kleen1-0/+4
2007-03-01[PATCH] kernel-doc fixes for 2.6.20-git15 (non-drivers)Randy Dunlap1-8/+8
2007-02-11[PATCH] Numerous fixes to kernel-doc info in source files.Robert P. J. Day1-4/+4
2006-10-11[PATCH] bitmap: parse input from kernel and user buffersReinette Chatre1-11/+43
2006-06-25[PATCH] kernel-doc for lib/bitmap.cRandy Dunlap1-15/+16
2006-03-26[PATCH] bitops: hweight() related cleanupAkinobu Mita1-17/+2
2006-03-24[PATCH] bitmap: region restructuringPaul Jackson1-97/+102
2006-03-24[PATCH] bitmap: region multiword spanning supportPaul Mundt1-34/+76
2006-03-24[PATCH] bitmap: region cleanupPaul Jackson1-26/+38
2006-01-08[PATCH] cpuset: better bitmap remap defaultsPaul Jackson1-45/+44
2005-10-30[PATCH] cpusets: bitmap and mask remap operatorsPaul Jackson1-0/+166
2005-06-25[PATCH] Use ALIGN to remove duplicate codeNick Wilson1-2/+1
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+595