Home
last modified time | relevance | path

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

/linux-6.1.9/fs/btrfs/
Ddelayed-inode.c315 item->bytes_reserved = 0; in btrfs_alloc_delayed_item()
490 if (!trans->bytes_reserved) in btrfs_delayed_item_reserve_metadata()
514 item->bytes_reserved = num_bytes; in btrfs_delayed_item_reserve_metadata()
526 if (!item->bytes_reserved) in btrfs_delayed_item_release_metadata()
536 item->bytes_reserved, 0); in btrfs_delayed_item_release_metadata()
537 btrfs_block_rsv_release(fs_info, rsv, item->bytes_reserved, NULL); in btrfs_delayed_item_release_metadata()
580 if (!src_rsv || (!trans->bytes_reserved && in btrfs_delayed_inode_reserve_metadata()
599 node->bytes_reserved = num_bytes; in btrfs_delayed_inode_reserve_metadata()
611 if (!node->bytes_reserved) in btrfs_delayed_inode_release_metadata()
616 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.c692 h->bytes_reserved = num_bytes; in start_transaction()
959 ASSERT(!trans->bytes_reserved); in btrfs_trans_release_metadata()
963 if (!trans->bytes_reserved) in btrfs_trans_release_metadata()
968 trans->transid, trans->bytes_reserved, 0); in btrfs_trans_release_metadata()
970 trans->bytes_reserved, NULL); in btrfs_trans_release_metadata()
971 trans->bytes_reserved = 0; in btrfs_trans_release_metadata()
1656 trans->bytes_reserved = trans->block_rsv->reserved; in create_pending_snapshot()
1659 trans->bytes_reserved, 1); in create_pending_snapshot()
1845 trans->bytes_reserved = 0; in create_pending_snapshot()
Dspace-info.h17 u64 bytes_reserved; /* total bytes the allocator has reserved for member
Dtransaction.h120 u64 bytes_reserved; member
Dspace-info.c166 return s_info->bytes_used + s_info->bytes_reserved + in btrfs_space_info_used()
519 info->bytes_reserved, info->bytes_may_use, in __btrfs_dump_space_info()
865 if ((space_info->bytes_used + space_info->bytes_reserved + in need_preemptive_reclaim()
921 used = space_info->bytes_used + space_info->bytes_reserved + in need_preemptive_reclaim()
Dblock-group.c3295 cache->space_info->bytes_reserved -= num_bytes; in btrfs_update_block_group()
3374 space_info->bytes_reserved += num_bytes; in btrfs_add_reserved_bytes()
3415 space_info->bytes_reserved -= num_bytes; in btrfs_free_reserved_bytes()
4075 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.c3645 space_info->bytes_reserved += reserved_bytes; in do_trimming()
3675 space_info->bytes_reserved -= reserved_bytes; in do_trimming()
Dioctl.c638 trans->bytes_reserved = block_rsv.size; in create_subvol()
744 trans->bytes_reserved = 0; in create_subvol()
Dextent-tree.c2525 cache->space_info->bytes_reserved -= num_bytes; in pin_down_extent()
4844 space_info->bytes_reserved += ins->offset; in btrfs_alloc_logged_file_extent()
Dinode.c4713 trans->bytes_reserved = block_rsv.size; in btrfs_delete_subvolume()
4766 trans->bytes_reserved = 0; in btrfs_delete_subvolume()
5384 trans->bytes_reserved = delayed_refs_extra; in evict_refill_and_join()
Ddisk-io.c4969 cache->space_info->bytes_reserved -= head->num_bytes; in btrfs_destroy_delayed_refs()
Dtree-log.c2598 cache->space_info->bytes_reserved -= fs_info->nodesize; in unaccount_log_buffer()
/linux-6.1.9/include/trace/events/
Dbtrfs.h2110 __field( u64, bytes_reserved )
2129 __entry->bytes_reserved = sinfo->bytes_reserved;
2152 __entry->bytes_pinned, __entry->bytes_reserved,