Searched refs:blk_cnt (Results 1 – 8 of 8) sorted by relevance
548 u32 alloc_cnt, blk_cnt, start; in hfsplus_file_truncate() local573 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()
480 u16 blk_cnt, alloc_cnt, start; in hfs_file_truncate() local506 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()
206 if (sccb->evbuf.blk_cnt == 0) in sclp_early_hsa_size_init()208 return (sccb->evbuf.blk_cnt - 1) * PAGE_SIZE; in sclp_early_hsa_size_init()219 if (sccb->evbuf.blk_cnt == 0) in sclp_early_hsa_copy_wait()221 return (sccb->evbuf.blk_cnt - 1) * PAGE_SIZE; in sclp_early_hsa_copy_wait()
141 rc = sdias_evbuf.blk_cnt; in sclp_sdias_blk_count()183 sccb.evbuf.blk_cnt = nr_blks; in sclp_sdias_copy()210 TRACE("part stored: %i\n", sdias_evbuf.blk_cnt); in sclp_sdias_copy()
32 u32 blk_cnt; member
1567 bu->blk_cnt = 0; in ubifs_tnc_get_bu_keys()1585 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()1630 bu->blk_cnt += (next_block - block - 1); in ubifs_tnc_get_bu_keys()1631 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()1636 bu->blk_cnt += 1; in ubifs_tnc_get_bu_keys()1640 if (bu->blk_cnt >= UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()1656 if (bu->blk_cnt > UBIFS_MAX_BULK_READ) in ubifs_tnc_get_bu_keys()1657 bu->blk_cnt = UBIFS_MAX_BULK_READ; in ubifs_tnc_get_bu_keys()1663 !(bu->blk_cnt & (UBIFS_BLOCKS_PER_PAGE - 1))) in ubifs_tnc_get_bu_keys()1667 bu->blk_cnt += UBIFS_BLOCKS_PER_PAGE - 1; in ubifs_tnc_get_bu_keys()[all …]
802 int blk_cnt; member
751 page_cnt = bu->blk_cnt >> UBIFS_BLOCKS_PER_PAGE_SHIFT; in ubifs_do_bulk_read()