Home
last modified time | relevance | path

Searched refs:bytes_reserved (Results 1 – 14 of 14) sorted by relevance

/fs/btrfs/
Ddelayed-inode.c315 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 …]
Ddelayed-inode.h45 u64 bytes_reserved; member
87 u64 bytes_reserved; member
Dtransaction.c699 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()
Dspace-info.h17 u64 bytes_reserved; /* total bytes the allocator has reserved for member
Dspace-info.c166 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()
Dtransaction.h120 u64 bytes_reserved; member
Dblock-group.c3426 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()
Dsysfs.c829 SPACE_INFO_ATTR(bytes_reserved);
880 BTRFS_ATTR_PTR(space_info, bytes_reserved),
Dfree-space-cache.c3646 space_info->bytes_reserved += reserved_bytes; in do_trimming()
3676 space_info->bytes_reserved -= reserved_bytes; in do_trimming()
Dioctl.c640 trans->bytes_reserved = block_rsv.size; in create_subvol()
746 trans->bytes_reserved = 0; in create_subvol()
Dextent-tree.c2531 cache->space_info->bytes_reserved -= num_bytes; in pin_down_extent()
4880 space_info->bytes_reserved += ins->offset; in btrfs_alloc_logged_file_extent()
Dinode.c4756 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()
Ddisk-io.c5010 cache->space_info->bytes_reserved -= head->num_bytes; in btrfs_destroy_delayed_refs()
Dtree-log.c2572 cache->space_info->bytes_reserved -= fs_info->nodesize; in unaccount_log_buffer()