/linux-3.4.99/lib/ |
D | div64.c | 92 #ifndef div64_u64 93 u64 div64_u64(u64 dividend, u64 divisor) in div64_u64() function 112 EXPORT_SYMBOL(div64_u64); 125 quot = div64_u64(abs64(dividend), abs64(divisor)); in div64_s64()
|
/linux-3.4.99/include/linux/ |
D | math64.h | 35 static inline u64 div64_u64(u64 dividend, u64 divisor) in div64_u64() function 64 #ifndef div64_u64 65 extern u64 div64_u64(u64 dividend, u64 divisor);
|
/linux-3.4.99/net/dccp/ccids/lib/ |
D | tfrc.h | 34 return div64_u64(a * 1000000, b); in scaled_div()
|
/linux-3.4.99/net/netfilter/ |
D | xt_connbytes.c | 86 what = div64_u64(bytes, pkts); in connbytes_mt()
|
/linux-3.4.99/arch/x86/kvm/ |
D | i8254.c | 43 #define mod_64(x, y) ((x) - (y) * div64_u64(x, y)) 68 res.l.high = div64_u64(rh, c); in muldiv64() 69 res.l.low = div64_u64(((mod_64(rh, c) << 32) + (rl & 0xffffffff)), c); in muldiv64()
|
D | lapic.c | 44 #define mod_64(x, y) ((x) - (y) * div64_u64(x, y)) 550 tmcct = div64_u64(ns, in apic_get_tmcct()
|
/linux-3.4.99/drivers/media/dvb/dvb-core/ |
D | dvb_demux.c | 413 speed_bytes = 1000 * div64_u64(speed_bytes, in dvb_dmx_swfilter_packet() 417 speed_timedelta = div64_u64(speed_timedelta, in dvb_dmx_swfilter_packet() 420 div64_u64(speed_bytes, in dvb_dmx_swfilter_packet()
|
/linux-3.4.99/drivers/hwmon/ |
D | ntc_thermistor.c | 134 return div64_u64(dividend, divisor); in div64_u64_safe()
|
D | ibmaem.c | 867 (unsigned long long)div64_u64(delta * NSEC_PER_SEC, time)); in aem_show_power()
|
/linux-3.4.99/net/ipv4/ |
D | tcp_cubic.c | 199 x = (2 * x + (u32)div64_u64(a, (u64)x * (u64)(x - 1))); in cubic_root()
|
/linux-3.4.99/drivers/gpu/drm/ |
D | drm_irq.c | 508 pixeldur_ns = (s64) div64_u64(1000000000, dotclock); in drm_calc_timestamping_constants() 509 linedur_ns = (s64) div64_u64(((u64) crtc->hwmode.crtc_htotal * in drm_calc_timestamping_constants()
|
/linux-3.4.99/fs/btrfs/ |
D | free-space-cache.c | 1098 bitmap_start = div64_u64(bitmap_start, bytes_per_bitmap); in offset_to_bitmap() 1328 int max_bitmaps = div64_u64(size + bytes_per_bg - 1, bytes_per_bg); in recalculate_thresholds() 1341 div64_u64(size, 1024 * 1024 * 1024); in recalculate_thresholds() 1360 extent_bytes = min_t(u64, extent_bytes, div64_u64(max_bytes, 2)); in recalculate_thresholds() 1363 div64_u64(extent_bytes, (sizeof(struct btrfs_free_space))); in recalculate_thresholds()
|
D | extent-tree.c | 2913 num_pages = (int)div64_u64(block_group->key.offset, 1024 * 1024 * 1024); in cache_save_setup() 4201 num_bytes += div64_u64(data_used + meta_used, 50); in calc_global_metadata_size() 4204 num_bytes = div64_u64(meta_used, 3); in calc_global_metadata_size() 4408 old_csums = (int)div64_u64(BTRFS_I(inode)->csum_bytes, root->sectorsize); in calc_csum_metadata_size() 4414 num_csums_per_leaf = (int)div64_u64(csum_size, in calc_csum_metadata_size() 4417 num_csums = (int)div64_u64(BTRFS_I(inode)->csum_bytes, root->sectorsize); in calc_csum_metadata_size()
|
/linux-3.4.99/fs/exofs/ |
D | ore.c | 529 u64 M = div64_u64(file_offset, S); in ore_calc_stripe_info() 536 u32 G = div64_u64(LmodS, T); in ore_calc_stripe_info()
|
/linux-3.4.99/arch/x86/include/asm/ |
D | processor.h | 952 ratio = div64_u64(aperf, mperf); in calc_aperfmperf_ratio()
|
/linux-3.4.99/kernel/sched/ |
D | debug.c | 477 avg_per_cpu = div64_u64(avg_per_cpu, in proc_sched_show_task()
|
D | core.c | 3157 temp = div64_u64(temp, (__force u64) total); in scale_utime() 7571 return div64_u64(runtime << 20, period); in to_ratio()
|
D | fair.c | 813 load_avg = div64_u64(cfs_rq->load_avg, cfs_rq->load_period+1); in update_cfs_rq_load_contribution()
|
/linux-3.4.99/block/ |
D | blk-throttle.c | 661 jiffy_wait = div64_u64(extra_bytes * HZ, tg->bps[rw]); in tg_with_in_bps_limit()
|
/linux-3.4.99/arch/ia64/kvm/ |
D | kvm-ia64.c | 471 expires = div64_u64(itc_diff, cyc_per_usec); in kvm_emulate_halt()
|
/linux-3.4.99/mm/ |
D | vmscan.c | 2006 scan = div64_u64(scan * fraction[file], denominator); in get_scan_count()
|
/linux-3.4.99/kernel/events/ |
D | core.c | 2424 return div64_u64(dividend, divisor); in perf_calculate_period() 4896 nr = div64_u64(period + val, period); in perf_swevent_set_period()
|
/linux-3.4.99/net/core/ |
D | pktgen.c | 3154 pps = div64_u64(pkt_dev->sofar * NSEC_PER_SEC, in show_results()
|