Searched refs:curtime (Results 1 - 8 of 8) sorted by relevance

/linux-master/samples/bpf/
H A Dhbm_edt_kern.c59 unsigned long long curtime, sendtime; local
89 curtime = bpf_ktime_get_ns();
93 delta = qdp->lasttime - curtime;
97 qdp->lasttime = curtime - BURST_SIZE_NS;
156 hbm_update_stats(qsp, len, curtime, congestion_flag, drop_flag,
H A Dhbm_out_kern.c63 unsigned long long curtime; local
91 curtime = bpf_ktime_get_ns();
96 delta = curtime - qdp->lasttime;
97 /* delta < 0 implies that another process with a curtime greater
102 qdp->lasttime = curtime;
167 hbm_update_stats(qsp, len, curtime, congestion_flag, drop_flag,
H A Dhbm_kern.h146 unsigned long long curtime; local
148 curtime = bpf_ktime_get_ns();
150 qdp->lasttime = curtime - BURST_SIZE_NS; // support initial burst
157 unsigned long long curtime,
173 qsp->firstPacketTime = curtime;
174 qsp->lastPacketTime = curtime;
155 hbm_update_stats(struct hbm_queue_stats *qsp, int len, unsigned long long curtime, bool congestion_flag, bool drop_flag, bool cwr_flag, bool ecn_ce_flag, struct hbm_pkt_info *pkti, int credit) argument
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_spin_lock.c54 unsigned long long curtime; local
83 curtime = bpf_ktime_get_ns();
85 q->credit += CREDIT_PER_NS(curtime - q->lasttime, q->rate);
86 q->lasttime = curtime;
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dsched.c1022 unsigned long long curtime; local
1028 curtime = ktime_get_ns();
1029 delta = curtime - ctx->stats.tstamp;
1037 ctx->stats.tstamp = curtime;
1046 spu->stats.tstamp = curtime;
/linux-master/sound/pci/emu10k1/
H A Dio.c687 unsigned int newtime = 0, curtime; local
689 curtime = inl(emu->port + WC) >> 6;
694 if (newtime != curtime)
699 curtime = newtime;
/linux-master/drivers/staging/rtl8712/
H A Drtl871x_mlme.c187 u32 curtime = jiffies; local
192 pibss[3] = (u8)(curtime & 0xff);
193 pibss[4] = (u8)((curtime >> 8) & 0xff);
194 pibss[5] = (u8)((curtime >> 16) & 0xff);
/linux-master/drivers/staging/rtl8723bs/core/
H A Drtw_mlme.c289 unsigned long curtime = jiffies; local
294 pibss[3] = (u8)(curtime & 0xff) ;/* p[0]; */
295 pibss[4] = (u8)((curtime>>8) & 0xff) ;/* p[1]; */
296 pibss[5] = (u8)((curtime>>16) & 0xff) ;/* p[2]; */

Completed in 138 milliseconds