Home
last modified time | relevance | path

Searched refs:t_new (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/samples/bpf/
Dhbm.c215 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()
/linux-6.6.21/tools/perf/util/bpf_skel/
Doff_cpu.bpf.c108 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()
/linux-6.6.21/net/ipv6/
Dseg6.c239 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()