Lines Matching refs:test_attr
939 int bpf_prog_test_run_xattr(struct bpf_prog_test_run_attr *test_attr) in bpf_prog_test_run_xattr() argument
944 if (!test_attr->data_out && test_attr->data_size_out > 0) in bpf_prog_test_run_xattr()
948 attr.test.prog_fd = test_attr->prog_fd; in bpf_prog_test_run_xattr()
949 attr.test.data_in = ptr_to_u64(test_attr->data_in); in bpf_prog_test_run_xattr()
950 attr.test.data_out = ptr_to_u64(test_attr->data_out); in bpf_prog_test_run_xattr()
951 attr.test.data_size_in = test_attr->data_size_in; in bpf_prog_test_run_xattr()
952 attr.test.data_size_out = test_attr->data_size_out; in bpf_prog_test_run_xattr()
953 attr.test.ctx_in = ptr_to_u64(test_attr->ctx_in); in bpf_prog_test_run_xattr()
954 attr.test.ctx_out = ptr_to_u64(test_attr->ctx_out); in bpf_prog_test_run_xattr()
955 attr.test.ctx_size_in = test_attr->ctx_size_in; in bpf_prog_test_run_xattr()
956 attr.test.ctx_size_out = test_attr->ctx_size_out; in bpf_prog_test_run_xattr()
957 attr.test.repeat = test_attr->repeat; in bpf_prog_test_run_xattr()
961 test_attr->data_size_out = attr.test.data_size_out; in bpf_prog_test_run_xattr()
962 test_attr->ctx_size_out = attr.test.ctx_size_out; in bpf_prog_test_run_xattr()
963 test_attr->retval = attr.test.retval; in bpf_prog_test_run_xattr()
964 test_attr->duration = attr.test.duration; in bpf_prog_test_run_xattr()