do_div 86 arch/x86/boot/printf.c tmp[i++] = (digits[do_div(num, base)] | locase); do_div 508 arch/x86/kernel/apic_32.c do_div(res, 1000000); do_div 514 arch/x86/kernel/apic_32.c do_div(res, deltapm); do_div 237 arch/x86/kernel/cpu/perfctr-watchdog.c do_div(counter_val, retval); do_div 240 arch/x86/kernel/cpu/perfctr-watchdog.c do_div(count, 0x7fffffffUL); do_div 251 arch/x86/kernel/cpu/perfctr-watchdog.c do_div(count, nmi_hz); do_div 262 arch/x86/kernel/cpu/perfctr-watchdog.c do_div(count, nmi_hz); do_div 648 arch/x86/kernel/hpet.c do_div(clc, freq); do_div 137 arch/x86/kernel/pvclock.c now.tv_nsec = do_div(delta, NSEC_PER_SEC); do_div 136 arch/x86/kernel/tsc.c do_div(tmp, 1000000); do_div 137 arch/x86/kernel/tsc.c do_div(deltatsc, tmp); do_div 156 arch/x86/kernel/tsc.c do_div(tmp, PMTMR_TICKS_PER_SEC); do_div 157 arch/x86/kernel/tsc.c do_div(deltatsc, tmp); do_div 226 arch/x86/kernel/tsc.c do_div(delta, ms); do_div 340 arch/x86/kernel/tsc.c do_div(delta, QUICK_PIT_ITERATIONS*256*1000); do_div 430 arch/x86/kernel/tsc.c do_div(delta, tsc_ref_min); do_div 817 arch/x86/kernel/tsc.c do_div(lpj, HZ); do_div 55 arch/x86/kernel/vmiclock_32.c (void)do_div(wallclock, 1000000000); // sec do_div 77 arch/x86/kernel/vmiclock_32.c (void)do_div(khz, 1000); do_div 148 arch/x86/kernel/vmiclock_32.c (void)do_div(cycles_per_hz, HZ); do_div 219 arch/x86/kernel/vmiclock_32.c (void)do_div(cycles_per_msec, 1000); do_div 307 arch/x86/kernel/vmiclock_32.c (void)do_div(cycles_per_msec, 1000); do_div 205 arch/x86/xen/time.c do_div(xen_khz, info->tsc_to_system_mul); do_div 538 block/as-iosched.c do_div(total, aic->seek_samples); do_div 1722 block/cfq-iosched.c do_div(total, cic->seek_samples); do_div 868 fs/cifs/netmisc.c ts.tv_nsec = do_div(t, 10000000) * 100; do_div 1620 fs/compat.c rtv.tv_usec = jiffies_to_usecs(do_div((*(u64*)&timeout), HZ)); do_div 1811 fs/compat.c rts.tv_nsec = jiffies_to_usecs(do_div((*(u64*)&timeout), HZ)) * do_div 38 fs/ext4/balloc.c offset = do_div(blocknr, EXT4_BLOCKS_PER_GROUP(sb)); do_div 432 fs/ext4/ialloc.c do_div(avefreeb, ngroups); do_div 464 fs/ext4/ialloc.c do_div(blocks_per_dir, ndirs); do_div 1480 fs/ext4/mballoc.c if (do_div(start, sbi->s_stripe) == 0) { do_div 1630 fs/ext4/mballoc.c do_div(a, sbi->s_stripe); do_div 1976 fs/ext4/super.c offset = do_div(logical_sb_block, blocksize); do_div 2118 fs/ext4/super.c offset = do_div(logical_sb_block, blocksize); do_div 2223 fs/ext4/super.c do_div(blocks_count, EXT4_BLOCKS_PER_GROUP(sb)); do_div 245 fs/gfs2/bmap.c mp->mp_list[i] = do_div(block, sdp->sd_inptrs); do_div 1297 fs/gfs2/bmap.c do_div(lblock, bsize); do_div 1299 fs/gfs2/bmap.c do_div(lblock_stop, bsize); do_div 182 fs/gfs2/dir.c o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); do_div 296 fs/gfs2/dir.c o = do_div(lblock, sdp->sd_jbsize) + sizeof(struct gfs2_meta_header); do_div 372 fs/gfs2/ops_fstype.c m = do_div(d, sdp->sd_inptrs); do_div 391 fs/gfs2/ops_fstype.c m = do_div(d, sdp->sd_inptrs); do_div 596 fs/gfs2/rgrp.c if (do_div(rgrp_count, sizeof(struct gfs2_rindex))) { do_div 831 fs/hugetlbfs/inode.c do_div(size, 100); do_div 95 fs/ntfs/time.h ts.tv_nsec = do_div(t, 10000000) * 100; do_div 100 fs/omfs/bitmap.c bit = do_div(tmp, bits_per_entry); do_div 183 fs/omfs/bitmap.c bit = do_div(tmp, bits_per_entry); do_div 219 fs/omfs/inode.c nsecs = do_div(ctime, 1000) * 1000L; do_div 407 fs/select.c rtv.tv_usec = jiffies_to_usecs(do_div((*(u64*)&timeout), HZ)); do_div 473 fs/select.c rts.tv_nsec = jiffies_to_usecs(do_div((*(u64*)&timeout), HZ)) * do_div 821 fs/select.c rts.tv_nsec = jiffies_to_usecs(do_div((*(u64*)&timeout), HZ)) * do_div 534 fs/smbfs/proc.c ts.tv_nsec = do_div(t, 10000000) * 100; do_div 274 fs/ubifs/budget.c if (do_div(idx_size, c->leb_size - c->max_idx_node_sz)) do_div 746 fs/ubifs/budget.c do_div(free, divisor); do_div 144 fs/ubifs/lpt.c do_div(sz, c->leb_size); do_div 206 fs/ubifs/lpt.c do_div(sz, c->leb_size); do_div 188 fs/ubifs/sb.c do_div(tmp64, 100); do_div 604 fs/ubifs/super.c tmp = do_div(tmp64, c->leb_size); do_div 147 fs/ufs/ufs.h do_div(b, uspi->s_fpg); do_div 153 fs/ufs/ufs.h return do_div(b, uspi->s_fpg); do_div 257 fs/xfs/linux-2.6/xfs_linux.h mod = do_div(*(__u64 *)a, b); do_div 274 fs/xfs/linux-2.6/xfs_linux.h return do_div(c, b); do_div 290 fs/xfs/linux-2.6/xfs_linux.h do_div(x, y); do_div 297 fs/xfs/linux-2.6/xfs_linux.h do_div(x, y); do_div 1151 fs/xfs/quota/xfs_qm.c do_div(qinf->qi_dqperchunk, sizeof(xfs_dqblk_t)); do_div 1457 fs/xfs/quota/xfs_qm.c do_div(j, sizeof(xfs_dqblk_t)); do_div 2624 fs/xfs/xfs_bmap.c do_div(ap->rval, mp->m_sb.sb_rextsize); do_div 3116 fs/xfs/xfs_bmap.c do_div(bno, mp->m_sb.sb_rextsize); do_div 3117 fs/xfs/xfs_bmap.c do_div(len, mp->m_sb.sb_rextsize); do_div 3909 fs/xfs/xfs_bmap.c do_div(len, maxrecs); do_div 5606 fs/xfs/xfs_bmap.c do_div(rtexts, mp->m_sb.sb_rextsize); do_div 159 fs/xfs/xfs_fsops.c nb_mod = do_div(new, mp->m_sb.sb_agblocks); do_div 367 fs/xfs/xfs_fsops.c do_div(icount, 100); do_div 329 fs/xfs/xfs_mount.c do_div(icount, 100); do_div 331 fs/xfs/xfs_mount.c do_div(icount, sbp->sb_agblocks); do_div 778 fs/xfs/xfs_mount.c do_div(icount, 100); do_div 779 fs/xfs/xfs_mount.c do_div(icount, mp->m_ialloc_blks); do_div 1196 fs/xfs/xfs_mount.c do_div(resblks, 20); do_div 2274 fs/xfs/xfs_mount.c resid = do_div(count, weight); do_div 2280 fs/xfs/xfs_mount.c resid = do_div(count, weight); do_div 2286 fs/xfs/xfs_mount.c resid = do_div(count, weight); do_div 452 fs/xfs/xfs_mount.h do_div(ld, mp->m_sb.sb_agblocks); do_div 461 fs/xfs/xfs_mount.h return (xfs_agblock_t) do_div(ld, mp->m_sb.sb_agblocks); do_div 1902 fs/xfs/xfs_rtalloc.c do_div(nrextents, in->extsize); do_div 1957 fs/xfs/xfs_rtalloc.c do_div(nsbp->sb_rextents, nsbp->sb_rextsize); do_div 3048 fs/xfs/xfs_vnodeops.c do_div(s, extsz); do_div 3346 fs/xfs/xfs_vnodeops.c mod = do_div(block, mp->m_sb.sb_rextsize); do_div 186 include/linux/acct.h do_div(tmp, (NSEC_PER_SEC / AHZ)); do_div 194 include/linux/acct.h do_div(x, (NSEC_PER_SEC / AHZ)); do_div 197 include/linux/acct.h do_div(x, (NSEC_PER_SEC / 512)); do_div 205 include/linux/acct.h do_div(x, (unsigned long)((9ull * NSEC_PER_SEC + (AHZ/2)) do_div 113 include/linux/clockchips.h do_div(tmp, nsec); do_div 130 include/linux/clocksource.h do_div(tmp, khz); do_div 156 include/linux/clocksource.h do_div(tmp, hz); do_div 208 include/linux/clocksource.h do_div(tmp, c->mult); do_div 145 include/linux/cpufreq.h do_div(result, div); do_div 56 include/linux/kernel.h # define sector_div(a, b) do_div(a, b) do_div 43 include/linux/math64.h *remainder = do_div(dividend, divisor); do_div 530 kernel/acct.c do_div(elapsed, AHZ); do_div 263 kernel/hrtimer.c unsigned long rem = do_div(nsec, NSEC_PER_SEC); do_div 287 kernel/hrtimer.c unsigned long rem = do_div(nsec, NSEC_PER_SEC); do_div 313 kernel/hrtimer.c do_div(dclc, (unsigned long) div); do_div 476 kernel/lockdep_proc.c rem = do_div(nr, 1000); /* XXX: do_div_signed */ do_div 534 kernel/posix-cpu-timers.c do_div(nsleft, nthreads); do_div 1218 kernel/posix-cpu-timers.c do_div(sched_left, nthreads); do_div 186 kernel/power/process.c do_div(elapsed_csecs64, NSEC_PER_SEC / 100); do_div 185 kernel/power/swsusp.c do_div(elapsed_centisecs64, NSEC_PER_SEC / 100); do_div 741 kernel/printk.c nanosec_rem = do_div(t, 1000000000); do_div 1229 kernel/relay.c size_t read_start = (size_t) do_div(pos, alloc_size); do_div 4223 kernel/sched.c do_div(temp, total); do_div 8981 kernel/sched.c do_div(rt_runtime_us, NSEC_PER_USEC); do_div 9003 kernel/sched.c do_div(rt_period_us, NSEC_PER_USEC); do_div 38 kernel/sched_debug.c do_div(nsec, 1000000); do_div 41 kernel/sched_debug.c do_div(nsec, 1000000); do_div 51 kernel/sched_debug.c return do_div(nsec, 1000000); do_div 394 kernel/sched_debug.c do_div(avg_atom, nr_switches); do_div 49 kernel/time/clockevents.c do_div(clc, evt->mult); do_div 642 kernel/time/tick-sched.c do_div(offset, num_possible_cpus()); do_div 57 kernel/trace/trace.c do_div(nsec, 1000); do_div 1573 kernel/trace/trace.c usec_rem = do_div(t, 1000000ULL); do_div 180 kernel/trace/trace_mmiotrace.c unsigned long usec_rem = do_div(t, 1000000ULL); do_div 222 kernel/trace/trace_mmiotrace.c unsigned long usec_rem = do_div(t, 1000000ULL); do_div 40 kernel/tsacct.c do_div(ac_etime, NSEC_PER_USEC); do_div 7 lib/reciprocal_div.c do_div(val, k); do_div 45 lib/string_helpers.c remainder = do_div(size, divisor[units]); do_div 53 lib/string_helpers.c do_div(remainder, divisor[units]); do_div 359 lib/vsprintf.c rem = do_div(num, 100000); do_div 246 mm/page-writeback.c do_div(inv, denominator); do_div 408 mm/page-writeback.c do_div(bdi_dirty, denominator); do_div 4215 mm/page_alloc.c do_div(tmp, lowmem_pages); do_div 4439 mm/page_alloc.c do_div(max, bucketsize); do_div 2140 mm/shmem.c do_div(size, 100); do_div 191 mm/vmscan.c do_div(delta, lru_pages + 1); do_div 3201 net/core/pktgen.c do_div(pps, total_us); do_div 3206 net/core/pktgen.c do_div(mbps, 1000000); do_div 293 net/dccp/timer.c do_div(delta, 10); do_div 765 net/ipv4/route.c do_div(mult, ip_rt_gc_timeout); do_div 359 net/ipv4/tcp_cubic.c do_div(cube_factor, bic_scale * 10); do_div 123 net/ipv4/tcp_illinois.c do_div(t, ca->cnt_rtt); do_div 318 net/ipv4/tcp_illinois.c do_div(t, ca->cnt_rtt); do_div 260 net/ipv4/tcp_vegas.c do_div(target_cwnd, rtt); do_div 149 net/ipv4/tcp_veno.c do_div(target_cwnd, rtt); do_div 162 net/ipv4/tcp_yeah.c do_div(bw, rtt); do_div 432 net/sched/sch_hfsc.c do_div(sm, PSCHED_TICKS_PER_SEC); do_div 447 net/sched/sch_hfsc.c do_div(ism, m); do_div 460 net/sched/sch_hfsc.c do_div(dx, USEC_PER_SEC); do_div 481 net/sched/sch_hfsc.c do_div(d, PSCHED_TICKS_PER_SEC); do_div 606 net/sched/sch_hfsc.c do_div(dx, dsm); do_div 48 sound/drivers/pcsp/pcsp.h do_div(__val, PIT_TICK_RATE); \ do_div 324 sound/soc/codecs/wm8510.c do_div(Kpart, source); do_div 465 sound/soc/codecs/wm8580.c do_div(Kpart, source); do_div 727 sound/soc/codecs/wm8753.c do_div(Kpart, source); do_div 821 sound/soc/codecs/wm8900.c do_div(Kpart, Fref); do_div 1021 sound/soc/codecs/wm8990.c do_div(Kpart, source); do_div 715 sound/soc/codecs/wm9713.c do_div(Kpart, source);