Home
last modified time | relevance | path

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

/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/hfsplus/
Dextents.c542 u32 alloc_cnt, blk_cnt, start; in hfsplus_file_truncate() local
568 blk_cnt = (inode->i_size + HFSPLUS_SB(sb)->alloc_blksz - 1) >> in hfsplus_file_truncate()
574 if (blk_cnt == alloc_cnt) in hfsplus_file_truncate()
586 alloc_cnt, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
588 hip->first_blocks = blk_cnt; in hfsplus_file_truncate()
596 alloc_cnt - start, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
598 if (blk_cnt > start) { in hfsplus_file_truncate()
609 hip->alloc_blocks = blk_cnt; in hfsplus_file_truncate()
/fs/ubifs/
Dtnc.c1528 bu->blk_cnt = 0; in ubifs_tnc_get_bu_keys()
1546 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1591 bu->blk_cnt += (next_block - block - 1); in ubifs_tnc_get_bu_keys()
1592 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1597 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1601 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1617 if (bu->blk_cnt > UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1618 bu->blk_cnt = UBIFS_MAX_BULK_READ; in ubifs_tnc_get_bu_keys()
1624 !(bu->blk_cnt & (UBIFS_BLOCKS_PER_PAGE - 1))) in ubifs_tnc_get_bu_keys()
1628 bu->blk_cnt += UBIFS_BLOCKS_PER_PAGE - 1; in ubifs_tnc_get_bu_keys()
[all …]
Dubifs.h810 int blk_cnt; member
Dfile.c735 page_cnt = bu->blk_cnt >> UBIFS_BLOCKS_PER_PAGE_SHIFT; in ubifs_do_bulk_read()