• Home
  • Raw
  • Download

Lines Matching refs:slots

69 	info = btrfs_item_ptr(leaf, path->slots[0],  in add_new_free_space_info()
106 return btrfs_item_ptr(path->nodes[0], path->slots[0], in search_free_space_info()
130 if (p->slots[0] == 0) { in btrfs_search_prev_slot()
134 p->slots[0]--; in btrfs_search_prev_slot()
225 path->slots[0]++; in convert_free_space_to_bitmaps()
226 while (path->slots[0] > 0) { in convert_free_space_to_bitmaps()
227 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in convert_free_space_to_bitmaps()
249 path->slots[0]--; in convert_free_space_to_bitmaps()
255 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in convert_free_space_to_bitmaps()
306 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in convert_free_space_to_bitmaps()
364 path->slots[0]++; in convert_free_space_to_extents()
365 while (path->slots[0] > 0) { in convert_free_space_to_extents()
366 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in convert_free_space_to_extents()
389 ptr = btrfs_item_ptr_offset(leaf, path->slots[0] - 1); in convert_free_space_to_extents()
394 path->slots[0]--; in convert_free_space_to_extents()
400 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in convert_free_space_to_extents()
506 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in free_space_test_bit()
513 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_test_bit()
531 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in free_space_set_bits()
542 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_set_bits()
566 if (p->slots[0] + 1 < btrfs_header_nritems(p->nodes[0])) { in free_space_next_bitmap()
567 p->slots[0]++; in free_space_next_bitmap()
571 btrfs_item_key_to_cpu(p->nodes[0], &key, p->slots[0]); in free_space_next_bitmap()
617 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in modify_free_space_bitmap()
657 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in modify_free_space_bitmap()
719 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in remove_free_space_extent()
896 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in add_free_space_extent()
936 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in add_free_space_extent()
1093 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in populate_free_space_tree()
1221 path->slots[0] = 0; in clear_free_space_tree()
1362 path->slots[0]++; in remove_block_group_free_space()
1363 while (path->slots[0] > 0) { in remove_block_group_free_space()
1364 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in remove_block_group_free_space()
1371 path->slots[0]--; in remove_block_group_free_space()
1379 path->slots[0]--; in remove_block_group_free_space()
1385 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in remove_block_group_free_space()
1428 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in load_free_space_bitmaps()
1506 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in load_free_space_extents()