Back to home page

OSCL-LXR

 
 

    


 
  Name Size Date (UTC) Last indexed Description
  Name Size Date (UTC) Last indexed Description
folder Parent directory - 2025-03-06 09:18:41

Linux kernel
There are several guides for kernel developers and users. These guides can be rendered in a number of formats, like HTML and PDF. Please read Documentation/admin-guide/README.rst first.
In order to build the documentation, use ``make htmldocs`` or ``make pdfdocs``. The formatted documentation can also be read online at:
https://www.kernel.org/doc/html/latest/
There are various text files in the Documentation/ subdirectory, several of them using the Restructured Text markup notation.
Please read the Documentation/process/changes.rst file, as it contains the requirements for building and running the kernel, and information about the problems which may result by upgrading your kernel.

folder 842/ - 2025-03-06 09:18:39  
folder crypto/ - 2025-03-06 09:18:39  
folder dim/ - 2025-03-06 09:18:39  
folder fonts/ - 2025-03-06 09:18:39  
folder kunit/ - 2025-03-06 09:18:39  
folder livepatch/ - 2025-03-06 09:18:39  
folder lz4/ - 2025-03-06 09:18:39  
folder lzo/ - 2025-03-06 09:18:39  
folder math/ - 2025-03-06 09:18:39  
folder mpi/ - 2025-03-06 09:18:39  
folder pldmfw/ - 2025-03-06 09:18:39  
folder raid6/ - 2025-03-06 09:18:39  
folder reed_solomon/ - 2025-03-06 09:18:39  
folder test_fortify/ - 2025-03-06 09:18:39  
folder vdso/ - 2025-03-06 09:18:39  
folder xz/ - 2025-03-06 09:18:39  
folder zlib_deflate/ - 2025-03-06 09:18:39  
folder zlib_dfltcc/ - 2025-03-06 09:18:39  
folder zlib_inflate/ - 2025-03-06 09:18:39  
folder zstd/ - 2025-03-06 09:18:39  
argv_split.c 2154 bytes 2025-03-06 09:18:39 2025-03-06 13:28:33

Helper function for splitting a string into an argv-like array.

ashldi3.c 541 bytes 2025-03-06 09:18:39 2025-03-06 13:28:33  
ashrdi3.c 565 bytes 2025-03-06 09:18:39 2025-03-06 13:28:33  
asn1_decoder.c 13510 bytes 2025-03-06 09:18:39 2025-03-06 13:28:33  
asn1_encoder.c 10505 bytes 2025-03-06 09:18:39 2025-03-06 13:28:33  
assoc_array.c 53133 bytes 2025-03-06 09:18:39 2025-03-06 13:28:33  
atomic64.c 4649 bytes 2025-03-06 09:18:39 2025-03-06 13:28:33  
atomic64_test.c 6587 bytes 2025-03-06 09:18:39 2025-03-06 13:28:33  
audit.c 1957 bytes 2025-03-06 09:18:39 2025-03-06 13:28:33  
base64.c 2500 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34 RFC4648-compliant base64 encoding
bcd.c 297 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
bch.c 39266 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
bitfield_kunit.c 4514 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34

Test cases for bitfield helpers.

bitmap.c 48080 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34

lib/ Helper functions for bitmap.h.

bitrev.c 1971 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
bootconfig-data.S 275 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
bootconfig.c 22019 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34

Extra Boot Config Masami Hiramatsu <kernel.org">mhiramat@kernel.org>

bsearch.c 1247 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
btree.c 19639 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34 Simple In-memory B+Tree
bucket_locks.c 1437 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
bug.c 6016 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34

Generic support for BUG() This respects the following config options: CONFIG_BUG - emit BUG traps.

build_OID_registry 4646 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
buildid.c 5104 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
bust_spinlocks.c 676 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34

lib/ Provides a minimal bust_spinlocks for architectures which don't have one of their own.

check_signature.c 635 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
checksum.c 4245 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34

INET An implementation of the TCP/IP protocol suite for the LINUX operating system.

