Lines Matching defs:which
649 * out which operand values that fail.
14409 static int filter_length(int which)
14414 if (tests[which].fill_helper)
14415 return tests[which].u.ptr.len;
14417 fp = tests[which].u.insns;
14425 static void *filter_pointer(int which)
14427 if (tests[which].fill_helper)
14428 return tests[which].u.ptr.insns;
14430 return tests[which].u.insns;
14433 static struct bpf_prog *generate_filter(int which, int *err)
14435 __u8 test_type = tests[which].aux & TEST_TYPE_MASK;
14436 unsigned int flen = filter_length(which);
14437 void *fptr = filter_pointer(which);
14447 if (tests[which].aux & FLAG_EXPECTED_FAIL) {
14448 if (*err == tests[which].expected_errcode) {
14481 fp->aux->stack_depth = tests[which].stack_depth;
14482 fp->aux->verifier_zext = !!(tests[which].aux &
14500 static void release_filter(struct bpf_prog *fp, int which)
14502 __u8 test_type = tests[which].aux & TEST_TYPE_MASK;
14548 * NOTE: Several sub-tests may be present, in which case
14688 * mimic bpf_skb_proto_4_to_6, which resets gso_segs and assigns a
15048 int which, err;
15056 for (which = 0; which < ntests; which++) {
15057 struct tail_call_test *test = &tail_call_tests[which];
15103 insn->imm = which + insn->off;
15144 progs->ptrs[which] = fp;