Lines Matching refs:optval
114 offsetof(struct bpf_sockopt, optval)),
293 offsetof(struct bpf_sockopt, optval)),
358 offsetof(struct bpf_sockopt, optval)),
385 offsetof(struct bpf_sockopt, optval)),
489 offsetof(struct bpf_sockopt, optval)),
701 offsetof(struct bpf_sockopt, optval)),
738 offsetof(struct bpf_sockopt, optval)),
816 offsetof(struct bpf_sockopt, optval)),
843 offsetof(struct bpf_sockopt, optval)),
889 offsetof(struct bpf_sockopt, optval)),
993 const void *optval, socklen_t optlen) in uring_sockopt() argument
1010 io_uring_prep_cmd(sqe, op, fd, level, optname, optval, optlen); in uring_sockopt()
1028 static int uring_setsockopt(int fd, int level, int optname, const void *optval, in uring_setsockopt() argument
1032 optval, optlen); in uring_setsockopt()
1035 static int uring_getsockopt(int fd, int level, int optname, void *optval, in uring_getsockopt() argument
1039 optval, *optlen); in uring_getsockopt()
1053 const void *optval, socklen_t optlen) in call_setsockopt() argument
1056 return uring_setsockopt(fd, level, optname, optval, optlen); in call_setsockopt()
1058 return setsockopt(fd, level, optname, optval, optlen); in call_setsockopt()
1063 void *optval, socklen_t *optlen) in call_getsockopt() argument
1066 return uring_getsockopt(fd, level, optname, optval, optlen); in call_getsockopt()
1068 return getsockopt(fd, level, optname, optval, optlen); in call_getsockopt()
1076 void *optval = NULL; in run_test() local
1144 optval = malloc(test->get_optlen); in run_test()
1145 memset(optval, 0, test->get_optlen); in run_test()
1151 test->get_optname, optval, &optlen); in run_test()
1172 if (memcmp(optval, test->get_optval, optlen) != 0) { in run_test()
1183 free(optval); in run_test()