Home
last modified time | relevance | path

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

/include/net/
Dfq_impl.h113 return reciprocal_scale(hash, fq->flows_cnt); in fq_flow_idx()
303 static int fq_init(struct fq *fq, int flows_cnt) in fq_init() argument
310 fq->flows_cnt = max_t(u32, flows_cnt, 1); in fq_init()
316 fq->flows = kvcalloc(fq->flows_cnt, sizeof(fq->flows[0]), GFP_KERNEL); in fq_init()
320 for (i = 0; i < fq->flows_cnt; i++) in fq_init()
331 for (i = 0; i < fq->flows_cnt; i++) in fq_reset()
Dfq.h71 u32 flows_cnt; member