Lines Matching refs:control

210     struct mbuf *control)  in stub_compat_70_unp_addsockcred()  argument
214 return control; in stub_compat_70_unp_addsockcred()
347 unp_output(struct mbuf *m, struct mbuf *control, struct unpcb *unp) in unp_output() argument
364 control = unp_addsockcred(curlwp, control); in unp_output()
366 MODULE_HOOK_CALL(uipc_unp_70_hook, (curlwp, control), in unp_output()
367 stub_compat_70_unp_addsockcred(curlwp, control), control); in unp_output()
369 control) == 0) { in unp_output()
370 unp_dispose(control); in unp_output()
371 m_freem(control); in unp_output()
461 struct mbuf *control, struct lwp *l) in unp_send() argument
478 if (control) { in unp_send()
480 error = unp_internalize(&control); in unp_send()
483 m_freem(control); in unp_send()
513 unp_dispose(control); in unp_send()
514 m_freem(control); in unp_send()
518 error = unp_output(m, control, unp); in unp_send()
540 control = unp_addsockcred(l, control); in unp_send()
548 MODULE_HOOK_CALL(uipc_unp_70_hook, (curlwp, control), in unp_send()
549 stub_compat_70_unp_addsockcred(curlwp, control), in unp_send()
550 control); in unp_send()
557 if (control) { in unp_send()
558 if (sbappendcontrol(rcv, m, control) != 0) in unp_send()
559 control = NULL; in unp_send()
584 if (control != NULL) { in unp_send()
585 unp_dispose(control); in unp_send()
586 m_freem(control); in unp_send()
598 unp_sendoob(struct socket *so, struct mbuf *m, struct mbuf * control) in unp_sendoob() argument
603 m_freem(control); in unp_sendoob()
1541 struct mbuf *control = *controlp; in unp_internalize() local
1542 struct cmsghdr *newcm, *cm = mtod(control, struct cmsghdr *); in unp_internalize()
1554 cm->cmsg_len > control->m_len || in unp_internalize()
1624 if (control->m_flags & M_EXT) { in unp_internalize()
1625 m_freem(control); in unp_internalize()
1626 *controlp = control = m_get(M_WAIT, MT_CONTROL); in unp_internalize()
1628 MEXTADD(control, newcm, CMSG_SPACE(nfds * sizeof(file_t *)), in unp_internalize()
1636 control->m_len = CMSG_SPACE(nfds * sizeof(file_t *)); in unp_internalize()
1643 unp_addsockcred(struct lwp *l, struct mbuf *control) in unp_addsockcred() argument
1652 return control; in unp_addsockcred()
1665 return m_add(control, m); in unp_addsockcred()