Searched refs:get_child (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/net/ipv4/ |
D | fib_trie.c | 195 #define get_child(tn, i) rtnl_dereference((tn)->tnode[i]) macro 420 struct key_vector *chi = get_child(tn, i); in put_child() 452 struct key_vector *inode = get_child(tn, --i); in update_children() 526 struct key_vector *inode = get_child(tn, --i); in replace() 558 struct key_vector *inode = get_child(oldtnode, --i); in inflate() 577 put_child(tn, 2 * i + 1, get_child(inode, 1)); in inflate() 578 put_child(tn, 2 * i, get_child(inode, 0)); in inflate() 608 put_child(node1, --j, get_child(inode, --k)); in inflate() 609 put_child(node0, j, get_child(inode, j)); in inflate() 610 put_child(node1, --j, get_child(inode, --k)); in inflate() [all …]
|
/Linux-v6.6/drivers/md/ |
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() 1479 n = get_child(n, k); in dm_table_find_target()
|