Searched refs:BUCKET_SIZE (Results 1 – 1 of 1) sorted by relevance
850 #define BUCKET_SIZE (256) macro908 ws->bucket = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket), GFP_KERNEL); in alloc_heuristic_ws()912 ws->bucket_b = kcalloc(BUCKET_SIZE, sizeof(*ws->bucket_b), GFP_KERNEL); in alloc_heuristic_ws()1384 for (i = 0; i < BUCKET_SIZE && ws->bucket[i].count > 0; i++) { in shannon_entropy()1520 radix_sort(ws->bucket, ws->bucket_b, BUCKET_SIZE); in byte_core_set_size()1565 for (; i < BUCKET_SIZE; i++) { in byte_set_size()1668 memset(ws->bucket, 0, sizeof(*ws->bucket)*BUCKET_SIZE); in btrfs_compress_heuristic()