Searched refs:curtime (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/samples/bpf/ |
D | hbm_edt_kern.c | 59 unsigned long long curtime, sendtime; in _hbm_out_cg() local 89 curtime = bpf_ktime_get_ns(); in _hbm_out_cg() 93 delta = qdp->lasttime - curtime; in _hbm_out_cg() 97 qdp->lasttime = curtime - BURST_SIZE_NS; in _hbm_out_cg() 156 hbm_update_stats(qsp, len, curtime, congestion_flag, drop_flag, in _hbm_out_cg()
|
D | hbm_out_kern.c | 63 unsigned long long curtime; in _hbm_out_cg() local 91 curtime = bpf_ktime_get_ns(); in _hbm_out_cg() 96 delta = curtime - qdp->lasttime; in _hbm_out_cg() 102 qdp->lasttime = curtime; in _hbm_out_cg() 167 hbm_update_stats(qsp, len, curtime, congestion_flag, drop_flag, in _hbm_out_cg()
|
D | hbm_kern.h | 148 unsigned long long curtime; in hbm_init_edt_vqueue() local 150 curtime = bpf_ktime_get_ns(); in hbm_init_edt_vqueue() 152 qdp->lasttime = curtime - BURST_SIZE_NS; // support initial burst in hbm_init_edt_vqueue() 159 unsigned long long curtime, in hbm_update_stats() argument 175 qsp->firstPacketTime = curtime; in hbm_update_stats() 176 qsp->lastPacketTime = curtime; in hbm_update_stats()
|
/Linux-v5.15/tools/testing/selftests/bpf/progs/ |
D | test_spin_lock.c | 53 unsigned long long curtime; in bpf_sping_lock_test() local 82 curtime = bpf_ktime_get_ns(); in bpf_sping_lock_test() 84 q->credit += CREDIT_PER_NS(curtime - q->lasttime, q->rate); in bpf_sping_lock_test() 85 q->lasttime = curtime; in bpf_sping_lock_test()
|
/Linux-v5.15/sound/pci/emu10k1/ |
D | io.c | 467 unsigned int newtime = 0, curtime; in snd_emu10k1_wait() local 469 curtime = inl(emu->port + WC) >> 6; in snd_emu10k1_wait() 474 if (newtime != curtime) in snd_emu10k1_wait() 479 curtime = newtime; in snd_emu10k1_wait()
|
/Linux-v5.15/arch/powerpc/platforms/cell/spufs/ |
D | sched.c | 1023 unsigned long long curtime; in spuctx_switch_state() local 1029 curtime = ktime_get_ns(); in spuctx_switch_state() 1030 delta = curtime - ctx->stats.tstamp; in spuctx_switch_state() 1038 ctx->stats.tstamp = curtime; in spuctx_switch_state() 1047 spu->stats.tstamp = curtime; in spuctx_switch_state()
|
/Linux-v5.15/drivers/staging/rtl8712/ |
D | rtl871x_mlme.c | 187 u32 curtime = jiffies; in r8712_generate_random_ibss() local 192 pibss[3] = (u8)(curtime & 0xff); in r8712_generate_random_ibss() 193 pibss[4] = (u8)((curtime >> 8) & 0xff); in r8712_generate_random_ibss() 194 pibss[5] = (u8)((curtime >> 16) & 0xff); in r8712_generate_random_ibss()
|
/Linux-v5.15/drivers/staging/r8188eu/core/ |
D | rtw_mlme.c | 310 u32 curtime = jiffies; in rtw_generate_random_ibss() local 315 pibss[3] = (u8)(curtime & 0xff);/* p[0]; */ in rtw_generate_random_ibss() 316 pibss[4] = (u8)((curtime >> 8) & 0xff);/* p[1]; */ in rtw_generate_random_ibss() 317 pibss[5] = (u8)((curtime >> 16) & 0xff);/* p[2]; */ in rtw_generate_random_ibss()
|
/Linux-v5.15/drivers/staging/rtl8723bs/core/ |
D | rtw_mlme.c | 297 unsigned long curtime = jiffies; in rtw_generate_random_ibss() local 302 pibss[3] = (u8)(curtime & 0xff) ;/* p[0]; */ in rtw_generate_random_ibss() 303 pibss[4] = (u8)((curtime>>8) & 0xff) ;/* p[1]; */ in rtw_generate_random_ibss() 304 pibss[5] = (u8)((curtime>>16) & 0xff) ;/* p[2]; */ in rtw_generate_random_ibss()
|