Searched refs:flow_cache_hash_size (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/net/core/
H A Dflow.c50 #define flow_cache_hash_size(cache) (1 << (cache)->hash_shift) macro
123 for (i = 0; i < flow_cache_hash_size(fc); i++) { __flow_cache_shrink()
145 int shrink_to = fc->low_watermark / flow_cache_hash_size(fc); flow_cache_shrink()
167 & (flow_cache_hash_size(fc) - 1); flow_hash_code()
294 for (i = 0; i < flow_cache_hash_size(fc); i++) { flow_cache_flush_tasklet()
324 for (i = 0; i < flow_cache_hash_size(fc); i++) flow_cache_percpu_empty()
396 size_t sz = sizeof(struct hlist_head) * flow_cache_hash_size(fc); flow_cache_cpu_prepare()
451 fc->low_watermark = 2 * flow_cache_hash_size(fc); flow_cache_init()
452 fc->high_watermark = 4 * flow_cache_hash_size(fc); flow_cache_init()

Completed in 134 milliseconds