aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2023-12-18overflow: Replace fake root_device with kunit_devicedavidgow@google.com1-3/+2
2023-12-18fortify: test: Use kunit_devicedavidgow@google.com1-2/+3
2023-12-18kunit: Add APIs for managing devicesdavidgow@google.com5-2/+336
2023-12-18kunit: add ability to run tests after boot using debugfsRae Moar2-0/+78
2023-12-18kunit: add is_init test attributeRae Moar2-1/+65
2023-12-18kunit: add example suite to test init suitesRae Moar1-0/+37
2023-12-18kunit: add KUNIT_INIT_TABLE to init linker sectionRae Moar2-13/+77
2023-12-18kunit: debugfs: Handle errors from alloc_string_stream()Richard Fitzgerald1-5/+25
2023-12-18kunit: debugfs: Fix unchecked dereference in debugfs_print_results()Richard Fitzgerald1-1/+3
2023-12-18kunit: string-stream: Allow ERR_PTR to be passed to string_stream_destroy()Richard Fitzgerald1-1/+1
2023-12-18kunit: string-stream-test: Avoid cast warning when testing gfp_t flagsRichard Fitzgerald1-1/+1
2023-12-18kunit: Add a macro to wrap a deferred action functionDavid Gow2-6/+5
2023-12-15cred: get rid of CONFIG_DEBUG_CREDENTIALSJens Axboe1-15/+0
2023-12-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-6/+16
2023-12-12maple_tree: change return type of mas_split_final_node as void.Levi Yun1-2/+1
2023-12-12maple_tree: simplify mas_leaf_set_meta()Peng Zhang1-18/+4
2023-12-12maple_tree: delete one of the two identical checksPeng Zhang1-3/+0
2023-12-12maple_tree: remove an unused parameter for ma_meta_end()Peng Zhang1-6/+4
2023-12-12maple_tree: avoid ascending when mas->min is also the parent's minimumPeng Zhang1-3/+5
2023-12-12maple_tree: move the check forward to avoid static check warningPeng Zhang1-1/+1
2023-12-12maple_tree: remove unused functionJiapeng Chong1-29/+0
2023-12-12maple_tree: mtree_range_walk() clean upLiam R. Howlett1-15/+12
2023-12-12maple_tree: don't find node end in mtree_lookup_walk()Liam R. Howlett2-9/+24
2023-12-12maple_tree: use maple state end for write operationsLiam R. Howlett1-22/+24
2023-12-12maple_tree: remove mas_searchable()Liam R. Howlett1-50/+16
2023-12-12maple_tree: separate ma_state node from statusLiam R. Howlett2-274/+374
2023-12-12maple_tree: clean up inlines for some functionsLiam R. Howlett1-39/+39
2023-12-12maple_tree: use cached node end in mas_destroy()Liam R. Howlett1-1/+1
2023-12-12maple_tree: use cached node end in mas_next()Liam R. Howlett1-6/+8
2023-12-12maple_tree: add end of node tracking to the maple stateLiam R. Howlett1-0/+7
2023-12-12maple_tree: make mas_erase() more robustLiam R. Howlett1-1/+1
2023-12-12maple_tree: remove unnecessary default labels from switch statementsLiam R. Howlett1-7/+2
2023-12-11s390/fpu: get rid of MACHINE_HAS_VXHeiko Carstens1-1/+1
2023-12-10ida: make 'ida_dump' staticArnd Bergmann1-1/+1
2023-12-10kasan: record and report more informationJuntong Deng1-0/+21
2023-12-10lib/stackdepot: adjust DEPOT_POOLS_CAP for KMSANAndrey Konovalov1-0/+10
2023-12-10lib/stackdepot: allow users to evict stack tracesAndrey Konovalov1-1/+36
2023-12-10lib/stackdepot: add refcount for recordsAndrey Konovalov1-2/+10
2023-12-10lib/stackdepot, kasan: add flags to __stack_depot_save and renameAndrey Konovalov1-5/+11
2023-12-10lib/stackdepot: use list_head for stack record linksAndrey Konovalov1-37/+50
2023-12-10lib/stackdepot: use read/write lockAndrey Konovalov1-41/+46
2023-12-10lib/stackdepot: store free stack records in a freelistAndrey Konovalov1-49/+82
2023-12-10lib/stackdepot: store next pool pointer in new_poolAndrey Konovalov1-1/+5
2023-12-10lib/stackdepot: rename next_pool_required to new_pool_requiredAndrey Konovalov1-25/+24
2023-12-10lib/stackdepot: rework helpers for depot_alloc_stackAndrey Konovalov1-37/+49
2023-12-10lib/stackdepot: fix and clean-up atomic annotationsAndrey Konovalov1-15/+14
2023-12-10lib/stackdepot: use fixed-sized slots for stack recordsAndrey Konovalov2-4/+19
2023-12-10lib/stackdepot: add depot_fetch_stack helperAndrey Konovalov1-17/+28
2023-12-10lib/stackdepot: drop valid bit from handlesAndrey Konovalov1-5/+2
2023-12-10lib/stackdepot: simplify __stack_depot_saveAndrey Konovalov1-5/+4
2023-12-10lib/stackdepot: check disabled flag when fetchingAndrey Konovalov1-1/+1
2023-12-10lib/stackdepot: print disabled message only if truly disabledAndrey Konovalov1-9/+15
2023-12-10kasan: default to inline instrumentationPaul Heidekrüger1-1/+1
2023-12-10maple_tree: preserve the tree attributes when destroying maple treePeng Zhang1-1/+1
2023-12-10maple_tree: update check_forking() and bench_forking()Peng Zhang1-59/+58
2023-12-10maple_tree: skip other tests when BENCH is enabledPeng Zhang1-4/+4
2023-12-10maple_tree: introduce interfaces __mt_dup() and mtree_dup()Peng Zhang1-0/+274
2023-12-10maple_tree: add mt_free_one() and mt_attr() helpersPeng Zhang1-1/+11
2023-12-09test_bpf: Rename second ALU64_SMOD_X to ALU64_SMOD_KTiezhu Yang1-1/+1
2023-12-08Merge tag 'mm-hotfixes-stable-2023-12-07-18-47' of git://git.kernel.org/pub/s...Linus Torvalds1-6/+16
2023-12-07Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski5-6/+62
2023-12-06Merge branch 'master' into mm-hotfixes-stableAndrew Morton6-12/+62
2023-12-06lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenlyMing Lei1-6/+16
2023-12-06ACPI: tables: Correct and clean up the logic of acpi_parse_entries_array()Yuntao Wang1-21/+9
2023-12-06lib/vsprintf: Fix %pfwf when current node refcount == 0Herve Codina1-3/+8
2023-12-05iov_iter: replace import_single_range() with import_ubuf()Jens Axboe1-13/+0
2023-12-05iov_iter: remove unused 'iov' argument from import_single_range()Jens Axboe1-1/+1
2023-12-05mm/slab: remove CONFIG_SLAB from all Kconfig and MakefileVlastimil Babka4-11/+5
2023-12-03Merge tag 'probes-fixes-v6.7-rc3' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-0/+17
2023-12-02Merge tag 'acpi-6.7-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-1/+1
2023-12-02Merge tag 'bcachefs-2023-11-29' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-2/+3
2023-12-01Merge branch 'acpi-tables'Rafael J. Wysocki1-1/+1
2023-12-01lib: objpool: fix head overrun on RK3588 SBCwuqiang.matt1-0/+17
2023-12-01Merge tag 'linux_kselftest-kunit-fixes-6.7-rc4' of git://git.kernel.org/pub/s...Linus Torvalds2-3/+41
2023-11-30Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-2/+0
2023-11-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-7/+1
2023-11-30bpf/tests: Remove duplicate JSGT testsYujie Liu1-2/+0
2023-11-26Merge tag 'parisc-for-6.7-rc3' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-6/+0
2023-11-25parisc: Drop the HP-UX ENOSYM and EREMOTERELEASE error codesHelge Deller1-6/+0
2023-11-24Merge branch 'firmware_loader'Jakub Kicinski1-0/+1
2023-11-24firmware_loader: Expand Firmware upload error codes with firmware invalid errorKory Maincent1-0/+1
2023-11-24Merge tag 'vfs-6.7-rc3.fixes' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2023-11-24closures: CLOSURE_CALLBACK() to fix type punningKent Overstreet1-2/+3
2023-11-22ACPI: Fix ARM32 platforms compile issue introduced by fw_table changesDave Jiang1-1/+1
2023-11-22debugobjects: Stop accessing objects after releasing hash bucket lockAndrzej Hajda1-122/+78
2023-11-21Merge tag 'for-netdev' of https://git.kernel.org/pub/scm/linux/kernel/git/bpf...Jakub Kicinski1-16/+0
2023-11-18iov_iter: fix copy_page_to_iter_nofault()Omar Sandoval1-1/+1
2023-11-17crypto: lib/aesgcm - Add kernel docs for aesgcm_macSagar Vashnav1-0/+13
2023-11-15bpf: Remove test for MOVSX32 with offset=32Puranjay Mohan1-16/+0
2023-11-14Merge tag 'zstd-linus-v6.7-rc2' of https://github.com/terrelln/linuxLinus Torvalds1-1/+1
2023-11-14zstd: Fix array-index-out-of-bounds UBSAN warningNick Terrell1-1/+1
2023-11-14kunit: test: Avoid cast warning when adding kfree() as an actionRichard Fitzgerald1-1/+1
2023-11-14kunit: Reset suite counter right before running testsMichal Wajdeczko1-2/+2
2023-11-14kunit: Warn if tests are slowMaxime Ripard1-0/+38
2023-11-10lib: test_objpool: make global variables staticwuqiang.matt1-3/+3
2023-11-07Merge tag 'bcachefs-2023-11-5' of https://evilpiepirate.org/git/bcachefsLinus Torvalds1-2/+7
2023-11-04Merge tag 'cxl-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/cxl/cxlLinus Torvalds3-0/+193
2023-11-03Merge tag 'powerpc-6.7-1' of git://git.kernel.org/pub/scm/linux/kernel/git/po...Linus Torvalds1-1/+1
2023-11-03Merge tag 'trace-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...Linus Torvalds1-15/+13
2023-11-03Merge tag 'printk-for-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-13/+12
2023-11-03Merge tag 'bitmap-for-6.7' of https://github.com/norov/linuxLinus Torvalds5-684/+549
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds1-1/+1
2023-11-02Merge tag 'mm-stable-2023-11-01-14-33' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+79
2023-11-02lib/fw_table: Remove acpi_parse_entries_array() exportDan Williams1-1/+0
2023-11-02seq_buf: Export seq_buf_puts()Christophe JAILLET1-0/+1
2023-11-02seq_buf: Export seq_buf_putc()Christophe JAILLET1-0/+1
2023-11-01Merge tag 'linux_kselftest-kunit-6.7-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds10-139/+728
2023-11-01Merge tag 'probes-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/trac...Linus Torvalds4-1/+984
2023-11-01Merge tag 'asm-generic-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds6-24/+3
2023-11-01Merge tag 'soc-drivers-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+52
2023-11-01vsprintf: uninline simple_strntoull(), reorder argumentsAlexey Dobriyan1-13/+12
2023-10-31Merge tag 'net-next-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds2-0/+393
2023-10-30Merge tag 'hardening-v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+4
2023-10-30closures: Fix race in closure_sync()Kent Overstreet1-0/+3
2023-10-30closures: Better memory barriersKent Overstreet1-2/+4
2023-10-30Merge tag 'sched-core-2023-10-28' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-3/+1
2023-10-30Merge tag 'locking-core-2023-10-28' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2023-10-30Merge tag 'bcachefs-2023-10-30' of https://evilpiepirate.org/git/bcachefsLinus Torvalds7-7/+299
2023-10-30Merge tag 'nfsd-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/cel/linuxLinus Torvalds4-1/+192
2023-10-30Merge tag 'vfs-6.7.iov_iter' of gitolite.kernel.org:pub/scm/linux/kernel/git/...Linus Torvalds1-301/+136
2023-10-28seq_buf: Introduce DECLARE_SEQ_BUF and seq_buf_str()Kees Cook1-3/+1
2023-10-27acpi: Move common tables helper functions to common libDave Jiang3-0/+194
2023-10-26Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-12/+25
2023-10-24kprobes: unused header files removedwuqiang.matt1-6/+0
2023-10-20tracing: Move readpos from seq_buf to trace_seqMatthew Wilcox (Oracle)1-12/+10
2023-10-20netlink: add variable-length / auto integersJakub Kicinski1-0/+22
2023-10-19lib/generic-radix-tree.c: Add peek_prev()Kent Overstreet1-0/+59
2023-10-19lib/generic-radix-tree.c: Don't overflow in peek()Kent Overstreet1-3/+14
2023-10-19closures: Add a missing includeKent Overstreet1-0/+1
2023-10-19bcache: move closures to lib/Kent Overstreet4-0/+218
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-1/+1
2023-10-18percpu_counter: extend _limited_add() to negative amountsHugh Dickins1-14/+40
2023-10-18shmem,percpu_counter: add _limited_add(fbc, limit, amount)Hugh Dickins1-0/+53
2023-10-18maple_tree: add GFP_KERNEL to allocations in mas_expected_entries()Liam R. Howlett2-12/+25
2023-10-18Merge tag 'qcom-drivers-for-6.7' of https://git.kernel.org/pub/scm/linux/kern...Arnd Bergmann1-0/+52
2023-10-18lib: objpool test module addedwuqiang.matt3-0/+709
2023-10-18lib: objpool added: ring-array based lockless MPMCwuqiang.matt2-1/+281
2023-10-16bitmap: move bitmap_*_region() functions to bitmap.hYury Norov1-64/+0
2023-10-16lib: add light-weight queuing mechanism.NeilBrown3-1/+164
2023-10-16llist: add llist_del_first_this()NeilBrown1-0/+28
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: add test for bitmap_*_region() functionsYury Norov1-0/+24
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 Norov3-513/+511
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-10-14cpumask: kernel-doc cleanups and additionsRandy Dunlap1-5/+12
2023-10-10locking/atomics: Use atomic_try_cmpxchg_release() to micro-optimize rcuref_pu...Uros Bizjak1-1/+1
2023-10-09iov_iter, net: Move hash_and_copy_to_iter() to net/David Howells1-20/+0
2023-10-09iov_iter, net: Move csum_and_copy_to/from_iter() to net/David Howells1-89/+0
2023-10-09iov_iter: Don't deal with iter->copy_mc in memcpy_from_iter_mc()David Howells1-12/+23
2023-10-07Merge branch 'sched/urgent' into sched/core, to pick up fixes and refresh the...Ingo Molnar7-97/+283
2023-10-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-76/+240
2023-10-01powerpc: Use shared font dataDr. David Alan Gilbert1-1/+1
2023-09-29maple_tree: add MAS_UNDERFLOW and MAS_OVERFLOW statesLiam R. Howlett2-73/+235
2023-09-28kunit: test: Fix the possible memory leak in executor_testJinjie Ruan1-14/+22
2023-09-28kunit: Fix possible memory leak in kunit_filter_suites()Jinjie Ruan1-4/+13
2023-09-28kunit: Fix the wrong kfree of copy for kunit_filter_suites()Jinjie Ruan1-1/+1
2023-09-28kunit: Fix missed memory release in kunit_free_suite_set()Jinjie Ruan1-1/+3
2023-09-25iov_iter: Convert iterate*() to inline funcsDavid Howells1-241/+175
2023-09-25iov_iter: Derive user-backedness from the iterator typeDavid Howells1-1/+0
2023-09-22kobject: Replace strlcpy with strscpyAzeem Shaikh1-4/+4
2023-09-19argv_split: fix kernel-doc warningsRandy Dunlap1-2/+2
2023-09-19scatterlist: add missing function params to kernel-docRandy Dunlap1-1/+3
2023-09-18kunit: Reset test status on each param iterationMichal Wajdeczko2-4/+7
2023-09-18kunit: string-stream: Test performance of string_streamRichard Fitzgerald1-0/+54
2023-09-18kunit: Use string_stream for test logRichard Fitzgerald3-61/+75
2023-09-18kunit: string-stream: Add tests for freeing resource-managed string_streamRichard Fitzgerald2-5/+145
2023-09-18kunit: string-stream: Decouple string_stream from kunitRichard Fitzgerald4-24/+53
2023-09-18kunit: string-stream: Add kunit_alloc_string_stream()Richard Fitzgerald4-18/+29
2023-09-18kunit: Don't use a managed alloc in is_literal()Richard Fitzgerald1-8/+6
2023-09-18kunit: string-stream-test: Add cases for string_stream newline appendingRichard Fitzgerald1-0/+93
2023-09-18kunit: string-stream: Add option to make all lines end with newlineRichard Fitzgerald2-7/+28
2023-09-18kunit: string-stream: Improve testing of string_streamRichard Fitzgerald1-16/+217
2023-09-18kunit: string-stream: Don't create a fragment for empty stringsRichard Fitzgerald1-2/+8
2023-09-17Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-0/+371
2023-09-15bpf/tests: add tests for cpuv4 instructionsPuranjay Mohan1-0/+371
2023-09-15sched/topology: Handle NUMA_NO_NODE in sched_numa_find_nth_cpu()Yury Norov1-3/+1
2023-09-13lib/ucs2_string: Add UCS-2 strscpy functionMaximilian Luz1-0/+52
2023-09-12Merge tag 'linux-kselftest-kunit-6.6-rc2' of git://git.kernel.org/pub/scm/lin...Linus Torvalds3-21/+43
2023-09-11lib: Export errnameKent Overstreet1-0/+1
2023-09-11lib/string_helpers: string_get_size() now returns characters wroteKent Overstreet1-4/+6
2023-09-11lib/raid6: Drop IA64 supportArd Biesheuvel3-15/+2
2023-09-11arch: Remove Itanium (IA-64) architectureArd Biesheuvel3-9/+1
2023-09-09iov_iter: Kunit tests for page extractionDavid Howells1-0/+240
2023-09-09iov_iter: Kunit tests for copying to/from an iteratorDavid Howells3-0/+549
2023-09-09iov_iter: Fix iov_iter_extract_pages() with zero-sized entriesDavid Howells1-15/+15
2023-09-08Merge tag 'xarray-6.6' of git://git.infradead.org/users/willy/xarrayLinus Torvalds2-2/+8
2023-09-08Merge tag 'loongarch-6.6' of git://git.kernel.org/pub/scm/linux/kernel/git/ch...Linus Torvalds6-0/+1002
2023-09-06raid6: Add LoongArch SIMD recovery implementationWANG Xuerui4-2/+523
2023-09-06raid6: Add LoongArch SIMD syndrome calculationWANG Xuerui5-0/+481
2023-09-05idr: fix param name in idr_alloc_cyclic() docAriel Marcovitch1-1/+1
2023-09-05xarray: Document necessary flag in alloc functionsPhilipp Stanner1-0/+6
2023-09-05kunit: Fix possible memory leak in kunit_filter_suites()Jinjie Ruan1-2/+2
2023-09-05kunit: Fix possible null-ptr-deref in kunit_parse_glob_filter()Jinjie Ruan1-4/+19
2023-09-05kunit: Fix the wrong err path and add goto labels in kunit_filter_suites()Jinjie Ruan1-9/+12