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()
Dxdpsock_ctrl_proc.c39 int option_index, c; in parse_command_line() local
44 c = getopt_long(argc, argv, "i:", in parse_command_line()
46 if (c == -1) in parse_command_line()
49 switch (c) { in parse_command_line()
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
DMakefile245 $(CC) $(TPROGS_CFLAGS) $(TPROGS_LDFLAGS) -x c - \
257 $(CLANG) -target bpf -O2 -g -c -x c - -o ./llvm_btf_verify.o; \
329 $(BPF_SAMPLES_PATH)/*.c: verify_target_bpf $(LIBBPF)
330 $(src)/*.c: verify_target_bpf $(LIBBPF)
372 $(Q)$(BPFTOOL) btf dump file $(VMLINUX_BTF) format c > $@
399 $(obj)/%.bpf.o: $(src)/%.bpf.c $(obj)/vmlinux.h $(src)/xdp_sample.bpf.h $(src)/xdp_sample_shared.h
405 -c $(filter %.bpf.c,$^) -o $@
417 LINKED_BPF_SRCS := $(patsubst %.bpf.o,%.bpf.c,$(foreach skel,$(LINKED_SKELS),$($(skel)-deps)))
419 BPF_SRCS_LINKED := $(notdir $(wildcard $(src)/*.bpf.c))
420 BPF_OBJS_LINKED := $(patsubst %.bpf.c,$(obj)/%.bpf.o, $(BPF_SRCS_LINKED))
[all …]
Dxdpsock_user.c534 unsigned char c; in hex_dump() local
553 c = *line++; in hex_dump()
554 printf("%c", (c < 33 || c == 255) ? 0x2E : c); in hex_dump()
976 int option_index, c; in parse_command_line() local
981 c = getopt_long(argc, argv, "Frtli:q:pSNn:czf:muMd:b:C:s:P:xQaI:BR", in parse_command_line()
983 if (c == -1) in parse_command_line()
986 switch (c) { in parse_command_line()
Dtest_lwt_bpf.sh377 clang $CLANG_OPTS -c test_lwt_bpf.c -o test_lwt_bpf.o
DREADME.rst70 (build dependencies are ninja, 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