Lines Matching defs:num_bytes
86 * a completely clean inode, with a num_bytes < our maximum allowed extent size
281 u64 num_bytes, u64 disk_num_bytes,
285 u64 nr_extents = count_max_extents(fs_info, num_bytes);
305 int btrfs_delalloc_reserve_metadata(struct btrfs_inode *inode, u64 num_bytes,
332 num_bytes = ALIGN(num_bytes, fs_info->sectorsize);
345 calc_inode_reservations(inode, num_bytes, disk_num_bytes,
364 nr_extents = count_max_extents(fs_info, num_bytes);
388 * @num_bytes: the number of bytes we are releasing.
395 void btrfs_delalloc_release_metadata(struct btrfs_inode *inode, u64 num_bytes,
400 num_bytes = ALIGN(num_bytes, fs_info->sectorsize);
403 inode->csum_bytes -= num_bytes;
417 * @num_bytes: the number of bytes we originally reserved with
425 void btrfs_delalloc_release_extents(struct btrfs_inode *inode, u64 num_bytes)
431 num_extents = count_max_extents(fs_info, num_bytes);