Searched refs:get_child (Results 1 – 2 of 2) sorted by relevance
| /linux/net/ipv4/ |
| H A D | fib_trie.c | 196 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) macro 415 struct key_vector *chi = get_child(tn, i); in put_child() 447 struct key_vector *inode = get_child(tn, --i); in update_children() 521 struct key_vector *inode = get_child(tn, --i); in replace() 553 struct key_vector *inode = get_child(oldtnode, --i); in inflate() 572 put_child(tn, 2 * i + 1, get_child(inode, 1)); in inflate() 573 put_child(tn, 2 * i, get_child(inode, 0)); in inflate() 603 put_child(node1, --j, get_child(inode, --k)); in inflate() 604 put_child(node0, j, get_child(inode, j)); in inflate() 605 put_child(node1, --j, get_child(inode, --k)); in inflate() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-table.c | 52 static inline unsigned int get_child(unsigned int n, unsigned int k) in get_child() function 73 n = get_child(n, CHILDREN_PER_NODE - 1); in high() 94 node[k] = high(t, l + 1, get_child(n, k)); in setup_btree_index() 1596 n = get_child(n, k); in dm_table_find_target()
|