Home
last modified time | relevance | path

Searched refs:alloc_blocks (Results 1 – 3 of 3) sorted by relevance

/linux/fs/hfs/
H A Dextent.c352 if (ablock >= HFS_I(inode)->alloc_blocks) { in hfs_get_block()
398 if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) in hfs_extend_file()
401 res = hfs_ext_read_extent(inode, HFS_I(inode)->alloc_blocks); in hfs_extend_file()
415 if (HFS_I(inode)->alloc_blocks == HFS_I(inode)->first_blocks) { in hfs_extend_file()
426 HFS_I(inode)->alloc_blocks, in hfs_extend_file()
437 HFS_I(inode)->alloc_blocks - in hfs_extend_file()
450 HFS_I(inode)->alloc_blocks += len; in hfs_extend_file()
470 HFS_I(inode)->cached_start = HFS_I(inode)->alloc_blocks; in hfs_extend_file()
508 alloc_cnt = HFS_I(inode)->alloc_blocks; in hfs_file_truncate()
546 HFS_I(inode)->alloc_blocks = blk_cnt; in hfs_file_truncate()
/linux/fs/xfs/
H A Dxfs_iomap.c366 xfs_fsblock_t alloc_blocks) in xfs_quota_need_throttle() argument
388 if (res->reserved + alloc_blocks < pre->q_prealloc_lo_wmark) in xfs_quota_need_throttle()
490 xfs_fsblock_t alloc_blocks = 0; in xfs_iomap_prealloc_size() local
536 alloc_blocks = plen * 2; in xfs_iomap_prealloc_size()
537 if (alloc_blocks > XFS_MAX_BMBT_EXTLEN) in xfs_iomap_prealloc_size()
538 alloc_blocks = XFS_B_TO_FSB(mp, offset); in xfs_iomap_prealloc_size()
539 qblocks = alloc_blocks; in xfs_iomap_prealloc_size()
548 alloc_blocks = XFS_FILEOFF_MIN(roundup_pow_of_two(XFS_MAX_BMBT_EXTLEN), in xfs_iomap_prealloc_size()
549 alloc_blocks); in xfs_iomap_prealloc_size()
563 if (xfs_quota_need_throttle(ip, XFS_DQTYPE_USER, alloc_blocks)) in xfs_iomap_prealloc_size()
[all …]
/linux/fs/hfsplus/
H A Dextents.c244 if (ablock >= hip->alloc_blocks) { in hfsplus_get_block()
454 if (hip->alloc_blocks == hip->first_blocks) in hfsplus_file_extend()
457 res = hfsplus_ext_read_extent(inode, hip->alloc_blocks); in hfsplus_file_extend()
481 if (hip->alloc_blocks <= hip->first_blocks) { in hfsplus_file_extend()
492 hip->alloc_blocks, in hfsplus_file_extend()
503 hip->alloc_blocks - hip->cached_start, in hfsplus_file_extend()
514 hip->alloc_blocks += len; in hfsplus_file_extend()
533 hip->cached_start = hip->alloc_blocks; in hfsplus_file_extend()
575 alloc_cnt = hip->alloc_blocks; in hfsplus_file_truncate()
619 hip->alloc_blocks = blk_cnt; in hfsplus_file_truncate()