Lines Matching refs:num_items
469 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
649 return start_transaction(root, num_items, TRANS_START, in btrfs_start_transaction_lflush()