Lines Matching refs:test
980 const size_t attr_sz = offsetofend(union bpf_attr, test);
988 attr.test.prog_fd = prog_fd;
989 attr.test.batch_size = OPTS_GET(opts, batch_size, 0);
990 attr.test.cpu = OPTS_GET(opts, cpu, 0);
991 attr.test.flags = OPTS_GET(opts, flags, 0);
992 attr.test.repeat = OPTS_GET(opts, repeat, 0);
993 attr.test.duration = OPTS_GET(opts, duration, 0);
994 attr.test.ctx_size_in = OPTS_GET(opts, ctx_size_in, 0);
995 attr.test.ctx_size_out = OPTS_GET(opts, ctx_size_out, 0);
996 attr.test.data_size_in = OPTS_GET(opts, data_size_in, 0);
997 attr.test.data_size_out = OPTS_GET(opts, data_size_out, 0);
998 attr.test.ctx_in = ptr_to_u64(OPTS_GET(opts, ctx_in, NULL));
999 attr.test.ctx_out = ptr_to_u64(OPTS_GET(opts, ctx_out, NULL));
1000 attr.test.data_in = ptr_to_u64(OPTS_GET(opts, data_in, NULL));
1001 attr.test.data_out = ptr_to_u64(OPTS_GET(opts, data_out, NULL));
1005 OPTS_SET(opts, data_size_out, attr.test.data_size_out);
1006 OPTS_SET(opts, ctx_size_out, attr.test.ctx_size_out);
1007 OPTS_SET(opts, duration, attr.test.duration);
1008 OPTS_SET(opts, retval, attr.test.retval);