Searched refs:t_new (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | hbm.c | 208 struct timeval t0, t_last, t_new; in run_bpf_prog() local 228 if (gettimeofday(&t_new, NULL) < 0) in run_bpf_prog() 230 delta_ms = (t_new.tv_sec - t0.tv_sec) * 1000 + in run_bpf_prog() 231 (t_new.tv_usec - t0.tv_usec)/1000; in run_bpf_prog() 234 delta_time = (t_new.tv_sec - t_last.tv_sec) * 1000000 + in run_bpf_prog() 235 (t_new.tv_usec - t_last.tv_usec); in run_bpf_prog() 238 t_last = t_new; in run_bpf_prog()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | hbm.c | 215 struct timeval t0, t_last, t_new; in run_bpf_prog() local 235 if (gettimeofday(&t_new, NULL) < 0) in run_bpf_prog() 237 delta_ms = (t_new.tv_sec - t0.tv_sec) * 1000 + in run_bpf_prog() 238 (t_new.tv_usec - t0.tv_usec)/1000; in run_bpf_prog() 241 delta_time = (t_new.tv_sec - t_last.tv_sec) * 1000000 + in run_bpf_prog() 242 (t_new.tv_usec - t_last.tv_usec); in run_bpf_prog() 245 t_last = t_new; in run_bpf_prog()
|
/kernel/linux/linux-6.6/tools/perf/util/bpf_skel/ |
H A D | off_cpu.bpf.c | 108 struct task_struct___new *t_new = (void *)t; in get_task_state() local 110 if (bpf_core_field_exists(t_new->__state)) { in get_task_state() 111 return BPF_CORE_READ(t_new, __state); in get_task_state()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | seg6.c | 183 struct in6_addr *val, *t_old, *t_new; in seg6_genl_set_tunsrc() local 192 t_new = kmemdup(val, sizeof(*val), GFP_KERNEL); in seg6_genl_set_tunsrc() 193 if (!t_new) in seg6_genl_set_tunsrc() 199 rcu_assign_pointer(sdata->tun_src, t_new); in seg6_genl_set_tunsrc()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | seg6.c | 239 struct in6_addr *val, *t_old, *t_new; in seg6_genl_set_tunsrc() local 248 t_new = kmemdup(val, sizeof(*val), GFP_KERNEL); in seg6_genl_set_tunsrc() 249 if (!t_new) in seg6_genl_set_tunsrc() 255 rcu_assign_pointer(sdata->tun_src, t_new); in seg6_genl_set_tunsrc()
|
Completed in 4 milliseconds