Searched refs:prog_fd (Results 1 – 8 of 8) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/bpf/ |
D | bpf_prog04.c | 92 int map_fd, prog_fd; in run() local 95 prog_fd = load_prog(map_fd); in run() 97 if (prog_fd >= 0) { in run() 100 bpf_run_prog(prog_fd, msg, sizeof(MSG)); in run() 103 if (prog_fd >= 0) in run() 104 SAFE_CLOSE(prog_fd); in run()
|
D | bpf_prog01.c | 79 int map_fd, prog_fd; in run() local 84 prog_fd = load_prog(map_fd); in run() 86 bpf_run_prog(prog_fd, msg, sizeof(MSG)); in run() 87 SAFE_CLOSE(prog_fd); in run()
|
D | bpf_prog03.c | 117 int map_fd, prog_fd; in run() local 131 prog_fd = load_prog(map_fd); in run() 132 if (prog_fd == -1) in run() 137 bpf_run_prog(prog_fd, msg, sizeof(MSG)); in run() 138 SAFE_CLOSE(prog_fd); in run()
|
D | bpf_prog02.c | 79 int map_fd, prog_fd; in run() local 82 prog_fd = load_prog(map_fd); in run() 83 bpf_run_prog(prog_fd, msg, sizeof(MSG)); in run() 84 SAFE_CLOSE(prog_fd); in run()
|
D | bpf_prog05.c | 172 int prog_fd; in run() local 177 prog_fd = load_prog(); in run() 178 bpf_run_prog(prog_fd, msg, sizeof(MSG)); in run() 179 SAFE_CLOSE(prog_fd); in run()
|
D | bpf_common.c | 130 void bpf_run_prog(const int prog_fd, in bpf_run_prog() argument 137 &prog_fd, sizeof(prog_fd)); in bpf_run_prog()
|
D | bpf_common.h | 59 void bpf_run_prog(const int prog_fd,
|
/third_party/ltp/include/lapi/ |
D | bpf.h | 245 uint32_t prog_fd; member 293 uint32_t prog_fd; member
|