Home
last modified time | relevance | path

Searched refs:BUCKET_SIZE (Results 1 – 1 of 1) sorted by relevance

/linux-6.6.21/fs/btrfs/
Dcompression.c559 #define BUCKET_SIZE (256) macro
617 ws->bucket = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket), GFP_KERNEL); in alloc_heuristic_ws()
621 ws->bucket_b = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket_b), GFP_KERNEL); in alloc_heuristic_ws()
1101 for (i = 0; i < BUCKET_SIZE && ws->bucket[i].count > 0; i++) { in shannon_entropy()
1237 radix_sort(ws->bucket, ws->bucket_b, BUCKET_SIZE); in byte_core_set_size()
1282 for (; i < BUCKET_SIZE; i++) { in byte_set_size()
1385 memset(ws->bucket, 0, sizeof(*ws->bucket)*BUCKET_SIZE); in btrfs_compress_heuristic()