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 | 141 #define howmany(x, y) (((x)+((y)-1))/(y)) macro
|
D | xfs_dir2_readdir.c | 288 ra_want = howmany(bufsize + geo->blksize, (1 << geo->fsblog)); in xfs_dir2_leaf_readbuf()
|
D | xfs_log.c | 1446 size_t bvec_size = howmany(log->l_iclog_size, PAGE_SIZE) * in xlog_alloc_log() 1779 bio_init(&iclog->ic_bio, iclog->ic_bvec, howmany(count, PAGE_SIZE)); in xlog_write_iclog() 3657 num_headers = howmany(unit_bytes, iclog_space); in xfs_log_calc_unit_res() 3664 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 | 313 sbp->sb_inopblock != howmany(sbp->sb_blocksize,sbp->sb_inodesize) || in xfs_validate_sb_common()
|
D | xfs_ialloc.c | 2875 first_bno = howmany(4 * mp->m_sb.sb_sectsize, mp->m_sb.sb_blocksize); in xfs_ialloc_calc_rootino()
|