Lines Matching refs:item_size
1739 unsigned long p, int item_size, in generic_bin_search() argument
1765 offset = p + mid * item_size; in generic_bin_search()
4433 u32 item_size; in setup_leaf_for_split() local
4445 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in setup_leaf_for_split()
4465 if (item_size != btrfs_item_size_nr(leaf, path->slots[0])) in setup_leaf_for_split()
4503 u32 item_size; in split_item() local
4514 item_size = btrfs_item_size(leaf, item); in split_item()
4516 buf = kmalloc(item_size, GFP_NOFS); in split_item()
4521 path->slots[0]), item_size); in split_item()
4538 btrfs_set_item_size(leaf, new_item, item_size - split_offset); in split_item()
4541 orig_offset + item_size - split_offset); in split_item()
4554 item_size - split_offset); in split_item()
4608 u32 item_size; in btrfs_duplicate_item() local
4611 item_size = btrfs_item_size_nr(leaf, path->slots[0]); in btrfs_duplicate_item()
4613 item_size + sizeof(struct btrfs_item)); in btrfs_duplicate_item()
4618 setup_items_for_insert(root, path, new_key, &item_size, in btrfs_duplicate_item()
4619 item_size, item_size + in btrfs_duplicate_item()
4625 item_size); in btrfs_duplicate_item()