Home
last modified time | relevance | path

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

/fs/btrfs/
Dtransaction.h206 unsigned int num_items);
209 unsigned int num_items);
Dtransaction.c573 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction() argument
604 if (num_items && root != fs_info->chunk_root) { in start_transaction()
608 qgroup_reserved = num_items * fs_info->nodesize; in start_transaction()
621 num_bytes = btrfs_calc_insert_metadata_size(fs_info, num_items); in start_transaction()
647 } else if (num_items == 0 && flush == BTRFS_RESERVE_FLUSH_ALL && in start_transaction()
775 unsigned int num_items) in btrfs_start_transaction() argument
777 return start_transaction(root, num_items, TRANS_START, in btrfs_start_transaction()
783 unsigned int num_items) in btrfs_start_transaction_fallback_global_rsv() argument
785 return start_transaction(root, num_items, TRANS_START, in btrfs_start_transaction_fallback_global_rsv()
Dctree.h2706 unsigned num_items) in btrfs_calc_insert_metadata_size() argument
2708 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * 2 * num_items; in btrfs_calc_insert_metadata_size()
2716 unsigned num_items) in btrfs_calc_metadata_size() argument
2718 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * num_items; in btrfs_calc_metadata_size()
Dblock-group.c1109 unsigned int num_items; in btrfs_start_trans_remove_block_group() local
1136 num_items = 3 + map->num_stripes; in btrfs_start_trans_remove_block_group()
1140 num_items); in btrfs_start_trans_remove_block_group()
Dioctl.c2906 rootrefs->num_items = found; in btrfs_ioctl_get_subvol_rootref()