Lines Matching refs:KEYLENGTH
112 #define KEYLENGTH (8*sizeof(t_key)) macro
117 #define IS_TRIE(n) ((n)->pos >= KEYLENGTH)
225 if ((BITS_PER_LONG <= KEYLENGTH) && (KEYLENGTH == kv->pos)) in get_index()
384 BUG_ON(!bits || (shift > KEYLENGTH)); in tnode_new()
393 if (bits == KEYLENGTH) in tnode_new()
399 tn->key = (shift < KEYLENGTH) ? (key >> shift) << shift : 0; in tnode_new()
840 if ((tn->bits == KEYLENGTH) && tn_info(tn)->full_children) in should_collapse()
1019 u8 slen = KEYLENGTH - fri->dst_len; in fib_find_matching_alias()
1198 if (plen > KEYLENGTH) { in fib_valid_key_len()
1203 if ((plen < KEYLENGTH) && (key << plen)) { in fib_valid_key_len()
1225 u8 slen = KEYLENGTH - plen; in fib_table_insert()
1579 if ((BITS_PER_LONG > KEYLENGTH) || (fa->fa_slen < KEYLENGTH)) { in fib_table_lookup()
1626 res->prefixlen = KEYLENGTH - fa->fa_slen; in fib_table_lookup()
1708 call_fib_entry_notifiers(net, fib_event, key, KEYLENGTH - slen, in fib_notify_alias_delete()
1720 u8 slen = KEYLENGTH - plen; in fib_table_delete()
2096 KEYLENGTH - fa->fa_slen, tb->tb_id, &info, 0); in fib_table_flush()
2159 KEYLENGTH - fa->fa_slen, tb->tb_id, in __fib_info_notify_update()
2204 l->key, KEYLENGTH - fa->fa_slen, in fib_leaf_notify()
2318 fri.dst_len = KEYLENGTH - fa->fa_slen; in fn_trie_dump_leaf()
2432 t->kv[0].pos = KEYLENGTH; in fib_trie_table()
2433 t->kv[0].slen = KEYLENGTH; in fib_trie_table()
2811 &prf, KEYLENGTH - n->pos - n->bits, n->bits, in fib_trie_seq_show()
2826 KEYLENGTH - fa->fa_slen, in fib_trie_seq_show()
2987 __be32 mask = inet_make_mask(KEYLENGTH - fa->fa_slen); in fib_route_seq_show()