Lines Matching refs:num_bytes
88 * a completely clean inode, with a num_bytes < our maximum allowed extent size
283 u64 num_bytes, u64 disk_num_bytes,
287 u64 nr_extents = count_max_extents(fs_info, num_bytes);
307 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes,
334 num_bytes = ALIGN(num_bytes, fs_info->sectorsize);
347 calc_inode_reservations(inode, num_bytes, disk_num_bytes,
365 nr_extents = count_max_extents(fs_info, num_bytes);
389 * @num_bytes: the number of bytes we are releasing.
396 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
401 num_bytes = ALIGN(num_bytes, fs_info->sectorsize);
404 inode->csum_bytes -= num_bytes;
418 * @num_bytes: the number of bytes we originally reserved with
426 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes)
432 num_extents = count_max_extents(fs_info, num_bytes);