Home
last modified time | relevance | path

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

/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()
/linux/net/ipv6/
H A Dseg6.c237 struct in6_addr *val, *t_old, *t_new; in seg6_genl_set_tunsrc() local
246 t_new = kmemdup(val, sizeof(*val), GFP_KERNEL); in seg6_genl_set_tunsrc()
247 if (!t_new) in seg6_genl_set_tunsrc()
253 rcu_assign_pointer(sdata->tun_src, t_new); in seg6_genl_set_tunsrc()
/linux/tools/perf/util/bpf_skel/
H A Doff_cpu.bpf.c138 struct task_struct___new *t_new = (void *)t; in get_task_state() local
140 if (bpf_core_field_exists(t_new->__state)) { in get_task_state()
141 return BPF_CORE_READ(t_new, __state); in get_task_state()
/linux/net/netfilter/ipvs/
H A Dip_vs_conn.c805 struct ip_vs_rht *t, *t_new; in conn_resize_work_handler() local
834 t_new = ip_vs_conn_tab_alloc(ipvs, new_size, lfactor); in conn_resize_work_handler()
835 if (!t_new) { in conn_resize_work_handler()
840 t_new->table_id = t->table_id ^ IP_VS_RHT_TABLE_ID_MASK; in conn_resize_work_handler()
842 rcu_assign_pointer(t->new_tbl, t_new); in conn_resize_work_handler()
877 hash = ip_vs_conn_hashkey_conn(t_new, cp, hn->dir); in conn_resize_work_handler()
878 hash_key = ip_vs_rht_build_hash_key(t_new, hash); in conn_resize_work_handler()
880 head2 = t_new->buckets + (hash & t_new->mask); in conn_resize_work_handler()
905 rcu_assign_pointer(ipvs->conn_tab, t_new); in conn_resize_work_handler()
H A Dip_vs_ctl.c651 struct ip_vs_rht *t, *t_new; in svc_resize_work_handler() local
686 t_new = ip_vs_svc_table_alloc(ipvs, new_size, lfactor); in svc_resize_work_handler()
687 if (!t_new) { in svc_resize_work_handler()
692 t_new->table_id = t->table_id ^ IP_VS_RHT_TABLE_ID_MASK; in svc_resize_work_handler()
694 rcu_assign_pointer(t->new_tbl, t_new); in svc_resize_work_handler()
735 hash = ip_vs_svc_hashval(t_new, svc->af, in svc_resize_work_handler()
740 hash = ip_vs_svc_fwm_hashval(t_new, svc->af, in svc_resize_work_handler()
744 head2 = t_new->buckets + (hash & t_new->mask); in svc_resize_work_handler()
748 ip_vs_rht_build_hash_key(t_new, hash)); in svc_resize_work_handler()
778 rcu_assign_pointer(ipvs->svc_table, t_new); in svc_resize_work_handler()
[all …]