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