nsecs               8 arch/alpha/include/asm/delay.h extern void ndelay(unsigned long nsecs);
nsecs              51 arch/alpha/lib/udelay.c ndelay(unsigned long nsecs)
nsecs              53 arch/alpha/lib/udelay.c 	nsecs *= (((unsigned long)HZ << 32) / 1000000000) * LPJ;
nsecs              54 arch/alpha/lib/udelay.c 	__delay((long)nsecs >> 32);
nsecs              56 arch/arm/plat-omap/counter_32k.c 	unsigned long long nsecs;
nsecs              62 arch/arm/plat-omap/counter_32k.c 	nsecs = clocksource_cyc2ns(cycles - last_cycles,
nsecs              65 arch/arm/plat-omap/counter_32k.c 	timespec64_add_ns(&persistent_ts, nsecs);
nsecs             127 arch/arm/vdso/vgettimeofday.c 	u64 nsecs;
nsecs             137 arch/arm/vdso/vgettimeofday.c 		nsecs = get_ns(vdata);
nsecs             142 arch/arm/vdso/vgettimeofday.c 	timespec_add_ns(ts, nsecs);
nsecs             150 arch/arm/vdso/vgettimeofday.c 	u64 nsecs;
nsecs             160 arch/arm/vdso/vgettimeofday.c 		nsecs = get_ns(vdata);
nsecs             169 arch/arm/vdso/vgettimeofday.c 	timespec_add_ns(ts, nsecs + tomono.tv_nsec);
nsecs             117 arch/arm/xen/enlighten.c 	op.u.settime64.nsecs = now.tv_nsec;
nsecs              55 arch/arm64/lib/delay.c void __ndelay(unsigned long nsecs)
nsecs              57 arch/arm64/lib/delay.c 	__const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */
nsecs              35 arch/csky/lib/delay.c void __ndelay(unsigned long nsecs)
nsecs              37 arch/csky/lib/delay.c 	__const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */
nsecs              37 arch/h8300/lib/delay.c void __ndelay(unsigned long nsecs)
nsecs              39 arch/h8300/lib/delay.c 	__const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */
nsecs             481 arch/mips/kernel/vpe.c 			    unsigned int nsecs, struct module *mod)
nsecs             489 arch/mips/kernel/vpe.c 	for (i = 0; i < nsecs; i++) {
nsecs             139 arch/nds32/kernel/vdso/gettimeofday.c 	u64 nsecs;
nsecs             146 arch/nds32/kernel/vdso/gettimeofday.c 		nsecs = vdata->xtime_clock_nsec;
nsecs             147 arch/nds32/kernel/vdso/gettimeofday.c 		nsecs += vgetsns(vdata);
nsecs             148 arch/nds32/kernel/vdso/gettimeofday.c 		nsecs >>= vdata->cs_shift;
nsecs             157 arch/nds32/kernel/vdso/gettimeofday.c 	timespec_add_ns(ts, nsecs + tomono.tv_nsec);
nsecs              36 arch/nios2/lib/delay.c void __ndelay(unsigned long nsecs)
nsecs              38 arch/nios2/lib/delay.c 	__const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */
nsecs              54 arch/openrisc/lib/delay.c void __ndelay(unsigned long nsecs)
nsecs              56 arch/openrisc/lib/delay.c 	__const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */
nsecs             100 arch/powerpc/include/asm/topology.h extern int timed_topology_update(int nsecs);
nsecs             119 arch/powerpc/include/asm/topology.h static inline int timed_topology_update(int nsecs)
nsecs            1110 arch/powerpc/mm/numa.c int timed_topology_update(int nsecs)
nsecs            1113 arch/powerpc/mm/numa.c 		if (nsecs > 0)
nsecs            1114 arch/powerpc/mm/numa.c 			topology_timer_secs = nsecs;
nsecs              16 arch/riscv/include/asm/delay.h extern void ndelay(unsigned long nsecs);
nsecs              98 arch/riscv/lib/delay.c void ndelay(unsigned long nsecs)
nsecs             104 arch/riscv/lib/delay.c 	unsigned long long ncycles = nsecs * lpj_fine * NDELAY_MULT;
nsecs              16 arch/s390/include/asm/delay.h void __ndelay(unsigned long long nsecs);
nsecs             117 arch/s390/lib/delay.c void __ndelay(unsigned long long nsecs)
nsecs             121 arch/s390/lib/delay.c 	nsecs <<= 9;
nsecs             122 arch/s390/lib/delay.c 	do_div(nsecs, 125);
nsecs             123 arch/s390/lib/delay.c 	end = get_tod_clock_fast() + nsecs;
nsecs             124 arch/s390/lib/delay.c 	if (nsecs & ~0xfffUL)
nsecs             125 arch/s390/lib/delay.c 		__udelay(nsecs >> 12);
nsecs              50 arch/sh/lib/delay.c void __ndelay(unsigned long nsecs)
nsecs              52 arch/sh/lib/delay.c 	__const_udelay(nsecs * 0x00000005);
nsecs              46 arch/sh/lib64/udelay.c void __ndelay(unsigned long nsecs)
nsecs              48 arch/sh/lib64/udelay.c 	__const_udelay(nsecs * 0x00000005);
nsecs              25 arch/sparc/include/asm/delay_32.h void __ndelay(unsigned long nsecs, unsigned long lpj);
nsecs             258 arch/um/include/shared/os.h extern void os_idle_sleep(unsigned long long nsecs);
nsecs             260 arch/um/include/shared/os.h extern int os_timer_set_interval(unsigned long long nsecs);
nsecs             261 arch/um/include/shared/os.h extern int os_timer_one_shot(unsigned long long nsecs);
nsecs             187 arch/um/kernel/time.c 	long long nsecs;
nsecs             190 arch/um/kernel/time.c 		nsecs = time_travel_start + time_travel_time;
nsecs             192 arch/um/kernel/time.c 		nsecs = os_persistent_clock_emulation();
nsecs             194 arch/um/kernel/time.c 	set_normalized_timespec64(ts, nsecs / NSEC_PER_SEC,
nsecs             195 arch/um/kernel/time.c 				  nsecs % NSEC_PER_SEC);
nsecs              53 arch/um/os-Linux/time.c int os_timer_set_interval(unsigned long long nsecs)
nsecs              57 arch/um/os-Linux/time.c 	its.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC;
nsecs              58 arch/um/os-Linux/time.c 	its.it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC;
nsecs              60 arch/um/os-Linux/time.c 	its.it_interval.tv_sec = nsecs / UM_NSEC_PER_SEC;
nsecs              61 arch/um/os-Linux/time.c 	its.it_interval.tv_nsec = nsecs % UM_NSEC_PER_SEC;
nsecs              69 arch/um/os-Linux/time.c int os_timer_one_shot(unsigned long long nsecs)
nsecs              72 arch/um/os-Linux/time.c 		.it_value.tv_sec = nsecs / UM_NSEC_PER_SEC,
nsecs              73 arch/um/os-Linux/time.c 		.it_value.tv_nsec = nsecs % UM_NSEC_PER_SEC,
nsecs             106 arch/um/os-Linux/time.c void os_idle_sleep(unsigned long long nsecs)
nsecs             109 arch/um/os-Linux/time.c 		.tv_sec  = nsecs / UM_NSEC_PER_SEC,
nsecs             110 arch/um/os-Linux/time.c 		.tv_nsec = nsecs % UM_NSEC_PER_SEC
nsecs             185 arch/x86/lib/delay.c void __ndelay(unsigned long nsecs)
nsecs             187 arch/x86/lib/delay.c 	__const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */
nsecs              53 arch/x86/um/delay.c void __ndelay(unsigned long nsecs)
nsecs              55 arch/x86/um/delay.c 	__const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */
nsecs             115 arch/x86/xen/time.c 		op.u.settime64.nsecs = now.tv_nsec;
nsecs             120 arch/x86/xen/time.c 		op.u.settime32.nsecs = now.tv_nsec;
nsecs            1797 block/bio.c    	part_stat_add(part, nsecs[sgrp], jiffies_to_nsecs(duration));
nsecs            1338 block/blk-core.c 		part_stat_add(part, nsecs[sgrp], now - req->start_time_ns);
nsecs            3415 block/blk-mq.c 	unsigned int nsecs;
nsecs            3428 block/blk-mq.c 		nsecs = q->poll_nsec;
nsecs            3430 block/blk-mq.c 		nsecs = blk_mq_poll_nsecs(q, hctx, rq);
nsecs            3432 block/blk-mq.c 	if (!nsecs)
nsecs            3441 block/blk-mq.c 	kt = nsecs;
nsecs             143 block/blk-stat.h 					   u64 nsecs)
nsecs             145 block/blk-stat.h 	mod_timer(&cb->timer, jiffies + nsecs_to_jiffies(nsecs));
nsecs              74 drivers/ata/pata_octeon_cf.c static unsigned int ns_to_tim_reg(unsigned int tim_mult, unsigned int nsecs)
nsecs              82 drivers/ata/pata_octeon_cf.c 	val = DIV_ROUND_UP(nsecs * (octeon_get_io_clock_rate() / 1000000),
nsecs             218 drivers/base/power/main.c 	s64 nsecs;
nsecs             224 drivers/base/power/main.c 	nsecs = (s64) ktime_to_ns(ktime_sub(rettime, calltime));
nsecs             227 drivers/base/power/main.c 		 (unsigned long long)nsecs >> 10);
nsecs             199 drivers/net/ethernet/chelsio/cxgb4/t4_hw.h #define FLASH_MAX_SIZE(nsecs)	((nsecs) * SF_SEC_SIZE)
nsecs            1846 drivers/net/ethernet/realtek/r8169_main.c 	u32 nsecs[2];
nsecs            1934 drivers/net/ethernet/realtek/r8169_main.c 		*p->usecs = (*p->usecs * scale->nsecs[i]) / 1000;
nsecs            1959 drivers/net/ethernet/realtek/r8169_main.c 		u32 rxtx_maxscale = max(ci->scalev[i].nsecs[0],
nsecs            1960 drivers/net/ethernet/realtek/r8169_main.c 					ci->scalev[i].nsecs[1]);
nsecs            2011 drivers/net/ethernet/realtek/r8169_main.c 		units = p->usecs * 1000 / scale->nsecs[i];
nsecs             187 drivers/net/wireless/ath/ath9k/dfs.c 	u32 nsecs;
nsecs             190 drivers/net/wireless/ath/ath9k/dfs.c 		nsecs = dur * AR93X_NSECS_PER_DUR_FAST;
nsecs             192 drivers/net/wireless/ath/ath9k/dfs.c 		nsecs = dur * AR93X_NSECS_PER_DUR;
nsecs             194 drivers/net/wireless/ath/ath9k/dfs.c 	return (nsecs + 500) / 1000;
nsecs              64 drivers/spi/spi-ath79.c static inline void ath79_spi_delay(struct ath79_spi *sp, unsigned int nsecs)
nsecs              66 drivers/spi/spi-ath79.c 	if (nsecs > sp->rrw_delay)
nsecs              67 drivers/spi/spi-ath79.c 		ndelay(nsecs - sp->rrw_delay);
nsecs             108 drivers/spi/spi-ath79.c static u32 ath79_spi_txrx_mode0(struct spi_device *spi, unsigned int nsecs,
nsecs             125 drivers/spi/spi-ath79.c 		ath79_spi_delay(sp, nsecs);
nsecs             127 drivers/spi/spi-ath79.c 		ath79_spi_delay(sp, nsecs);
nsecs              48 drivers/spi/spi-bitbang-txrx.h 		unsigned nsecs, unsigned cpol, unsigned flags,
nsecs              64 drivers/spi/spi-bitbang-txrx.h 		spidelay(nsecs);	/* T(setup) */
nsecs              67 drivers/spi/spi-bitbang-txrx.h 		spidelay(nsecs);
nsecs              80 drivers/spi/spi-bitbang-txrx.h 		unsigned nsecs, unsigned cpol, unsigned flags,
nsecs              97 drivers/spi/spi-bitbang-txrx.h 		spidelay(nsecs); /* T(setup) */
nsecs             100 drivers/spi/spi-bitbang-txrx.h 		spidelay(nsecs);
nsecs              41 drivers/spi/spi-bitbang.c 	unsigned	nsecs;	/* (clock cycle time)/2 */
nsecs              42 drivers/spi/spi-bitbang.c 	u32		(*txrx_word)(struct spi_device *spi, unsigned nsecs,
nsecs              47 drivers/spi/spi-bitbang.c 						unsigned nsecs,
nsecs              57 drivers/spi/spi-bitbang.c 					unsigned nsecs,
nsecs              85 drivers/spi/spi-bitbang.c 					unsigned nsecs,
nsecs             113 drivers/spi/spi-bitbang.c 					unsigned nsecs,
nsecs             168 drivers/spi/spi-bitbang.c 		cs->nsecs = (1000000000/2) / hz;
nsecs             169 drivers/spi/spi-bitbang.c 		if (cs->nsecs > (MAX_UDELAY_MS * 1000 * 1000))
nsecs             205 drivers/spi/spi-bitbang.c 	dev_dbg(&spi->dev, "%s, %u nsec/bit\n", __func__, 2 * cs->nsecs);
nsecs             223 drivers/spi/spi-bitbang.c 	unsigned		nsecs = cs->nsecs;
nsecs             239 drivers/spi/spi-bitbang.c 		return cs->txrx_bufs(spi, cs->txrx_word, nsecs, t, flags);
nsecs             241 drivers/spi/spi-bitbang.c 	return cs->txrx_bufs(spi, cs->txrx_word, nsecs, t, 0);
nsecs             137 drivers/spi/spi-butterfly.c butterfly_txrx_word_mode0(struct spi_device *spi, unsigned nsecs, u32 word,
nsecs             140 drivers/spi/spi-butterfly.c 	return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits);
nsecs              53 drivers/spi/spi-fsl-lib.h 	unsigned nsecs;		/* (clock cycle time)/2 */
nsecs             365 drivers/spi/spi-fsl-spi.c 	const int nsecs = 50;
nsecs             408 drivers/spi/spi-fsl-spi.c 			ndelay(nsecs);
nsecs             423 drivers/spi/spi-fsl-spi.c 			ndelay(nsecs);
nsecs             425 drivers/spi/spi-fsl-spi.c 			ndelay(nsecs);
nsecs             432 drivers/spi/spi-fsl-spi.c 		ndelay(nsecs);
nsecs             117 drivers/spi/spi-gpio.c #define spidelay(nsecs)	do {} while (0)
nsecs             136 drivers/spi/spi-gpio.c 		unsigned nsecs, u32 word, u8 bits, unsigned flags)
nsecs             138 drivers/spi/spi-gpio.c 	return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits);
nsecs             142 drivers/spi/spi-gpio.c 		unsigned nsecs, u32 word, u8 bits, unsigned flags)
nsecs             144 drivers/spi/spi-gpio.c 	return bitbang_txrx_be_cpha1(spi, nsecs, 0, flags, word, bits);
nsecs             148 drivers/spi/spi-gpio.c 		unsigned nsecs, u32 word, u8 bits, unsigned flags)
nsecs             150 drivers/spi/spi-gpio.c 	return bitbang_txrx_be_cpha0(spi, nsecs, 1, flags, word, bits);
nsecs             154 drivers/spi/spi-gpio.c 		unsigned nsecs, u32 word, u8 bits, unsigned flags)
nsecs             156 drivers/spi/spi-gpio.c 	return bitbang_txrx_be_cpha1(spi, nsecs, 1, flags, word, bits);
nsecs             170 drivers/spi/spi-gpio.c 		unsigned nsecs, u32 word, u8 bits, unsigned flags)
nsecs             173 drivers/spi/spi-gpio.c 	return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits);
nsecs             177 drivers/spi/spi-gpio.c 		unsigned nsecs, u32 word, u8 bits, unsigned flags)
nsecs             180 drivers/spi/spi-gpio.c 	return bitbang_txrx_be_cpha1(spi, nsecs, 0, flags, word, bits);
nsecs             184 drivers/spi/spi-gpio.c 		unsigned nsecs, u32 word, u8 bits, unsigned flags)
nsecs             187 drivers/spi/spi-gpio.c 	return bitbang_txrx_be_cpha0(spi, nsecs, 1, flags, word, bits);
nsecs             191 drivers/spi/spi-gpio.c 		unsigned nsecs, u32 word, u8 bits, unsigned flags)
nsecs             194 drivers/spi/spi-gpio.c 	return bitbang_txrx_be_cpha1(spi, nsecs, 1, flags, word, bits);
nsecs             182 drivers/spi/spi-lm70llp.c static u32 lm70_txrx(struct spi_device *spi, unsigned nsecs, u32 word, u8 bits,
nsecs             185 drivers/spi/spi-lm70llp.c 	return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits);
nsecs             152 drivers/spi/spi-sh-hspi.c 	const int nsecs = 50;
nsecs             163 drivers/spi/spi-sh-hspi.c 			ndelay(nsecs);
nsecs             197 drivers/spi/spi-sh-hspi.c 			ndelay(nsecs);
nsecs             199 drivers/spi/spi-sh-hspi.c 			ndelay(nsecs);
nsecs             205 drivers/spi/spi-sh-hspi.c 		ndelay(nsecs);
nsecs              79 drivers/spi/spi-sh-sci.c 				 unsigned nsecs, u32 word, u8 bits,
nsecs              82 drivers/spi/spi-sh-sci.c 	return bitbang_txrx_be_cpha0(spi, nsecs, 0, flags, word, bits);
nsecs              86 drivers/spi/spi-sh-sci.c 				 unsigned nsecs, u32 word, u8 bits,
nsecs              89 drivers/spi/spi-sh-sci.c 	return bitbang_txrx_be_cpha1(spi, nsecs, 0, flags, word, bits);
nsecs              93 drivers/spi/spi-sh-sci.c 				 unsigned nsecs, u32 word, u8 bits,
nsecs              96 drivers/spi/spi-sh-sci.c 	return bitbang_txrx_be_cpha0(spi, nsecs, 1, flags, word, bits);
nsecs             100 drivers/spi/spi-sh-sci.c 				 unsigned nsecs, u32 word, u8 bits,
nsecs             103 drivers/spi/spi-sh-sci.c 	return bitbang_txrx_be_cpha1(spi, nsecs, 1, flags, word, bits);
nsecs              53 drivers/spi/spi-xtensa-xtfpga.c static u32 xtfpga_spi_txrx_word(struct spi_device *spi, unsigned nsecs,
nsecs             208 fs/omfs/inode.c 	unsigned long nsecs;
nsecs             231 fs/omfs/inode.c 	nsecs = do_div(ctime, 1000) * 1000L;
nsecs             236 fs/omfs/inode.c 	inode->i_atime.tv_nsec = nsecs;
nsecs             237 fs/omfs/inode.c 	inode->i_mtime.tv_nsec = nsecs;
nsecs             238 fs/omfs/inode.c 	inode->i_ctime.tv_nsec = nsecs;
nsecs              10 include/asm-generic/delay.h extern void __ndelay(unsigned long nsecs);
nsecs             364 include/linux/bpf.h 	u64 nsecs;
nsecs             566 include/linux/filter.h 		stats->nsecs += sched_clock() - start;		\
nsecs              87 include/linux/genhd.h 	u64 nsecs[NR_STAT_GROUPS];
nsecs             368 include/linux/genhd.h 	div_u64(part_stat_read(part, nsecs[which]), NSEC_PER_MSEC)
nsecs              37 include/linux/ktime.h static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs)
nsecs              42 include/linux/ktime.h 	return secs * NSEC_PER_SEC + (s64)nsecs;
nsecs              32 include/linux/spi/spi_bitbang.h 			unsigned nsecs,
nsecs              42 include/xen/interface/platform.h 	uint32_t nsecs;
nsecs              50 include/xen/interface/platform.h     uint32_t nsecs;
nsecs            1380 kernel/bpf/syscall.c 	u64 nsecs = 0, cnt = 0;
nsecs            1391 kernel/bpf/syscall.c 			tnsecs = st->nsecs;
nsecs            1394 kernel/bpf/syscall.c 		nsecs += tnsecs;
nsecs            1397 kernel/bpf/syscall.c 	stats->nsecs = nsecs;
nsecs            1423 kernel/bpf/syscall.c 		   stats.nsecs,
nsecs            2374 kernel/bpf/syscall.c 	info.run_time_ns = stats.nsecs;
nsecs              40 kernel/time/posix-cpu-timers.c 	u64 nsecs = rlim_new * NSEC_PER_SEC;
nsecs              43 kernel/time/posix-cpu-timers.c 	set_process_cpu_timer(task, CPUCLOCK_PROF, &nsecs, NULL);
nsecs             730 kernel/time/timekeeping.c 	u64 nsecs;
nsecs             738 kernel/time/timekeeping.c 		nsecs = timekeeping_get_ns(&tk->tkr_mono);
nsecs             743 kernel/time/timekeeping.c 	timespec64_add_ns(ts, nsecs);
nsecs             752 kernel/time/timekeeping.c 	u64 nsecs;
nsecs             759 kernel/time/timekeeping.c 		nsecs = timekeeping_get_ns(&tk->tkr_mono);
nsecs             763 kernel/time/timekeeping.c 	return ktime_add_ns(base, nsecs);
nsecs             771 kernel/time/timekeeping.c 	u32 nsecs;
nsecs             777 kernel/time/timekeeping.c 		nsecs = tk->tkr_mono.mult >> tk->tkr_mono.shift;
nsecs             780 kernel/time/timekeeping.c 	return nsecs;
nsecs             795 kernel/time/timekeeping.c 	u64 nsecs;
nsecs             802 kernel/time/timekeeping.c 		nsecs = timekeeping_get_ns(&tk->tkr_mono);
nsecs             806 kernel/time/timekeeping.c 	return ktime_add_ns(base, nsecs);
nsecs             816 kernel/time/timekeeping.c 	u64 nsecs;
nsecs             823 kernel/time/timekeeping.c 		nsecs = tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift;
nsecs             827 kernel/time/timekeeping.c 	return ktime_add_ns(base, nsecs);
nsecs             859 kernel/time/timekeeping.c 	u64 nsecs;
nsecs             864 kernel/time/timekeeping.c 		nsecs = timekeeping_get_ns(&tk->tkr_raw);
nsecs             868 kernel/time/timekeeping.c 	return ktime_add_ns(base, nsecs);
nsecs            1423 kernel/time/timekeeping.c 	u64 nsecs;
nsecs            1428 kernel/time/timekeeping.c 		nsecs = timekeeping_get_ns(&tk->tkr_raw);
nsecs            1433 kernel/time/timekeeping.c 	timespec64_add_ns(ts, nsecs);
nsecs            2219 kernel/time/timekeeping.c 	u64 nsecs;
nsecs            2225 kernel/time/timekeeping.c 		nsecs = timekeeping_get_ns(&tk->tkr_mono);
nsecs            2226 kernel/time/timekeeping.c 		base = ktime_add_ns(base, nsecs);
nsecs            1326 kernel/trace/trace.c unsigned long nsecs_to_usecs(unsigned long nsecs)
nsecs            1328 kernel/trace/trace.c 	return nsecs / 1000;
nsecs             759 kernel/trace/trace.h extern unsigned long nsecs_to_usecs(unsigned long nsecs);
nsecs             351 net/mac80211/rc80211_minstrel_ht.c 	unsigned int nsecs = 0;
nsecs             358 net/mac80211/rc80211_minstrel_ht.c 		nsecs = 1000 * mi->overhead / minstrel_ht_avg_ampdu_len(mi);
nsecs             360 net/mac80211/rc80211_minstrel_ht.c 	nsecs += minstrel_mcs_groups[group].duration[rate] <<
nsecs             370 net/mac80211/rc80211_minstrel_ht.c 								      / nsecs));
nsecs             372 net/mac80211/rc80211_minstrel_ht.c 		return MINSTREL_TRUNC(100000 * ((prob_ewma * 1000) / nsecs));
nsecs              23 net/netfilter/nft_limit.c 	u64		nsecs;
nsecs              65 net/netfilter/nft_limit.c 	limit->nsecs = unit * NSEC_PER_SEC;
nsecs              66 net/netfilter/nft_limit.c 	if (limit->rate == 0 || limit->nsecs < unit)
nsecs              79 net/netfilter/nft_limit.c 		tokens = div_u64(limit->nsecs, limit->rate) * limit->burst;
nsecs              85 net/netfilter/nft_limit.c 		tokens = div_u64(limit->nsecs * (limit->rate + limit->burst),
nsecs             108 net/netfilter/nft_limit.c 	u64 secs = div_u64(limit->nsecs, NSEC_PER_SEC);
nsecs             158 net/netfilter/nft_limit.c 	priv->cost = div64_u64(priv->limit.nsecs, priv->limit.rate);
nsecs             183 net/netfilter/nft_limit.c 	u64 cost = div64_u64(priv->nsecs * pkt->skb->len, priv->rate);
nsecs             260 net/netfilter/nft_limit.c 	priv->cost = div64_u64(priv->limit.nsecs, priv->limit.rate);
nsecs             287 net/netfilter/nft_limit.c 	u64 cost = div64_u64(priv->nsecs * pkt->skb->len, priv->rate);
nsecs             432 sound/drivers/dummy.c 	unsigned long nsecs;
nsecs             439 sound/drivers/dummy.c 	nsecs = div_u64((u64)period * 1000000000UL + rate - 1, rate);
nsecs             440 sound/drivers/dummy.c 	dpcm->period_time = ktime_set(sec, nsecs);
nsecs              49 tools/bpf/bpftool/prog.c static void print_boot_time(__u64 nsecs, char *buf, unsigned int size)
nsecs              60 tools/bpf/bpftool/prog.c 		snprintf(buf, size, "%llu", nsecs / 1000000000);
nsecs              65 tools/bpf/bpftool/prog.c 		(real_time_ts.tv_nsec - boot_time_ts.tv_nsec + nsecs) /
nsecs              70 tools/bpf/bpftool/prog.c 		snprintf(buf, size, "%llu", nsecs / 1000000000);
nsecs              37 tools/perf/bench/epoll-ctl.c static unsigned int nsecs    = 8;
nsecs              77 tools/perf/bench/epoll-ctl.c 	OPT_UINTEGER('r', "runtime", &nsecs,    "Specify runtime (in seconds)"),
nsecs             353 tools/perf/bench/epoll-ctl.c 	       getpid(), nthreads, nfds, nsecs);
nsecs             374 tools/perf/bench/epoll-ctl.c 	sleep(nsecs);
nsecs              92 tools/perf/bench/epoll-wait.c static unsigned int nsecs    = 8;
nsecs             130 tools/perf/bench/epoll-wait.c 	OPT_UINTEGER('r', "runtime", &nsecs, "Specify runtime (in seconds)"),
nsecs             473 tools/perf/bench/epoll-wait.c 	       getpid(), nthreads, oneshot ? " (EPOLLONESHOT semantics)": "", nfds, nsecs);
nsecs             502 tools/perf/bench/epoll-wait.c 	sleep(nsecs);
nsecs              34 tools/perf/bench/futex-hash.c static unsigned int nsecs    = 10;
nsecs              55 tools/perf/bench/futex-hash.c 	OPT_UINTEGER('r', "runtime", &nsecs,    "Specify runtime (in seconds)"),
nsecs             155 tools/perf/bench/futex-hash.c 	       getpid(), nthreads, nfutexes, fshared ? "shared":"private", nsecs);
nsecs             192 tools/perf/bench/futex-hash.c 	sleep(nsecs);
nsecs              35 tools/perf/bench/futex-lock-pi.c static unsigned int nsecs = 10;
nsecs              48 tools/perf/bench/futex-lock-pi.c 	OPT_UINTEGER('r', "runtime", &nsecs,     "Specify runtime (in seconds)"),
nsecs             179 tools/perf/bench/futex-lock-pi.c 	       getpid(), nthreads, nsecs);
nsecs             199 tools/perf/bench/futex-lock-pi.c 	sleep(nsecs);
nsecs             300 tools/perf/builtin-sched.c static void burn_nsecs(struct perf_sched *sched, u64 nsecs)
nsecs             306 tools/perf/builtin-sched.c 	} while (T1 + sched->run_measurement_overhead < T0 + nsecs);
nsecs             309 tools/perf/builtin-sched.c static void sleep_nsecs(u64 nsecs)
nsecs             313 tools/perf/builtin-sched.c 	ts.tv_nsec = nsecs % 999999999;
nsecs             314 tools/perf/builtin-sched.c 	ts.tv_sec = nsecs / 999999999;
nsecs            1833 tools/perf/builtin-sched.c static inline void print_sched_time(unsigned long long nsecs, int width)
nsecs            1838 tools/perf/builtin-sched.c 	msecs  = nsecs / NSEC_PER_MSEC;
nsecs            1839 tools/perf/builtin-sched.c 	nsecs -= msecs * NSEC_PER_MSEC;
nsecs            1840 tools/perf/builtin-sched.c 	usecs  = nsecs / NSEC_PER_USEC;
nsecs             631 tools/perf/builtin-script.c 	unsigned long long nsecs;
nsecs             708 tools/perf/builtin-script.c 		nsecs = t;
nsecs             709 tools/perf/builtin-script.c 		secs = nsecs / NSEC_PER_SEC;
nsecs             710 tools/perf/builtin-script.c 		nsecs -= secs * NSEC_PER_SEC;
nsecs             713 tools/perf/builtin-script.c 			printed += fprintf(fp, "%5lu.%09llu: ", secs, nsecs);
nsecs            1175 tools/perf/util/auxtrace.c 	unsigned long long nsecs = e->time;
nsecs            1182 tools/perf/util/auxtrace.c 	if (e->fmt && nsecs) {
nsecs            1183 tools/perf/util/auxtrace.c 		unsigned long secs = nsecs / NSEC_PER_SEC;
nsecs            1185 tools/perf/util/auxtrace.c 		nsecs -= secs * NSEC_PER_SEC;
nsecs            1186 tools/perf/util/auxtrace.c 		ret += fprintf(fp, " time %lu.%09llu", secs, nsecs);
nsecs              61 tools/perf/util/debug.c 	u64 secs, usecs, nsecs = t;
nsecs              63 tools/perf/util/debug.c 	secs   = nsecs / NSEC_PER_SEC;
nsecs              64 tools/perf/util/debug.c 	nsecs -= secs  * NSEC_PER_SEC;
nsecs              65 tools/perf/util/debug.c 	usecs  = nsecs / NSEC_PER_USEC;
nsecs             351 tools/perf/util/scripting-engines/trace-event-perl.c 	unsigned long long nsecs = sample->time;
nsecs             371 tools/perf/util/scripting-engines/trace-event-perl.c 	s = nsecs / NSEC_PER_SEC;
nsecs             372 tools/perf/util/scripting-engines/trace-event-perl.c 	ns = nsecs - s * NSEC_PER_SEC;
nsecs             420 tools/perf/util/scripting-engines/trace-event-perl.c 		XPUSHs(sv_2mortal(newSVuv(nsecs)));
nsecs             806 tools/perf/util/scripting-engines/trace-event-python.c 	unsigned long long nsecs = sample->time;
nsecs             838 tools/perf/util/scripting-engines/trace-event-python.c 	s = nsecs / NSEC_PER_SEC;
nsecs             839 tools/perf/util/scripting-engines/trace-event-python.c 	ns = nsecs - s * NSEC_PER_SEC;