/kernel/linux/linux-5.10/fs/btrfs/tests/ |
D | inode-tests.c | 16 u64 ram_bytes, u64 offset, u64 disk_bytenr, in insert_extent() argument 40 btrfs_set_file_extent_disk_bytenr(leaf, fi, disk_bytenr); in insert_extent() 90 u64 disk_bytenr = SZ_1M; in setup_file_extents() local 118 disk_bytenr, sectorsize, BTRFS_FILE_EXTENT_REG, 0, slot); in setup_file_extents() 120 disk_bytenr += sectorsize; in setup_file_extents() 127 insert_extent(root, offset, sectorsize, 4 * sectorsize, 0, disk_bytenr, in setup_file_extents() 136 2 * sectorsize, disk_bytenr, 4 * sectorsize, in setup_file_extents() 140 disk_bytenr += 4 * sectorsize; in setup_file_extents() 143 insert_extent(root, offset, sectorsize, sectorsize, 0, disk_bytenr, in setup_file_extents() 152 disk_bytenr += 2 * sectorsize; in setup_file_extents() [all …]
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | ordered-data.h | 75 u64 disk_bytenr; member 164 u64 disk_bytenr, u64 num_bytes, u64 disk_num_bytes, 167 u64 disk_bytenr, u64 num_bytes, 170 u64 disk_bytenr, u64 num_bytes, 188 u64 disk_bytenr, u8 *sum, int len);
|
D | ordered-data.c | 163 u64 disk_bytenr, u64 num_bytes, in __btrfs_add_ordered_extent() argument 194 entry->disk_bytenr = disk_bytenr; in __btrfs_add_ordered_extent() 256 u64 disk_bytenr, u64 num_bytes, u64 disk_num_bytes, in btrfs_add_ordered_extent() argument 259 return __btrfs_add_ordered_extent(inode, file_offset, disk_bytenr, in btrfs_add_ordered_extent() 265 u64 disk_bytenr, u64 num_bytes, in btrfs_add_ordered_extent_dio() argument 268 return __btrfs_add_ordered_extent(inode, file_offset, disk_bytenr, in btrfs_add_ordered_extent_dio() 274 u64 disk_bytenr, u64 num_bytes, in btrfs_add_ordered_extent_compress() argument 278 return __btrfs_add_ordered_extent(inode, file_offset, disk_bytenr, in btrfs_add_ordered_extent_compress() 572 if (range_end <= ordered->disk_bytenr || in btrfs_wait_ordered_extents() 573 ordered->disk_bytenr + ordered->disk_num_bytes <= range_start) { in btrfs_wait_ordered_extents() [all …]
|
D | file-item.c | 268 u64 disk_bytenr; in btrfs_lookup_bio_sums() local 312 disk_bytenr = (u64)bio->bi_iter.bi_sector << 9; in btrfs_lookup_bio_sums() 322 disk_bytenr, csum, nblocks); in btrfs_lookup_bio_sums() 326 if (!item || disk_bytenr < item_start_offset || in btrfs_lookup_bio_sums() 327 disk_bytenr >= item_last_offset) { in btrfs_lookup_bio_sums() 334 path, disk_bytenr, 0); in btrfs_lookup_bio_sums() 368 diff = disk_bytenr - item_start_offset; in btrfs_lookup_bio_sums() 371 count = min_t(int, nblocks, (item_last_offset - disk_bytenr) >> in btrfs_lookup_bio_sums() 382 disk_bytenr += fs_info->sectorsize; in btrfs_lookup_bio_sums()
|
D | btrfs_inode.h | 351 u64 disk_bytenr; member
|
D | inode.c | 1463 u64 disk_bytenr = 0; in run_delalloc_nocow() local 1565 disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); in run_delalloc_nocow() 1580 if (disk_bytenr == 0) in run_delalloc_nocow() 1601 if (btrfs_extent_readonly(fs_info, disk_bytenr)) in run_delalloc_nocow() 1605 extent_offset, disk_bytenr, false); in run_delalloc_nocow() 1620 disk_bytenr += extent_offset; in run_delalloc_nocow() 1621 disk_bytenr += cur_offset - found_key.offset; in run_delalloc_nocow() 1634 ret = csum_exist_in_range(fs_info, disk_bytenr, in run_delalloc_nocow() 1649 if (!btrfs_inc_nocow_writers(fs_info, disk_bytenr)) in run_delalloc_nocow() 1701 disk_bytenr, /* block_start */ in run_delalloc_nocow() [all …]
|
D | file.c | 692 u64 disk_bytenr = 0; in __btrfs_drop_extents() local 764 disk_bytenr = btrfs_file_extent_disk_bytenr(leaf, fi); in __btrfs_drop_extents() 841 if (update_refs && disk_bytenr > 0) { in __btrfs_drop_extents() 844 disk_bytenr, num_bytes, 0); in __btrfs_drop_extents() 879 if (update_refs && disk_bytenr > 0) in __btrfs_drop_extents() 899 if (update_refs && disk_bytenr > 0) in __btrfs_drop_extents() 928 } else if (update_refs && disk_bytenr > 0) { in __btrfs_drop_extents() 931 disk_bytenr, num_bytes, 0); in __btrfs_drop_extents()
|
D | relocation.c | 3916 u64 disk_bytenr; in btrfs_reloc_clone_csums() local 3923 disk_bytenr = file_pos + inode->index_cnt; in btrfs_reloc_clone_csums() 3924 ret = btrfs_lookup_csums_range(fs_info->csum_root, disk_bytenr, in btrfs_reloc_clone_csums() 3925 disk_bytenr + len - 1, &list, 0); in btrfs_reloc_clone_csums() 3945 new_bytenr = ordered->disk_bytenr + sums->bytenr - disk_bytenr; in btrfs_reloc_clone_csums()
|
D | ctree.h | 1262 (offsetof(struct btrfs_file_extent_item, disk_bytenr)) 2334 struct btrfs_file_extent_item, disk_bytenr, 64); 2361 disk_bytenr, 64);
|
D | tree-checker.c | 294 CHECK_FE_ALIGNED(leaf, slot, fi, disk_bytenr, sectorsize) || in check_extent_data_item()
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | btrfs_tree.h | 365 __le64 disk_bytenr; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | btrfs_tree.h | 789 __le64 disk_bytenr; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | btrfs_tree.h | 336 __le64 disk_bytenr; member
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | btrfs.h | 383 __field( u64, disk_bytenr ) 399 __entry->disk_bytenr = btrfs_file_extent_disk_bytenr(l, fi); 418 __entry->disk_bytenr, __entry->disk_num_bytes, 536 __entry->start = ordered->disk_bytenr;
|