Home
last modified time | relevance | path

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

/openbmc/linux/samples/bpf/
H A 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()
/openbmc/qemu/hw/timer/
H A Daspeed_timer.c397 uint8_t t_old, t_new; in aspeed_timer_set_ctrl() local
412 t_new = (reg >> shift) & TIMER_CTRL_MASK; in aspeed_timer_set_ctrl()
415 if ((t_old & enable_mask) && !(t_new & enable_mask)) { in aspeed_timer_set_ctrl()
418 aspeed_timer_ctrl_op(t, op_external_clock, t_old, t_new); in aspeed_timer_set_ctrl()
419 aspeed_timer_ctrl_op(t, op_overflow_interrupt, t_old, t_new); in aspeed_timer_set_ctrl()
420 aspeed_timer_ctrl_op(t, op_pulse_enable, t_old, t_new); in aspeed_timer_set_ctrl()
422 if (!(t_old & enable_mask) && (t_new & enable_mask)) { in aspeed_timer_set_ctrl()
/openbmc/linux/tools/perf/util/bpf_skel/
H A 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()
/openbmc/linux/net/ipv6/
H A 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()