Lines Matching refs:slots
313 path->slots[0]++; in fiemap_next_leaf_item()
314 if (path->slots[0] < btrfs_header_nritems(path->nodes[0])) in fiemap_next_leaf_item()
333 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in fiemap_next_leaf_item()
353 slot = path->slots[0]; in fiemap_next_leaf_item()
356 path->slots[0] = slot; in fiemap_next_leaf_item()
387 if (ret > 0 && path->slots[0] > 0) { in fiemap_search_slot()
388 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0] - 1); in fiemap_search_slot()
390 path->slots[0]--; in fiemap_search_slot()
393 if (path->slots[0] >= btrfs_header_nritems(path->nodes[0])) { in fiemap_search_slot()
398 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in fiemap_search_slot()
423 slot = path->slots[0]; in fiemap_search_slot()
426 path->slots[0] = slot; in fiemap_search_slot()
582 ASSERT(path->slots[0] > 0); in fiemap_find_last_extent_offset()
583 path->slots[0]--; in fiemap_find_last_extent_offset()
585 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in fiemap_find_last_extent_offset()
597 ei = btrfs_item_ptr(leaf, path->slots[0], struct btrfs_file_extent_item); in fiemap_find_last_extent_offset()
621 ei = btrfs_item_ptr(leaf, path->slots[0], in fiemap_find_last_extent_offset()
697 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in extent_fiemap()
736 ei = btrfs_item_ptr(leaf, path->slots[0], in extent_fiemap()