]> Git Repo - linux.git/blob - tools/testing/selftests/bpf/bpf_testmod/bpf_testmod.h
scsi: zfcp: Trace when request remove fails after qdio send fails
[linux.git] / tools / testing / selftests / bpf / bpf_testmod / bpf_testmod.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2020 Facebook */
3 #ifndef _BPF_TESTMOD_H
4 #define _BPF_TESTMOD_H
5
6 #include <linux/types.h>
7
8 struct bpf_testmod_test_read_ctx {
9         char *buf;
10         loff_t off;
11         size_t len;
12 };
13
14 struct bpf_testmod_test_write_ctx {
15         char *buf;
16         loff_t off;
17         size_t len;
18 };
19
20 struct bpf_testmod_test_writable_ctx {
21         bool early_ret;
22         int val;
23 };
24
25 #endif /* _BPF_TESTMOD_H */
This page took 0.037183 seconds and 4 git commands to generate.