Home
last modified time | relevance | path

Searched refs:howmany (Results 1 – 7 of 7) sorted by relevance

/fs/xfs/
Dxfs_bio_io.c9 return min_t(unsigned, howmany(count, PAGE_SIZE), BIO_MAX_PAGES); in bio_max_vecs()
Dxfs_linux.h137 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
Dxfs_dir2_readdir.c293 ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_readbuf()
Dxfs_log.c1387 size_t bvec_size = howmany(log->l_iclog_size, PAGE_SIZE) * in xlog_alloc_log()
1719 bio_init(&iclog->ic_bio, iclog->ic_bvec, howmany(count, PAGE_SIZE)); in xlog_write_iclog()
3408 num_headers = howmany(unit_bytes, iclog_space); in xfs_log_calc_unit_res()
3415 howmany(unit_bytes, iclog_space) > num_headers) { in xfs_log_calc_unit_res()
/fs/xfs/libxfs/
Dxfs_trans_resv.c214 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_log_count()
Dxfs_sb.c314 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
Dxfs_ialloc.c2920 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()