Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/btrfs/
Dinode-map.c432 num_bytes = trans->bytes_reserved; in btrfs_save_ino_cache()
440 trans->bytes_reserved = btrfs_calc_insert_metadata_size(fs_info, 10); in btrfs_save_ino_cache()
442 trans->bytes_reserved, in btrfs_save_ino_cache()
447 trans->bytes_reserved, 1); in btrfs_save_ino_cache()
517 trans->bytes_reserved, 0); in btrfs_save_ino_cache()
519 trans->bytes_reserved, NULL); in btrfs_save_ino_cache()
522 trans->bytes_reserved = num_bytes; in btrfs_save_ino_cache()
Ddelayed-inode.h44 u64 bytes_reserved; member
68 u64 bytes_reserved; member
Ddelayed-inode.c324 item->bytes_reserved = 0; in btrfs_alloc_delayed_item()
558 if (!trans->bytes_reserved) in btrfs_delayed_item_reserve_metadata()
576 item->bytes_reserved = num_bytes; in btrfs_delayed_item_reserve_metadata()
588 if (!item->bytes_reserved) in btrfs_delayed_item_release_metadata()
597 item->key.objectid, item->bytes_reserved, in btrfs_delayed_item_release_metadata()
599 btrfs_block_rsv_release(fs_info, rsv, item->bytes_reserved, NULL); in btrfs_delayed_item_release_metadata()
628 if (!src_rsv || (!trans->bytes_reserved && in btrfs_delayed_inode_reserve_metadata()
647 node->bytes_reserved = num_bytes; in btrfs_delayed_inode_reserve_metadata()
662 node->bytes_reserved = num_bytes; in btrfs_delayed_inode_reserve_metadata()
674 if (!node->bytes_reserved) in btrfs_delayed_inode_release_metadata()
[all …]
Dtransaction.c708 h->bytes_reserved = num_bytes; in start_transaction()
927 ASSERT(!trans->bytes_reserved); in btrfs_trans_release_metadata()
931 if (!trans->bytes_reserved) in btrfs_trans_release_metadata()
936 trans->transid, trans->bytes_reserved, 0); in btrfs_trans_release_metadata()
938 trans->bytes_reserved, NULL); in btrfs_trans_release_metadata()
939 trans->bytes_reserved = 0; in btrfs_trans_release_metadata()
1561 trans->bytes_reserved = trans->block_rsv->reserved; in create_pending_snapshot()
1564 trans->bytes_reserved, 1); in create_pending_snapshot()
1759 trans->bytes_reserved = 0; in create_pending_snapshot()
Dspace-info.h15 u64 bytes_reserved; /* total bytes the allocator has reserved for member
Dtransaction.h119 u64 bytes_reserved; member
Dspace-info.c164 return s_info->bytes_used + s_info->bytes_reserved + in btrfs_space_info_used()
428 info->bytes_reserved, info->bytes_may_use, in __btrfs_dump_space_info()
797 space_info->bytes_reserved); in btrfs_calc_reclaim_metadata_size()
808 if ((space_info->bytes_used + space_info->bytes_reserved) >= thresh) in need_do_async_reclaim()
Dblock-group.c2907 cache->space_info->bytes_reserved -= num_bytes; in btrfs_update_block_group()
2984 space_info->bytes_reserved += num_bytes; in btrfs_add_reserved_bytes()
3025 space_info->bytes_reserved -= num_bytes; in btrfs_free_reserved_bytes()
3389 space_info->bytes_reserved > 0 || in btrfs_free_block_groups()
Dsysfs.c633 SPACE_INFO_ATTR(bytes_reserved);
646 BTRFS_ATTR_PTR(space_info, bytes_reserved),
Dfree-space-cache.c3409 space_info->bytes_reserved += reserved_bytes; in do_trimming()
3439 space_info->bytes_reserved -= reserved_bytes; in do_trimming()
Dioctl.c637 trans->bytes_reserved = block_rsv.size; in create_subvol()
769 trans->bytes_reserved = 0; in create_subvol()
Dextent-tree.c2550 cache->space_info->bytes_reserved -= num_bytes; in pin_down_extent()
4559 space_info->bytes_reserved += ins->offset; in btrfs_alloc_logged_file_extent()
Dinode.c4059 trans->bytes_reserved = block_rsv.size; in btrfs_delete_subvolume()
4112 trans->bytes_reserved = 0; in btrfs_delete_subvolume()
5116 trans->bytes_reserved = delayed_refs_extra; in evict_refill_and_join()
Ddisk-io.c4474 cache->space_info->bytes_reserved -= head->num_bytes; in btrfs_destroy_delayed_refs()
Dtree-log.c2723 cache->space_info->bytes_reserved -= fs_info->nodesize; in unaccount_log_buffer()