Home
last modified time | relevance | path

Searched refs:num_items (Results 1 – 4 of 4) sorted by relevance

/fs/btrfs/
Dtransaction.h191 unsigned int num_items);
194 unsigned int num_items,
198 unsigned int num_items);
Dtransaction.c469 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction() argument
499 if (num_items > 0 && root != root->fs_info->chunk_root) { in start_transaction()
500 qgroup_reserved = num_items * root->nodesize; in start_transaction()
505 num_bytes = btrfs_calc_trans_metadata_size(root, num_items); in start_transaction()
605 unsigned int num_items) in btrfs_start_transaction() argument
607 return start_transaction(root, num_items, TRANS_START, in btrfs_start_transaction()
612 unsigned int num_items, in btrfs_start_transaction_fallback_global_rsv() argument
619 trans = btrfs_start_transaction(root, num_items); in btrfs_start_transaction_fallback_global_rsv()
627 num_bytes = btrfs_calc_trans_metadata_size(root, num_items); in btrfs_start_transaction_fallback_global_rsv()
647 unsigned int num_items) in btrfs_start_transaction_lflush() argument
[all …]
Dctree.h2538 unsigned num_items) in btrfs_calc_trans_metadata_size() argument
2540 return root->nodesize * BTRFS_MAX_LEVEL * 2 * num_items; in btrfs_calc_trans_metadata_size()
2548 unsigned num_items) in btrfs_calc_trunc_metadata_size() argument
2550 return root->nodesize * BTRFS_MAX_LEVEL * num_items; in btrfs_calc_trunc_metadata_size()
Dextent-tree.c10783 unsigned int num_items; in btrfs_start_trans_remove_block_group() local
10810 num_items = 3 + map->num_stripes; in btrfs_start_trans_remove_block_group()
10814 num_items, 1); in btrfs_start_trans_remove_block_group()