Home
last modified time | relevance | path

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

/linux-tools/bpf/seccomp/
H A Dhelloworld.c8 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 Dperf_pagefault.cpp42 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 Dinject.cpp96 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 Dextract.cpp82 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 Dkprobe_ksysread.bpf.c18 int BPF_KPROBE(ksys_read, unsigned int fd, char *buf, size_t count) in BPF_KPROBE() argument