Searched refs:bytes_reserved (Results 1 – 11 of 11) sorted by relevance
/fs/btrfs/ |
D | inode-map.c | 428 num_bytes = trans->bytes_reserved; in btrfs_save_ino_cache() 436 trans->bytes_reserved = btrfs_calc_trans_metadata_size(root, 10); in btrfs_save_ino_cache() 438 trans->bytes_reserved, in btrfs_save_ino_cache() 443 trans->transid, trans->bytes_reserved, 1); in btrfs_save_ino_cache() 510 trans->transid, trans->bytes_reserved, 0); in btrfs_save_ino_cache() 511 btrfs_block_rsv_release(root, trans->block_rsv, trans->bytes_reserved); in btrfs_save_ino_cache() 514 trans->bytes_reserved = num_bytes; in btrfs_save_ino_cache()
|
D | delayed-inode.h | 57 u64 bytes_reserved; member 81 u64 bytes_reserved; member
|
D | delayed-inode.c | 316 item->bytes_reserved = 0; in btrfs_alloc_delayed_item() 546 if (!trans->bytes_reserved) in btrfs_delayed_item_reserve_metadata() 558 item->bytes_reserved = num_bytes; in btrfs_delayed_item_reserve_metadata() 569 if (!item->bytes_reserved) in btrfs_delayed_item_release_metadata() 574 item->key.objectid, item->bytes_reserved, in btrfs_delayed_item_release_metadata() 577 item->bytes_reserved); in btrfs_delayed_item_release_metadata() 629 if (!src_rsv || (!trans->bytes_reserved && in btrfs_delayed_inode_reserve_metadata() 642 node->bytes_reserved = num_bytes; in btrfs_delayed_inode_reserve_metadata() 669 node->bytes_reserved = num_bytes; in btrfs_delayed_inode_reserve_metadata() 686 if (!node->bytes_reserved) in btrfs_delayed_inode_release_metadata() [all …]
|
D | transaction.h | 110 u64 bytes_reserved; member
|
D | extent-tree.c | 3970 found->bytes_reserved = 0; in update_space_info() 4156 used = data_sinfo->bytes_used + data_sinfo->bytes_reserved + in btrfs_alloc_data_chunk_ondemand() 4356 u64 num_allocated = sinfo->bytes_used + sinfo->bytes_reserved; in should_alloc_chunk() 4428 info->bytes_reserved - info->bytes_readonly - in check_system_chunk() 4615 used = space_info->bytes_used + space_info->bytes_reserved + in can_overcommit() 4918 used = space_info->bytes_used + space_info->bytes_reserved + in btrfs_calc_reclaim_metadata_size() 4931 space_info->bytes_reserved); in btrfs_calc_reclaim_metadata_size() 4941 if ((space_info->bytes_used + space_info->bytes_reserved) >= thresh) in need_do_async_reclaim() 5138 used = space_info->bytes_used + space_info->bytes_reserved + in __reserve_metadata_bytes() 5367 used = space_info->bytes_used + space_info->bytes_reserved + in space_info_add_old_bytes() [all …]
|
D | transaction.c | 580 h->bytes_reserved = num_bytes; in start_transaction() 638 trans->bytes_reserved = num_bytes; in btrfs_start_transaction_fallback_global_rsv() 1464 trans->bytes_reserved = trans->block_rsv->reserved; in create_pending_snapshot() 1467 trans->bytes_reserved, 1); in create_pending_snapshot() 1662 trans->bytes_reserved = 0; in create_pending_snapshot()
|
D | sysfs.c | 327 SPACE_INFO_ATTR(bytes_reserved); 339 BTRFS_ATTR_PTR(bytes_reserved),
|
D | ioctl.c | 493 trans->bytes_reserved = block_rsv.size; in create_subvol() 616 trans->bytes_reserved = 0; in create_subvol() 2494 trans->bytes_reserved = block_rsv.size; in btrfs_ioctl_snap_destroy() 2548 trans->bytes_reserved = 0; in btrfs_ioctl_snap_destroy()
|
D | free-space-cache.c | 3122 space_info->bytes_reserved += reserved_bytes; in do_trimming() 3144 space_info->bytes_reserved -= reserved_bytes; in do_trimming()
|
D | ctree.h | 390 u64 bytes_reserved; /* total bytes the allocator has reserved for member
|
D | inode.c | 4310 trans->bytes_reserved += bytes_deleted; in truncate_space_check()
|