Lines Matching refs:valsize
3752 size_t valsize; local
3760 if ((valsize = sopt->sopt_valsize) < minlen)
3762 if (valsize > len)
3763 sopt->sopt_valsize = valsize = len;
3766 return (copyin(sopt->sopt_val, buf, valsize));
3768 bcopy(sopt->sopt_val, buf, valsize);
4035 size_t valsize; local
4047 valsize = min(len, sopt->sopt_valsize);
4048 sopt->sopt_valsize = valsize;
4051 error = copyout(buf, sopt->sopt_val, valsize);
4053 bcopy(buf, sopt->sopt_val, valsize);
4372 size_t valsize = 0; local
4390 valsize += m->m_len;
4398 sopt->sopt_valsize = valsize;