• Home
  • Raw
  • Download

Lines Matching refs:slots

66 	info = btrfs_item_ptr(leaf, path->slots[0],  in add_new_free_space_info()
103 return btrfs_item_ptr(path->nodes[0], path->slots[0], in search_free_space_info()
127 if (p->slots[0] == 0) { in btrfs_search_prev_slot()
131 p->slots[0]--; in btrfs_search_prev_slot()
222 path->slots[0]++; in convert_free_space_to_bitmaps()
223 while (path->slots[0] > 0) { in convert_free_space_to_bitmaps()
224 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in convert_free_space_to_bitmaps()
246 path->slots[0]--; in convert_free_space_to_bitmaps()
252 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in convert_free_space_to_bitmaps()
303 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in convert_free_space_to_bitmaps()
361 path->slots[0]++; in convert_free_space_to_extents()
362 while (path->slots[0] > 0) { in convert_free_space_to_extents()
363 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in convert_free_space_to_extents()
386 ptr = btrfs_item_ptr_offset(leaf, path->slots[0] - 1); in convert_free_space_to_extents()
391 path->slots[0]--; in convert_free_space_to_extents()
397 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in convert_free_space_to_extents()
503 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in free_space_test_bit()
510 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_test_bit()
528 btrfs_item_key_to_cpu(leaf, &key, path->slots[0]); in free_space_set_bits()
539 ptr = btrfs_item_ptr_offset(leaf, path->slots[0]); in free_space_set_bits()
563 if (p->slots[0] + 1 < btrfs_header_nritems(p->nodes[0])) { in free_space_next_bitmap()
564 p->slots[0]++; in free_space_next_bitmap()
568 btrfs_item_key_to_cpu(p->nodes[0], &key, p->slots[0]); in free_space_next_bitmap()
614 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in modify_free_space_bitmap()
654 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in modify_free_space_bitmap()
716 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in remove_free_space_extent()
893 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in add_free_space_extent()
933 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in add_free_space_extent()
1090 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in populate_free_space_tree()
1210 path->slots[0] = 0; in clear_free_space_tree()
1353 path->slots[0]++; in remove_block_group_free_space()
1354 while (path->slots[0] > 0) { in remove_block_group_free_space()
1355 btrfs_item_key_to_cpu(leaf, &found_key, path->slots[0] - 1); in remove_block_group_free_space()
1362 path->slots[0]--; in remove_block_group_free_space()
1370 path->slots[0]--; in remove_block_group_free_space()
1376 ret = btrfs_del_items(trans, root, path, path->slots[0], nr); in remove_block_group_free_space()
1419 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in load_free_space_bitmaps()
1497 btrfs_item_key_to_cpu(path->nodes[0], &key, path->slots[0]); in load_free_space_extents()