Searched refs:bytes_reserved (Results 1 – 14 of 14) sorted by relevance
/fs/btrfs/ |
D | delayed-inode.c | 315 item->bytes_reserved = 0; in btrfs_alloc_delayed_item() 494 if (!trans->bytes_reserved) in btrfs_delayed_item_reserve_metadata() 518 item->bytes_reserved = num_bytes; in btrfs_delayed_item_reserve_metadata() 530 if (!item->bytes_reserved) in btrfs_delayed_item_release_metadata() 540 item->bytes_reserved, 0); in btrfs_delayed_item_release_metadata() 541 btrfs_block_rsv_release(fs_info, rsv, item->bytes_reserved, NULL); in btrfs_delayed_item_release_metadata() 584 if (!src_rsv || (!trans->bytes_reserved && in btrfs_delayed_inode_reserve_metadata() 603 node->bytes_reserved = num_bytes; in btrfs_delayed_inode_reserve_metadata() 615 if (!node->bytes_reserved) in btrfs_delayed_inode_release_metadata() 620 node->inode_id, node->bytes_reserved, 0); in btrfs_delayed_inode_release_metadata() [all …]
|
D | delayed-inode.h | 45 u64 bytes_reserved; member 87 u64 bytes_reserved; member
|
D | transaction.c | 699 h->bytes_reserved = num_bytes; in start_transaction() 980 ASSERT(!trans->bytes_reserved); in btrfs_trans_release_metadata() 984 if (!trans->bytes_reserved) in btrfs_trans_release_metadata() 989 trans->transid, trans->bytes_reserved, 0); in btrfs_trans_release_metadata() 991 trans->bytes_reserved, NULL); in btrfs_trans_release_metadata() 992 trans->bytes_reserved = 0; in btrfs_trans_release_metadata() 1691 trans->bytes_reserved = trans->block_rsv->reserved; in create_pending_snapshot() 1694 trans->bytes_reserved, 1); in create_pending_snapshot() 1877 trans->bytes_reserved = 0; in create_pending_snapshot()
|
D | space-info.h | 17 u64 bytes_reserved; /* total bytes the allocator has reserved for member
|
D | space-info.c | 166 return s_info->bytes_used + s_info->bytes_reserved + in btrfs_space_info_used() 515 info->bytes_reserved, info->bytes_may_use, in __btrfs_dump_space_info() 861 if ((space_info->bytes_used + space_info->bytes_reserved + in need_preemptive_reclaim() 917 used = space_info->bytes_used + space_info->bytes_reserved + in need_preemptive_reclaim()
|
D | transaction.h | 120 u64 bytes_reserved; member
|
D | block-group.c | 3426 space_info->bytes_reserved -= num_bytes; in btrfs_update_block_group() 3505 space_info->bytes_reserved += num_bytes; in btrfs_add_reserved_bytes() 3546 space_info->bytes_reserved -= num_bytes; in btrfs_free_reserved_bytes() 4206 if (WARN_ON(space_info->bytes_reserved > 0)) in btrfs_free_block_groups()
|
D | sysfs.c | 829 SPACE_INFO_ATTR(bytes_reserved); 880 BTRFS_ATTR_PTR(space_info, bytes_reserved),
|
D | free-space-cache.c | 3646 space_info->bytes_reserved += reserved_bytes; in do_trimming() 3676 space_info->bytes_reserved -= reserved_bytes; in do_trimming()
|
D | ioctl.c | 640 trans->bytes_reserved = block_rsv.size; in create_subvol() 746 trans->bytes_reserved = 0; in create_subvol()
|
D | extent-tree.c | 2531 cache->space_info->bytes_reserved -= num_bytes; in pin_down_extent() 4880 space_info->bytes_reserved += ins->offset; in btrfs_alloc_logged_file_extent()
|
D | inode.c | 4756 trans->bytes_reserved = block_rsv.size; in btrfs_delete_subvolume() 4809 trans->bytes_reserved = 0; in btrfs_delete_subvolume() 5447 trans->bytes_reserved = delayed_refs_extra; in evict_refill_and_join()
|
D | disk-io.c | 5010 cache->space_info->bytes_reserved -= head->num_bytes; in btrfs_destroy_delayed_refs()
|
D | tree-log.c | 2572 cache->space_info->bytes_reserved -= fs_info->nodesize; in unaccount_log_buffer()
|