Searched refs:buf (Results 1 – 5 of 5) sorted by relevance
/linux-tools/bpf/seccomp/ |
H A D | helloworld.c | 8 char buf[1024*8]; variable 15 read(fd, buf, 4096+1); //sizeof(buf)); in main() 16 for (x=0, i=0; i<sizeof(buf); i++) x^=buf[i]; in main()
|
/linux-tools/perf/pagefault/ |
H A D | perf_pagefault.cpp | 42 char buf[10240]; variable 107 k = read(x, buf, sizeof(buf)); in main() 109 counter += *(unsigned long long *)buf; in main()
|
/linux-tools/drivers/mremap/ |
H A D | inject.cpp | 96 char buf[1024*1024]; variable 150 regset.iov_base = (void*)buf; in main() 251 cz=sz; if (cz>sizeof(buf)) cz=sizeof(buf); in main() 252 if(fread(buf, 1, cz, fp_binary)!=cz) { printf("fail to load map memory\n"); goto out; } in main() 255 vw = *(unsigned long*)(buf+zzz); in main() 288 n = fread(buf, 1, regset_header.size, fp_binary); if (n!=regset_header.size) { in main()
|
H A D | extract.cpp | 82 char buf[1024*1024]; variable 156 regset.iov_base = (void*)buf; in main() 160 regset.iov_len = sizeof(buf); in main()
|
/linux-tools/ebpf/libbpf-bootstrap/ |
H A D | kprobe_ksysread.bpf.c | 18 int BPF_KPROBE(ksys_read, unsigned int fd, char *buf, size_t count) in BPF_KPROBE() argument
|