clz_ctz.c 1186 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
clz_tab.c 891 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
cmdline.c 5974 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
cmdline_kunit.c 4318 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34

Test cases for API provided by cmdline.c

cmpdi2.c 501 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
compat_audit.c 1002 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
cpu_rmap.c 7766 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34 CPU affinity reverse-map support
cpumask.c 5057 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
cpumask_kunit.c 4567 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34

KUnit tests for cpumask. Author: Sander Vanheule <svanheule.net">sander@svanheule.net>

crc-ccitt.c 5737 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34

linux/lib/

crc-itu-t.c 2803 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
crc-t10dif.c 3232 bytes 2025-03-06 09:18:39 2025-03-06 13:28:34  
crc16.c 2753 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
crc32.c 9546 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35

see: Documentation/staging/crc32.rst for a description of algorithms

crc32defs.h 1619 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35

Try to choose an implementation variant via Kconfig

crc32test.c 38298 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
crc4.c 1003 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35 simple crc-4 calculations.
crc64-rocksoft.c 3283 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
crc64.c 2687 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
crc7.c 2562 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
crc8.c 2478 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
ctype.c 1426 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
debug_info.c 782 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35

This file exists solely to ensure debug information for some core data structures is included in the final image even for CONFIG_DEBUG_INFO_REDUCED.

debug_locks.c 1267 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
debugobjects.c 36194 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
dec_and_lock.c 1256 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35  
decompress.c 1869 bytes 2025-03-06 09:18:39 2025-03-06 13:28:35

Detect the decompression method based on magic number

decompress_bunzip2.c 24044 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36

Size and speed optimizations by Manuel Novoa III (mjn3@codepoet.org).

decompress_inflate.c 4873 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
decompress_unlz4.c 4277 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
decompress_unlzma.c 16208 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
decompress_unlzo.c 6541 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
decompress_unxz.c 11196 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36

Wrapper for decompressing XZ-compressed kernel, initramfs, and initrd Author: Lasse Collin <tukaani.org">lasse.collin@tukaani.org> This file has been put into the public domain.

decompress_unzstd.c 10484 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
devmem_is_allowed.c 683 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
devres.c 15409 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
digsig.c 5647 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
dump_stack.c 3110 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36

Provide a default dump_stack() function for architectures which don't implement their own.

dynamic_debug.c 28605 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
dynamic_queue_limits.c 4429 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
earlycpio.c 3637 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36

Find a specific cpio member; must precede any compressed content.

errname.c 3738 bytes 2025-03-06 09:18:39 2025-03-06 13:28:36  
error-inject.c 5472 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37 Function-level error injection table
errseq.c 6781 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
extable.c 2945 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fault-inject-usercopy.c 823 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fault-inject.c 6030 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fdt.c 69 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fdt_addresses.c 79 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fdt_empty_tree.c 80 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fdt_ro.c 72 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fdt_rw.c 72 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fdt_strerror.c 78 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fdt_sw.c 72 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
fdt_wip.c 73 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
find_bit.c 3837 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
find_bit_benchmark.c 4579 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37

find_bit functions are widely used in kernel, so the successful boot is good enough test for correctness.

flex_proportions.c 7231 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
gen_crc32table.c 3406 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
gen_crc64table.c 2171 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
genalloc.c 27050 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
generic-radix-tree.c 5457 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
glob.c 3616 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
globtest.c 4306 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37

Extracted fronm glob.c

hexdump.c 8675 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37

lib/

hweight.c 1961 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
idr.c 17952 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
inflate.c 39585 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37 Not copyrighted 1992 by Mark Adler
interval_tree.c 540 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
interval_tree_test.c 3505 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
iomap.c 9365 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
iomap_copy.c 2226 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37  
iommu-helper.c 755 bytes 2025-03-06 09:18:39 2025-03-06 13:28:37

IOMMU helper functions for the free area management

