Searched refs:now (Results 126 - 150 of 658) sorted by relevance

1234567891011>>

/linux-master/fs/jffs2/
H A Ddir.c234 uint32_t now = JFFS2_NOW(); local
237 dentry->d_name.len, dead_f, now);
242 inode_set_ctime_to_ts(dir_i, ITIME(now)));
255 uint32_t now; local
268 now = JFFS2_NOW();
269 ret = jffs2_do_link(c, dir_f, f->inocache->ino, type, dentry->d_name.name, dentry->d_name.len, now);
277 inode_set_ctime_to_ts(dir_i, ITIME(now)));
312 * Just the node will do for now, though
472 * Just the node will do for now, though
601 uint32_t now local
781 uint32_t now; local
[all...]
/linux-master/kernel/time/
H A Dtimer_migration.c152 * has to walk the hierarchy. Both CPUs (CPU0 and CPU1) now walk the
248 * 3. Now the idle state is propagated up to GRP1:0. As this is now the last
528 * @now: timer base monotonic
544 u64 now; member in struct:tmigr_remote_data
586 * Return the next event (with the expiry equal or before @now)
591 u64 now)
595 if (!evt || now < evt->nextevt.expires)
657 * into the parent group's timerqueue but can now be handled by the
897 static void tmigr_handle_remote_cpu(unsigned int cpu, u64 now, argument
919 * updated and there are no timers to expire right now
590 tmigr_next_expired_groupevt(struct tmigr_group *group, u64 now) argument
1004 u64 now; local
[all...]
/linux-master/drivers/block/drbd/
H A Ddrbd_req.c682 * __drbd_make_request, because we now may set the bit
685 * Add req to the (now) current epoch (barrier). */
739 /* Was not set PENDING, no longer QUEUED, so is now DONE
862 * this is bad, because if the connection is lost now,
1332 /* no more giving up req_lock from now on! */
1426 * (e.g. remote read), req may already be invalid now.
1549 * Try again now, without looking for new requests,
1630 unsigned long now, unsigned long ent,
1635 if (!time_after(now, net_req->pre_send_jif + ent))
1638 if (time_in_range(now, connectio
1628 net_timeout_reached(struct drbd_request *net_req, struct drbd_connection *connection, unsigned long now, unsigned long ent, unsigned int ko_count, unsigned int timeout) argument
1708 unsigned long now; local
[all...]
/linux-master/net/netfilter/
H A Dxt_limit.c67 unsigned long now; local
76 now = jiffies;
77 credit_increase += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY;
/linux-master/block/
H A Dblk-stat.h69 void blk_stat_add(struct request *rq, u64 now);
/linux-master/arch/powerpc/include/asm/
H A Dtime.h111 void timer_rearm_host_dec(u64 now);
/linux-master/net/atm/
H A Dmpoa_proc.c137 time64_t now; local
147 now = ktime_get_seconds();
150 unsigned long seconds_delta = now - in_entry->time;
170 unsigned long seconds_delta = now - eg_entry->time;
/linux-master/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c138 s64 now; local
145 now = ixp_systime_read(regs);
146 now += delta;
147 ixp_systime_write(regs, now);
/linux-master/kernel/sched/
H A Dstats.h220 * Called when a task finally hits the CPU. We can now calculate how
226 unsigned long long now, delta = 0; local
231 now = rq_clock(rq);
232 delta = now - t->sched_info.last_queued;
235 t->sched_info.last_arrival = now;
257 * sched_info_enqueue() to mark that it has now again started waiting on
279 * prev now departs the CPU. It's not interesting to record
/linux-master/drivers/clk/meson/
H A Dsclk-div.c55 unsigned long maxdiv, now, parent_now; local
82 now = DIV_ROUND_UP_ULL((u64)parent_now, i);
84 if (abs(rate - now) < abs(rate - best)) {
86 best = now;
/linux-master/tools/testing/kunit/
H A Dkunit_printer.py26 ts = datetime.datetime.now().strftime('%H:%M:%S')
/linux-master/arch/alpha/lib/
H A Dstrncpy.S27 mov $16, $0 # set return value now
/linux-master/net/ipv4/
H A Dtcp_lp.c161 m -= rhz >> 6; /* m is now error in remote HZ est */
255 mowd -= lp->sowd >> 3; /* m is now error in owd est */
275 u32 now = tcp_time_stamp_ts(tp); local
282 delta = now - tp->rx_opt.rcv_tsecr;
287 if (lp->last_drop && (now - lp->last_drop < lp->inference))
324 lp->last_drop = now;
H A Dinetpeer.c251 * The rate information is held in the inet_peer entries now.
269 unsigned long now, token; local
276 now = jiffies;
277 token += now - peer->rate_last;
278 peer->rate_last = now;
H A Dtcp_htcp.c107 u32 now = tcp_jiffies32; local
121 ca->lasttime = now;
128 now - ca->lasttime >= ca->minRTT &&
130 __u32 cur_Bi = ca->packetcount * HZ / (now - ca->lasttime);
143 ca->lasttime = now;
206 * were getting just too full now).
/linux-master/security/keys/
H A Dgc.c54 time64_t now = ktime_get_real_seconds(); local
56 kenter("%lld", gc_at - now);
58 if (gc_at <= now || test_bit(KEY_GC_REAP_KEYTYPE, &key_gc_flags)) {
64 expires = jiffies + (gc_at - now) * HZ;
298 * fulfilled and that people aren't now looking at dead or
/linux-master/net/rxrpc/
H A Doutput.c66 static void rxrpc_set_keepalive(struct rxrpc_call *call, ktime_t now) argument
151 ktime_t now, enum rxrpc_rtt_tx_trace why)
164 call->rtt_sent_at[rtt_slot] = now;
184 ktime_t now; local
219 now = ktime_get_real();
221 rxrpc_begin_rtt_probe(call, txb->serial, now, rxrpc_rtt_tx_ping);
223 call->peer->rtt_last_req = now;
224 rxrpc_set_keepalive(call, now);
401 ktime_t now = ktime_get_real(); local
404 call->tx_last_sent = now;
150 rxrpc_begin_rtt_probe(struct rxrpc_call *call, rxrpc_serial_t serial, ktime_t now, enum rxrpc_rtt_tx_trace why) argument
[all...]
/linux-master/fs/bcachefs/
H A Drebalance.c165 * We'll now need a full scan before this extent is picked up
300 u64 now = atomic64_read(&clock->now); local
306 r->wait_iotime_end = now + (min_member_capacity >> 6);
309 r->wait_iotime_start = now;
412 u64 now = atomic64_read(&c->io_clock[WRITE].now); local
419 bch2_prt_human_readable_s64(out, (r->wait_iotime_end - now) << 9);
/linux-master/drivers/net/wireless/broadcom/b43/
H A Ddebugfs.c407 static unsigned long calc_expire_secs(unsigned long now, argument
413 if (time_after(now, expire))
415 if (expire < now) {
418 now -= MAX_JIFFY_OFFSET;
420 B43_WARN_ON(expire < now);
422 return (expire - now) / HZ;
432 unsigned long now = jiffies; local
446 calc_expire_secs(now, lo->txctl_measured_time,
451 calc_expire_secs(now, lo->pwr_vec_read_time,
465 calc_expire_secs(now, ca
[all...]
/linux-master/drivers/thermal/intel/
H A Dtherm_throt.c304 u64 now = get_jiffies_64(); local
321 if (time_before64(now, state->next_check) &&
325 state->next_check = now + CHECK_INTERVAL;
378 u64 now; local
381 now = get_jiffies_64();
422 state->last_interrupt_time = now;
427 throttle_time = jiffies_delta_to_msecs(now - state->last_interrupt_time);
440 u64 now = get_jiffies_64(); local
449 if (time_before64(now, state->next_check))
452 state->next_check = now
[all...]
/linux-master/tools/testing/selftests/net/forwarding/
H A Dsch_red.sh365 local now
385 now=$(get_nmirrored)
386 ((now >= base + 100))
387 check_err $? "Dropped packets not observed: 100 expected, $((now - base)) seen"
394 now=$(get_nmirrored)
395 ((now == base))
396 check_err $? "Dropped packets still observed: 0 expected, $((now - base)) seen"
/linux-master/drivers/rtc/
H A Dsysfs.c156 time64_t now, alarm; local
169 now = rtc_tm_to_time64(&alm.time);
185 alarm += now;
186 if (alarm > now || push) {
209 alarm = now + 300;
H A Drtc-88pm80x.c76 static void rtc_next_alarm_time(struct rtc_time *next, struct rtc_time *now, argument
82 next->tm_year = now->tm_year;
83 next->tm_mon = now->tm_mon;
84 next->tm_mday = now->tm_mday;
89 now_time = rtc_tm_to_time64(now);
194 dev_dbg(info->dev, "%s, now time : %lu\n", __func__, ticks);
/linux-master/drivers/net/wireless/silabs/wfx/
H A Dqueue.c179 ktime_t now = ktime_get(); local
189 if (ktime_after(now, ktime_add_ms(tx_priv->xmit_timestamp, limit_ms))) {
196 req->packet_id, ktime_ms_delta(now, tx_priv->xmit_timestamp));
204 ktime_t now = ktime_get(); local
207 return ktime_us_delta(now, tx_priv->xmit_timestamp);
/linux-master/fs/fat/
H A Dmisc.c314 int fat_truncate_time(struct inode *inode, struct timespec64 *now, int flags) argument
322 if (now == NULL) {
323 now = &ts;
328 inode_set_atime_to_ts(inode, fat_truncate_atime(sbi, now));
336 inode_set_ctime_to_ts(inode, fat_truncate_mtime(sbi, now)));

Completed in 246 milliseconds

1234567891011>>