/linux-4.19.296/fs/btrfs/ |
D | backref.h | 51 struct btrfs_data_container *init_data_container(u32 total_bytes); 52 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
|
D | file-item.c | 434 unsigned long total_bytes = 0; in btrfs_csum_one_bio() local 481 bytes_left = bio->bi_iter.bi_size - total_bytes; in btrfs_csum_one_bio() 491 + total_bytes; in btrfs_csum_one_bio() 508 total_bytes += fs_info->sectorsize; in btrfs_csum_one_bio() 737 u64 total_bytes = 0; in btrfs_csum_file_blocks() local 753 bytenr = sums->bytenr + total_bytes; in btrfs_csum_file_blocks() 847 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks() 872 tmp = sums->len - total_bytes; in btrfs_csum_file_blocks() 899 ins_size = (u32)(sums->len - total_bytes) >> in btrfs_csum_file_blocks() 908 total_bytes += ins_size * fs_info->sectorsize; in btrfs_csum_file_blocks() [all …]
|
D | sysfs.c | 282 BTRFS_ATTR(raid, total_bytes, raid_bytes_show); 296 if (&attr->attr == BTRFS_ATTR_PTR(raid, total_bytes)) in raid_bytes_show() 306 BTRFS_ATTR_PTR(raid, total_bytes), 342 SPACE_INFO_ATTR(total_bytes); 355 BTRFS_ATTR_PTR(space_info, total_bytes),
|
D | volumes.h | 84 u64 total_bytes; member 212 BTRFS_DEVICE_GETSET_FUNCS(total_bytes);
|
D | dev-replace.c | 166 dev_replace->tgtdev->total_bytes = in btrfs_init_dev_replace() 167 dev_replace->srcdev->total_bytes; in btrfs_init_dev_replace() 269 device->total_bytes = btrfs_device_get_total_bytes(srcdev); in btrfs_init_dev_replace_tgtdev() 686 btrfs_device_set_total_bytes(tgt_device, src_device->total_bytes); in btrfs_dev_replace_finishing()
|
D | backref.c | 2233 struct btrfs_data_container *init_data_container(u32 total_bytes) argument 2238 alloc_bytes = max_t(size_t, total_bytes, sizeof(*data)); 2243 if (total_bytes >= sizeof(*data)) { 2244 data->bytes_left = total_bytes - sizeof(*data); 2247 data->bytes_missing = sizeof(*data) - total_bytes; 2263 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, argument 2269 fspath = init_data_container(total_bytes);
|
D | extent-tree.c | 3934 u64 total_bytes, u64 bytes_used, in update_space_info() argument 3946 found->total_bytes += total_bytes; in update_space_info() 3947 found->disk_total += total_bytes * factor; in update_space_info() 3951 if (total_bytes > 0) in update_space_info() 3953 space_info_add_new_bytes(info, found, total_bytes - in update_space_info() 4138 if (used + bytes > data_sinfo->total_bytes) { in btrfs_alloc_data_chunk_ondemand() 4188 used + bytes - data_sinfo->total_bytes, in btrfs_alloc_data_chunk_ondemand() 4358 if (sinfo->total_bytes - bytes_used < thresh) in should_alloc_chunk() 4362 if (bytes_used + SZ_2M < div_factor(sinfo->total_bytes, 8)) in should_alloc_chunk() 4406 left = info->total_bytes - btrfs_space_info_used(info, true); in check_system_chunk() [all …]
|
D | ctree.h | 184 __le64 total_bytes; member 220 __le64 total_bytes; member 388 u64 total_bytes; /* total bytes in the space, member 1592 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_device_total_bytes() 1594 total_bytes)); in btrfs_device_total_bytes() 1601 sizeof(((struct btrfs_dev_item *)0))->total_bytes); in btrfs_set_device_total_bytes() 1603 btrfs_set_64(eb, s, offsetof(struct btrfs_dev_item, total_bytes), val); in btrfs_set_device_total_bytes() 1622 total_bytes, 64); 2226 total_bytes, 64); 2340 total_bytes, 64);
|
D | volumes.c | 1378 u64 search_end = device->total_bytes; in find_free_dev_extent_start() 2419 device->total_bytes = round_down(i_size_read(bdev->bd_inode), in btrfs_init_new_device() 2421 device->disk_total_bytes = device->total_bytes; in btrfs_init_new_device() 2422 device->commit_total_bytes = device->total_bytes; in btrfs_init_new_device() 2450 fs_devices->total_rw_bytes += device->total_bytes; in btrfs_init_new_device() 2452 atomic64_add(device->total_bytes, &fs_info->free_chunk_space); in btrfs_init_new_device() 2459 round_down(orig_super_total_bytes + device->total_bytes, in btrfs_init_new_device() 2553 fs_info->fs_devices->total_rw_bytes -= device->total_bytes; in btrfs_init_new_device() 2554 atomic64_sub(device->total_bytes, &fs_info->free_chunk_space); in btrfs_init_new_device() 2639 diff = round_down(new_size - device->total_bytes, fs_info->sectorsize); in btrfs_grow_device() [all …]
|
D | extent_io.c | 1531 u64 total_bytes = 0; in find_delalloc_range() local 1566 total_bytes += state->end - state->start + 1; in find_delalloc_range() 1567 if (total_bytes >= max_bytes) in find_delalloc_range() 1808 u64 total_bytes = 0; in count_range_bits() local 1817 total_bytes = tree->dirty_bytes; in count_range_bits() 1835 total_bytes += min(search_end, state->end) + 1 - in count_range_bits() 1837 if (total_bytes >= max_bytes) in count_range_bits() 1853 return total_bytes; in count_range_bits()
|
D | ioctl.c | 3235 di_args->total_bytes = btrfs_device_get_total_bytes(dev); in btrfs_ioctl_dev_info() 4515 space->total_bytes = 0; in get_block_group_info() 4520 space->total_bytes += block_group->key.offset; in get_block_group_info() 4647 space.total_bytes = block_rsv->size; in btrfs_ioctl_space_info()
|
D | super.c | 2034 avail_space = device->total_bytes - device->bytes_used; in btrfs_calc_avail_data_space()
|
/linux-4.19.296/drivers/media/common/b2c2/ |
D | flexcop-i2c.c | 46 int len = r100.tw_sm_c_100.total_bytes, in flexcop_i2c_read4() 91 int len = r100.tw_sm_c_100.total_bytes; /* remember total_bytes is buflen-1 */ in flexcop_i2c_write4() 141 r100.tw_sm_c_100.total_bytes = bytes_to_transfer - 1; in flexcop_i2c_request()
|
D | flexcop_ibi_value_be.h | 51 u32 total_bytes : 2; member
|
D | flexcop_ibi_value_le.h | 54 u32 total_bytes : 2; member
|
/linux-4.19.296/include/scsi/ |
D | osd_initiator.h | 139 unsigned total_bytes; member 144 u64 total_bytes; member
|
/linux-4.19.296/fs/nfs/ |
D | write.c | 478 unsigned int total_bytes; in nfs_lock_and_join_requests() local 511 total_bytes = head->wb_bytes; in nfs_lock_and_join_requests() 516 if (subreq->wb_offset == head->wb_offset + total_bytes) in nfs_lock_and_join_requests() 517 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests() 540 if (subreq->wb_offset == (head->wb_offset + total_bytes)) { in nfs_lock_and_join_requests() 542 total_bytes += subreq->wb_bytes; in nfs_lock_and_join_requests() 545 (head->wb_offset + total_bytes)))) { in nfs_lock_and_join_requests() 570 head->wb_bytes = total_bytes; in nfs_lock_and_join_requests()
|
/linux-4.19.296/include/uapi/linux/ |
D | btrfs.h | 223 __u64 total_bytes; /* out */ member 600 __u64 total_bytes; member
|
D | btrfs_tree.h | 356 __le64 total_bytes; member
|
/linux-4.19.296/block/ |
D | blk-core.c | 3086 int total_bytes; in blk_update_request() local 3099 total_bytes = 0; in blk_update_request() 3111 total_bytes += bio_bytes; in blk_update_request() 3131 req->__data_len -= total_bytes; in blk_update_request() 3135 req->__sector += total_bytes >> 9; in blk_update_request()
|
/linux-4.19.296/include/linux/ |
D | hyperv.h | 360 u64 total_bytes; member
|