nht               226 include/net/neighbour.h 	struct neigh_hash_table __rcu *nht;
nht               289 include/net/neighbour.h 	struct neigh_hash_table *nht = rcu_dereference_bh(tbl->nht);
nht               293 include/net/neighbour.h 	hash_val = hash(pkey, dev, nht->hash_rnd) >> (32 - nht->hash_shift);
nht               294 include/net/neighbour.h 	for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]);
nht               380 include/net/neighbour.h 	struct neigh_hash_table *nht;
nht               200 net/core/neighbour.c 	struct neigh_hash_table *nht;
nht               206 net/core/neighbour.c 	nht = rcu_dereference_protected(tbl->nht,
nht               208 net/core/neighbour.c 	hash_val = tbl->hash(pkey, ndel->dev, nht->hash_rnd);
nht               209 net/core/neighbour.c 	hash_val = hash_val >> (32 - nht->hash_shift);
nht               211 net/core/neighbour.c 	np = &nht->hash_buckets[hash_val];
nht               290 net/core/neighbour.c 	struct neigh_hash_table *nht;
nht               292 net/core/neighbour.c 	nht = rcu_dereference_protected(tbl->nht,
nht               295 net/core/neighbour.c 	for (i = 0; i < (1 << nht->hash_shift); i++) {
nht               297 net/core/neighbour.c 		struct neighbour __rcu **np = &nht->hash_buckets[i];
nht               465 net/core/neighbour.c 	struct neigh_hash_table *nht = container_of(head,
nht               468 net/core/neighbour.c 	size_t size = (1 << nht->hash_shift) * sizeof(struct neighbour *);
nht               469 net/core/neighbour.c 	struct neighbour __rcu **buckets = nht->hash_buckets;
nht               477 net/core/neighbour.c 	kfree(nht);
nht               488 net/core/neighbour.c 	old_nht = rcu_dereference_protected(tbl->nht,
nht               516 net/core/neighbour.c 	rcu_assign_pointer(tbl->nht, new_nht);
nht               547 net/core/neighbour.c 	struct neigh_hash_table *nht;
nht               552 net/core/neighbour.c 	nht = rcu_dereference_bh(tbl->nht);
nht               553 net/core/neighbour.c 	hash_val = tbl->hash(pkey, NULL, nht->hash_rnd) >> (32 - nht->hash_shift);
nht               555 net/core/neighbour.c 	for (n = rcu_dereference_bh(nht->hash_buckets[hash_val]);
nht               581 net/core/neighbour.c 	struct neigh_hash_table *nht;
nht               618 net/core/neighbour.c 	nht = rcu_dereference_protected(tbl->nht,
nht               621 net/core/neighbour.c 	if (atomic_read(&tbl->entries) > (1 << nht->hash_shift))
nht               622 net/core/neighbour.c 		nht = neigh_hash_grow(tbl, nht->hash_shift + 1);
nht               624 net/core/neighbour.c 	hash_val = tbl->hash(n->primary_key, dev, nht->hash_rnd) >> (32 - nht->hash_shift);
nht               631 net/core/neighbour.c 	for (n1 = rcu_dereference_protected(nht->hash_buckets[hash_val],
nht               651 net/core/neighbour.c 			   rcu_dereference_protected(nht->hash_buckets[hash_val],
nht               653 net/core/neighbour.c 	rcu_assign_pointer(nht->hash_buckets[hash_val], n);
nht               891 net/core/neighbour.c 	struct neigh_hash_table *nht;
nht               896 net/core/neighbour.c 	nht = rcu_dereference_protected(tbl->nht,
nht               914 net/core/neighbour.c 	for (i = 0 ; i < (1 << nht->hash_shift); i++) {
nht               915 net/core/neighbour.c 		np = &nht->hash_buckets[i];
nht               954 net/core/neighbour.c 		nht = rcu_dereference_protected(tbl->nht,
nht              1696 net/core/neighbour.c 	RCU_INIT_POINTER(tbl->nht, neigh_hash_alloc(3));
nht              1701 net/core/neighbour.c 	if (!tbl->nht || !tbl->phash_buckets)
nht              1736 net/core/neighbour.c 	call_rcu(&rcu_dereference_protected(tbl->nht, 1)->rcu,
nht              1738 net/core/neighbour.c 	tbl->nht = NULL;
nht              2054 net/core/neighbour.c 		struct neigh_hash_table *nht;
nht              2065 net/core/neighbour.c 		nht = rcu_dereference_bh(tbl->nht);
nht              2066 net/core/neighbour.c 		ndc.ndtc_hash_rnd = nht->hash_rnd[0];
nht              2067 net/core/neighbour.c 		ndc.ndtc_hash_mask = ((1 << nht->hash_shift) - 1);
nht              2553 net/core/neighbour.c 	struct neigh_hash_table *nht;
nht              2560 net/core/neighbour.c 	nht = rcu_dereference_bh(tbl->nht);
nht              2562 net/core/neighbour.c 	for (h = s_h; h < (1 << nht->hash_shift); h++) {
nht              2565 net/core/neighbour.c 		for (n = rcu_dereference_bh(nht->hash_buckets[h]), idx = 0;
nht              2927 net/core/neighbour.c 	struct neigh_hash_table *nht;
nht              2930 net/core/neighbour.c 	nht = rcu_dereference_bh(tbl->nht);
nht              2933 net/core/neighbour.c 	for (chain = 0; chain < (1 << nht->hash_shift); chain++) {
nht              2936 net/core/neighbour.c 		for (n = rcu_dereference_bh(nht->hash_buckets[chain]);
nht              2951 net/core/neighbour.c 	struct neigh_hash_table *nht;
nht              2953 net/core/neighbour.c 	nht = rcu_dereference_protected(tbl->nht,
nht              2955 net/core/neighbour.c 	for (chain = 0; chain < (1 << nht->hash_shift); chain++) {
nht              2959 net/core/neighbour.c 		np = &nht->hash_buckets[chain];
nht              3031 net/core/neighbour.c 	struct neigh_hash_table *nht = state->nht;
nht              3036 net/core/neighbour.c 	for (bucket = 0; bucket < (1 << nht->hash_shift); bucket++) {
nht              3037 net/core/neighbour.c 		n = rcu_dereference_bh(nht->hash_buckets[bucket]);
nht              3072 net/core/neighbour.c 	struct neigh_hash_table *nht = state->nht;
nht              3103 net/core/neighbour.c 		if (++state->bucket >= (1 << nht->hash_shift))
nht              3106 net/core/neighbour.c 		n = rcu_dereference_bh(nht->hash_buckets[state->bucket]);
nht              3217 net/core/neighbour.c 	state->nht = rcu_dereference_bh(tbl->nht);