Home
last modified time | relevance | path

Searched refs:c (Results 1 – 13 of 13) sorted by relevance

/samples/bpf/
Dlathist_user.c64 int c, i; in get_data() local
69 for (c = 0; c < MAX_CPU; c++) { in get_data()
71 key = c * MAX_ENTRIES + i; in get_data()
74 cpu_hist[c].data[i] = value; in get_data()
75 if (value > cpu_hist[c].max) in get_data()
76 cpu_hist[c].max = value; in get_data()
Dcpustat_user.c82 int c, i; in cpu_stat_update() local
84 for (c = 0; c < MAX_CPU; c++) { in cpu_stat_update()
86 key = c * MAX_CSTATE_ENTRIES + i; in cpu_stat_update()
88 stat_data[c].cstate[i] = value; in cpu_stat_update()
92 key = c * MAX_PSTATE_ENTRIES + i; in cpu_stat_update()
94 stat_data[c].pstate[i] = value; in cpu_stat_update()
Dtracex3_user.c98 int c = num_colors * cnt[key] / (max_cnt + 1); in print_hist() local
101 printf("%s", sym[c]); in print_hist()
103 printf("%s %s", color[c], nocolor); in print_hist()
DMakefile.target57 $(tprog-csingle): $(obj)/%: $(src)/%.c FORCE
74 $(tprog-cobjs): $(obj)/%.o: $(src)/%.c FORCE
DMakefile227 $(CC) $(TPROGS_CFLAGS) $(TPROGS_LDFLAGS) -x c - \
239 $(CLANG) -target bpf -O2 -g -c -x c - -o ./llvm_btf_verify.o; \
295 $(BPF_SAMPLES_PATH)/*.c: verify_target_bpf $(LIBBPF)
296 $(src)/*.c: verify_target_bpf $(LIBBPF)
313 $(obj)/%.o: $(src)/%.c
Dxdpsock_user.c522 unsigned char c; in hex_dump() local
541 c = *line++; in hex_dump()
542 printf("%c", (c < 33 || c == 255) ? 0x2E : c); in hex_dump()
962 int option_index, c; in parse_command_line() local
967 c = getopt_long(argc, argv, "Frtli:q:pSNn:czf:muMd:b:C:s:P:xQaI:", in parse_command_line()
969 if (c == -1) in parse_command_line()
972 switch (c) { in parse_command_line()
Dtest_ipip.sh154 ip netns exec at_ns2 iperf -6c 2601:646::1 -n 5k -p 5200
155 ip netns exec at_ns2 iperf -6c 2601:646::1 -n 5k -p 5201
Dtest_lwt_bpf.sh377 clang $CLANG_OPTS -c test_lwt_bpf.c -o test_lwt_bpf.o
DREADME.rst66 (build dependencies are cmake and gcc-c++)::
/samples/nitro_enclaves/
DMakefile13 $(CC) $(CFLAGS) -o ne_ioctl_sample ne_ioctl_sample.c -lpthread
/samples/seccomp/
Duser-trap.c36 char buf[CMSG_SPACE(sizeof(int))] = {0}, c = 'c'; in send_fd() local
38 .iov_base = &c, in send_fd()
65 char buf[CMSG_SPACE(sizeof(int))] = {0}, c = 'c'; in recv_fd() local
67 .iov_base = &c, in recv_fd()
/samples/crypto/
Dfips140_lab_util.c279 int c; in cmd_dump_jitterentropy() local
281 while ((c = getopt_long(argc, argv, "", longopts, NULL)) != -1) { in cmd_dump_jitterentropy()
282 switch (c) { in cmd_dump_jitterentropy()
/samples/pktgen/
DREADME.rst26 -c : ($SKB_CLONE) SKB clones send before alloc new SKB