Searched refs:ftest (Results 1 – 14 of 14) sorted by relevance
180 struct sock_filter *ftest = &filter[pc]; in io_uring_check_cbpf_filter() local181 u16 code = ftest->code; in io_uring_check_cbpf_filter()182 u32 k = ftest->k; in io_uring_check_cbpf_filter()186 ftest->code = BPF_LDX | BPF_W | BPF_ABS; in io_uring_check_cbpf_filter()192 ftest->code = BPF_LD | BPF_IMM; in io_uring_check_cbpf_filter()193 ftest->k = sizeof(struct io_uring_bpf_ctx); in io_uring_check_cbpf_filter()196 ftest->code = BPF_LDX | BPF_IMM; in io_uring_check_cbpf_filter()197 ftest->k = sizeof(struct io_uring_bpf_ctx); in io_uring_check_cbpf_filter()
32 The files itest.sa and ftest.sa contain simple tests to check37 The release files itest.sa and ftest.sa are essentially52 The source code itest.s and ftest.s have been included but only84 sit adjacent to the {i,f}test.sa image in memory. Since itest.sa and ftest.sa171 Again, itest.sa and ftest.sa are simple tests and do not thoroughly201 # ftest.sa starts here; start of "Entry-point" section.
57 ftest.sa Simple test program to test that {p}fpsp.sa59 ftest.s above test; source code
201 ftest.s : 2.1
11 export UM_GCOV_OPT += -fprofile-arcs -ftest-coverage
24 ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
26 $(patsubst -pg,,$(patsubst -fprofile-arcs -ftest-coverage,,$(1)))
282 struct sock_filter *ftest = &filter[pc]; in seccomp_check_filter() local283 u16 code = ftest->code; in seccomp_check_filter()284 u32 k = ftest->k; in seccomp_check_filter()288 ftest->code = BPF_LDX | BPF_W | BPF_ABS; in seccomp_check_filter()294 ftest->code = BPF_LD | BPF_IMM; in seccomp_check_filter()295 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()298 ftest->code = BPF_LDX | BPF_IMM; in seccomp_check_filter()299 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()
1522 static inline u16 bpf_anc_helper(const struct sock_filter *ftest) in bpf_anc_helper() argument1524 BUG_ON(ftest->code & BPF_ANC); in bpf_anc_helper()1526 switch (ftest->code) { in bpf_anc_helper()1532 switch (ftest->k) { in bpf_anc_helper()1552 return ftest->code; in bpf_anc_helper()
108 option ``-ftest-coverage``.
1083 const struct sock_filter *ftest = &filter[pc]; in bpf_check_classic() local1086 if (!chk_code_allowed(ftest->code)) in bpf_check_classic()1090 switch (ftest->code) { in bpf_check_classic()1094 if (ftest->k == 0) in bpf_check_classic()1099 if (ftest->k >= 32) in bpf_check_classic()1107 if (ftest->k >= BPF_MEMWORDS) in bpf_check_classic()1115 if (ftest->k >= (unsigned int)(flen - pc - 1)) in bpf_check_classic()1127 if (pc + ftest->jt + 1 >= flen || in bpf_check_classic()1128 pc + ftest->jf + 1 >= flen) in bpf_check_classic()1135 if (bpf_anc_helper(ftest) & BPF_ANC) in bpf_check_classic()[all …]
829 CFLAGS_GCOV := -fprofile-arcs -ftest-coverage
5593 ftest.x %fp0 # test sign of argument13120 # ftst(): emulates the ftest instruction #
5918 ftest.x %fp0 # test sign of argument