Lines Matching refs:u64
56 u64 ino;
88 static int btrfs_finish_ordered_io(struct inode *inode, u64 start, u64 end);
91 u64 start, u64 end, int *page_started,
111 u64 start, size_t size, size_t compressed_size, in insert_inline_extent()
209 struct inode *inode, u64 start, u64 end, in cow_file_range_inline()
213 u64 isize = i_size_read(inode); in cow_file_range_inline()
214 u64 actual_end = min(end + 1, isize); in cow_file_range_inline()
215 u64 inline_len = actual_end - start; in cow_file_range_inline()
216 u64 aligned_end = (end + root->sectorsize - 1) & in cow_file_range_inline()
217 ~((u64)root->sectorsize - 1); in cow_file_range_inline()
218 u64 hint_byte; in cow_file_range_inline()
219 u64 data_len = inline_len; in cow_file_range_inline()
240 inline_len = min_t(u64, isize, actual_end); in cow_file_range_inline()
250 u64 start;
251 u64 ram_size;
252 u64 compressed_size;
262 u64 start;
263 u64 end;
269 u64 start, u64 ram_size, in add_async_extent()
270 u64 compressed_size, in add_async_extent()
304 u64 start, u64 end, in compress_file_range()
310 u64 num_bytes; in compress_file_range()
311 u64 orig_start; in compress_file_range()
312 u64 disk_num_bytes; in compress_file_range()
313 u64 blocksize = root->sectorsize; in compress_file_range()
314 u64 actual_end; in compress_file_range()
315 u64 isize = i_size_read(inode); in compress_file_range()
329 actual_end = min_t(u64, isize, end + 1); in compress_file_range()
532 u64 alloc_hint = 0; in submit_compressed_extents()
602 (u64)-1, &ins, 1); in submit_compressed_extents()
680 u64 start, u64 end, int *page_started, in cow_file_range()
686 u64 alloc_hint = 0; in cow_file_range()
687 u64 num_bytes; in cow_file_range()
689 u64 disk_num_bytes; in cow_file_range()
690 u64 cur_alloc_size; in cow_file_range()
691 u64 blocksize = root->sectorsize; in cow_file_range()
692 u64 actual_end; in cow_file_range()
693 u64 isize = i_size_read(inode); in cow_file_range()
703 actual_end = min_t(u64, isize, end + 1); in cow_file_range()
736 (u64)-1, &ins, 1); in cow_file_range()
848 u64 start, u64 end, int *page_started, in cow_file_range_async()
854 u64 cur_end; in cow_file_range_async()
912 u64 bytenr, u64 num_bytes) in csum_exist_in_range()
939 u64 start, u64 end, int *page_started, int force, in run_delalloc_nocow()
948 u64 cow_start; in run_delalloc_nocow()
949 u64 cur_offset; in run_delalloc_nocow()
950 u64 extent_end; in run_delalloc_nocow()
951 u64 disk_bytenr; in run_delalloc_nocow()
952 u64 num_bytes; in run_delalloc_nocow()
964 cow_start = (u64)-1; in run_delalloc_nocow()
1055 if (cow_start == (u64)-1) in run_delalloc_nocow()
1065 if (cow_start != (u64)-1) { in run_delalloc_nocow()
1070 cow_start = (u64)-1; in run_delalloc_nocow()
1114 if (cur_offset <= end && cow_start == (u64)-1) in run_delalloc_nocow()
1116 if (cow_start != (u64)-1) { in run_delalloc_nocow()
1132 u64 start, u64 end, int *page_started, in run_delalloc_range()
1155 static int btrfs_set_bit_hook(struct inode *inode, u64 start, u64 end, in btrfs_set_bit_hook()
1181 static int btrfs_clear_bit_hook(struct inode *inode, u64 start, u64 end, in btrfs_clear_bit_hook()
1199 btrfs_delalloc_free_space(root, inode, (u64)-1); in btrfs_clear_bit_hook()
1227 u64 logical = (u64)bio->bi_sector << 9; in btrfs_merge_bio_hook()
1228 u64 length = 0; in btrfs_merge_bio_hook()
1229 u64 map_length; in btrfs_merge_bio_hook()
1324 struct inode *inode, u64 file_offset, in add_pending_csums()
1338 int btrfs_set_extent_delalloc(struct inode *inode, u64 start, u64 end) in btrfs_set_extent_delalloc()
1358 u64 page_start; in btrfs_writepage_fixup_worker()
1359 u64 page_end; in btrfs_writepage_fixup_worker()
1411 static int btrfs_writepage_start_hook(struct page *page, u64 start, u64 end) in btrfs_writepage_start_hook()
1439 struct inode *inode, u64 file_pos, in insert_reserved_file_extent()
1440 u64 disk_bytenr, u64 disk_num_bytes, in insert_reserved_file_extent()
1441 u64 num_bytes, u64 ram_bytes, in insert_reserved_file_extent()
1450 u64 hint; in insert_reserved_file_extent()
1499 static int btrfs_finish_ordered_io(struct inode *inode, u64 start, u64 end) in btrfs_finish_ordered_io()
1565 static int btrfs_writepage_end_io_hook(struct page *page, u64 start, u64 end, in btrfs_writepage_end_io_hook()
1581 u64 start;
1582 u64 len;
1583 u64 logical;
1589 struct page *page, u64 start, u64 end, in btrfs_io_failed_hook()
1593 u64 private; in btrfs_io_failed_hook()
1602 u64 logical; in btrfs_io_failed_hook()
1637 (u64)(unsigned long)failrec); in btrfs_io_failed_hook()
1685 static int btrfs_clean_io_failures(struct inode *inode, u64 start) in btrfs_clean_io_failures()
1687 u64 private; in btrfs_clean_io_failures()
1688 u64 private_failure; in btrfs_clean_io_failures()
1694 (u64)-1, 1, EXTENT_DIRTY)) { in btrfs_clean_io_failures()
1718 static int btrfs_readpage_end_io_hook(struct page *page, u64 start, u64 end, in btrfs_readpage_end_io_hook()
1721 size_t offset = start - ((u64)page->index << PAGE_CACHE_SHIFT); in btrfs_readpage_end_io_hook()
1725 u64 private = ~(u32)0; in btrfs_readpage_end_io_hook()
1859 key.offset = (u64)-1; in btrfs_orphan_cleanup()
1970 u64 alloc_group_block; in btrfs_read_locked_inode()
2011 BTRFS_I(inode)->index_cnt = (u64)-1; in btrfs_read_locked_inode()
2142 u64 index; in btrfs_unlink_inode()
2303 struct inode *inode, u64 new_size)
2311 u64 leaf_gen;
2312 u64 leaf_start;
2354 if (found_key.offset == (u64)-1)
2367 other_key.offset = (u64)-1;
2467 u64 new_size, u32 min_type) in btrfs_truncate_inode_items()
2476 u64 extent_start = 0; in btrfs_truncate_inode_items()
2477 u64 extent_num_bytes = 0; in btrfs_truncate_inode_items()
2478 u64 item_end = 0; in btrfs_truncate_inode_items()
2479 u64 root_gen = 0; in btrfs_truncate_inode_items()
2480 u64 root_owner = 0; in btrfs_truncate_inode_items()
2487 u64 mask = root->sectorsize - 1; in btrfs_truncate_inode_items()
2490 btrfs_drop_extent_cache(inode, new_size & (~mask), (u64)-1, 0); in btrfs_truncate_inode_items()
2497 key.offset = (u64)-1; in btrfs_truncate_inode_items()
2574 u64 num_dec; in btrfs_truncate_inode_items()
2577 u64 orig_num_bytes = in btrfs_truncate_inode_items()
2582 ~((u64)root->sectorsize - 1); in btrfs_truncate_inode_items()
2708 u64 page_start; in btrfs_truncate_page()
2709 u64 page_end; in btrfs_truncate_page()
2776 u64 mask = root->sectorsize - 1; in btrfs_cont_expand()
2777 u64 hole_start = (inode->i_size + mask) & ~mask; in btrfs_cont_expand()
2778 u64 block_end = (size + mask) & ~mask; in btrfs_cont_expand()
2779 u64 last_byte; in btrfs_cont_expand()
2780 u64 cur_offset; in btrfs_cont_expand()
2781 u64 hole_size; in btrfs_cont_expand()
2816 u64 hint_byte = 0; in btrfs_cont_expand()
2877 btrfs_wait_ordered_range(inode, 0, (u64)-1); in btrfs_delete_inode()
2986 bi->index_cnt = (u64)-1; in init_btrfs_i()
3016 struct inode *btrfs_ilookup(struct super_block *s, u64 objectid, in btrfs_ilookup()
3034 struct inode *btrfs_iget_locked(struct super_block *s, u64 objectid, in btrfs_iget_locked()
3166 u64 pino = parent_ino(filp->f_path.dentry); in btrfs_real_readdir()
3325 key.offset = (u64)-1; in btrfs_set_inode_index_count()
3371 int btrfs_set_inode_index(struct inode *dir, u64 *index) in btrfs_set_inode_index()
3375 if (BTRFS_I(dir)->index_cnt == (u64)-1) { in btrfs_set_inode_index()
3391 u64 ref_objectid, u64 objectid, in btrfs_new_inode()
3392 u64 alloc_hint, int mode, u64 *index) in btrfs_new_inode()
3513 const char *name, int name_len, int add_backref, u64 index) in btrfs_add_link()
3545 int backref, u64 index) in btrfs_add_nondir()
3567 u64 objectid; in btrfs_mknod()
3569 u64 index = 0; in btrfs_mknod()
3634 u64 objectid; in btrfs_create()
3635 u64 index = 0; in btrfs_create()
3696 u64 index; in btrfs_link()
3747 u64 objectid = 0; in btrfs_mkdir()
3748 u64 index = 0; in btrfs_mkdir()
3824 u64 map_start, u64 map_len) in merge_extent_mapping()
3826 u64 start_diff; in merge_extent_mapping()
3842 size_t pg_offset, u64 extent_offset, in uncompress_inline()
3866 unsigned long copy_size = min_t(u64, in uncompress_inline()
3886 size_t pg_offset, u64 start, u64 len, in btrfs_get_extent()
3891 u64 bytenr; in btrfs_get_extent()
3892 u64 extent_start = 0; in btrfs_get_extent()
3893 u64 extent_end = 0; in btrfs_get_extent()
3894 u64 objectid = inode->i_ino; in btrfs_get_extent()
3930 em->len = (u64)-1; in btrfs_get_extent()
3931 em->block_len = (u64)-1; in btrfs_get_extent()
3973 ~((u64)root->sectorsize - 1); in btrfs_get_extent()
4039 copy_size = min_t(u64, PAGE_CACHE_SIZE - pg_offset, in btrfs_get_extent()
4043 ~((u64)root->sectorsize - 1); in btrfs_get_extent()
4240 u64 page_start = page_offset(page); in btrfs_invalidatepage()
4241 u64 page_end = page_start + PAGE_CACHE_SIZE - 1; in btrfs_invalidatepage()
4305 u64 page_start; in btrfs_page_mkwrite()
4306 u64 page_end; in btrfs_page_mkwrite()
4374 u64 mask = root->sectorsize - 1; in btrfs_truncate()
4382 btrfs_wait_ordered_range(inode, inode->i_size & (~mask), (u64)-1); in btrfs_truncate()
4411 u64 new_dirid, u64 alloc_hint) in btrfs_create_subvol_root()
4415 u64 index = 0; in btrfs_create_subvol_root()
4486 ordered = btrfs_lookup_first_ordered_extent(inode, (u64)-1); in btrfs_destroy_inode()
4499 btrfs_drop_extent_cache(inode, 0, (u64)-1, 0); in btrfs_destroy_inode()
4585 u64 index = 0; in btrfs_rename()
4709 u64 objectid; in btrfs_symlink()
4710 u64 index = 0 ; in btrfs_symlink()
4816 static int prealloc_file_range(struct inode *inode, u64 start, u64 end, in prealloc_file_range()
4817 u64 alloc_hint, int mode) in prealloc_file_range()
4822 u64 alloc_size; in prealloc_file_range()
4823 u64 cur_offset = start; in prealloc_file_range()
4824 u64 num_bytes = end - start; in prealloc_file_range()
4835 (u64)-1, &ins, 1); in prealloc_file_range()
4868 u64 cur_offset; in btrfs_fallocate()
4869 u64 last_byte; in btrfs_fallocate()
4870 u64 alloc_start; in btrfs_fallocate()
4871 u64 alloc_end; in btrfs_fallocate()
4872 u64 alloc_hint = 0; in btrfs_fallocate()
4873 u64 mask = BTRFS_I(inode)->root->sectorsize - 1; in btrfs_fallocate()