Searched refs:XT_PCPU_BLOCK_SIZE (Results 1 – 1 of 1) sorted by relevance
39 #define XT_PCPU_BLOCK_SIZE 4096 macro1925 BUILD_BUG_ON(XT_PCPU_BLOCK_SIZE < (sizeof(*counter) * 2)); in xt_percpu_counter_alloc()1931 state->mem = __alloc_percpu(XT_PCPU_BLOCK_SIZE, in xt_percpu_counter_alloc()1932 XT_PCPU_BLOCK_SIZE); in xt_percpu_counter_alloc()1938 if (state->off > (XT_PCPU_BLOCK_SIZE - sizeof(*counter))) { in xt_percpu_counter_alloc()1950 if (nr_cpu_ids > 1 && (pcnt & (XT_PCPU_BLOCK_SIZE - 1)) == 0) in xt_percpu_counter_free()