nsec              112 arch/arm/vdso/vgettimeofday.c 	u64 nsec;
nsec              119 arch/arm/vdso/vgettimeofday.c 	nsec = (cycle_delta * vdata->cs_mult) + vdata->xtime_clock_snsec;
nsec              120 arch/arm/vdso/vgettimeofday.c 	nsec >>= vdata->cs_shift;
nsec              122 arch/arm/vdso/vgettimeofday.c 	return nsec;
nsec               84 arch/arm/xen/enlighten.c 		now.tv_nsec = wall_clock->nsec;
nsec              116 arch/m68k/include/asm/delay.h static inline void ndelay(unsigned long nsec)
nsec              118 arch/m68k/include/asm/delay.h 	__delay(DIV_ROUND_UP(nsec *
nsec               92 arch/mips/kernel/binfmt_elfn32.c 	u64 nsec = (u64)jiffies * TICK_NSEC;
nsec               94 arch/mips/kernel/binfmt_elfn32.c 	value->tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem);
nsec               97 arch/mips/kernel/binfmt_elfo32.c 	u64 nsec = (u64)jiffies * TICK_NSEC;
nsec               99 arch/mips/kernel/binfmt_elfo32.c 	value->tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem);
nsec              124 arch/s390/kernel/time.c 	unsigned long long high, low, rem, sec, nsec;
nsec              132 arch/s390/kernel/time.c 	nsec = (((low >> 32) + (rem << 32)) * 1000) >> 32;
nsec              135 arch/s390/kernel/time.c 	xt->tv_nsec = nsec;
nsec               40 arch/x86/include/asm/pvclock-abi.h 	u32   nsec;
nsec               69 arch/x86/include/uapi/asm/kvm_para.h 	__s64 nsec;
nsec              133 arch/x86/kernel/pvclock.c 		now.tv_nsec = wall_clock->nsec;
nsec             1703 arch/x86/kvm/x86.c 	wc.nsec = boot.tv_nsec;
nsec             7387 arch/x86/kvm/x86.c 	clock_pairing.nsec = ts.tv_nsec;
nsec              308 arch/x86/kvm/x86.h static inline u64 nsec_to_cycles(struct kvm_vcpu *vcpu, u64 nsec)
nsec              310 arch/x86/kvm/x86.h 	return pvclock_scale_delta(nsec, vcpu->arch.virtual_tsc_mult,
nsec               55 arch/xtensa/include/asm/delay.h static inline void __ndelay(unsigned long nsec)
nsec               61 arch/xtensa/include/asm/delay.h 	unsigned long cycles = (nsec * (ccount_freq >> 15)) >> 15;
nsec               67 arch/xtensa/include/asm/delay.h static inline void ndelay(unsigned long nsec)
nsec               69 arch/xtensa/include/asm/delay.h 	if (__builtin_constant_p(nsec) && nsec >= __MAX_NDELAY)
nsec               72 arch/xtensa/include/asm/delay.h 		__ndelay(nsec);
nsec              872 block/kyber-iosched.c 	unsigned long long nsec;					\
nsec              875 block/kyber-iosched.c 	ret = kstrtoull(page, 10, &nsec);				\
nsec              879 block/kyber-iosched.c 	kqd->latency_targets[domain] = nsec;				\
nsec              996 drivers/block/xen-blkback/blkback.c 		seg[n].nsec = last_sect - first_sect + 1;
nsec              998 drivers/block/xen-blkback/blkback.c 		preq->nr_sects += seg[n].nsec;
nsec             1302 drivers/block/xen-blkback/blkback.c 			seg[i].nsec = req->u.rw.seg[i].last_sect -
nsec             1309 drivers/block/xen-blkback/blkback.c 			preq.nr_sects += seg[i].nsec;
nsec             1332 drivers/block/xen-blkback/blkback.c 		if (((int)preq.sector_number|(int)seg[i].nsec) &
nsec             1366 drivers/block/xen-blkback/blkback.c 				     seg[i].nsec << 9,
nsec             1382 drivers/block/xen-blkback/blkback.c 		preq.sector_number += seg[i].nsec;
nsec              326 drivers/block/xen-blkback/common.h 	unsigned int nsec;
nsec               47 drivers/clocksource/jcore-pit.c 	u32 seclo, nsec, seclo0;
nsec               53 drivers/clocksource/jcore-pit.c 		nsec  = readl(base + REG_NSEC);
nsec               57 drivers/clocksource/jcore-pit.c 	return seclo * NSEC_PER_SEC + nsec;
nsec              752 drivers/crypto/hifn_795x.c 	s64 nsec;
nsec              754 drivers/crypto/hifn_795x.c 	nsec = ktime_to_ns(ktime_sub(ktime_get(), dev->rngtime));
nsec              755 drivers/crypto/hifn_795x.c 	nsec -= dev->rng_wait_time;
nsec              756 drivers/crypto/hifn_795x.c 	if (nsec <= 0)
nsec              760 drivers/crypto/hifn_795x.c 	ndelay(nsec);
nsec               19 drivers/gpu/drm/nouveau/include/nvkm/subdev/bus.h void nvkm_hwsq_nsec(struct nvkm_hwsq *, u32 nsec);
nsec               52 drivers/gpu/drm/nouveau/include/nvkm/subdev/pmu.h void nvkm_memx_wait(struct nvkm_memx *, u32 addr, u32 mask, u32 data, u32 nsec);
nsec               53 drivers/gpu/drm/nouveau/include/nvkm/subdev/pmu.h void nvkm_memx_nsec(struct nvkm_memx *, u32 nsec);
nsec               29 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h void nvkm_timer_alarm(struct nvkm_timer *, u32 nsec, struct nvkm_alarm *);
nsec               39 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h void nvkm_timer_wait_init(struct nvkm_device *, u64 nsec,
nsec              167 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c nvkm_hwsq_nsec(struct nvkm_hwsq *hwsq, u32 nsec)
nsec              169 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	u8 shift = 0, usec = nsec / 1000;
nsec              175 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.c 	nvkm_debug(hwsq->subdev, "    DELAY = %d ns\n", nsec);
nsec              144 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h hwsq_nsec(struct hwsq *ram, u32 nsec)
nsec              146 drivers/gpu/drm/nouveau/nvkm/subdev/bus/hwsq.h 	nvkm_hwsq_nsec(ram->hwsq, nsec);
nsec              123 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h ramfuc_wait(struct ramfuc *ram, u32 addr, u32 mask, u32 data, u32 nsec)
nsec              125 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h 	nvkm_memx_wait(ram->memx, addr, mask, data, nsec);
nsec              129 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h ramfuc_nsec(struct ramfuc *ram, u32 nsec)
nsec              131 drivers/gpu/drm/nouveau/nvkm/subdev/fb/ramfuc.h 	nvkm_memx_nsec(ram->memx, nsec);
nsec               56 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c nvkm_i2c_delay(struct nvkm_i2c_bus *bus, u32 nsec)
nsec               58 drivers/gpu/drm/nouveau/nvkm/subdev/i2c/bit.c 	udelay((nsec + 500) / 1000);
nsec              108 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 		  u32 addr, u32 mask, u32 data, u32 nsec)
nsec              111 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 		   addr, mask, data, nsec);
nsec              112 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	memx_cmd(memx, MEMX_WAIT, 4, (u32[]){ addr, mask, data, nsec });
nsec              117 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c nvkm_memx_nsec(struct nvkm_memx *memx, u32 nsec)
nsec              119 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	nvkm_debug(&memx->pmu->subdev, "    DELAY = %d ns\n", nsec);
nsec              120 drivers/gpu/drm/nouveau/nvkm/subdev/pmu/memx.c 	memx_cmd(memx, MEMX_DELAY, 1, (u32[]){ nsec });
nsec               54 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c nvkm_timer_wait_init(struct nvkm_device *device, u64 nsec,
nsec               58 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 	wait->limit = nsec;
nsec              106 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c nvkm_timer_alarm(struct nvkm_timer *tmr, u32 nsec, struct nvkm_alarm *alarm)
nsec              119 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 	if (nsec) {
nsec              121 drivers/gpu/drm/nouveau/nvkm/subdev/timer/base.c 		alarm->timestamp = nvkm_timer_read(tmr) + nsec;
nsec              629 drivers/infiniband/hw/hfi1/init.c 		unsigned long nsec = 1024 * ccti_timer;
nsec              631 drivers/infiniband/hw/hfi1/init.c 		hrtimer_forward_now(t, ns_to_ktime(nsec));
nsec             2785 drivers/infiniband/hw/hfi1/rc.c 		unsigned long nsec = 1024 * ccti_timer;
nsec             2787 drivers/infiniband/hw/hfi1/rc.c 		hrtimer_start(&cca_timer->hrtimer, ns_to_ktime(nsec),
nsec               31 drivers/misc/sgi-gru/gruhandles.c 	unsigned long nsec;
nsec               33 drivers/misc/sgi-gru/gruhandles.c 	nsec = CLKS2NSEC(clks);
nsec               35 drivers/misc/sgi-gru/gruhandles.c 	atomic_long_add(nsec, &mcs_op_statistics[op].total);
nsec               36 drivers/misc/sgi-gru/gruhandles.c 	if (mcs_op_statistics[op].max < nsec)
nsec               37 drivers/misc/sgi-gru/gruhandles.c 		mcs_op_statistics[op].max = nsec;
nsec             1541 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 				 unsigned int nsec)
nsec             1547 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	XGMAC_IOWRITE(pdata, MAC_STNUR, nsec);
nsec             1560 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	u64 nsec;
nsec             1562 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	nsec = XGMAC_IOREAD(pdata, MAC_STSR);
nsec             1563 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	nsec *= NSEC_PER_SEC;
nsec             1564 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	nsec += XGMAC_IOREAD(pdata, MAC_STNR);
nsec             1566 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	return nsec;
nsec             1572 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	u64 nsec;
nsec             1585 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	nsec = tx_ssr;
nsec             1586 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	nsec *= NSEC_PER_SEC;
nsec             1587 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	nsec += tx_snr;
nsec             1589 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	return nsec;
nsec             1595 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 	u64 nsec;
nsec             1599 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 		nsec = le32_to_cpu(rdesc->desc1);
nsec             1600 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 		nsec <<= 32;
nsec             1601 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 		nsec |= le32_to_cpu(rdesc->desc0);
nsec             1602 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 		if (nsec != 0xffffffffffffffffULL) {
nsec             1603 drivers/net/ethernet/amd/xgbe/xgbe-dev.c 			packet->rx_tstamp = nsec;
nsec             1542 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 	u64 nsec;
nsec             1550 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		nsec = timecounter_cyc2time(&pdata->tstamp_tc,
nsec             1554 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 		hwtstamps.hwtstamp = ns_to_ktime(nsec);
nsec             2836 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 			u64 nsec;
nsec             2838 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 			nsec = timecounter_cyc2time(&pdata->tstamp_tc,
nsec             2841 drivers/net/ethernet/amd/xgbe/xgbe-drv.c 			hwtstamps->hwtstamp = ns_to_ktime(nsec);
nsec              130 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	u64 nsec;
nsec              132 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	nsec = pdata->hw_if.get_tstamp_time(pdata);
nsec              134 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	return nsec;
nsec              188 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	u64 nsec;
nsec              192 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	nsec = timecounter_read(&pdata->tstamp_tc);
nsec              196 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	*ts = ns_to_timespec64(nsec);
nsec              208 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	u64 nsec;
nsec              210 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	nsec = timespec64_to_ns(ts);
nsec              214 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 	timecounter_init(&pdata->tstamp_tc, &pdata->tstamp_cc, nsec);
nsec              813 drivers/net/ethernet/amd/xgbe/xgbe.h 				unsigned int nsec);
nsec             6295 drivers/net/ethernet/broadcom/tg3.c 			u64 nsec;
nsec             6297 drivers/net/ethernet/broadcom/tg3.c 			nsec = rq->perout.start.sec * 1000000000ULL +
nsec             6298 drivers/net/ethernet/broadcom/tg3.c 			       rq->perout.start.nsec;
nsec             6300 drivers/net/ethernet/broadcom/tg3.c 			if (rq->perout.period.sec || rq->perout.period.nsec) {
nsec             6307 drivers/net/ethernet/broadcom/tg3.c 			if (nsec & (1ULL << 63)) {
nsec             6314 drivers/net/ethernet/broadcom/tg3.c 			tw32(TG3_EAV_WATCHDOG0_LSB, (nsec & 0xffffffff));
nsec             6317 drivers/net/ethernet/broadcom/tg3.c 			     ((nsec >> 32) & TG3_EAV_WATCHDOG_MSB_MASK));
nsec              164 drivers/net/ethernet/cavium/common/cavium_ptp.c 	u64 nsec;
nsec              167 drivers/net/ethernet/cavium/common/cavium_ptp.c 	nsec = timecounter_read(&clock->time_counter);
nsec              170 drivers/net/ethernet/cavium/common/cavium_ptp.c 	*ts = ns_to_timespec64(nsec);
nsec              186 drivers/net/ethernet/cavium/common/cavium_ptp.c 	u64 nsec;
nsec              188 drivers/net/ethernet/cavium/common/cavium_ptp.c 	nsec = timespec64_to_ns(ts);
nsec              191 drivers/net/ethernet/cavium/common/cavium_ptp.c 	timecounter_init(&clock->time_counter, &clock->cycle_counter, nsec);
nsec              663 drivers/net/ethernet/cavium/liquidio/lio_main.c 	lt->nsec = ts.tv_nsec;
nsec              991 drivers/net/ethernet/cavium/liquidio/liquidio_common.h 	s64 nsec;  /* nanoseconds */
nsec             6453 drivers/net/ethernet/intel/igb/igb_main.c 	u32 ack = 0, tsauxc, sec, nsec, tsicr = rd32(E1000_TSICR);
nsec             6498 drivers/net/ethernet/intel/igb/igb_main.c 		nsec = rd32(E1000_AUXSTMPL0);
nsec             6502 drivers/net/ethernet/intel/igb/igb_main.c 		event.timestamp = sec * 1000000000ULL + nsec;
nsec             6508 drivers/net/ethernet/intel/igb/igb_main.c 		nsec = rd32(E1000_AUXSTMPL1);
nsec             6512 drivers/net/ethernet/intel/igb/igb_main.c 		event.timestamp = sec * 1000000000ULL + nsec;
nsec              117 drivers/net/ethernet/intel/igb/igb_ptp.c 	u32 sec, nsec;
nsec              124 drivers/net/ethernet/intel/igb/igb_ptp.c 	nsec = rd32(E1000_SYSTIML);
nsec              128 drivers/net/ethernet/intel/igb/igb_ptp.c 	ts->tv_nsec = nsec;
nsec              578 drivers/net/ethernet/intel/igb/igb_ptp.c 		ts.tv_nsec = rq->perout.period.nsec;
nsec              625 drivers/net/ethernet/intel/igb/igb_ptp.c 			igb->perout[i].start.tv_nsec = rq->perout.start.nsec;
nsec              629 drivers/net/ethernet/intel/igb/igb_ptp.c 			wr32(trgttiml, rq->perout.start.nsec);
nsec               66 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	u64 nsec;
nsec               70 drivers/net/ethernet/mellanox/mlx4/en_clock.c 		nsec = timecounter_cyc2time(&mdev->clock, timestamp);
nsec               74 drivers/net/ethernet/mellanox/mlx4/en_clock.c 	hwts->hwtstamp = ns_to_ktime(nsec);
nsec               93 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	clock_info->nsec   = clock->tc.nsec;
nsec              322 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		ts.tv_nsec = rq->perout.period.nsec;
nsec              329 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		ts.tv_nsec = rq->perout.start.nsec;
nsec              558 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		mdev->clock_info->nsec = clock->tc.nsec;
nsec               49 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.h 	u64 nsec;
nsec               53 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.h 		nsec = timecounter_cyc2time(&clock->tc, timestamp);
nsec               56 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.h 	return ns_to_ktime(nsec);
nsec              114 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c static u64 mlxsw_sp1_ptp_ns2cycles(const struct timecounter *tc, u64 nsec)
nsec              116 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	u64 cycles = (u64) nsec;
nsec              125 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c mlxsw_sp1_ptp_phc_settime(struct mlxsw_sp_ptp_clock *clock, u64 nsec)
nsec              133 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	next_sec = div_u64(nsec, NSEC_PER_SEC) + 1;
nsec              184 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	u64 nsec;
nsec              188 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	nsec = timecounter_read(&clock->tc);
nsec              191 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	return mlxsw_sp1_ptp_phc_settime(clock, nsec);
nsec              200 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	u64 cycles, nsec;
nsec              204 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	nsec = timecounter_cyc2time(&clock->tc, cycles);
nsec              207 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	*ts = ns_to_timespec64(nsec);
nsec              217 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	u64 nsec = timespec64_to_ns(ts);
nsec              220 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	timecounter_init(&clock->tc, &clock->cycles, nsec);
nsec              221 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	nsec = timecounter_read(&clock->tc);
nsec              224 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	return mlxsw_sp1_ptp_phc_settime(clock, nsec);
nsec              253 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	u64 overflow_cycles, nsec, frac = 0;
nsec              283 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	nsec = cyclecounter_cyc2ns(&clock->cycles, overflow_cycles, 0, &frac);
nsec              284 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	clock->overflow_period = nsecs_to_jiffies(nsec);
nsec              460 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	u64 nsec;
nsec              463 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	nsec = timecounter_cyc2time(&mlxsw_sp->clock->tc, timestamp);
nsec              466 drivers/net/ethernet/mellanox/mlxsw/spectrum_ptp.c 	hwtstamps.hwtstamp = ns_to_ktime(nsec);
nsec              475 drivers/net/ethernet/microchip/lan743x_ptp.c 	start_sec += perout->start.nsec / 1000000000;
nsec              476 drivers/net/ethernet/microchip/lan743x_ptp.c 	start_nsec = perout->start.nsec % 1000000000;
nsec              479 drivers/net/ethernet/microchip/lan743x_ptp.c 	period_sec += perout->period.nsec / 1000000000;
nsec              480 drivers/net/ethernet/microchip/lan743x_ptp.c 	period_nsec = perout->period.nsec % 1000000000;
nsec              581 drivers/net/ethernet/microchip/lan743x_ptp.c 	u32 cap_info, cause, header, nsec, seconds;
nsec              593 drivers/net/ethernet/microchip/lan743x_ptp.c 			nsec = lan743x_csr_read(adapter, PTP_TX_EGRESS_NS);
nsec              594 drivers/net/ethernet/microchip/lan743x_ptp.c 			cause = (nsec &
nsec              600 drivers/net/ethernet/microchip/lan743x_ptp.c 				nsec &= PTP_TX_EGRESS_NS_TS_NS_MASK_;
nsec              602 drivers/net/ethernet/microchip/lan743x_ptp.c 							     seconds, nsec,
nsec             1949 drivers/net/ethernet/realtek/r8169_main.c 			struct net_device *dev, u32 nsec, u16 *cp01)
nsec             1961 drivers/net/ethernet/realtek/r8169_main.c 		if (nsec <= rxtx_maxscale * RTL_COALESCE_T_MAX) {
nsec              232 drivers/net/ethernet/renesas/ravb_ptp.c 		start_ns = req->start.sec * NSEC_PER_SEC + req->start.nsec;
nsec              233 drivers/net/ethernet/renesas/ravb_ptp.c 		period_ns = req->period.sec * NSEC_PER_SEC + req->period.nsec;
nsec              466 drivers/net/ethernet/stmicro/stmmac/hwif.h 	int (*init_systime) (void __iomem *ioaddr, u32 sec, u32 nsec);
nsec              468 drivers/net/ethernet/stmicro/stmmac/hwif.h 	int (*adjust_systime) (void __iomem *ioaddr, u32 sec, u32 nsec,
nsec               58 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static int init_systime(void __iomem *ioaddr, u32 sec, u32 nsec)
nsec               64 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c 	writel(nsec, ioaddr + PTP_STNSUR);
nsec              107 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c static int adjust_systime(void __iomem *ioaddr, u32 sec, u32 nsec,
nsec              123 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c 			nsec = (PTP_DIGITAL_ROLLOVER_MODE - nsec);
nsec              125 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c 			nsec = (PTP_BINARY_ROLLOVER_MODE - nsec);
nsec              129 drivers/net/ethernet/stmicro/stmmac/stmmac_hwtstamp.c 	value = (add_sub << PTP_STNSUR_ADDSUB_SHIFT) | nsec;
nsec               61 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	u32 sec, nsec;
nsec               75 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	nsec = reminder;
nsec               78 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 	stmmac_adjust_systime(priv, priv->ptpaddr, sec, nsec, neg_adj, xmac);
nsec              150 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 		cfg->start.tv_nsec = rq->perout.start.nsec;
nsec              152 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 		cfg->period.tv_nsec = rq->perout.period.nsec;
nsec             1014 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 	u64 nsec;
nsec             1023 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 		nsec = le32_to_cpu(dma_desc->desc1);
nsec             1024 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 		nsec <<= 32;
nsec             1025 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 		nsec |= le32_to_cpu(dma_desc->desc0);
nsec             1026 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 		if (nsec != 0xffffffffffffffffULL) {
nsec             1027 drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c 			pkt_info->rx_tstamp = nsec;
nsec              300 drivers/net/phy/dp83640.c 	u32 sec, nsec, pwidth;
nsec              330 drivers/net/phy/dp83640.c 	nsec = clkreq->perout.start.nsec;
nsec              332 drivers/net/phy/dp83640.c 	pwidth += clkreq->perout.period.nsec;
nsec              342 drivers/net/phy/dp83640.c 	ext_write(0, phydev, PAGE4, PTP_TDR, nsec & 0xffff);   /* ns[15:0] */
nsec              343 drivers/net/phy/dp83640.c 	ext_write(0, phydev, PAGE4, PTP_TDR, nsec >> 16);      /* ns[31:16] */
nsec               29 drivers/pps/kapi.c 	ts->nsec += offset->nsec;
nsec               30 drivers/pps/kapi.c 	while (ts->nsec >= NSEC_PER_SEC) {
nsec               31 drivers/pps/kapi.c 		ts->nsec -= NSEC_PER_SEC;
nsec               34 drivers/pps/kapi.c 	while (ts->nsec < 0) {
nsec               35 drivers/pps/kapi.c 		ts->nsec += NSEC_PER_SEC;
nsec              164 drivers/pps/kapi.c 	struct pps_ktime ts_real = { .sec = 0, .nsec = 0, .flags = 0 };
nsec               67 drivers/pps/pps.c 				fdata->timeout.nsec);
nsec               69 drivers/pps/pps.c 		ticks += fdata->timeout.nsec / (NSEC_PER_SEC / HZ);
nsec               27 drivers/pps/sysfs.c 			(long long) pps->assert_tu.sec, pps->assert_tu.nsec,
nsec               41 drivers/pps/sysfs.c 			(long long) pps->clear_tu.sec, pps->clear_tu.nsec,
nsec              208 drivers/ptp/ptp_chardev.c 		enable = req.perout.period.sec || req.perout.period.nsec;
nsec              236 drivers/ptp/ptp_chardev.c 		precise_offset.device.nsec = ts.tv_nsec;
nsec              239 drivers/ptp/ptp_chardev.c 		precise_offset.sys_realtime.nsec = ts.tv_nsec;
nsec              242 drivers/ptp/ptp_chardev.c 		precise_offset.sys_monoraw.nsec = ts.tv_nsec;
nsec              270 drivers/ptp/ptp_chardev.c 			extoff->ts[i][0].nsec = sts.pre_ts.tv_nsec;
nsec              272 drivers/ptp/ptp_chardev.c 			extoff->ts[i][1].nsec = ts.tv_nsec;
nsec              274 drivers/ptp/ptp_chardev.c 			extoff->ts[i][2].nsec = sts.post_ts.tv_nsec;
nsec              296 drivers/ptp/ptp_chardev.c 			pct->nsec = ts.tv_nsec;
nsec              305 drivers/ptp/ptp_chardev.c 			pct->nsec = ts.tv_nsec;
nsec              310 drivers/ptp/ptp_chardev.c 		pct->nsec = ts.tv_nsec;
nsec               56 drivers/ptp/ptp_clock.c 	dst->t.nsec = remainder;
nsec               69 drivers/ptp/ptp_kvm.c 		tspec.tv_nsec = clock_pair.nsec;
nsec              129 drivers/ptp/ptp_kvm.c 	tspec.tv_nsec = clock_pair.nsec;
nsec               89 drivers/ptp/ptp_sysfs.c 		       event.index, event.t.sec, event.t.nsec);
nsec              106 drivers/ptp/ptp_sysfs.c 		     &req.perout.start.sec, &req.perout.start.nsec,
nsec              107 drivers/ptp/ptp_sysfs.c 		     &req.perout.period.sec, &req.perout.period.nsec);
nsec              113 drivers/ptp/ptp_sysfs.c 	enable = req.perout.period.sec || req.perout.period.nsec;
nsec             1437 drivers/tty/serial/8250/8250_port.c 	long nsec = (msec % 1000) * 1000000;
nsec             1438 drivers/tty/serial/8250/8250_port.c 	ktime_t t = ktime_set(sec, nsec);
nsec             1266 drivers/tty/serial/sh-sci.c 	long nsec = (usec % 1000000) * 1000;
nsec             1267 drivers/tty/serial/sh-sci.c 	ktime_t t = ktime_set(sec, nsec);
nsec              175 fs/adfs/inode.c 	s64 nsec;
nsec              186 fs/adfs/inode.c 	nsec = (((s64) high << 32) | (s64) low) * 10000000; /* cs to ns */
nsec              189 fs/adfs/inode.c 	if (nsec < nsec_unix_epoch_diff_risc_os_epoch)
nsec              193 fs/adfs/inode.c 	nsec -= nsec_unix_epoch_diff_risc_os_epoch;
nsec              195 fs/adfs/inode.c 	*tv = ns_to_timespec64(nsec);
nsec             1581 fs/btrfs/ctree.h BTRFS_SETGET_FUNCS(timespec_nsec, struct btrfs_timespec, nsec, 32);
nsec             1583 fs/btrfs/ctree.h BTRFS_SETGET_STACK_FUNCS(stack_timespec_nsec, struct btrfs_timespec, nsec, 32);
nsec               58 fs/btrfs/ioctl.c 	__u32 nsec;
nsec             2677 fs/btrfs/ioctl.c 	subvol_info->ctime.nsec = btrfs_stack_timespec_nsec(&root_item->ctime);
nsec             2681 fs/btrfs/ioctl.c 	subvol_info->otime.nsec = btrfs_stack_timespec_nsec(&root_item->otime);
nsec             2685 fs/btrfs/ioctl.c 	subvol_info->stime.nsec = btrfs_stack_timespec_nsec(&root_item->stime);
nsec             2689 fs/btrfs/ioctl.c 	subvol_info->rtime.nsec = btrfs_stack_timespec_nsec(&root_item->rtime);
nsec             5049 fs/btrfs/ioctl.c 	sa->rtime.nsec = ct.tv_nsec;
nsec             5068 fs/btrfs/ioctl.c 	btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec);
nsec             5070 fs/btrfs/ioctl.c 	btrfs_set_stack_timespec_nsec(&root_item->rtime, sa->rtime.nsec);
nsec             5117 fs/btrfs/ioctl.c 	args64->stime.nsec = args32->stime.nsec;
nsec             5119 fs/btrfs/ioctl.c 	args64->rtime.nsec = args32->rtime.nsec;
nsec             5130 fs/btrfs/ioctl.c 	args32->stime.nsec = args64->stime.nsec;
nsec             5132 fs/btrfs/ioctl.c 	args32->rtime.nsec = args64->rtime.nsec;
nsec               85 fs/fuse/dir.c  static u64 time_to_jiffies(u64 sec, u32 nsec)
nsec               87 fs/fuse/dir.c  	if (sec || nsec) {
nsec               90 fs/fuse/dir.c  			min_t(u32, nsec, NSEC_PER_SEC - 1)
nsec             2145 fs/ocfs2/dlmglue.c 	u32 nsec = spec->tv_nsec;
nsec             2147 fs/ocfs2/dlmglue.c 	res = (sec << OCFS2_SEC_SHIFT) | (nsec & OCFS2_NSEC_MASK);
nsec               14 fs/proc/uptime.c 	u64 nsec;
nsec               18 fs/proc/uptime.c 	nsec = 0;
nsec               20 fs/proc/uptime.c 		nsec += (__force u64) kcpustat_cpu(i).cpustat[CPUTIME_IDLE];
nsec               23 fs/proc/uptime.c 	idle.tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem);
nsec              273 fs/select.c    int poll_select_set_timeout(struct timespec64 *to, time64_t sec, long nsec)
nsec              275 fs/select.c    	struct timespec64 ts = {.tv_sec = sec, .tv_nsec = nsec};
nsec              281 fs/select.c    	if (!sec && !nsec) {
nsec               11 fs/utimes.c    static bool nsec_valid(long nsec)
nsec               13 fs/utimes.c    	if (nsec == UTIME_OMIT || nsec == UTIME_NOW)
nsec               16 fs/utimes.c    	return nsec >= 0 && nsec <= 999999999;
nsec              172 include/linux/clockchips.h div_sc(unsigned long ticks, unsigned long nsec, int shift)
nsec              176 include/linux/clockchips.h 	do_div(tmp, nsec);
nsec              936 include/linux/compat.h static inline struct old_timeval32 ns_to_old_timeval32(s64 nsec)
nsec              941 include/linux/compat.h 	tv = ns_to_timeval(nsec);
nsec              123 include/linux/poll.h 				   long nsec);
nsec               97 include/linux/pps_kernel.h 	kt->nsec = ts.tv_nsec;
nsec              161 include/linux/time32.h extern struct timespec ns_to_timespec(const s64 nsec);
nsec              217 include/linux/time32.h extern struct timeval ns_to_timeval(const s64 nsec);
nsec              218 include/linux/time32.h extern struct __kernel_old_timeval ns_to_kernel_old_timeval(s64 nsec);
nsec               69 include/linux/time64.h extern void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec);
nsec              144 include/linux/time64.h extern struct timespec64 ns_to_timespec64(const s64 nsec);
nsec               58 include/linux/timecounter.h 	u64 nsec;
nsec               86 include/linux/timecounter.h 	tc->nsec += delta;
nsec              702 include/uapi/linux/btrfs.h 	__u32 nsec;
nsec              556 include/uapi/linux/btrfs_tree.h 	__le32 nsec;
nsec               56 include/uapi/linux/pps.h 	__s32 nsec;
nsec               62 include/uapi/linux/pps.h 	__s32 nsec;
nsec               79 include/uapi/linux/ptp_clock.h 	__u32 nsec; /* nanoseconds */
nsec              443 include/uapi/rdma/mlx5-abi.h 	__aligned_u64 nsec;
nsec               39 include/vdso/datapage.h 	u64	nsec;
nsec               81 include/xen/arm/interface.h 	u32   nsec;
nsec             3594 kernel/events/core.c static u64 perf_calculate_period(struct perf_event *event, u64 nsec, u64 count)
nsec             3603 kernel/events/core.c 	nsec_fls = fls64(nsec);
nsec             3637 kernel/events/core.c 		REDUCE_FLS(nsec, frequency);
nsec             3642 kernel/events/core.c 		divisor = nsec * frequency;
nsec             3654 kernel/events/core.c 			REDUCE_FLS(nsec, frequency);
nsec             3658 kernel/events/core.c 		divisor = nsec * frequency;
nsec             3670 kernel/events/core.c static void perf_adjust_period(struct perf_event *event, u64 nsec, u64 count, bool disable)
nsec             3676 kernel/events/core.c 	period = perf_calculate_period(event, nsec, count);
nsec               28 kernel/sched/debug.c static long long nsec_high(unsigned long long nsec)
nsec               30 kernel/sched/debug.c 	if ((long long)nsec < 0) {
nsec               31 kernel/sched/debug.c 		nsec = -nsec;
nsec               32 kernel/sched/debug.c 		do_div(nsec, 1000000);
nsec               33 kernel/sched/debug.c 		return -nsec;
nsec               35 kernel/sched/debug.c 	do_div(nsec, 1000000);
nsec               37 kernel/sched/debug.c 	return nsec;
nsec               40 kernel/sched/debug.c static unsigned long nsec_low(unsigned long long nsec)
nsec               42 kernel/sched/debug.c 	if ((long long)nsec < 0)
nsec               43 kernel/sched/debug.c 		nsec = -nsec;
nsec               45 kernel/sched/debug.c 	return do_div(nsec, 1000000);
nsec              565 kernel/time/clocksource.c 	u64 now, delta, nsec = 0;
nsec              583 kernel/time/clocksource.c 		nsec = mul_u64_u32_shr(delta, suspend_clocksource->mult,
nsec              594 kernel/time/clocksource.c 	return nsec;
nsec              808 kernel/time/ntp.c 	long		nsec;	/* nanoseconds */
nsec              817 kernel/time/ntp.c 		.nsec = ts.tv_nsec
nsec              820 kernel/time/ntp.c 	if (norm.nsec > (NSEC_PER_SEC >> 1)) {
nsec              821 kernel/time/ntp.c 		norm.nsec -= NSEC_PER_SEC;
nsec              904 kernel/time/ntp.c 	ftemp = div_s64(((s64)(-freq_norm.nsec)) << NTP_SCALE_SHIFT,
nsec             1008 kernel/time/ntp.c 			(freq_norm.nsec > MAXFREQ * freq_norm.sec) ||
nsec             1009 kernel/time/ntp.c 			(freq_norm.nsec < -MAXFREQ * freq_norm.sec)) {
nsec             1027 kernel/time/ntp.c 	hardpps_update_phase(pts_norm.nsec);
nsec              460 kernel/time/time.c struct timespec ns_to_timespec(const s64 nsec)
nsec              465 kernel/time/time.c 	if (!nsec)
nsec              468 kernel/time/time.c 	ts.tv_sec = div_s64_rem(nsec, NSEC_PER_SEC, &rem);
nsec              485 kernel/time/time.c struct timeval ns_to_timeval(const s64 nsec)
nsec              487 kernel/time/time.c 	struct timespec ts = ns_to_timespec(nsec);
nsec              497 kernel/time/time.c struct __kernel_old_timeval ns_to_kernel_old_timeval(const s64 nsec)
nsec              499 kernel/time/time.c 	struct timespec64 ts = ns_to_timespec64(nsec);
nsec              523 kernel/time/time.c void set_normalized_timespec64(struct timespec64 *ts, time64_t sec, s64 nsec)
nsec              525 kernel/time/time.c 	while (nsec >= NSEC_PER_SEC) {
nsec              531 kernel/time/time.c 		asm("" : "+rm"(nsec));
nsec              532 kernel/time/time.c 		nsec -= NSEC_PER_SEC;
nsec              535 kernel/time/time.c 	while (nsec < 0) {
nsec              536 kernel/time/time.c 		asm("" : "+rm"(nsec));
nsec              537 kernel/time/time.c 		nsec += NSEC_PER_SEC;
nsec              541 kernel/time/time.c 	ts->tv_nsec = nsec;
nsec              551 kernel/time/time.c struct timespec64 ns_to_timespec64(const s64 nsec)
nsec              556 kernel/time/time.c 	if (!nsec)
nsec              559 kernel/time/time.c 	ts.tv_sec = div_s64_rem(nsec, NSEC_PER_SEC, &rem);
nsec              629 kernel/time/time.c __timespec64_to_jiffies(u64 sec, long nsec)
nsec              631 kernel/time/time.c 	nsec = nsec + TICK_NSEC - 1;
nsec              635 kernel/time/time.c 		nsec = 0;
nsec              638 kernel/time/time.c 		(((u64)nsec * NSEC_CONVERSION) >>
nsec              644 kernel/time/time.c __timespec_to_jiffies(unsigned long sec, long nsec)
nsec              646 kernel/time/time.c 	return __timespec64_to_jiffies((u64)sec, nsec);
nsec               14 kernel/time/timecounter.c 	tc->nsec = start_tstamp;
nsec               54 kernel/time/timecounter.c 	u64 nsec;
nsec               57 kernel/time/timecounter.c 	nsec = timecounter_read_delta(tc);
nsec               58 kernel/time/timecounter.c 	nsec += tc->nsec;
nsec               59 kernel/time/timecounter.c 	tc->nsec = nsec;
nsec               61 kernel/time/timecounter.c 	return nsec;
nsec               83 kernel/time/timecounter.c 	u64 nsec = tc->nsec, frac = tc->frac;
nsec               92 kernel/time/timecounter.c 		nsec -= cc_cyc2ns_backwards(tc->cc, delta, tc->mask, frac);
nsec               94 kernel/time/timecounter.c 		nsec += cyclecounter_cyc2ns(tc->cc, delta, tc->mask, &frac);
nsec               97 kernel/time/timecounter.c 	return nsec;
nsec              361 kernel/time/timekeeping.c 	u64 nsec;
nsec              363 kernel/time/timekeeping.c 	nsec = delta * tkr->mult + tkr->xtime_nsec;
nsec              364 kernel/time/timekeeping.c 	nsec >>= tkr->shift;
nsec              367 kernel/time/timekeeping.c 	return nsec + arch_gettimeoffset();
nsec              633 kernel/time/timekeeping.c 	u32 nsec;
nsec              643 kernel/time/timekeeping.c 	nsec = (u32) tk->wall_to_monotonic.tv_nsec;
nsec              644 kernel/time/timekeeping.c 	tk->tkr_mono.base = ns_to_ktime(seconds * NSEC_PER_SEC + nsec);
nsec              651 kernel/time/timekeeping.c 	nsec += (u32)(tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift);
nsec              652 kernel/time/timekeeping.c 	if (nsec >= NSEC_PER_SEC)
nsec              885 kernel/time/timekeeping.c 	u64 nsec;
nsec              892 kernel/time/timekeeping.c 		nsec = timekeeping_get_ns(&tk->tkr_mono);
nsec              899 kernel/time/timekeeping.c 	timespec64_add_ns(ts, nsec + tomono.tv_nsec);
nsec             1682 kernel/time/timekeeping.c 	u64 cycle_now, nsec;
nsec             1706 kernel/time/timekeeping.c 	nsec = clocksource_stop_suspend_timing(clock, cycle_now);
nsec             1707 kernel/time/timekeeping.c 	if (nsec > 0) {
nsec             1708 kernel/time/timekeeping.c 		ts_delta = ns_to_timespec64(nsec);
nsec               20 kernel/time/vsyscall.c 	u64 nsec, sec;
nsec               35 kernel/time/vsyscall.c 	nsec = tk->tkr_mono.xtime_nsec;
nsec               36 kernel/time/vsyscall.c 	nsec += ((u64)tk->wall_to_monotonic.tv_nsec << tk->tkr_mono.shift);
nsec               37 kernel/time/vsyscall.c 	while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) {
nsec               38 kernel/time/vsyscall.c 		nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift);
nsec               41 kernel/time/vsyscall.c 	vdso_ts->nsec	= nsec;
nsec               47 kernel/time/vsyscall.c 	nsec	+= (u64)tk->monotonic_to_boot.tv_nsec << tk->tkr_mono.shift;
nsec               53 kernel/time/vsyscall.c 	while (nsec >= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift)) {
nsec               54 kernel/time/vsyscall.c 		nsec -= (((u64)NSEC_PER_SEC) << tk->tkr_mono.shift);
nsec               57 kernel/time/vsyscall.c 	vdso_ts->nsec	= nsec;
nsec               62 kernel/time/vsyscall.c 	vdso_ts->nsec	= tk->tkr_raw.xtime_nsec;
nsec               67 kernel/time/vsyscall.c 	vdso_ts->nsec	= tk->tkr_mono.xtime_nsec;
nsec               74 kernel/time/vsyscall.c 	u64 nsec;
nsec               85 kernel/time/vsyscall.c 	vdso_ts->nsec	= tk->tkr_mono.xtime_nsec;
nsec               90 kernel/time/vsyscall.c 	vdso_ts->nsec	= tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift;
nsec               95 kernel/time/vsyscall.c 	nsec		= tk->tkr_mono.xtime_nsec >> tk->tkr_mono.shift;
nsec               96 kernel/time/vsyscall.c 	nsec		= nsec + tk->wall_to_monotonic.tv_nsec;
nsec               97 kernel/time/vsyscall.c 	vdso_ts->sec	+= __iter_div_u64_rem(nsec, NSEC_PER_SEC, &vdso_ts->nsec);
nsec              244 kernel/trace/trace.c unsigned long long ns2usecs(u64 nsec)
nsec              246 kernel/trace/trace.c 	nsec += 500;
nsec              247 kernel/trace/trace.c 	do_div(nsec, 1000);
nsec              248 kernel/trace/trace.c 	return nsec;
nsec             7134 kernel/trace/trace.c 		u32 nsec;
nsec             7136 kernel/trace/trace.c 		nsec = do_div(sec, NSEC_PER_SEC);
nsec             7137 kernel/trace/trace.c 		seq_printf(m, "[%5llu.%06u] %s%s", sec, nsec / 1000,
nsec              848 kernel/trace/trace.h extern unsigned long long ns2usecs(u64 nsec);
nsec              669 lib/crc32test.c 	u64 nsec;
nsec              688 lib/crc32test.c 	nsec = ktime_get_ns();
nsec              694 lib/crc32test.c 	nsec = ktime_get_ns() - nsec;
nsec              705 lib/crc32test.c 			bytes, nsec);
nsec              751 lib/crc32test.c 	u64 nsec;
nsec              773 lib/crc32test.c 	nsec = ktime_get_ns();
nsec              783 lib/crc32test.c 	nsec = ktime_get_ns() - nsec;
nsec              795 lib/crc32test.c 			bytes, nsec);
nsec               51 lib/vdso/gettimeofday.c 		ns = vdso_ts->nsec;
nsec               80 lib/vdso/gettimeofday.c 		ts->tv_nsec = vdso_ts->nsec;
nsec               34 security/selinux/netif.c 	struct netif_security_struct nsec;
nsec               75 security/selinux/netif.c 		if (net_eq(netif->nsec.ns, ns) &&
nsec               76 security/selinux/netif.c 		    netif->nsec.ifindex == ifindex)
nsec               98 security/selinux/netif.c 	idx = sel_netif_hashfn(netif->nsec.ns, netif->nsec.ifindex);
nsec              153 security/selinux/netif.c 		*sid = netif->nsec.sid;
nsec              162 security/selinux/netif.c 		new->nsec.ns = ns;
nsec              163 security/selinux/netif.c 		new->nsec.ifindex = ifindex;
nsec              164 security/selinux/netif.c 		new->nsec.sid = *sid;
nsec              199 security/selinux/netif.c 		*sid = netif->nsec.sid;
nsec               45 security/selinux/netnode.c 	struct netnode_security_struct nsec;
nsec              122 security/selinux/netnode.c 		if (node->nsec.family == family)
nsec              125 security/selinux/netnode.c 				if (node->nsec.addr.ipv4 == *(__be32 *)addr)
nsec              129 security/selinux/netnode.c 				if (ipv6_addr_equal(&node->nsec.addr.ipv6,
nsec              150 security/selinux/netnode.c 	switch (node->nsec.family) {
nsec              152 security/selinux/netnode.c 		idx = sel_netnode_hashfn_ipv4(node->nsec.addr.ipv4);
nsec              155 security/selinux/netnode.c 		idx = sel_netnode_hashfn_ipv6(&node->nsec.addr.ipv6);
nsec              199 security/selinux/netnode.c 		*sid = node->nsec.sid;
nsec              210 security/selinux/netnode.c 			new->nsec.addr.ipv4 = *(__be32 *)addr;
nsec              216 security/selinux/netnode.c 			new->nsec.addr.ipv6 = *(struct in6_addr *)addr;
nsec              223 security/selinux/netnode.c 		new->nsec.family = family;
nsec              224 security/selinux/netnode.c 		new->nsec.sid = *sid;
nsec              257 security/selinux/netnode.c 		*sid = node->nsec.sid;
nsec              101 sound/core/seq/seq_timer.h static inline void snd_seq_inc_time_nsec(snd_seq_real_time_t *tm, unsigned long nsec)
nsec              103 sound/core/seq/seq_timer.h 	tm->tv_nsec  += nsec;
nsec              525 sound/hda/hdac_stream.c 	u64 nsec;
nsec              543 sound/hda/hdac_stream.c 	nsec = 0; /* audio time is elapsed time since trigger */
nsec              544 sound/hda/hdac_stream.c 	timecounter_init(tc, cc, nsec);
nsec               63 sound/pci/hda/hda_controller.c 				u64 nsec)
nsec               70 sound/pci/hda/hda_controller.c 		return nsec;
nsec               77 sound/pci/hda/hda_controller.c 		return nsec + codec_nsecs;
nsec               79 sound/pci/hda/hda_controller.c 	return (nsec > codec_nsecs) ? nsec - codec_nsecs : 0;
nsec              502 sound/pci/hda/hda_controller.c 	u64 nsec;
nsec              509 sound/pci/hda/hda_controller.c 		nsec = timecounter_read(&azx_dev->core.tc);
nsec              510 sound/pci/hda/hda_controller.c 		nsec = div_u64(nsec, 3); /* can be optimized */
nsec              512 sound/pci/hda/hda_controller.c 			nsec = azx_adjust_codec_delay(substream, nsec);
nsec              514 sound/pci/hda/hda_controller.c 		*audio_ts = ns_to_timespec(nsec);
nsec             1229 sound/soc/intel/skylake/skl-pcm.c 				u64 nsec)
nsec             1236 sound/soc/intel/skylake/skl-pcm.c 		return nsec;
nsec             1243 sound/soc/intel/skylake/skl-pcm.c 		return nsec + codec_nsecs;
nsec             1245 sound/soc/intel/skylake/skl-pcm.c 	return (nsec > codec_nsecs) ? nsec - codec_nsecs : 0;
nsec             1255 sound/soc/intel/skylake/skl-pcm.c 	u64 nsec;
nsec             1262 sound/soc/intel/skylake/skl-pcm.c 		nsec = timecounter_read(&hstr->tc);
nsec             1263 sound/soc/intel/skylake/skl-pcm.c 		nsec = div_u64(nsec, 3); /* can be optimized */
nsec             1265 sound/soc/intel/skylake/skl-pcm.c 			nsec = skl_adjust_codec_delay(substream, nsec);
nsec             1267 sound/soc/intel/skylake/skl-pcm.c 		*audio_ts = ns_to_timespec(nsec);
nsec              539 tools/perf/util/time-utils.c 	    nsec = timestamp % NSEC_PER_SEC;
nsec              541 tools/perf/util/time-utils.c 	return scnprintf(buf, sz, "%" PRIu64 ".%09" PRIu64, sec, nsec);
nsec               19 tools/testing/radix-tree/benchmark.c 	long long nsec;
nsec               38 tools/testing/radix-tree/benchmark.c 	nsec = (finish.tv_sec - start.tv_sec) * NSEC_PER_SEC +
nsec               42 tools/testing/radix-tree/benchmark.c 	if (loops == 1 && nsec * 5 < NSEC_PER_SEC) {
nsec               43 tools/testing/radix-tree/benchmark.c 		loops = NSEC_PER_SEC / nsec / 4 + 1;
nsec               48 tools/testing/radix-tree/benchmark.c 	nsec /= loops;
nsec               49 tools/testing/radix-tree/benchmark.c 	return nsec;
nsec               57 tools/testing/radix-tree/benchmark.c 	long long nsec;
nsec               66 tools/testing/radix-tree/benchmark.c 	nsec = (finish.tv_sec - start.tv_sec) * NSEC_PER_SEC +
nsec               70 tools/testing/radix-tree/benchmark.c 		size, step, nsec);
nsec               78 tools/testing/radix-tree/benchmark.c 	long long nsec;
nsec               87 tools/testing/radix-tree/benchmark.c 	nsec = (finish.tv_sec - start.tv_sec) * NSEC_PER_SEC +
nsec               91 tools/testing/radix-tree/benchmark.c 		size, step, nsec);
nsec               99 tools/testing/radix-tree/benchmark.c 	long long nsec;
nsec              108 tools/testing/radix-tree/benchmark.c 	nsec = (finish.tv_sec - start.tv_sec) * NSEC_PER_SEC +
nsec              112 tools/testing/radix-tree/benchmark.c 		size, step, nsec);
nsec              355 tools/testing/selftests/mqueue/mq_perf_tests.c 		nsec = ((middle.tv_sec - start.tv_sec) * 1000000000) + \
nsec              357 tools/testing/selftests/mqueue/mq_perf_tests.c 		send_total.tv_nsec += nsec; \
nsec              362 tools/testing/selftests/mqueue/mq_perf_tests.c 		nsec = ((end.tv_sec - middle.tv_sec) * 1000000000) + \
nsec              364 tools/testing/selftests/mqueue/mq_perf_tests.c 		recv_total.tv_nsec += nsec; \
nsec              430 tools/testing/selftests/mqueue/mq_perf_tests.c 	unsigned long long nsec;
nsec              462 tools/testing/selftests/mqueue/mq_perf_tests.c 	nsec = ((unsigned long long)send_total.tv_sec * 1000000000 +
nsec              464 tools/testing/selftests/mqueue/mq_perf_tests.c 	printf("\t\t\t\t\t\t%lld nsec/msg\n", nsec);
nsec              467 tools/testing/selftests/mqueue/mq_perf_tests.c 	nsec = ((unsigned long long)recv_total.tv_sec * 1000000000 +
nsec              469 tools/testing/selftests/mqueue/mq_perf_tests.c 	printf("\t\t\t\t\t\t%lld nsec/msg\n", nsec);
nsec              488 tools/testing/selftests/mqueue/mq_perf_tests.c 		nsec = ((unsigned long long)(end.tv_sec - start.tv_sec) *
nsec              490 tools/testing/selftests/mqueue/mq_perf_tests.c 		printf("done.\t\t%lld.%llds\n", nsec / 1000000000,
nsec              491 tools/testing/selftests/mqueue/mq_perf_tests.c 		       nsec % 1000000000);
nsec              501 tools/testing/selftests/mqueue/mq_perf_tests.c 		nsec = ((unsigned long long)send_total.tv_sec * 1000000000 +
nsec              503 tools/testing/selftests/mqueue/mq_perf_tests.c 		printf("\t\t\t\t\t\t%lld nsec/msg\n", nsec);
nsec              506 tools/testing/selftests/mqueue/mq_perf_tests.c 		nsec = ((unsigned long long)recv_total.tv_sec * 1000000000 +
nsec              508 tools/testing/selftests/mqueue/mq_perf_tests.c 		printf("\t\t\t\t\t\t%lld nsec/msg\n", nsec);
nsec              514 tools/testing/selftests/mqueue/mq_perf_tests.c 		nsec = ((unsigned long long)(end.tv_sec - start.tv_sec) *
nsec              516 tools/testing/selftests/mqueue/mq_perf_tests.c 		printf("done.\t\t%lld.%llds\n", nsec / 1000000000,
nsec              517 tools/testing/selftests/mqueue/mq_perf_tests.c 		       nsec % 1000000000);
nsec              111 tools/testing/selftests/ptp/testptp.c 	return t->sec * 1000000000LL + t->nsec;
nsec              360 tools/testing/selftests/ptp/testptp.c 			       event.t.sec, event.t.nsec);
nsec              400 tools/testing/selftests/ptp/testptp.c 		perout_request.start.nsec = 0;
nsec              402 tools/testing/selftests/ptp/testptp.c 		perout_request.period.nsec = perout;
nsec              459 tools/testing/selftests/ptp/testptp.c 				(pct+2*i)->sec, (pct+2*i)->nsec);
nsec              461 tools/testing/selftests/ptp/testptp.c 				(pct+2*i+1)->sec, (pct+2*i+1)->nsec);
nsec              463 tools/testing/selftests/ptp/testptp.c 				(pct+2*i+2)->sec, (pct+2*i+2)->nsec);