Home
last modified time | relevance | path

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

/Linux-v5.10/net/decnet/
Ddn_table.c56 struct dn_hash struct
87 static inline dn_fib_idx_t dn_hash(dn_fib_key_t key, struct dn_zone *dz) in dn_hash() function
105 return &dz->dz_hash[dn_hash(key, dz).datum]; in dn_chain_p()
110 return dz->dz_hash[dn_hash(key, dz).datum]; in dz_chain()
187 static struct dn_zone *dn_new_zone(struct dn_hash *table, int z) in dn_new_zone()
467 struct dn_hash *table = (struct dn_hash *)tb->data; in dn_fib_table_dump()
532 struct dn_hash *table = (struct dn_hash *)tb->data; in dn_fib_table_insert()
669 struct dn_hash *table = (struct dn_hash*)tb->data; in dn_fib_table_delete()
748 static inline int dn_flush_list(struct dn_fib_node **fp, int z, struct dn_hash *table) in dn_flush_list()
773 struct dn_hash *table = (struct dn_hash *)tb->data; in dn_fib_table_flush()
[all …]
Ddn_route.c170 static __inline__ unsigned int dn_hash(__le16 src, __le16 dst) in dn_hash() function
1212 hash = dn_hash(rt->fld.saddr, rt->fld.daddr); in dn_route_output_slow()
1246 unsigned int hash = dn_hash(flp->saddr, flp->daddr); in __dn_route_output_key()
1490 hash = dn_hash(rt->fld.saddr, rt->fld.daddr); in dn_route_input_slow()
1523 unsigned int hash = dn_hash(cb->src, cb->dst); in dn_route_input()