Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dcompression.c724 #define BUCKET_SIZE (256) macro
780 ws->bucket = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket), GFP_KERNEL); in alloc_heuristic_ws()
784 ws->bucket_b = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket_b), GFP_KERNEL); in alloc_heuristic_ws()
1269 for (i = 0; i < BUCKET_SIZE && ws->bucket[i].count > 0; i++) { in shannon_entropy()
1405 radix_sort(ws->bucket, ws->bucket_b, BUCKET_SIZE); in byte_core_set_size()
1450 for (; i < BUCKET_SIZE; i++) { in byte_set_size()
1553 memset(ws->bucket, 0, sizeof(*ws->bucket)*BUCKET_SIZE); in btrfs_compress_heuristic()