Searched refs:alloc_cnt (Results 1 – 2 of 2) sorted by relevance
/fs/hfs/ |
D | extent.c | 480 u16 blk_cnt, alloc_cnt, start; in hfs_file_truncate() local 507 alloc_cnt = HFS_I(inode)->alloc_blocks; in hfs_file_truncate() 508 if (blk_cnt == alloc_cnt) in hfs_file_truncate() 519 if (alloc_cnt == HFS_I(inode)->first_blocks) { in hfs_file_truncate() 521 alloc_cnt, alloc_cnt - blk_cnt); in hfs_file_truncate() 526 res = __hfs_ext_cache_extent(&fd, inode, alloc_cnt); in hfs_file_truncate() 531 alloc_cnt - start, alloc_cnt - blk_cnt); in hfs_file_truncate() 537 alloc_cnt = start; in hfs_file_truncate()
|
/fs/hfsplus/ |
D | extents.c | 548 u32 alloc_cnt, blk_cnt, start; in hfsplus_file_truncate() local 578 alloc_cnt = hip->alloc_blocks; in hfsplus_file_truncate() 579 if (blk_cnt == alloc_cnt) in hfsplus_file_truncate() 589 if (alloc_cnt == hip->first_blocks) { in hfsplus_file_truncate() 592 alloc_cnt, alloc_cnt - blk_cnt); in hfsplus_file_truncate() 598 res = __hfsplus_ext_cache_extent(&fd, inode, alloc_cnt); in hfsplus_file_truncate() 607 alloc_cnt - start, alloc_cnt - blk_cnt); in hfsplus_file_truncate() 614 alloc_cnt = start; in hfsplus_file_truncate()
|