• Home
  • Raw
  • Download

Lines Matching refs:u64

41 	u64 bytenr;
42 u64 num_bytes;
43 u64 parent;
44 u64 orig_parent;
45 u64 generation;
46 u64 orig_generation;
58 u64 bytenr, u64 num_bytes, int is_data);
61 u64 bytenr, u64 num_bytes, int alloc,
65 struct btrfs_root *extent_root, u64 alloc_bytes,
66 u64 flags, int force);
68 static int block_group_bits(struct btrfs_block_group_cache *cache, u64 bits) in block_group_bits()
114 block_group_cache_tree_search(struct btrfs_fs_info *info, u64 bytenr, in block_group_cache_tree_search()
119 u64 end, start; in block_group_cache_tree_search()
158 struct btrfs_fs_info *info, u64 start, u64 end) in add_new_free_space()
160 u64 extent_start, extent_end, size; in add_new_free_space()
197 u64 bytenr; in remove_sb_from_cache()
198 u64 *logical; in remove_sb_from_cache()
225 u64 last; in cache_block_group()
246 last = max_t(u64, block_group->key.objectid, BTRFS_SUPER_INFO_OFFSET); in cache_block_group()
300 btrfs_lookup_first_block_group(struct btrfs_fs_info *info, u64 bytenr) in btrfs_lookup_first_block_group()
314 u64 bytenr) in btrfs_lookup_block_group()
330 u64 flags) in __find_space_info()
361 static u64 div_factor(u64 num, int factor) in div_factor()
370 u64 btrfs_find_block_group(struct btrfs_root *root, in btrfs_find_block_group()
371 u64 search_start, u64 search_hint, int owner) in btrfs_find_block_group()
374 u64 used; in btrfs_find_block_group()
375 u64 last = max(search_hint, search_start); in btrfs_find_block_group()
376 u64 group_start = 0; in btrfs_find_block_group()
420 int btrfs_lookup_extent(struct btrfs_root *root, u64 start, u64 len) in btrfs_lookup_extent()
519 u64 bytenr, u64 parent, in lookup_extent_backref()
520 u64 ref_root, u64 ref_generation, in lookup_extent_backref()
521 u64 owner_objectid, int del) in lookup_extent_backref()
526 u64 ref_objectid; in lookup_extent_backref()
573 u64 ref_objectid; in update_backrefs()
574 u64 ref_root = extent_root->root_key.objectid; in update_backrefs()
657 u64 ref_root = extent_root->root_key.objectid; in insert_extents()
810 u64 bytenr, u64 parent, in insert_extent_backref()
811 u64 ref_root, u64 ref_generation, in insert_extent_backref()
812 u64 owner_objectid) in insert_extent_backref()
834 u64 existing_owner; in insert_extent_backref()
892 u64 start, u64 len) in btrfs_issue_discard()
898 static int btrfs_discard_extent(struct btrfs_root *root, u64 bytenr, in btrfs_discard_extent()
899 u64 num_bytes) in btrfs_discard_extent()
903 u64 map_length = num_bytes; in btrfs_discard_extent()
943 u64 bytes_freed = 0; in free_extents()
1028 u64 super_used; in free_extents()
1029 u64 root_used; in free_extents()
1176 struct btrfs_root *root, u64 bytenr, in __btrfs_update_extent_ref()
1177 u64 orig_parent, u64 parent, in __btrfs_update_extent_ref()
1178 u64 orig_root, u64 ref_root, in __btrfs_update_extent_ref()
1179 u64 orig_generation, u64 ref_generation, in __btrfs_update_extent_ref()
1180 u64 owner_objectid) in __btrfs_update_extent_ref()
1188 u64 num_bytes; in __btrfs_update_extent_ref()
1195 u64 priv; in __btrfs_update_extent_ref()
1254 struct btrfs_root *root, u64 bytenr, in btrfs_update_extent_ref()
1255 u64 orig_parent, u64 parent, in btrfs_update_extent_ref()
1256 u64 ref_root, u64 ref_generation, in btrfs_update_extent_ref()
1257 u64 owner_objectid) in btrfs_update_extent_ref()
1271 struct btrfs_root *root, u64 bytenr, in __btrfs_inc_extent_ref()
1272 u64 orig_parent, u64 parent, in __btrfs_inc_extent_ref()
1273 u64 orig_root, u64 ref_root, in __btrfs_inc_extent_ref()
1274 u64 orig_generation, u64 ref_generation, in __btrfs_inc_extent_ref()
1275 u64 owner_objectid) in __btrfs_inc_extent_ref()
1291 key.offset = (u64)-1; in __btrfs_inc_extent_ref()
1334 u64 bytenr, u64 num_bytes, u64 parent, in btrfs_inc_extent_ref()
1335 u64 ref_root, u64 ref_generation, in btrfs_inc_extent_ref()
1336 u64 owner_objectid) in btrfs_inc_extent_ref()
1351 u64 start; in btrfs_extent_post_op()
1352 u64 end; in btrfs_extent_post_op()
1374 struct btrfs_root *root, u64 bytenr, in btrfs_lookup_extent_ref()
1375 u64 num_bytes, u32 *refs) in btrfs_lookup_extent_ref()
1408 struct btrfs_root *root, u64 objectid, u64 bytenr) in btrfs_cross_ref_exist()
1416 u64 ref_root; in btrfs_cross_ref_exist()
1417 u64 last_snapshot; in btrfs_cross_ref_exist()
1422 key.offset = (u64)-1; in btrfs_cross_ref_exist()
1491 u64 root_gen; in btrfs_cache_ref()
1530 u64 disk_bytenr; in btrfs_cache_ref()
1585 u64 bytenr;
1610 u64 bytenr; in btrfs_inc_ref()
1611 u64 ref_root; in btrfs_inc_ref()
1612 u64 orig_root; in btrfs_inc_ref()
1613 u64 ref_generation; in btrfs_inc_ref()
1614 u64 orig_generation; in btrfs_inc_ref()
1627 u64, u64, u64, u64, u64, u64, u64, u64); in btrfs_inc_ref()
1744 u64 bytenr; in btrfs_update_ref()
1745 u64 ref_root; in btrfs_update_ref()
1746 u64 orig_root; in btrfs_update_ref()
1747 u64 ref_generation; in btrfs_update_ref()
1748 u64 orig_generation; in btrfs_update_ref()
1852 u64 last = 0; in btrfs_write_dirty_block_groups()
1894 int btrfs_extent_readonly(struct btrfs_root *root, u64 bytenr) in btrfs_extent_readonly()
1907 static int update_space_info(struct btrfs_fs_info *info, u64 flags, in update_space_info()
1908 u64 total_bytes, u64 bytes_used, in update_space_info()
1944 static void set_avail_alloc_bits(struct btrfs_fs_info *fs_info, u64 flags) in set_avail_alloc_bits()
1946 u64 extra_flags = flags & (BTRFS_BLOCK_GROUP_RAID0 | in set_avail_alloc_bits()
1973 u64 btrfs_reduce_alloc_profile(struct btrfs_root *root, u64 flags) in btrfs_reduce_alloc_profile()
1975 u64 num_devices = root->fs_info->fs_devices->rw_devices; in btrfs_reduce_alloc_profile()
2001 static u64 btrfs_get_alloc_profile(struct btrfs_root *root, u64 data) in btrfs_get_alloc_profile()
2004 u64 alloc_profile; in btrfs_get_alloc_profile()
2025 u64 alloc_target; in btrfs_set_inode_space_info()
2040 u64 alloc_target, thresh; in btrfs_check_metadata_free_space()
2096 u64 bytes) in btrfs_check_data_free_space()
2102 bytes = (bytes + root->sectorsize - 1) & ~((u64)root->sectorsize - 1); in btrfs_check_data_free_space()
2119 u64 alloc_target; in btrfs_check_data_free_space()
2172 struct inode *inode, u64 bytes) in btrfs_free_reserved_data_space()
2177 bytes = (bytes + root->sectorsize - 1) & ~((u64)root->sectorsize - 1); in btrfs_free_reserved_data_space()
2188 u64 bytes) in btrfs_delalloc_reserve_space()
2217 u64 bytes) in btrfs_delalloc_free_space()
2229 struct btrfs_root *extent_root, u64 alloc_bytes, in do_chunk_alloc()
2230 u64 flags, int force) in do_chunk_alloc()
2233 u64 thresh; in do_chunk_alloc()
2278 u64 bytenr, u64 num_bytes, int alloc, in update_block_group()
2283 u64 total = num_bytes; in update_block_group()
2284 u64 old_val; in update_block_group()
2285 u64 byte_in_group; in update_block_group()
2334 static u64 first_logical_byte(struct btrfs_root *root, u64 search_start) in first_logical_byte()
2337 u64 bytenr; in first_logical_byte()
2350 u64 bytenr, u64 num, int pin) in btrfs_update_pinned_extents()
2352 u64 len; in btrfs_update_pinned_extents()
2396 u64 bytenr, u64 num, int reserve) in update_reserved_extents()
2398 u64 len; in update_reserved_extents()
2428 u64 last = 0; in btrfs_copy_pinned()
2429 u64 start; in btrfs_copy_pinned()
2430 u64 end; in btrfs_copy_pinned()
2451 u64 start; in btrfs_finish_extent_commit()
2452 u64 end; in btrfs_finish_extent_commit()
2480 u64 start; in finish_current_insert()
2481 u64 end; in finish_current_insert()
2482 u64 priv; in finish_current_insert()
2483 u64 search = 0; in finish_current_insert()
2606 u64 used; in finish_current_insert()
2666 u64 bytenr, u64 num_bytes, int is_data) in pin_down_bytes()
2685 u64 header_owner = btrfs_header_owner(buf); in pin_down_bytes()
2686 u64 header_transid = btrfs_header_generation(buf); in pin_down_bytes()
2711 u64 bytenr, u64 num_bytes, u64 parent, in __free_extent()
2712 u64 root_objectid, u64 ref_generation, in __free_extent()
2713 u64 owner_objectid, int pin, int mark_free) in __free_extent()
2815 u64 super_used; in __free_extent()
2816 u64 root_used; in __free_extent()
2866 u64 start; in del_pending_extents()
2867 u64 end; in del_pending_extents()
2868 u64 priv; in del_pending_extents()
2869 u64 search = 0; in del_pending_extents()
2986 u64 bytenr, u64 num_bytes, u64 parent, in __btrfs_free_extent()
2987 u64 root_objectid, u64 ref_generation, in __btrfs_free_extent()
2988 u64 owner_objectid, int pin) in __btrfs_free_extent()
3001 u64 priv; in __btrfs_free_extent()
3069 u64 bytenr, u64 num_bytes, u64 parent, in btrfs_free_extent()
3070 u64 root_objectid, u64 ref_generation, in btrfs_free_extent()
3071 u64 owner_objectid, int pin) in btrfs_free_extent()
3081 static u64 stripe_align(struct btrfs_root *root, u64 val) in stripe_align()
3083 u64 mask = ((u64)root->stripesize - 1); in stripe_align()
3084 u64 ret = (val + mask) & ~mask; in stripe_align()
3098 u64 num_bytes, u64 empty_size, in find_free_extent()
3099 u64 search_start, u64 search_end, in find_free_extent()
3100 u64 hint_byte, struct btrfs_key *ins, in find_free_extent()
3101 u64 exclude_start, u64 exclude_nr, in find_free_extent()
3106 u64 total_needed = num_bytes; in find_free_extent()
3107 u64 *last_ptr = NULL; in find_free_extent()
3108 u64 last_wanted = 0; in find_free_extent()
3191 u64 start = block_group->key.objectid; in find_free_extent()
3192 u64 end = block_group->key.objectid + in find_free_extent()
3353 static void dump_space_info(struct btrfs_space_info *info, u64 bytes) in dump_space_info()
3384 u64 num_bytes, u64 min_alloc_size, in __btrfs_reserve_extent()
3385 u64 empty_size, u64 hint_byte, in __btrfs_reserve_extent()
3386 u64 search_end, struct btrfs_key *ins, in __btrfs_reserve_extent()
3387 u64 data) in __btrfs_reserve_extent()
3390 u64 search_start = 0; in __btrfs_reserve_extent()
3439 int btrfs_free_reserved_extent(struct btrfs_root *root, u64 start, u64 len) in btrfs_free_reserved_extent()
3462 u64 num_bytes, u64 min_alloc_size, in btrfs_reserve_extent()
3463 u64 empty_size, u64 hint_byte, in btrfs_reserve_extent()
3464 u64 search_end, struct btrfs_key *ins, in btrfs_reserve_extent()
3465 u64 data) in btrfs_reserve_extent()
3476 struct btrfs_root *root, u64 parent, in __btrfs_alloc_reserved_extent()
3477 u64 root_objectid, u64 ref_generation, in __btrfs_alloc_reserved_extent()
3478 u64 owner, struct btrfs_key *ins) in __btrfs_alloc_reserved_extent()
3482 u64 super_used; in __btrfs_alloc_reserved_extent()
3483 u64 root_used; in __btrfs_alloc_reserved_extent()
3484 u64 num_bytes = ins->offset; in __btrfs_alloc_reserved_extent()
3587 struct btrfs_root *root, u64 parent, in btrfs_alloc_reserved_extent()
3588 u64 root_objectid, u64 ref_generation, in btrfs_alloc_reserved_extent()
3589 u64 owner, struct btrfs_key *ins) in btrfs_alloc_reserved_extent()
3607 struct btrfs_root *root, u64 parent, in btrfs_alloc_logged_extent()
3608 u64 root_objectid, u64 ref_generation, in btrfs_alloc_logged_extent()
3609 u64 owner, struct btrfs_key *ins) in btrfs_alloc_logged_extent()
3637 u64 num_bytes, u64 parent, u64 min_alloc_size, in btrfs_alloc_extent()
3638 u64 root_objectid, u64 ref_generation, in btrfs_alloc_extent()
3639 u64 owner_objectid, u64 empty_size, u64 hint_byte, in btrfs_alloc_extent()
3640 u64 search_end, struct btrfs_key *ins, u64 data) in btrfs_alloc_extent()
3662 u64 bytenr, u32 blocksize, in btrfs_init_new_buffer()
3696 u32 blocksize, u64 parent, in btrfs_alloc_free_block()
3697 u64 root_objectid, in btrfs_alloc_free_block()
3698 u64 ref_generation, in btrfs_alloc_free_block()
3700 u64 hint, in btrfs_alloc_free_block()
3701 u64 empty_size) in btrfs_alloc_free_block()
3709 empty_size, hint, (u64)-1, &ins, 0); in btrfs_alloc_free_block()
3723 u64 leaf_owner; in btrfs_drop_leaf_ref()
3724 u64 leaf_generation; in btrfs_drop_leaf_ref()
3746 u64 disk_bytenr; in btrfs_drop_leaf_ref()
3779 u64 disk_bytenr; in btrfs_drop_leaf_ref()
3849 static int drop_snap_lookup_refcount(struct btrfs_root *root, u64 start, in drop_snap_lookup_refcount()
3850 u64 len, u32 *refs) in drop_snap_lookup_refcount()
3907 u64 bytenr; in drop_level_one_refs()
3908 u64 root_owner; in drop_level_one_refs()
3909 u64 root_gen; in drop_level_one_refs()
3953 u64 ptr_gen; in drop_level_one_refs()
4043 u64 root_owner; in walk_down_tree()
4044 u64 root_gen; in walk_down_tree()
4045 u64 bytenr; in walk_down_tree()
4046 u64 ptr_gen; in walk_down_tree()
4193 u64 bytenr; in walk_down_subtree()
4194 u64 ptr_gen; in walk_down_subtree()
4281 u64 root_owner; in walk_up_tree()
4282 u64 root_gen; in walk_up_tree()
4478 static noinline int relocate_inode_pages(struct inode *inode, u64 start, in relocate_inode_pages()
4479 u64 len) in relocate_inode_pages()
4481 u64 page_start; in relocate_inode_pages()
4482 u64 page_end; in relocate_inode_pages()
4515 if (((u64)i << PAGE_CACHE_SHIFT) > i_size_read(inode)) in relocate_inode_pages()
4534 page_start = (u64)page->index << PAGE_CACHE_SHIFT; in relocate_inode_pages()
4571 u64 offset) in relocate_data_extent()
4576 u64 start = extent_key->objectid - offset; in relocate_data_extent()
4577 u64 end = start + extent_key->offset - 1; in relocate_data_extent()
4608 u64 extent_start;
4609 u64 nodes[BTRFS_MAX_LEVEL];
4610 u64 root_objectid;
4611 u64 root_generation;
4612 u64 owner_objectid;
4619 u64 new_nodes[BTRFS_MAX_LEVEL];
4623 u64 ram_bytes;
4624 u64 disk_bytenr;
4625 u64 disk_num_bytes;
4626 u64 offset;
4627 u64 num_bytes;
4633 static int is_cowonly_root(u64 root_objectid) in is_cowonly_root()
4655 u64 bytenr; in __next_ref_path()
4673 u64 parent; in __next_ref_path()
4726 u64 ref_objectid; in __next_ref_path()
4842 u64 extent_start) in btrfs_first_ref_path()
4859 u64 offset, int no_fragment, in get_new_locations()
4869 u64 cur_pos; in get_new_locations()
4870 u64 last_byte; in get_new_locations()
4991 u64 lock_start = 0; in replace_one_extent()
4992 u64 lock_end = 0; in replace_one_extent()
4993 u64 num_bytes; in replace_one_extent()
4994 u64 ext_offset; in replace_one_extent()
4995 u64 search_end = (u64)-1; in replace_one_extent()
5084 if (search_end == (u64)-1) { in replace_one_extent()
5125 key.offset = (u64)-1; in replace_one_extent()
5190 u64 alloc_hint; in replace_one_extent()
5191 u64 extent_len; in replace_one_extent()
5297 struct extent_buffer *buf, u64 orig_start) in btrfs_reloc_tree_cache_ref()
5346 u64 num_bytes; in invalidate_extent_cache()
5347 u64 skip_objectid = 0; in invalidate_extent_cache()
5397 u64 bytenr; in replace_extents_in_leaf()
5398 u64 num_bytes; in replace_extents_in_leaf()
5552 btrfs_remove_leaf_refs(prev_root, (u64)-1, 0); in btrfs_drop_dead_reloc_roots()
5586 location.offset = (u64)-1; in btrfs_cleanup_reloc_trees()
5673 u64 *nodes; in relocate_one_path()
5803 root_key.offset = (u64)-1; in read_ref_root()
5823 u64 prev_block = 0; in relocate_one_extent()
5871 u64 group_start = group->key.objectid; in relocate_one_extent()
5886 u64 block_start = ref_path->nodes[level]; in relocate_one_extent()
5887 u64 block_size = btrfs_level_size(found_root, level); in relocate_one_extent()
5925 u64 group_start = group->key.objectid; in relocate_one_extent()
5956 static u64 update_block_group_flags(struct btrfs_root *root, u64 flags) in update_block_group_flags()
5958 u64 num_devices; in update_block_group_flags()
5959 u64 stripped = BTRFS_BLOCK_GROUP_RAID0 | in update_block_group_flags()
5999 u64 new_alloc_flags; in __alloc_chunk_for_shrink()
6000 u64 calc; in __alloc_chunk_for_shrink()
6030 u64 objectid, u64 size) in __insert_orphan_inode()
6066 u64 objectid = BTRFS_FIRST_FREE_OBJECTID; in create_reloc_inode()
6071 root_key.offset = (u64)-1; in create_reloc_inode()
6116 int btrfs_reloc_clone_csums(struct inode *inode, u64 file_pos, u64 len) in btrfs_reloc_clone_csums()
6126 u64 disk_bytenr; in btrfs_reloc_clone_csums()
6157 int btrfs_relocate_block_group(struct btrfs_root *root, u64 group_start) in btrfs_relocate_block_group()
6166 u64 skipped; in btrfs_relocate_block_group()
6167 u64 cur_byte; in btrfs_relocate_block_group()
6168 u64 total_found; in btrfs_relocate_block_group()
6208 btrfs_remove_leaf_refs(info->tree_root, (u64)-1, 1); in btrfs_relocate_block_group()
6269 btrfs_wait_ordered_range(reloc_inode, 0, (u64)-1); in btrfs_relocate_block_group()
6459 struct btrfs_root *root, u64 bytes_used, in btrfs_make_block_group()
6460 u64 type, u64 chunk_objectid, u64 chunk_offset, in btrfs_make_block_group()
6461 u64 size) in btrfs_make_block_group()
6512 struct btrfs_root *root, u64 group_start) in btrfs_remove_block_group()