/fs/xfs/ |
D | xfs_linux.h | 288 mod = do_div(*(__u64 *)a, b); in xfs_do_div() 305 return do_div(c, b); in xfs_do_mod() 314 #undef do_div 315 #define do_div(a, b) xfs_do_div(&(a), (b), sizeof(a)) macro 321 do_div(x, y); in roundup_64() 328 do_div(x, y); in howmany_64()
|
D | xfs_mount.h | 316 do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agno() 324 return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); in xfs_daddr_to_agbno()
|
D | xfs_mount.c | 432 do_div(icount, 100); in xfs_set_maxicount() 433 do_div(icount, mp->m_ialloc_blks); in xfs_set_maxicount() 492 do_div(space, 100); in xfs_set_low_space_thresholds() 599 do_div(resblks, 20); in xfs_default_resblks()
|
D | xfs_fsops.c | 191 nb_mod = do_div(new, mp->m_sb.sb_agblocks); in xfs_growfs_data_private() 627 do_div(icount, 100); in xfs_growfs_data_private()
|
D | xfs_rtalloc.c | 927 do_div(nrextents, in->extsize); in xfs_growfs_rt() 984 do_div(nsbp->sb_rextents, nsbp->sb_rextsize); in xfs_growfs_rt()
|
D | xfs_dquot.c | 285 do_div(dqp->q_prealloc_lo_wmark, 100); in xfs_dquot_set_prealloc_limits() 291 do_div(space, 100); in xfs_dquot_set_prealloc_limits()
|
D | xfs_bmap_util.c | 160 do_div(ap->blkno, mp->m_sb.sb_rextsize); in xfs_bmap_rtalloc() 1059 do_div(s, extsz); in xfs_alloc_file_space() 1227 mod = do_div(block, mp->m_sb.sb_rextsize); in xfs_adjust_extent_unmap_boundaries()
|
/fs/ufs/ |
D | ufs.h | 156 do_div(b, uspi->s_fpg); in ufs_dtog() 162 return do_div(b, uspi->s_fpg); in ufs_dtogd()
|
/fs/omfs/ |
D | bitmap.c | 100 bit = do_div(tmp, bits_per_entry); in omfs_allocate_block() 183 bit = do_div(tmp, bits_per_entry); in omfs_clear_range()
|
D | inode.c | 229 nsecs = do_div(ctime, 1000) * 1000L; in omfs_iget()
|
/fs/ntfs/ |
D | time.h | 95 ts.tv_nsec = do_div(t, 10000000) * 100; in ntfs2utc()
|
/fs/nfs/filelayout/ |
D | filelayoutdev.c | 230 do_div(tmp, flseg->stripe_unit); in nfs4_fl_calc_j_index() 232 return do_div(tmp, flseg->dsaddr->stripe_count); in nfs4_fl_calc_j_index()
|
D | filelayout.c | 874 do_div(p_stripe, stripe_unit); in filelayout_pg_test() 875 do_div(r_stripe, stripe_unit); in filelayout_pg_test()
|
/fs/cachefiles/ |
D | bind.c | 171 do_div(stats.f_files, 100); in cachefiles_daemon_add_cache() 182 do_div(stats.f_blocks, 100); in cachefiles_daemon_add_cache()
|
/fs/xfs/libxfs/ |
D | xfs_dquot_buf.c | 42 do_div(ndquots, sizeof(xfs_dqblk_t)); in xfs_calc_dquots_per_chunk()
|
D | xfs_bmap.c | 206 do_div(len, maxrecs); in xfs_bmap_worst_indlen() 4935 do_div(resfactor, nres); in xfs_bmap_split_indlen() 4937 do_div(len1, 100); in xfs_bmap_split_indlen() 4939 do_div(len2, 100); in xfs_bmap_split_indlen() 5008 do_div(rtexts, mp->m_sb.sb_rextsize); in xfs_bmap_del_extent_delay() 5268 do_div(bno, mp->m_sb.sb_rextsize); in xfs_bmap_del_extent() 5269 do_div(len, mp->m_sb.sb_rextsize); in xfs_bmap_del_extent() 5855 do_div(rtexts, mp->m_sb.sb_rextsize); in __xfs_bunmapi()
|
/fs/ceph/ |
D | ioctl.c | 210 dl.block_offset = do_div(tmp, dl.block_size); in ceph_ioctl_get_dataloc()
|
/fs/nilfs2/ |
D | ioctl.c | 1146 do_div(minseg, segbytes); in nilfs_ioctl_set_alloc_range() 1148 do_div(maxseg, segbytes); in nilfs_ioctl_set_alloc_range()
|
D | cpfile.c | 40 do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); in nilfs_cpfile_get_blkoff() 50 return do_div(tcno, nilfs_cpfile_checkpoints_per_block(cpfile)); in nilfs_cpfile_get_offset()
|
D | dat.c | 447 do_div(first, entries_per_block); in nilfs_dat_get_vinfo()
|
D | sufile.c | 60 do_div(t, nilfs_sufile_segment_usages_per_block(sufile)); in nilfs_sufile_get_blkoff() 69 return do_div(t, nilfs_sufile_segment_usages_per_block(sufile)); in nilfs_sufile_get_offset()
|
D | super.c | 431 do_div(newnsegs, nilfs->ns_blocks_per_segment); in nilfs_resize_fs() 856 offset = do_div(sb_index, blocksize); in nilfs_read_super_block()
|
/fs/cifs/ |
D | netmisc.c | 938 ts.tv_nsec = (long)(do_div(abs_t, 10000000) * 100); in cifs_NTtimeToUnix() 943 ts.tv_nsec = (long)do_div(abs_t, 10000000) * 100; in cifs_NTtimeToUnix()
|
/fs/orangefs/ |
D | devorangefs-req.c | 44 return do_div(tag, (unsigned int)table_size); in hash_func()
|
/fs/gfs2/ |
D | ops_fstype.c | 327 m = do_div(d, sdp->sd_inptrs); in gfs2_read_sb() 346 m = do_div(d, sdp->sd_inptrs); in gfs2_read_sb()
|