Searched refs:howmany (Results 1 – 7 of 7) sorted by relevance
/fs/xfs/ |
D | xfs_bio_io.c | 9 return min_t(unsigned, howmany(count, PAGE_SIZE), BIO_MAX_PAGES); in bio_max_vecs()
|
D | xfs_linux.h | 137 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
D | xfs_dir2_readdir.c | 293 ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_readbuf()
|
D | xfs_log.c | 1387 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/ |
D | xfs_trans_resv.c | 214 return (howmany(rtbmp_bytes, blksz) + 1) * num_ops; in xfs_rtalloc_log_count()
|
D | xfs_sb.c | 314 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
|
D | xfs_ialloc.c | 2920 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()
|