/linux-master/scripts/kconfig/ |
H A D | conf.c | 103 struct timeval now; local 109 gettimeofday(&now, NULL); 110 seed = (now.tv_sec + 1) * (now.tv_usec + 1);
|
/linux-master/include/linux/ |
H A D | timekeeping.h | 347 extern int update_persistent_clock64(struct timespec64 now);
|
/linux-master/net/hsr/ |
H A D | hsr_framereg.c | 153 unsigned long now; local 166 now = jiffies; 168 new_node->time_in[i] = now; 169 new_node->time_out[i] = now;
|
/linux-master/net/netfilter/ipvs/ |
H A D | ip_vs_lblcr.c | 25 * now - serverSet[dest_ip].lastMod > T then 29 * serverSet[dest_ip].lastMod <- now; 423 unsigned long now = jiffies; local 434 sysctl_lblcr_expiration(svc), now)) 455 * The full expiration check is for this purpose now. 461 unsigned long now = jiffies; local 488 if (time_before(now, en->lastuse+ENTRY_TIMEOUT))
|
/linux-master/net/bridge/ |
H A D | br_fdb.c | 101 unsigned long now = jiffies; local 136 ci.ndm_used = jiffies_to_clock_t(now - fdb->used); 138 ci.ndm_updated = jiffies_to_clock_t(now - fdb->updated); 547 unsigned long now = jiffies; local 560 if (time_after(this_timer, now)) 562 this_timer - now); 570 if (time_after(this_timer, now)) { 571 work_delay = min(work_delay, this_timer - now); 907 unsigned long now = jiffies; local 910 if (now ! [all...] |
H A D | br_mdb.c | 727 unsigned long now = jiffies; local 733 now + brmctx->multicast_membership_interval); 750 unsigned long now = jiffies; local 775 now + brmctx->multicast_membership_interval); 837 unsigned long now = jiffies; local 854 mod_timer(&ent->timer, now + br_multicast_gmi(brmctx)); 941 unsigned long now = jiffies; local 954 now + brmctx->multicast_membership_interval); 974 unsigned long now = jiffies; local 1006 now [all...] |
/linux-master/Documentation/networking/ |
H A D | mac80211-auth-assoc-deauth.txt | 73 note left of userspace: associated now
|
/linux-master/drivers/net/ethernet/renesas/ |
H A D | ravb_ptp.c | 131 u64 now = ktime_to_ns(timespec64_to_ktime(ts)); local 133 ts = ns_to_timespec64(now + delta);
|
/linux-master/drivers/rtc/ |
H A D | rtc-mxc_v2.c | 147 const time64_t now = readl(pdata->ioaddr + SRTC_LPSCMR); local 149 rtc_time64_to_tm(now, tm);
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_bitmap.c | 36 * We want to support >= peta byte of backend storage, while for now still using 48 * 64bit long words, but I rather stay with unsigned long for now. 500 /* If mask != 0, we are not exactly aligned, so bm now points 536 /* If mask != 0, we are not exactly aligned, so bm now points 1068 unsigned long now; local 1112 now = jiffies; 1180 unsigned int ms = jiffies_to_msecs(jiffies - now); 1197 now = jiffies; 1201 jiffies - now); 1203 now [all...] |
/linux-master/drivers/crypto/ |
H A D | exynos-rng.c | 176 unsigned long now = jiffies; local 180 if (time_before(now, next_seeding) &&
|
/linux-master/arch/m68k/fpsp040/ |
H A D | util.S | 194 bra set_sign |now go set the sign 197 bra set_sign |now go set the sign 228 bra set_sign |now go set the sign 524 bra uset_sign |now go set the sign 528 bra uset_sign |now go set the sign 560 bra uset_sign |now go set the sign
|
/linux-master/drivers/platform/surface/aggregator/ |
H A D | ssh_request_layer.c | 426 static void ssh_rtl_timeout_reaper_mod(struct ssh_rtl *rtl, ktime_t now, argument 429 unsigned long delta = msecs_to_jiffies(ktime_ms_delta(expires, now)); 521 /* If the request hasn't been completed yet, we will do this now. */ 599 * from the queue, where we are now guaranteed that the packet is or has 825 ktime_t now = ktime_get_coarse_boottime(); local 847 if (ktime_after(expires, now)) { 857 * We have now marked the packet as locked. Thus it cannot be 891 next = max(next, ktime_add(now, SSH_RTL_REQUEST_TIMEOUT_RESOLUTION)); 893 ssh_rtl_timeout_reaper_mod(rtl, now, next); 1225 * We have now guarantee [all...] |
/linux-master/drivers/clocksource/ |
H A D | sh_cmt.c | 429 u32 now = 0; local 432 now = sh_cmt_get_counter(ch, &has_wrapped); 445 now = 0; 451 new_match = now + value + delay; 457 now = sh_cmt_get_counter(ch, &has_wrapped); 481 if (now < new_match) {
|
/linux-master/drivers/net/wireguard/ |
H A D | noise.c | 213 * keypair can now be used. 499 struct timespec64 now; local 501 ktime_get_real_ts64(&now); 508 now.tv_nsec = ALIGN_DOWN(now.tv_nsec, 512 *(__be64 *)output = cpu_to_be64(0x400000000000000aULL + now.tv_sec); 513 *(__be32 *)(output + sizeof(__be64)) = cpu_to_be32(now.tv_nsec);
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_sensorhub_ring.c | 425 const s64 now = cros_ec_get_time_ns(); local 466 now); 504 now); 506 if (*current_timestamp - now > 0) { 512 *current_timestamp - now; 523 out->timestamp = now; 592 * we're not looking at right now.
|
/linux-master/arch/x86/kernel/ |
H A D | hpet.c | 300 unsigned int cfg, cmp, now; local 306 now = hpet_readl(HPET_COUNTER); 307 cmp = now + (unsigned int)delta; 897 u64 start, now, t1; local 913 now = rdtsc(); 914 } while ((now - start) < 200000UL); 963 * It's only 20 years now that hardware people have been asked to provide
|
/linux-master/arch/x86/kvm/ |
H A D | lapic.c | 1534 ktime_t remaining, now; local 1544 now = ktime_get(); 1545 remaining = ktime_sub(apic->lapic_timer.target_expiration, now); 1942 ktime_t now; local 1949 now = ktime_get(); 1957 expire = ktime_add_ns(now, ns); 1973 ktime_t now, remaining; local 1980 now = ktime_get(); 1981 remaining = ktime_sub(apic->lapic_timer.target_expiration, now); 1992 apic->lapic_timer.target_expiration = ktime_add_ns(now, ns_remaining_ne 1997 ktime_t now; local 2047 ktime_t now = ktime_get(); local [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 566 * We only have the lower 16 bits of the time now, but we do 568 * long as the difference between the (real) now and the sync 591 /* Recover the fully specified time now, by applying the offset 681 * operation MC_CMD_PTP_OP_GET_TIME_FORMAT. The function now may return 846 struct pps_event_time now; local 851 pps_get_ts(&now); 852 limit = now.ts_real; 856 while ((timespec64_compare(&now.ts_real, &limit) < 0) && 862 update_time = now.ts_real; 865 pps_get_ts(&now); [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | ptp.c | 573 * We only have the lower 16 bits of the time now, but we do 575 * long as the difference between the (real) now and the sync 598 /* Recover the fully specified time now, by applying the offset 694 * operation MC_CMD_PTP_OP_GET_TIME_FORMAT. The function now may return 859 struct pps_event_time now; local 864 pps_get_ts(&now); 865 limit = now.ts_real; 869 while ((timespec64_compare(&now.ts_real, &limit) < 0) && 875 update_time = now.ts_real; 878 pps_get_ts(&now); [all...] |
/linux-master/kernel/sched/ |
H A D | fair.c | 339 * The branch is now connected to its tree so we can 1067 update_cfs_rq_load_avg(now, cfs_rq); 1107 u64 now = rq_clock_task(rq); 1110 delta_exec = now - curr->exec_start; 1114 curr->exec_start = now; 1782 unsigned int now, start; 1784 now = jiffies_to_msecs(jiffies); 1788 if (now - start > MSEC_PER_SEC && 1789 cmpxchg(&pgdat->nbp_rl_start, start, now) == start) 1802 unsigned int now, star 1108 u64 now = rq_clock_task(rq); local 1783 unsigned int now, start; local 1803 unsigned int now, start, th_period, unit_th, th; local 2688 u64 runtime, delta, now; local 3202 unsigned long migrate, next_scan, now = jiffies; local 3495 u64 period, now; local 4101 u64 now; local 4132 u64 now; local 4482 u64 throttled = 0, now, lut; local 4578 update_cfs_rq_load_avg(u64 now, struct cfs_rq *cfs_rq) argument 4737 u64 now = cfs_rq_clock_pelt(cfs_rq); local 9356 u64 now = rq_clock_pelt(rq); local 9433 unsigned long now = jiffies; local 11916 unsigned long now = jiffies; local 12163 unsigned long now = jiffies; local [all...] |
/linux-master/arch/powerpc/kvm/ |
H A D | book3s_hv.c | 187 /* If we're a nested hypervisor, fall back to ordinary IPIs for now */ 322 u64 now; local 333 now = mftb(); 342 kvmppc_core_end_stolen(vc, now); 347 vcpu->arch.busy_stolen += now - vcpu->arch.busy_preempt; 357 u64 now; local 375 now = mftb(); 378 kvmppc_core_start_stolen(vc, now); 382 vcpu->arch.busy_preempt = now; 710 * If it's now to 773 vcore_stolen_time(struct kvmppc_vcore *vc, u64 now) argument 789 __kvmppc_create_dtl_entry(struct kvm_vcpu *vcpu, struct lppaca *vpa, unsigned int pcpu, u64 now, unsigned long stolen) argument 829 u64 now; local 853 kvmppc_update_vpa_dispatch_p9(struct kvm_vcpu *vcpu, struct kvmppc_vcore *vc, u64 now) argument 3157 unsigned long dec_nsec, now; local 3176 u64 now; local 3649 u64 now; local [all...] |
/linux-master/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 580 nfs4_ff_start_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) argument 584 timer->start_time = now; 589 nfs4_ff_end_busy_timer(struct nfs4_ff_busy_timer *timer, ktime_t now) argument 597 timer->start_time = now; 598 return ktime_sub(now, start); 604 ktime_t now) 609 nfs4_ff_start_busy_timer(&layoutstat->busy_timer, now); 611 mirror->start_time = now; 616 if (ktime_to_ms(ktime_sub(now, ffl->last_report_time)) >= 618 ffl->last_report_time = now; 602 nfs4_ff_layoutstat_start_io(struct nfs4_ff_layout_mirror *mirror, struct nfs4_ff_layoutstat *layoutstat, ktime_t now) argument 659 nfs4_ff_layout_stat_io_start_read(struct inode *inode, struct nfs4_ff_layout_mirror *mirror, __u64 requested, ktime_t now) argument 690 nfs4_ff_layout_stat_io_start_write(struct inode *inode, struct nfs4_ff_layout_mirror *mirror, __u64 requested, ktime_t now) argument [all...] |
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | smu10_hwmgr.c | 1033 uint32_t i, now, size = 0; local 1039 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetGfxclkFrequency, &now); 1042 if (now == data->gfx_max_freq_limit/100) 1044 else if (now == data->gfx_min_freq_limit/100) 1053 i == 1 ? now : SMU10_UMD_PSTATE_GFXCLK, 1060 smum_send_msg_to_smc(hwmgr, PPSMC_MSG_GetFclkFrequency, &now); 1067 == now) ? "*" : "");
|
/linux-master/fs/ubifs/ |
H A D | file.c | 475 * request. Write-back cannot be done now, while we have the 547 * folio now. 1166 * Write the page now, so that 1181 * We could now tell 'ubifs_jnl_truncate()' not 1364 * @now: current time 1373 const struct timespec64 *now) 1378 if (!timespec64_equal(&mtime, now) || !timespec64_equal(&ctime, now)) 1432 struct timespec64 now = current_time(inode); local 1436 if (mctime_update_needed(inode, &now)) { 1372 mctime_update_needed(const struct inode *inode, const struct timespec64 *now) argument 1517 struct timespec64 now = current_time(inode); local [all...] |