Home
last modified time | relevance | path

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

/fs/hfsplus/
Dextents.c548 u32 alloc_cnt, blk_cnt, start; in hfsplus_file_truncate() local
573 blk_cnt = (inode->i_size + HFSPLUS_SB(sb)->alloc_blksz - 1) >> in hfsplus_file_truncate()
579 if (blk_cnt == alloc_cnt) in hfsplus_file_truncate()
592 alloc_cnt, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
594 hip->first_blocks = blk_cnt; in hfsplus_file_truncate()
603 if (blk_cnt <= start) in hfsplus_file_truncate()
607 alloc_cnt - start, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
610 if (blk_cnt > start) { in hfsplus_file_truncate()
620 hip->alloc_blocks = blk_cnt; in hfsplus_file_truncate()
/fs/hfs/
Dextent.c480 u16 blk_cnt, alloc_cnt, start; in hfs_file_truncate() local
506 blk_cnt = size / HFS_SB(sb)->alloc_blksz; in hfs_file_truncate()
508 if (blk_cnt == alloc_cnt) in hfs_file_truncate()
521 alloc_cnt, alloc_cnt - blk_cnt); in hfs_file_truncate()
523 HFS_I(inode)->first_blocks = blk_cnt; in hfs_file_truncate()
531 alloc_cnt - start, alloc_cnt - blk_cnt); in hfs_file_truncate()
533 if (blk_cnt > start) { in hfs_file_truncate()
545 HFS_I(inode)->alloc_blocks = blk_cnt; in hfs_file_truncate()
/fs/ubifs/
Dtnc.c1559 bu->blk_cnt = 0; in ubifs_tnc_get_bu_keys()
1577 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1622 bu->blk_cnt += (next_block - block - 1); in ubifs_tnc_get_bu_keys()
1623 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1628 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1632 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1648 if (bu->blk_cnt > UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1649 bu->blk_cnt = UBIFS_MAX_BULK_READ; in ubifs_tnc_get_bu_keys()
1655 !(bu->blk_cnt & (UBIFS_BLOCKS_PER_PAGE - 1))) in ubifs_tnc_get_bu_keys()
1659 bu->blk_cnt += UBIFS_BLOCKS_PER_PAGE - 1; in ubifs_tnc_get_bu_keys()
[all …]
Dfile.c739 page_cnt = bu->blk_cnt >> UBIFS_BLOCKS_PER_PAGE_SHIFT; in ubifs_do_bulk_read()
Dubifs.h812 int blk_cnt; member