Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Dfib_trie.c169 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) macro
388 struct key_vector *chi = get_child(tn, i); in put_child()
420 struct key_vector *inode = get_child(tn, --i); in update_children()
494 struct key_vector *inode = get_child(tn, --i); in replace()
526 struct key_vector *inode = get_child(oldtnode, --i); in inflate()
545 put_child(tn, 2 * i + 1, get_child(inode, 1)); in inflate()
546 put_child(tn, 2 * i, get_child(inode, 0)); in inflate()
576 put_child(node1, --j, get_child(inode, --k)); in inflate()
577 put_child(node0, j, get_child(inode, j)); in inflate()
578 put_child(node1, --j, get_child(inode, --k)); in inflate()
[all …]
/linux-4.1.27/drivers/md/
Ddm-table.c86 static inline unsigned int get_child(unsigned int n, unsigned int k) in get_child() function
107 n = get_child(n, CHILDREN_PER_NODE - 1); in high()
128 node[k] = high(t, l + 1, get_child(n, k)); in setup_btree_index()
1187 n = get_child(n, k); in dm_table_find_target()