Lines Matching refs:ins_len
1590 struct extent_buffer *b, int level, int ins_len, in setup_nodes_for_search() argument
1594 if ((p->search_for_split || ins_len > 0) && btrfs_header_nritems(b) >= in setup_nodes_for_search()
1618 } else if (ins_len < 0 && btrfs_header_nritems(b) < in setup_nodes_for_search()
1670 ins_len, int cow) in btrfs_search_slot() argument
1685 WARN_ON(lowest_level && ins_len > 0); in btrfs_search_slot()
1688 if (ins_len < 0) { in btrfs_search_slot()
1696 } else if (ins_len > 0) { in btrfs_search_slot()
1791 BUG_ON(!cow && ins_len); in btrfs_search_slot()
1820 ins_len, &write_lock_level); in btrfs_search_slot()
1886 if (ins_len > 0 && in btrfs_search_slot()
1887 btrfs_leaf_free_space(root, b) < ins_len) { in btrfs_search_slot()
1896 p, ins_len, ret == 0); in btrfs_search_slot()
3073 struct btrfs_path *path, int ins_len) in setup_leaf_for_split() argument
3088 if (btrfs_leaf_free_space(root, leaf) >= ins_len) in setup_leaf_for_split()
3113 if (btrfs_leaf_free_space(root, path->nodes[0]) >= ins_len) in setup_leaf_for_split()
3124 ret = split_leaf(trans, root, &key, path, ins_len, 1); in setup_leaf_for_split()