Searched refs:valsize (Results 1 - 5 of 5) sorted by relevance
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | uipc_socket.c | 2858 size_t valsize; local 2866 if ((valsize = sopt->sopt_valsize) < minlen) 2868 if (valsize > len) 2869 sopt->sopt_valsize = valsize = len; 2872 return (copyin(sopt->sopt_val, buf, valsize)); 2874 bcopy(CAST_DOWN(caddr_t, sopt->sopt_val), buf, valsize); 3233 size_t valsize; local 3246 valsize = min(len, sopt->sopt_valsize); 3247 sopt->sopt_valsize = valsize; 3250 error = copyout(buf, sopt->sopt_val, valsize); 3264 size_t valsize; local 3584 size_t valsize = 0; local [all...] |
H A D | uipc_syscalls.c | 1521 if (uap->val == 0 && uap->valsize != 0) 1533 sopt.sopt_valsize = uap->valsize; 1569 socklen_t valsize; local 1577 error = copyin(uap->avalsize, (caddr_t)&valsize, 1578 sizeof (valsize)); 1583 valsize = 0; 1589 sopt.sopt_valsize = (size_t)valsize; /* checked non-negative above */ 1603 valsize = sopt.sopt_valsize; 1604 error = copyout((caddr_t)&valsize, uap->avalsize, 1605 sizeof (valsize)); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | dis_tables.c | 1366 int valsize; local 1373 valsize = 1; 1377 valsize = 2; 1379 valsize = 4; 1381 valsize = 8; 1389 valsize = size; 1392 valsize = 2; 1395 if (valsize < size) 1396 valsize = size; 1418 x->d86_opnd[opindex].d86_value_size = valsize; [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | ip6_fw.c | 1280 int valsize; local 1294 valsize = sopt->sopt_valsize; 1329 sopt->sopt_valsize = valsize;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | sysproto.h | 449 char valsize_l_[PADL_(socklen_t)]; socklen_t valsize; char valsize_r_[PADR_(socklen_t)]; member in struct:setsockopt_args
|
Completed in 127 milliseconds