iov_iter.c 46965 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
irq_poll.c 5756 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38 Add this irq_poll structure to the pending poll list and trigger the
irq_regs.c 394 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
is_single_threaded.c 1202 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
kasprintf.c 1426 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
Kconfig 16942 bytes 2025-03-06 09:18:39 -  
Kconfig.debug 90249 bytes 2025-03-06 09:18:39 -  
Kconfig.kasan 6808 bytes 2025-03-06 09:18:39 -  
Kconfig.kcsan 10217 bytes 2025-03-06 09:18:39 -  
Kconfig.kfence 3651 bytes 2025-03-06 09:18:39 -  
Kconfig.kgdb 5708 bytes 2025-03-06 09:18:39 -  
Kconfig.ubsan 5546 bytes 2025-03-06 09:18:39 -  
kfifo.c 12378 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
klist.c 10680 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38 Routines for manipulating klists.
kobject.c 28064 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38 library routines for handling generic kernel objects
kobject_uevent.c 19310 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
kstrtox.c 11087 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38

Convert integer string representation to an integer.

kstrtox.h 411 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
libcrc32c.c 2020 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
linear_ranges.c 8311 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
list-test.c 28664 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
list_debug.c 2267 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
list_sort.c 8384 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
llist.c 2602 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-hardirq.h 246 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-mutex.h 159 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-rlock-hardirq.h 74 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-rlock-softirq.h 74 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-rlock.h 197 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-rsem.h 202 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-rtmutex.h 162 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-softirq.h 246 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-spin-hardirq.h 73 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-spin-softirq.h 73 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-spin.h 157 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-wlock-hardirq.h 74 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-wlock-softirq.h 74 bytes 2025-03-06 09:18:39 2025-03-06 13:28:38  
locking-selftest-wlock.h 197 bytes 2025-03-06 09:18:39 2025-03-06 13:28:39  
locking-selftest-wsem.h 202 bytes 2025-03-06 09:18:39 2025-03-06 13:28:39  
locking-selftest.c 67178 bytes 2025-03-06 09:18:39 2025-03-06 13:28:39  
lockref.c 4025 bytes 2025-03-06 09:18:39 2025-03-06 13:28:39  
logic_iomem.c 7417 bytes 2025-03-06 09:18:39 2025-03-06 13:28:39  
logic_pio.c 8705 bytes 2025-03-06 09:18:39 2025-03-06 13:28:39  
lru_cache.c 19261 bytes 2025-03-06 09:18:39 2025-03-06 13:28:39  
lshrdi3.c 559 bytes 2025-03-06 09:18:39 2025-03-06 13:28:39

lib/

Makefile 14408 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
memcat_p.c 753 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
memcpy_kunit.c 8180 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40

Test cases for memcpy(), memmove(), and memset().

memneq.c 6584 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
memory-notifier-error-inject.c 1157 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
memregion.c 429 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40

identifiers for device / performance-differentiated memory regions

memweight.c 1035 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
muldi3.c 1709 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
net_utils.c 640 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
netdev-notifier-error-inject.c 1586 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
nlattr.c 27550 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40

NETLINK Netlink attributes Authors: Thomas Graf <suug.ch">tgraf@suug.ch> Alexey Kuznetsov <ms2.inr.ac.ru">kuznet@ms2.inr.ac.ru>

nmi_backtrace.c 3386 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
notifier-error-inject.c 2566 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
notifier-error-inject.h 653 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
objagg.c 28877 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
of-reconfig-notifier-error-inject.c 1346 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
oid_registry.c 4536 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
once.c 1555 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
overflow_kunit.c 25789 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40

Test cases for arithmetic overflow checks.

packing.c 6697 bytes 2025-03-06 09:18:39 2025-03-06 13:28:40  
parman.c 10848 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41 Manager for linear priority array areas
parser.c 9071 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41 simple parser for mount, etc. options.
pci_iomap.c 5823 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41  
percpu-refcount.c 15696 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41  
percpu_counter.c 6581 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41

Fast batching percpu counters.

percpu_test.c 3300 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41  
plist.c 6041 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41

lib/ Descending-priority-sorted double-linked list (C) 2002-2003 Intel Corp Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com">inaky.perez-gonzalez@intel.com>.

