Home
last modified time | relevance | path

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

/Linux-v4.19/net/ipv4/
Dfib_trie.c123 #define KEYLENGTH (8*sizeof(t_key)) macro
128 #define IS_TRIE(n) ((n)->pos >= KEYLENGTH)
234 if ((BITS_PER_LONG <= KEYLENGTH) && (KEYLENGTH == kv->pos)) in get_index()
389 BUG_ON(!bits || (shift > KEYLENGTH)); in tnode_new()
398 if (bits == KEYLENGTH) in tnode_new()
404 tn->key = (shift < KEYLENGTH) ? (key >> shift) << shift : 0; in tnode_new()
845 if ((tn->bits == KEYLENGTH) && tn_info(tn)->full_children) in should_collapse()
1109 if (plen > KEYLENGTH) { in fib_valid_key_len()
1114 if ((plen < KEYLENGTH) && (key << plen)) { in fib_valid_key_len()
1134 u8 slen = KEYLENGTH - plen; in fib_table_insert()
[all …]