Searched refs:total_bytes (Results 1 - 14 of 14) sorted by relevance

/fs/btrfs/
H A Dbackref.h65 struct btrfs_data_container *init_data_container(u32 total_bytes);
66 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root,
H A Dfile-item.c435 unsigned long total_bytes = 0; local
470 bytes_left = bio->bi_iter.bi_size - total_bytes;
479 total_bytes;
494 total_bytes += bvec->bv_len;
694 u64 total_bytes = 0; local
710 bytenr = sums->bytenr + total_bytes;
802 tmp = sums->len - total_bytes;
826 tmp = sums->len - total_bytes;
853 ins_size = (u32)(sums->len - total_bytes) >>
862 total_bytes
[all...]
H A Dsysfs.c261 BTRFS_RAID_ATTR(total_bytes, raid_bytes_show);
275 if (&attr->attr == BTRFS_RAID_ATTR_PTR(total_bytes))
285 BTRFS_RAID_ATTR_PTR(total_bytes),
321 SPACE_INFO_ATTR(total_bytes); variable
332 BTRFS_ATTR_PTR(total_bytes),
H A Dvolumes.h87 u64 total_bytes; member in struct:btrfs_device
218 BTRFS_DEVICE_GETSET_FUNCS(total_bytes); variable
H A Dbackref.c1911 struct btrfs_data_container *init_data_container(u32 total_bytes) argument
1916 alloc_bytes = max_t(size_t, total_bytes, sizeof(*data));
1921 if (total_bytes >= sizeof(*data)) {
1922 data->bytes_left = total_bytes - sizeof(*data);
1925 data->bytes_missing = sizeof(*data) - total_bytes;
1937 * total_bytes to allocate are passed, note that space usable for actual path
1938 * information will be total_bytes - sizeof(struct inode_fs_paths).
1941 struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, argument
1947 fspath = init_data_container(total_bytes);
H A Ddev-replace.c167 dev_replace->tgtdev->total_bytes =
168 dev_replace->srcdev->total_bytes;
560 btrfs_device_set_total_bytes(tgt_device, src_device->total_bytes);
H A Dextent-tree.c3453 u64 total_bytes, u64 bytes_used,
3470 found->total_bytes += total_bytes;
3471 found->disk_total += total_bytes * factor;
3494 found->total_bytes = total_bytes;
3495 found->disk_total = total_bytes * factor;
3690 if (used + bytes > data_sinfo->total_bytes) {
3814 u64 num_bytes = sinfo->total_bytes - sinfo->bytes_readonly;
3874 left = info->total_bytes
3452 update_space_info(struct btrfs_fs_info *info, u64 flags, u64 total_bytes, u64 bytes_used, struct btrfs_space_info **space_info) argument
9605 u64 total_bytes = btrfs_super_total_bytes(fs_info->super_copy); local
[all...]
H A Dvolumes.c997 if (start >= device->total_bytes || device->is_tgtdev_for_dev_replace)
1128 u64 search_end = device->total_bytes;
2157 device->total_bytes = i_size_read(bdev->bd_inode);
2158 device->disk_total_bytes = device->total_bytes;
2159 device->commit_total_bytes = device->total_bytes;
2185 root->fs_info->fs_devices->total_rw_bytes += device->total_bytes;
2188 root->fs_info->free_chunk_space += device->total_bytes;
2196 tmp + device->total_bytes);
2361 device->total_bytes = btrfs_device_get_total_bytes(srcdev);
2461 diff = new_size - device->total_bytes;
[all...]
H A Dctree.h239 __le64 total_bytes; member in struct:btrfs_dev_item
431 __le64 total_bytes; member in struct:btrfs_root_backup
467 __le64 total_bytes; member in struct:btrfs_super_block
1133 u64 total_bytes; /* total bytes in the space, member in struct:btrfs_space_info
2243 BTRFS_SETGET_FUNCS(device_total_bytes, struct btrfs_dev_item, total_bytes, 64);
2258 total_bytes, 64);
2884 total_bytes, 64);
2994 total_bytes, 64);
H A Dextent_io.c1509 u64 total_bytes = 0; local
1544 total_bytes += state->end - state->start + 1;
1545 if (total_bytes >= max_bytes)
1791 u64 total_bytes = 0; local
1800 total_bytes = tree->dirty_bytes;
1818 total_bytes += min(search_end, state->end) + 1 -
1820 if (total_bytes >= max_bytes)
1836 return total_bytes;
H A Dioctl.c380 u64 total_bytes = btrfs_super_total_bytes(fs_info->super_copy); local
404 if (range.start > total_bytes ||
408 range.len = min(range.len, total_bytes - range.start);
2755 di_args->total_bytes = btrfs_device_get_total_bytes(dev);
3866 space->total_bytes = 0;
3871 space->total_bytes += block_group->key.offset;
3995 space.total_bytes = block_rsv->size;
H A Dsuper.c1678 avail_space = device->total_bytes - device->bytes_used;
1693 device->total_bytes)
H A Ddisk-io.c3374 if (space.total_bytes == 0 ||
/fs/nfs/
H A Dwrite.c433 unsigned int total_bytes; local
437 total_bytes = 0;
479 (head->wb_offset + total_bytes));
482 total_bytes += subreq->wb_bytes;
515 head->wb_bytes = total_bytes;

Completed in 212 milliseconds