Searched refs:get_child (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/net/ipv4/ |
D | fib_trie.c | 194 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) macro 419 struct key_vector *chi = get_child(tn, i); in put_child() 451 struct key_vector *inode = get_child(tn, --i); in update_children() 525 struct key_vector *inode = get_child(tn, --i); in replace() 557 struct key_vector *inode = get_child(oldtnode, --i); in inflate() 576 put_child(tn, 2 * i + 1, get_child(inode, 1)); in inflate() 577 put_child(tn, 2 * i, get_child(inode, 0)); in inflate() 607 put_child(node1, --j, get_child(inode, --k)); in inflate() 608 put_child(node0, j, get_child(inode, j)); in inflate() 609 put_child(node1, --j, get_child(inode, --k)); in inflate() [all …]
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-table.c | 49 static inline unsigned int get_child(unsigned int n, unsigned int k) in get_child() function 70 n = get_child(n, CHILDREN_PER_NODE - 1); in high() 91 node[k] = high(t, l + 1, get_child(n, k)); in setup_btree_index() 1299 n = get_child(n, k); in dm_table_find_target()
|