Home
last modified time | relevance | path

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

/fs/hfsplus/
A Dextents.c546 u32 alloc_cnt, blk_cnt, start; in hfsplus_file_truncate() local
571 blk_cnt = (inode->i_size + HFSPLUS_SB(sb)->alloc_blksz - 1) >> in hfsplus_file_truncate()
577 if (blk_cnt == alloc_cnt) in hfsplus_file_truncate()
590 alloc_cnt, alloc_cnt - blk_cnt); in hfsplus_file_truncate()
592 hip->first_blocks = blk_cnt; in hfsplus_file_truncate()
602 if (blk_cnt <= start) in hfsplus_file_truncate()
606 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/
A 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/
A Dtnc.c1560 bu->blk_cnt = 0; in ubifs_tnc_get_bu_keys()
1578 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1623 bu->blk_cnt += (next_block - block - 1); in ubifs_tnc_get_bu_keys()
1624 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1629 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()
1633 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1649 if (bu->blk_cnt > UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()
1650 bu->blk_cnt = UBIFS_MAX_BULK_READ; in ubifs_tnc_get_bu_keys()
1656 !(bu->blk_cnt & (UBIFS_BLOCKS_PER_PAGE - 1))) in ubifs_tnc_get_bu_keys()
1660 bu->blk_cnt += UBIFS_BLOCKS_PER_PAGE - 1; in ubifs_tnc_get_bu_keys()
[all …]
A Dfile.c718 page_cnt = bu->blk_cnt >> UBIFS_BLOCKS_PER_PAGE_SHIFT; in ubifs_do_bulk_read()
A Dubifs.h809 int blk_cnt; member

Completed in 20 milliseconds