Home
last modified time | relevance | path

Searched refs:buf_len (Results 1 – 3 of 3) sorted by relevance

/samples/watch_queue/
Dwatch_test.c71 ssize_t buf_len; in consumer() local
74 buf_len = read(fd, buffer, sizeof(buffer)); in consumer()
75 if (buf_len == -1) { in consumer()
80 if (buf_len == 0) { in consumer()
85 if (buf_len > sizeof(buffer)) { in consumer()
86 fprintf(stderr, "Read buffer overrun: %zd\n", buf_len); in consumer()
90 printf("read() = %zd\n", buf_len); in consumer()
93 end = buffer + buf_len; in consumer()
/samples/seccomp/
Dbpf-fancy.c63 JEQ((unsigned long)buf, JUMP(&l, buf_len)), in main()
76 LABEL(&l, buf_len), in main()
/samples/bpf/
Dtask_fd_query_user.c126 char *buf, __u32 *buf_len, __u32 *prog_id, __u32 *fd_type, in test_nondebug_fs_kuprobe_common() argument
165 CHECK_PERROR_RET(bpf_task_fd_query(getpid(), fd, 0, buf, buf_len, in test_nondebug_fs_kuprobe_common()
178 char *buf, __u32 buf_len) in test_nondebug_fs_probe() argument
186 buf, &buf_len, &prog_id, in test_nondebug_fs_probe()
213 if (buf_len != 0) { in test_nondebug_fs_probe()