Searched refs:buckets (Results 1 – 16 of 16) sorted by relevance
| /net/netfilter/ipvs/ |
| A D | ip_vs_sh.c | 70 struct ip_vs_sh_bucket buckets[IP_VS_SH_TAB_SIZE]; member 108 struct ip_vs_dest *dest = rcu_dereference(s->buckets[hash].dest); in ip_vs_sh_get() 130 dest = rcu_dereference(s->buckets[ihash].dest); in ip_vs_sh_get_fallback() 145 dest = rcu_dereference(s->buckets[hash].dest); in ip_vs_sh_get_fallback() 172 b = &s->buckets[0]; in ip_vs_sh_reassign() 216 b = &s->buckets[0]; in ip_vs_sh_flush()
|
| A D | ip_vs_dh.c | 64 struct ip_vs_dh_bucket buckets[IP_VS_DH_TAB_SIZE]; member 90 return rcu_dereference(s->buckets[ip_vs_dh_hashkey(af, addr)].dest); in ip_vs_dh_get() 106 b = &s->buckets[0]; in ip_vs_dh_reassign() 140 b = &s->buckets[0]; in ip_vs_dh_flush()
|
| /net/ceph/crush/ |
| A D | crush.c | 111 if (map->buckets) { in crush_destroy() 114 if (map->buckets[b] == NULL) in crush_destroy() 116 crush_destroy_bucket(map->buckets[b]); in crush_destroy() 118 kfree(map->buckets); in crush_destroy()
|
| A D | mapper.c | 531 itemtype = map->buckets[-1-item]->type; in crush_choose_firstn() 544 in = map->buckets[-1-item]; in crush_choose_firstn() 568 map->buckets[-1-item], in crush_choose_firstn() 744 itemtype = map->buckets[-1-item]->type; in crush_choose_indep() 761 in = map->buckets[-1-item]; in crush_choose_indep() 781 map->buckets[-1-item], in crush_choose_indep() 868 if (!map->buckets[b]) in crush_init_workspace() 872 switch (map->buckets[b]->alg) { in crush_init_workspace() 951 map->buckets[-1-curstep->arg1])) { in crush_do_rule() 1035 map->buckets[bno], in crush_do_rule() [all …]
|
| /net/sched/ |
| A D | sch_hhf.c | 128 struct wdrr_bucket buckets[WDRR_BUCKET_CNT]; member 355 bucket = &q->buckets[WDRR_BUCKET_FOR_HH]; in hhf_drop() 357 bucket = &q->buckets[WDRR_BUCKET_FOR_NON_HH]; in hhf_drop() 368 return bucket - q->buckets; in hhf_drop() 381 bucket = &q->buckets[idx]; in hhf_enqueue() 435 int weight = (bucket - q->buckets == WDRR_BUCKET_FOR_HH) ? in hhf_dequeue() 646 struct wdrr_bucket *bucket = q->buckets + i; in hhf_init()
|
| /net/netfilter/ |
| A D | nft_set_hash.c | 494 u32 buckets; member 515 hash = reciprocal_scale(hash, priv->buckets); in nft_hash_lookup() 534 hash = reciprocal_scale(hash, priv->buckets); in nft_hash_get() 555 hash = reciprocal_scale(hash, priv->buckets); in nft_hash_lookup_fast() 577 hash = reciprocal_scale(hash, priv->buckets); in nft_jhash() 658 for (i = 0; i < priv->buckets; i++) { in nft_hash_walk() 686 priv->buckets = nft_hash_buckets(desc->size); in nft_hash_init() 700 for (i = 0; i < priv->buckets; i++) { in nft_hash_destroy()
|
| A D | Kconfig | 1348 of limit buckets, based on your selection of source/destination
|
| /net/openvswitch/ |
| A D | flow_table.c | 148 kvfree(ti->buckets); in __table_instance_destroy() 160 ti->buckets = kvmalloc_array(new_size, sizeof(struct hlist_head), in table_instance_alloc() 162 if (!ti->buckets) { in table_instance_alloc() 168 INIT_HLIST_HEAD(&ti->buckets[i]); in table_instance_alloc() 483 struct hlist_head *head = &ti->buckets[i]; in table_instance_flow_flush() 536 head = &ti->buckets[*bucket]; in ovs_flow_tbl_dump_next() 555 return &ti->buckets[hash & (ti->n_buckets - 1)]; in find_bucket() 588 struct hlist_head *head = &old->buckets[i]; in flow_table_copy_flows()
|
| A D | flow_table.h | 55 struct hlist_head *buckets; member
|
| /net/unix/ |
| A D | diag.c | 188 sk_for_each(sk, &net->unx.table.buckets[slot]) { in unix_diag_dump() 227 sk_for_each(sk, &net->unx.table.buckets[i]) { in unix_lookup_by_ino()
|
| A D | af_unix.c | 380 sk_add_node(sk, &net->unx.table.buckets[sk->sk_hash]); in __unix_insert_socket() 431 sk_for_each(s, &net->unx.table.buckets[hash]) { in __unix_find_socket_byname() 3498 for (sk = sk_head(&seq_file_net(seq)->unx.table.buckets[bucket]); in unix_from_bucket() 3848 net->unx.table.buckets = kvmalloc_array(UNIX_HASH_SIZE, in unix_net_init() 3851 if (!net->unx.table.buckets) in unix_net_init() 3857 INIT_HLIST_HEAD(&net->unx.table.buckets[i]); in unix_net_init() 3876 kvfree(net->unx.table.buckets); in unix_net_exit()
|
| /net/core/ |
| A D | sock_map.c | 860 struct bpf_shtab_bucket *buckets; member 875 return &htab->buckets[hash & (htab->buckets_num - 1)]; in sock_hash_select_bucket() 1125 htab->buckets = bpf_map_area_alloc(htab->buckets_num * in sock_hash_alloc() 1128 if (!htab->buckets) { in sock_hash_alloc() 1134 INIT_HLIST_HEAD(&htab->buckets[i].head); in sock_hash_alloc() 1135 spin_lock_init(&htab->buckets[i].lock); in sock_hash_alloc() 1193 bpf_map_area_free(htab->buckets); in sock_hash_free() 1336 bucket = &htab->buckets[info->bucket_id]; in sock_hash_seq_find_next()
|
| A D | bpf_sk_storage.c | 721 b = &smap->buckets[bucket_id++]; in bpf_sk_storage_map_seq_find_next() 735 b = &smap->buckets[i]; in bpf_sk_storage_map_seq_find_next()
|
| A D | dev.h | 23 u8 buckets[]; member
|
| A D | dev.c | 5127 if (likely(fl->buckets[old_flow])) in skb_flow_limit() 5128 fl->buckets[old_flow]--; in skb_flow_limit() 5130 if (++fl->buckets[new_flow] > (FLOW_LIMIT_HISTORY >> 1)) { in skb_flow_limit()
|
| /net/ceph/ |
| A D | osdmap.c | 389 arg->ids_size != c->buckets[bucket_index]->size) in decode_choose_args() 414 if (!c->buckets[b]) in crush_finalize() 417 switch (c->buckets[b]->alg) { in crush_finalize() 427 c->working_size += c->buckets[b]->size * sizeof(__u32); in crush_finalize() 467 c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); in crush_decode() 468 if (c->buckets == NULL) in crush_decode() 482 c->buckets[i] = NULL; in crush_decode() 508 b = c->buckets[i] = kzalloc(size, GFP_NOFS); in crush_decode() 3041 b = c->buckets[i]; in get_immediate_parent()
|
Completed in 69 milliseconds