summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* dir: New bfs_polldir() function for directory readaheadTavian Barnes2023-06-133-22/+80
|
* eval: Pre-allocate the highest fdTavian Barnes2023-06-131-0/+18
| | | | | | This avoids the need to grow the fd table during the search, significantly reducing kernel contention when opening directories in parallel.
* bftw: Use an I/O queue to open directoriesTavian Barnes2023-06-136-8/+199
| | | | Parallelism is controlled by the new -j flag.
* bftw: Implement open file pinningTavian Barnes2023-06-121-32/+100
|
* dir: Add a flag to bfs_freedir() to force the fd to stay the sameTavian Barnes2023-06-124-9/+24
|
* ioq: Implement an async I/O queueTavian Barnes2023-06-123-0/+379
|
* xtime: Make lazy tzset() call thread-safeTavian Barnes2023-06-121-10/+12
|
* xregex: Initialize Oniguruma thread-safelyTavian Barnes2023-06-121-16/+24
|
* stat: Make syscall support checks thread-safeTavian Barnes2023-06-121-6/+7
|
* fsade: Make syscall support checks thread-safeTavian Barnes2023-06-121-6/+7
|
* atomic: Add shorthands for explicit atomic operationsTavian Barnes2023-06-122-0/+86
|
* lock: Add wrappers for POSIX synchronization primitivesTavian Barnes2023-06-122-0/+85
|
* eval: For -ls, track the longest user/group names to keep alignmentTavian Barnes2023-06-081-20/+26
|
* eval: Print non-path -ls text in the "normal" color, like ls -lTavian Barnes2023-06-081-1/+6
|
* color: `fi=0` should not fall back to `no`Tavian Barnes2023-06-081-4/+4
|
* main: Add some missing headers to the overviewTavian Barnes2023-05-251-0/+3
|
* fsade: Add missing #include "sanity.h"Tavian Barnes2023-05-251-0/+1
|
* sanity: Add wrappers for sanitizer interfacesTavian Barnes2023-05-257-36/+110
|
* list: Allow popping from an empty listTavian Barnes2023-05-242-17/+6
|
* list: Return the removed item from SLIST_POP()Tavian Barnes2023-05-203-12/+19
|
* Switch from assert() to bfs_assert()/bfs_verify()Tavian Barnes2023-05-1812-66/+57
|
* diag: New bfs_verify() and bfs_assert() macrosTavian Barnes2023-05-181-0/+22
|
* Use bfs_bug("...") over assert(!"...")Tavian Barnes2023-05-187-14/+15
|
* diag: New bfs_abort() and bfs_bug() macrosTavian Barnes2023-05-182-1/+33
|
* config: Include <stdnoreturn.h>Tavian Barnes2023-05-181-0/+1
|
* bar: Use USHRT_WIDTHTavian Barnes2023-05-181-2/+2
|
* trie: Use SIZE_WIDTHTavian Barnes2023-05-181-6/+6
|
* bit: Rename int.h to bit.hTavian Barnes2023-05-182-4/+4
|
* Use SYS_* instead of __NR_*Tavian Barnes2023-05-162-3/+3
|
* config: Align after saturating in flex_sizeof()Tavian Barnes2023-05-161-2/+9
| | | | | This ensures that it's legal to call aligned_alloc() with the result, which requires a multiple of the alignment.
* trie: Use standard bit utilitiesTavian Barnes2023-05-161-44/+15
|
* int: Backport C23's bit utilitiesTavian Barnes2023-05-161-0/+187
|
* trie: Use ENDIAN_* and bswap()Tavian Barnes2023-05-161-7/+3
|
* int: Backport C23's endian utilitiesTavian Barnes2023-05-161-0/+68
|
* trie: Use the _WIDTH macrosTavian Barnes2023-05-161-5/+6
|
* int: Backport C23's _WIDTH macrosTavian Barnes2023-05-161-0/+100
|
* trie: Use bfs_static_assert()Tavian Barnes2023-05-161-1/+2
|
* diag: New bfs_static_assert() macroTavian Barnes2023-05-161-1/+11
|
* config: Saturate on overflow in flex_sizeof()Tavian Barnes2023-05-111-1/+11
|
* config: Properly align flex_sizeof()Tavian Barnes2023-05-111-10/+21
|
* config: Provide <stdalign.h> and <stdbool.h>Tavian Barnes2023-05-1125-26/+13
| | | | In anticipation of C23, since those headers won't be necessary any more.
* config: s/BFS_FALLTHROUGH/fallthru/Tavian Barnes2023-05-105-16/+16
|
* config: s/BFS_UNINIT/uninit/Tavian Barnes2023-05-102-6/+6
|
* config: s/BFS_FLEX_SIZEOF/flex_sizeof/Tavian Barnes2023-05-104-6/+6
|
* config: s/BFS_COUNTOF/countof/Tavian Barnes2023-05-103-10/+10
|
* config: Group attribute wrappers togetherTavian Barnes2023-05-101-21/+23
|
* config: Hoist the assignment outside of BFS_UNINIT()Tavian Barnes2023-05-082-6/+6
|
* bftw: Use separate dir/file queuesTavian Barnes2023-05-051-218/+176
|
* style: Don't use tabs to indent preprocessor directivesTavian Barnes2023-05-0314-143/+143
|
* list: New SLIST_INSERT() macroTavian Barnes2023-04-121-30/+41
|