Searched refs:cnt (Results 1 – 5 of 5) sorted by relevance
22 static void simple_thread_func(int cnt) in simple_thread_func() argument25 int len = cnt % 5; in simple_thread_func()36 trace_foo_bar("hello", cnt, array, random_strings[len], in simple_thread_func()39 trace_foo_with_template_simple("HELLO", cnt); in simple_thread_func()41 trace_foo_bar_with_cond("Some times print", cnt); in simple_thread_func()43 trace_foo_with_template_cond("prints other times", cnt); in simple_thread_func()45 trace_foo_with_template_print("I have to be different", cnt); in simple_thread_func()50 int cnt = 0; in simple_thread() local53 simple_thread_func(cnt++); in simple_thread()61 static void simple_thread_func_fn(int cnt) in simple_thread_func_fn() argument[all …]
27 static int cnt; variable142 links[cnt] = bpf_program__attach(prog); in load_progs()143 err = libbpf_get_error(links[cnt]); in load_progs()146 links[cnt] = NULL; in load_progs()149 cnt++; in load_progs()157 while (cnt) in unload_progs()158 bpf_link__destroy(links[--cnt]); in unload_progs()
18 static __u64 cnt; variable35 cnt++; in print_bpf_output()37 if (cnt == MAX_CNT) { in print_bpf_output()99 while ((ret = perf_buffer__poll(pb, 1000)) >= 0 && cnt < MAX_CNT) { in main()
81 __u64 cnt[SLOTS]; in print_hist() local91 cnt[key] = value; in print_hist()98 int c = num_colors * cnt[key] / (max_cnt + 1); in print_hist()
729 u32 cnt = 0; in udp_csum() local732 for (; cnt < len; cnt += 2) in udp_csum()733 csum += udp_pkt[cnt >> 1]; in udp_csum()