Home
last modified time | relevance | path

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

/fs/btrfs/
Dtransaction.h181 unsigned int num_items);
184 unsigned int num_items,
Dtransaction.c439 start_transaction(struct btrfs_root *root, unsigned int num_items, in start_transaction() argument
472 if (num_items && root != fs_info->chunk_root) { in start_transaction()
476 qgroup_reserved = num_items * fs_info->nodesize; in start_transaction()
489 num_bytes = btrfs_calc_insert_metadata_size(fs_info, num_items); in start_transaction()
511 } else if (num_items == 0 && flush == BTRFS_RESERVE_FLUSH_ALL && in start_transaction()
609 unsigned int num_items) in btrfs_start_transaction() argument
611 return start_transaction(root, num_items, TRANS_START, in btrfs_start_transaction()
617 unsigned int num_items, in btrfs_start_transaction_fallback_global_rsv() argument
631 trans = start_transaction(root, num_items, TRANS_START, in btrfs_start_transaction_fallback_global_rsv()
640 num_bytes = btrfs_calc_insert_metadata_size(fs_info, num_items); in btrfs_start_transaction_fallback_global_rsv()
Dctree.h2383 unsigned num_items) in btrfs_calc_insert_metadata_size() argument
2385 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * 2 * num_items; in btrfs_calc_insert_metadata_size()
2393 unsigned num_items) in btrfs_calc_metadata_size() argument
2395 return (u64)fs_info->nodesize * BTRFS_MAX_LEVEL * num_items; in btrfs_calc_metadata_size()
Dblock-group.c1135 unsigned int num_items; in btrfs_start_trans_remove_block_group() local
1162 num_items = 3 + map->num_stripes; in btrfs_start_trans_remove_block_group()
1166 num_items, 1); in btrfs_start_trans_remove_block_group()
Dioctl.c2824 rootrefs->num_items = found; in btrfs_ioctl_get_subvol_rootref()