Searched refs:total_bytes (Results 1 – 8 of 8) sorted by relevance
/fs/btrfs/ |
D | file-item.c | 363 unsigned long total_bytes = 0; in btrfs_csum_one_bio() local 399 bytes_left = bio->bi_size - total_bytes; in btrfs_csum_one_bio() 424 total_bytes += bvec->bv_len; in btrfs_csum_one_bio() 622 u64 total_bytes = 0; in btrfs_csum_file_blocks() local 741 u64 tmp = total_bytes + root->sectorsize; in btrfs_csum_file_blocks() 804 total_bytes += root->sectorsize; in btrfs_csum_file_blocks() 806 if (total_bytes < sums->len) { in btrfs_csum_file_blocks() 821 if (total_bytes < sums->len) { in btrfs_csum_file_blocks()
|
D | volumes.c | 604 u64 search_end = device->total_bytes; in find_free_dev_extent() 623 if (root->fs_info->alloc_start + num_bytes <= device->total_bytes) in find_free_dev_extent() 920 btrfs_set_device_total_bytes(leaf, dev_item, device->total_bytes); in btrfs_add_device() 1278 u64 total_bytes; in btrfs_init_new_device() local 1338 device->total_bytes = i_size_read(bdev->bd_inode); in btrfs_init_new_device() 1358 root->fs_info->fs_devices->total_rw_bytes += device->total_bytes; in btrfs_init_new_device() 1360 total_bytes = btrfs_super_total_bytes(&root->fs_info->super_copy); in btrfs_init_new_device() 1362 total_bytes + device->total_bytes); in btrfs_init_new_device() 1364 total_bytes = btrfs_super_num_devices(&root->fs_info->super_copy); in btrfs_init_new_device() 1366 total_bytes + 1); in btrfs_init_new_device() [all …]
|
D | volumes.h | 53 u64 total_bytes; member
|
D | ctree.h | 174 __le64 total_bytes; member 318 __le64 total_bytes; member 600 u64 total_bytes; /* total bytes in the space */ member 1041 BTRFS_SETGET_FUNCS(device_total_bytes, struct btrfs_dev_item, total_bytes, 64); 1056 total_bytes, 64); 1571 total_bytes, 64);
|
D | extent_io.c | 1078 u64 total_bytes = 0; in find_delalloc_range() local 1112 total_bytes += state->end - state->start + 1; in find_delalloc_range() 1113 if (total_bytes >= max_bytes) in find_delalloc_range() 1363 u64 total_bytes = 0; in count_range_bits() local 1373 total_bytes = tree->dirty_bytes; in count_range_bits() 1389 total_bytes += min(search_end, state->end) + 1 - in count_range_bits() 1391 if (total_bytes >= max_bytes) in count_range_bits() 1404 return total_bytes; in count_range_bits()
|
D | extent-tree.c | 1908 u64 total_bytes, u64 bytes_used, in update_space_info() argument 1916 found->total_bytes += total_bytes; in update_space_info() 1931 found->total_bytes = total_bytes; in update_space_info() 2050 thresh = meta_sinfo->total_bytes * 80; in btrfs_check_metadata_free_space() 2052 thresh = meta_sinfo->total_bytes * 95; in btrfs_check_metadata_free_space() 2108 if (data_sinfo->total_bytes - data_sinfo->bytes_used - in btrfs_check_data_free_space() 2157 data_sinfo->bytes_may_use, data_sinfo->total_bytes); in btrfs_check_data_free_space() 2258 thresh = space_info->total_bytes - space_info->bytes_readonly; in do_chunk_alloc() 3358 (unsigned long long)(info->total_bytes - info->bytes_used - in dump_space_info() 3362 " may_use=%llu, used=%llu\n", info->total_bytes, in dump_space_info() [all …]
|
D | disk-io.c | 2029 device->total_bytes) in write_dev_supers() 2037 if (bytenr + BTRFS_SUPER_INFO_SIZE >= device->total_bytes) in write_dev_supers() 2126 btrfs_set_stack_device_total_bytes(dev_item, dev->total_bytes); in write_all_supers()
|
D | ioctl.c | 511 old_size = device->total_bytes; in btrfs_ioctl_resize()
|