Searched refs:sopt_val (Results 1 - 11 of 11) sorted by relevance
/darwin-on-arm/xnu/bsd/netat/ |
H A D | aurp_aurpd.c | 149 sopt.sopt_val = CAST_USER_ADDR_T(&maxbuf); 169 sopt.sopt_val = CAST_USER_ADDR_T(&maxbuf);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kpi_socket.c | 477 sopt.sopt_val = CAST_USER_ADDR_T(optval); 508 sopt.sopt_val = CAST_USER_ADDR_T(optval); 569 sopt.sopt_val = CAST_USER_ADDR_T(&sotc); 593 sopt.sopt_val = CAST_USER_ADDR_T(optval); 630 sopt.sopt_val = CAST_USER_ADDR_T(optval);
|
H A D | uipc_socket.c | 2893 return (copyin(sopt->sopt_val, buf, valsize)); 2895 bcopy(CAST_DOWN(caddr_t, sopt->sopt_val), buf, valsize); 2919 error = copyin(sopt->sopt_val, &tv64, sizeof(tv64)); 2923 bcopy(CAST_DOWN(caddr_t, sopt->sopt_val), &tv64, 2940 error = copyin(sopt->sopt_val, &tv32, sizeof(tv32)); 2945 bcopy(CAST_DOWN(caddr_t, sopt->sopt_val), &tv32, 3400 if (sopt->sopt_val != USER_ADDR_NULL) { 3402 error = copyout(buf, sopt->sopt_val, valsize); 3404 bcopy(buf, CAST_DOWN(caddr_t, sopt->sopt_val), valsize); 3433 if (sopt->sopt_val ! [all...] |
H A D | kern_control.c | 619 if (sopt->sopt_valsize && sopt->sopt_val) {
|
H A D | uipc_syscalls.c | 1608 sopt.sopt_val = uap->val; 1664 sopt.sopt_val = uap->val;
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | ndrv.c | 503 if (sopt->sopt_val != 0 || sopt->sopt_valsize != 0) { 891 if (sopt->sopt_val == 0 || sopt->sopt_valsize < 2 || 906 result = copyin(sopt->sopt_val, &ndrv_multi->addr, sopt->sopt_valsize); 945 if (sopt->sopt_val == 0 || sopt->sopt_valsize < 2 || 958 result = copyin(sopt->sopt_val, multi_addr, sopt->sopt_valsize);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | socketvar.h | 532 user_addr_t sopt_val; /* fourth arg of [gs]etsockopt */ member in struct:sockopt
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | ip_fw2.c | 802 if ((error = copyin(sopt->sopt_val, fw64, valsize)) != 0){ 808 bcopy(CAST_DOWN(caddr_t, sopt->sopt_val), fw64, valsize); 827 if ( (error = copyin(sopt->sopt_val, fw32, valsize)) != 0){ 833 bcopy(CAST_DOWN(caddr_t, sopt->sopt_val), fw32, valsize); 3831 if (sopt->sopt_val != 0) {
|
H A D | ip_fw2_compat.c | 3072 if (!sopt->sopt_val || sopt->sopt_valsize < sizeof(struct ip_fw_compat_32)) 3114 if (!sopt->sopt_val || sopt->sopt_valsize < sizeof(struct ip_fw_compat_64)) 3304 if (!sopt->sopt_val || sopt->sopt_valsize < copyinsize)
|
/darwin-on-arm/xnu/bsd/netinet6/ |
H A D | in6_mcast.c | 1986 v4sopt.sopt_val = CAST_USER_ADDR_T(&v4mreq); 2330 v4sopt.sopt_val = CAST_USER_ADDR_T(&v4mreq);
|
H A D | ip6_fw.c | 1301 if (!sopt->sopt_val || sopt->sopt_valsize < userrulesize) return EINVAL;
|
Completed in 116 milliseconds