Lines Matching refs:apply_prog
2541 struct sock_fprog root_prog, apply_prog; in FIXTURE() local
2563 memset(&self->apply_prog, 0, sizeof(self->apply_prog)); in FIXTURE_SETUP()
2570 self->apply_prog.filter = malloc(sizeof(apply_filter)); in FIXTURE_SETUP()
2571 ASSERT_NE(NULL, self->apply_prog.filter); in FIXTURE_SETUP()
2572 memcpy(self->apply_prog.filter, &apply_filter, sizeof(apply_filter)); in FIXTURE_SETUP()
2573 self->apply_prog.len = (unsigned short)ARRAY_SIZE(apply_filter); in FIXTURE_SETUP()
2603 if (self->apply_prog.filter) in FIXTURE_TEARDOWN()
2604 free(self->apply_prog.filter); in FIXTURE_TEARDOWN()
2736 &self->apply_prog); in TEST_F()
2797 &self->apply_prog); in TEST_F()
2845 &self->apply_prog); in TEST_F()
2891 ret = seccomp(SECCOMP_SET_MODE_FILTER, flags, &self->apply_prog); in TEST_F()
2947 &self->apply_prog); in TEST_F()
2976 &self->apply_prog); in TEST_F()
2999 &self->apply_prog); in TEST_F()