pm-notifier-error-inject.c 1183 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41  
polynomial.c 3687 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41  
radix-tree.c 44089 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41  
random32.c 9320 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41  
ratelimit.c 1885 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41 Do something with rate limit.
rbtree.c 17485 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41

Red Black Trees (C) 1999 Andrea Arcangeli <suse.de">andrea@suse.de> (C) 2002 David Woodhouse <infradead.org">dwmw2@infradead.org> (C) 2012 Michel Lespinasse <google.com">walken@google.com> linux/lib/

rbtree_test.c 9586 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41  
ref_tracker.c 4105 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41  
refcount.c 4884 bytes 2025-03-06 09:18:39 2025-03-06 13:28:41

Out-of-line refcount functions.

rhashtable.c 30228 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
sbitmap.c 19668 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
scatterlist.c 28723 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42 Usually the next entry will be @sg@ + 1, but if this sg element is part
seq_buf.c 10217 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
sg_pool.c 4340 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
sg_split.c 5161 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
show_mem.c 1078 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
siphash.c 11845 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
slub_kunit.c 3455 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
smp_processor_id.c 1388 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42

lib/ DEBUG_PREEMPT variant of smp_processor_id().

sort.c 9133 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42

A fast, small, non-recursive O(n log n) sort for the Linux kernel This performs n*log2(n) + 0.37*n + o(n) comparisons on average, and 1.5*n*log2(n) + O(n) in the (very contrived) worst case.

stackdepot.c 14892 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
stackinit_kunit.c 14271 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42

Test cases for compiler-based stack variable zeroing via ftrivial-auto-var-init={zero,pattern} or CONFIG_GCC_PLUGIN_STRUCTLEAK*.

stmp_device.c 1953 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
string.c 21256 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42

This file should be used only for "library" routines that may have alternative implementations on specific architectures (generally found in <asm-xx/string.h>), or get overloaded by FORTIFY_SOURCE.

string_helpers.c 23597 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
strncpy_from_user.c 4032 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
strnlen_user.c 3436 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
syscall.c 2744 bytes 2025-03-06 09:18:39 2025-03-06 13:28:42  
test-kstrtox.c 17713 bytes 2025-03-06 09:18:39 2025-03-06 13:28:43  
test-string_helpers.c 15290 bytes 2025-03-06 09:18:39 2025-03-06 13:28:43

Test cases for lib/string_helpers.c module.

test_bitmap.c 32148 bytes 2025-03-06 09:18:39 2025-03-06 13:28:43

Test cases for bitmap API.

test_bitops.c 2541 bytes 2025-03-06 09:18:39 2025-03-06 13:28:43  
test_bits.c 1814 bytes 2025-03-06 09:18:39 2025-03-06 13:28:43

Test cases for functions and macros in bits.h

test_blackhole_dev.c 2585 bytes 2025-03-06 09:18:39 2025-03-06 13:28:43  
test_bpf.c 364822 bytes 2025-03-06 09:18:39 2025-03-06 13:28:45  
test_debug_virtual.c 981 bytes 2025-03-06 09:18:39 2025-03-06 13:28:45  
test_firmware.c 37391 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46

This module provides an interface to trigger and test firmware loading.

test_fprobe.c 4340 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46 simple sanity test for fprobe
test_fpu.c 2052 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46

Test cases for using floating point operations inside a kernel module.

test_free_pages.c 1003 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46 Check that free_pages() doesn't leak memory
test_hash.c 6683 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46  
test_hexdump.c 6437 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46

Test cases for lib/hexdump.c module.

test_hmm.c 36233 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46

This is a module to test the HMM (Heterogeneous Memory Management) mirror and zone device private memory migration APIs of the kernel.

test_hmm_uapi.h 2886 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46

This is a module to test the HMM (Heterogeneous Memory Management) API of the kernel. It allows a userspace program to expose its entire address space through the HMM test module device file.

