Home
last modified time | relevance | path

Searched refs:n_buckets (Results 1 – 3 of 3) sorted by relevance

/net/openvswitch/
Dflow_table.c169 ti->n_buckets = new_size; in table_instance_alloc()
484 for (i = 0; i < ti->n_buckets; i++) { in table_instance_flow_flush()
536 while (*bucket < ti->n_buckets) { in ovs_flow_tbl_dump_next()
557 return &ti->buckets[hash & (ti->n_buckets - 1)]; in find_bucket()
588 for (i = 0; i < old->n_buckets; i++) { in flow_table_copy_flows()
606 int n_buckets, bool ufid) in table_instance_rehash() argument
610 new_ti = table_instance_alloc(n_buckets); in table_instance_rehash()
954 return table_instance_rehash(ti, ti->n_buckets * 2, ufid); in table_instance_expand()
1048 if (table->count > ti->n_buckets) in flow_key_insert()
1051 new_ti = table_instance_rehash(ti, ti->n_buckets, false); in flow_key_insert()
[all …]
Dflow_table.h56 unsigned int n_buckets; member
/net/core/
Dbpf_sk_storage.c742 u32 i, count, n_buckets; in bpf_sk_storage_map_seq_find_next() local
746 n_buckets = 1U << smap->bucket_log; in bpf_sk_storage_map_seq_find_next()
747 if (bucket_id >= n_buckets) in bpf_sk_storage_map_seq_find_next()