Searched refs:slot (Results 1 – 6 of 6) sorted by relevance
| /fs/btrfs/ |
| A D | ctree.c | 270 *slot = mid; in generic_bin_search() 274 *slot = low; in generic_bin_search() 290 slot); in btrfs_bin_search() 296 slot); in btrfs_bin_search() 305 if (slot < 0) in read_node_slot() 394 int slot; in btrfs_search_slot() local 433 slot -= 1; in btrfs_search_slot() 607 int slot; in btrfs_prev_leaf() local 625 slot--; in btrfs_prev_leaf() 642 slot--; in btrfs_prev_leaf() [all …]
|
| A D | root-tree.c | 13 int slot; in btrfs_find_last_root() local 33 slot = path->slots[0] - 1; in btrfs_find_last_root() 34 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_find_last_root() 40 read_extent_buffer(l, item, btrfs_item_ptr_offset(l, slot), in btrfs_find_last_root()
|
| A D | volumes.c | 387 int slot, u64 logical) in btrfs_check_chunk_valid() argument 401 if (slot >= 0 && in btrfs_check_chunk_valid() 404 btrfs_item_size_nr(leaf, slot), in btrfs_check_chunk_valid() 421 btrfs_item_size_nr(leaf, slot)) { in btrfs_check_chunk_valid() 423 btrfs_item_size_nr(leaf, slot), in btrfs_check_chunk_valid() 483 (slot >= 0 && chunk_ondisk_size > btrfs_item_size_nr(leaf, slot))) { in btrfs_check_chunk_valid() 516 struct btrfs_chunk *chunk, int slot) in read_one_chunk() argument 747 int slot; in btrfs_read_chunk_tree() local 767 slot = path->slots[0]; in btrfs_read_chunk_tree() 779 dev_item = btrfs_item_ptr(leaf, slot, in btrfs_read_chunk_tree() [all …]
|
| A D | inode.c | 365 int slot = path->slots[0]; in btrfs_read_extent_inline() local 372 csize = btrfs_file_extent_inline_item_len(leaf, btrfs_item_nr(slot)); in btrfs_read_extent_inline() 437 int slot = path->slots[0]; in btrfs_read_extent_reg() local 440 btrfs_item_key_to_cpu(leaf, &key, slot); in btrfs_read_extent_reg()
|
| A D | ctree.h | 1177 #define btrfs_item_ptr(leaf, slot, type) \ argument 1179 btrfs_item_offset_nr(leaf, slot))) 1181 #define btrfs_item_ptr_offset(leaf, slot) \ argument 1183 btrfs_item_offset_nr(leaf, slot))) 1247 struct extent_buffer *parent, int slot); 1292 int *slot);
|
| A D | volumes.h | 200 int slot, u64 logical);
|
Completed in 19 milliseconds