Home
last modified time | relevance | path

Searched refs:ftest (Results 1 – 14 of 14) sorted by relevance

/linux-4.1.27/kernel/
Dseccomp.c104 struct sock_filter *ftest = &filter[pc]; in seccomp_check_filter() local
105 u16 code = ftest->code; in seccomp_check_filter()
106 u32 k = ftest->k; in seccomp_check_filter()
110 ftest->code = BPF_LDX | BPF_W | BPF_ABS; in seccomp_check_filter()
116 ftest->code = BPF_LD | BPF_IMM; in seccomp_check_filter()
117 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()
120 ftest->code = BPF_LDX | BPF_IMM; in seccomp_check_filter()
121 ftest->k = sizeof(struct seccomp_data); in seccomp_check_filter()
/linux-4.1.27/include/linux/
Dfilter.h450 static inline u16 bpf_anc_helper(const struct sock_filter *ftest) in bpf_anc_helper() argument
452 BUG_ON(ftest->code & BPF_ANC); in bpf_anc_helper()
454 switch (ftest->code) { in bpf_anc_helper()
460 switch (ftest->k) { in bpf_anc_helper()
480 return ftest->code; in bpf_anc_helper()
/linux-4.1.27/net/core/
Dfilter.c764 const struct sock_filter *ftest = &filter[pc]; in bpf_check_classic() local
767 if (!chk_code_allowed(ftest->code)) in bpf_check_classic()
771 switch (ftest->code) { in bpf_check_classic()
775 if (ftest->k == 0) in bpf_check_classic()
780 if (ftest->k >= 32) in bpf_check_classic()
788 if (ftest->k >= BPF_MEMWORDS) in bpf_check_classic()
796 if (ftest->k >= (unsigned int)(flen - pc - 1)) in bpf_check_classic()
808 if (pc + ftest->jt + 1 >= flen || in bpf_check_classic()
809 pc + ftest->jf + 1 >= flen) in bpf_check_classic()
816 if (bpf_anc_helper(ftest) & BPF_ANC) in bpf_check_classic()
[all …]
/linux-4.1.27/arch/x86/um/vdso/
DMakefile49 CFLAGS_REMOVE_vdso-note.o = -pg -fprofile-arcs -ftest-coverage
50 CFLAGS_REMOVE_um_vdso.o = -pg -fprofile-arcs -ftest-coverage
/linux-4.1.27/arch/m68k/ifpsp060/
DTEST.DOC32 The files itest.sa and ftest.sa contain simple tests to check
37 The release files itest.sa and ftest.sa are essentially
52 The source code itest.s and ftest.s have been included but only
84 sit adjacent to the {i,f}test.sa image in memory. Since itest.sa and ftest.sa
171 Again, itest.sa and ftest.sa are simple tests and do not thoroughly
201 # ftest.sa starts here; start of "Entry-point" section.
DREADME57 ftest.sa Simple test program to test that {p}fpsp.sa
59 ftest.s above test; source code
DMISC201 ftest.s : 2.1
/linux-4.1.27/arch/um/
DMakefile-skas7 GCOV_OPT += -fprofile-arcs -ftest-coverage
/linux-4.1.27/drivers/scsi/lpfc/
DMakefile22 ccflags-$(GCOV) := -fprofile-arcs -ftest-coverage
/linux-4.1.27/arch/um/scripts/
DMakefile.rules25 $(patsubst -pg,,$(patsubst -fprofile-arcs -ftest-coverage,,$(1)))
/linux-4.1.27/Documentation/
Dgcov.txt113 option -ftest-coverage.
/linux-4.1.27/
DMakefile377 CFLAGS_GCOV = -fprofile-arcs -ftest-coverage -fno-tree-loop-im
/linux-4.1.27/arch/m68k/ifpsp060/src/
Dfpsp.S5593 ftest.x %fp0 # test sign of argument
13120 # ftst(): emulates the ftest instruction #
Dfplsp.S5918 ftest.x %fp0 # test sign of argument