Lines Matching refs:buflen
1656 int buflen = m->m_len;
1658 while (buflen > 0 && len > 0) {
1702 if (cp_size > buflen) {
1703 panic("cp_size > buflen, something wrong with alignment!");
1723 buflen -= cp_size;
2414 sockargs(struct mbuf **mp, user_addr_t data, int buflen, int type)
2420 size_t alloc_buflen = (size_t)buflen;
2427 alloc_buflen = ((buflen - sizeof(struct cmsghdr))*2) + sizeof(struct cmsghdr);
2445 /* K64: We still copyin the original buflen because it gets expanded later
2448 m->m_len = buflen;
2449 error = copyin(data, mtod(m, caddr_t), (u_int)buflen);
2456 sa->sa_len = buflen;