Lines Matching refs:btrfs_leaf_free_space

1730 			    btrfs_leaf_free_space(root, b) < ins_len) {  in btrfs_search_slot()
2177 noinline int btrfs_leaf_free_space(struct btrfs_root *root, in btrfs_leaf_free_space() function
2234 int space = btrfs_leaf_free_space(root, left); in __push_leaf_right()
2396 free_space = btrfs_leaf_free_space(root, right); in push_leaf_right()
2406 free_space = btrfs_leaf_free_space(root, right); in push_leaf_right()
2469 int space = btrfs_leaf_free_space(root, right); in __push_leaf_left()
2649 free_space = btrfs_leaf_free_space(root, left); in push_leaf_left()
2664 free_space = btrfs_leaf_free_space(root, left); in push_leaf_left()
2805 if (btrfs_leaf_free_space(root, path->nodes[0]) >= data_size) in push_for_double_split()
2867 if (btrfs_leaf_free_space(root, l) >= data_size) in split_leaf()
2998 if (btrfs_leaf_free_space(root, path->nodes[0]) >= data_size) in split_leaf()
3020 if (btrfs_leaf_free_space(root, leaf) >= ins_len) in setup_leaf_for_split()
3045 if (btrfs_leaf_free_space(root, path->nodes[0]) >= ins_len) in setup_leaf_for_split()
3085 BUG_ON(btrfs_leaf_free_space(root, leaf) < sizeof(struct btrfs_item)); in split_item()
3134 BUG_ON(btrfs_leaf_free_space(root, leaf) < 0); in split_item()
3318 if (btrfs_leaf_free_space(root, leaf) < 0) { in btrfs_truncate_item()
3347 if (btrfs_leaf_free_space(root, leaf) < data_size) { in btrfs_extend_item()
3398 if (btrfs_leaf_free_space(root, leaf) < 0) { in btrfs_extend_item()
3450 if (btrfs_leaf_free_space(root, leaf) < total_size) { in btrfs_insert_some_items()
3454 if (total_size < btrfs_leaf_free_space(root, leaf)) in btrfs_insert_some_items()
3547 if (btrfs_leaf_free_space(root, leaf) < 0) { in btrfs_insert_some_items()
3583 if (btrfs_leaf_free_space(root, leaf) < total_size) { in setup_items_for_insert()
3586 total_size, btrfs_leaf_free_space(root, leaf)); in setup_items_for_insert()
3657 if (btrfs_leaf_free_space(root, leaf) < 0) { in setup_items_for_insert()