test_ida.c 4392 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46 Test the IDA API
test_kasan.c 38426 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46  
test_kasan_module.c 3402 bytes 2025-03-06 09:18:39 2025-03-06 13:28:46  
test_kmod.c 30589 bytes 2025-03-06 09:18:39 2025-03-06 13:28:47  
test_kprobes.c 9609 bytes 2025-03-06 09:18:39 2025-03-06 13:28:47 simple sanity test for *probes
test_linear_ranges.c 7695 bytes 2025-03-06 09:18:39 2025-03-06 13:28:47  
test_list_sort.c 3351 bytes 2025-03-06 09:18:39 2025-03-06 13:28:47  
test_lockup.c 16848 bytes 2025-03-06 09:18:39 2025-03-06 13:28:47

Test module to generate lockups

test_memcat_p.c 2298 bytes 2025-03-06 09:18:39 2025-03-06 13:28:47

Test cases for memcat_p() in lib/memcat_p.c

test_meminit.c 10150 bytes 2025-03-06 09:18:39 2025-03-06 13:28:47

Test cases for SL[AOU]B/page initialization at alloc/free time.

test_min_heap.c 4425 bytes 2025-03-06 09:18:39 2025-03-06 13:28:47  
test_module.c 794 bytes 2025-03-06 09:18:39 2025-03-06 13:28:47

This module emits "Hello, world" on printk when loaded.

test_objagg.c 25159 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_parman.c 11431 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48 Test module for parman
test_printf.c 19527 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48

Test cases for printf facility.

test_ref_tracker.c 3127 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_rhashtable.c 20492 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48

Self Test

test_scanf.c 29596 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48

Test cases for sscanf facility.

test_siphash.c 7708 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_sort.c 907 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_static_key_base.c 1603 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_static_keys.c 5731 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_string.c 4701 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_strscpy.c 4112 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_sysctl.c 4750 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48

This module provides an interface to the proc sysctl interfaces.

test_ubsan.c 2498 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_user_copy.c 9303 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48  
test_uuid.c 3485 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48

Test cases for lib/uuid.c module.

test_vmalloc.c 11117 bytes 2025-03-06 09:18:39 2025-03-06 13:28:48

Test module for stress and analyze performance of vmalloc allocator. (C) 2018 Uladzislau Rezki (Sony) <gmail.com">urezki@gmail.com>

test_xarray.c 48376 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49 Test the XArray API
textsearch.c 9551 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49

lib/ Generic text search interface Authors: Thomas Graf <suug.ch">tgraf@suug.ch> Pablo Neira Ayuso <netfilter.org">pablo@netfilter.org>

timerqueue.c 2340 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49

Generic Timer-queue Manages a simple queue of timers, ordered by expiration time.

trace_readwrite.c 1356 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49  
ts_bm.c 5193 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49

lib/ Boyer-Moore text search implementation Authors: Pablo Neira Ayuso <eurodev.net">pablo@eurodev.net> Implements Boyer-Moore string matching algorithm: [1] A Fast String Searching Algorithm, R.S.

ts_fsm.c 10644 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49  
ts_kmp.c 4220 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49

lib/ Knuth-Morris-Pratt text search implementation Authors: Thomas Graf <suug.ch">tgraf@suug.ch> Implements a linear-time string-matching algorithm due to Knuth, Morris, and Pratt [1].

ubsan.c 9978 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49  
ubsan.h 1815 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49  
ucmpdi2.c 568 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49  
ucs2_string.c 2534 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49  
usercopy.c 2239 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49  
uuid.c 2988 bytes 2025-03-06 09:18:39 2025-03-06 13:28:49  
vsprintf.c 88866 bytes 2025-03-06 09:18:39 2025-03-06 13:28:50 Lars Wirzenius & Linus Torvalds.
win_minmax.c 3436 bytes 2025-03-06 09:18:39 2025-03-06 13:28:50

lib/minmax.c: windowed min/max tracker Kathleen Nichols' algorithm for tracking the minimum (or maximum) value of a data stream over some fixed time interval.

xarray.c 60246 bytes 2025-03-06 09:18:39 2025-03-06 13:28:50  
xxhash.c 12979 bytes 2025-03-06 09:18:39 2025-03-06 13:28:50