Home
last modified time | relevance | path

Searched refs:controlp (Results 1 – 13 of 13) sorted by relevance

/freebsd-9-stable/sys/kern/
Duipc_usrreq.c1685 unp_externalize(struct mbuf *control, struct mbuf **controlp) in unp_externalize() argument
1701 if (controlp != NULL) /* controlp == NULL => free control messages */ in unp_externalize()
1702 *controlp = NULL; in unp_externalize()
1716 if (error || controlp == NULL) { in unp_externalize()
1728 *controlp = sbcreatecontrol(NULL, newlen, in unp_externalize()
1730 if (*controlp == NULL) { in unp_externalize()
1738 CMSG_DATA(mtod(*controlp, struct cmsghdr *)); in unp_externalize()
1743 m_freem(*controlp); in unp_externalize()
1744 *controlp = NULL; in unp_externalize()
1755 if (error || controlp == NULL) in unp_externalize()
[all …]
Duipc_socket.c1528 struct mbuf **mp0, struct mbuf **controlp, int *flagsp) argument
1541 if (controlp != NULL)
1542 *controlp = NULL;
1675 if (controlp != NULL) {
1676 *controlp = m_copy(m, 0, m->m_len);
1677 controlp = &(*controlp)->m_next;
1698 (cm, controlp);
1700 } else if (controlp != NULL)
1701 *controlp = cm;
1704 if (controlp != NULL) {
[all …]
Duipc_syscalls.c989 kern_recvit(td, s, mp, fromseg, controlp) in kern_recvit() argument
994 struct mbuf **controlp;
1010 if (controlp != NULL)
1011 *controlp = NULL;
1047 (mp->msg_control || controlp) ? &control : (struct mbuf **)0,
1085 if (mp->msg_control && controlp == NULL) {
1140 if (error == 0 && controlp != NULL)
1141 *controlp = control;
/freebsd-9-stable/sys/sys/
Dsocketvar.h344 struct mbuf **mp0, struct mbuf **controlp, int *flagsp);
346 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp,
349 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp,
352 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp,
Dprotosw.h220 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp,
254 struct uio *uio, struct mbuf **mp0, struct mbuf **controlp,
Dsyscallsubr.h178 enum uio_seg fromseg, struct mbuf **controlp);
/freebsd-9-stable/sys/netipx/
Dspx_usrreq.c1404 struct mbuf *controlp, struct thread *td) in spx_send() argument
1429 if (controlp != NULL) { in spx_send()
1430 u_short *p = mtod(controlp, u_short *); in spx_send()
1436 m_freem(controlp); in spx_send()
1438 controlp = NULL; in spx_send()
1443 if (controlp != NULL) in spx_send()
1444 m_freem(controlp); in spx_send()
/freebsd-9-stable/sys/compat/freebsd32/
Dfreebsd32_misc.c1096 struct mbuf **controlp; local
1113 controlp = (msg.msg_control != NULL) ? &control : NULL;
1114 error = kern_recvit(td, uap->s, &msg, UIO_USERSPACE, controlp);
1136 freebsd32_convert_msg_in(struct mbuf **controlp) in freebsd32_convert_msg_in() argument
1138 struct mbuf *control = *controlp; in freebsd32_convert_msg_in()
1145 *controlp = NULL; in freebsd32_convert_msg_in()
1156 *controlp = sbcreatecontrol(data, datalen, cm->cmsg_type, in freebsd32_convert_msg_in()
1158 controlp = &(*controlp)->m_next; in freebsd32_convert_msg_in()
/freebsd-9-stable/sys/netinet/
Dsctputil.h335 struct mbuf **controlp,
Dsctputil.c6205 struct mbuf **controlp, in sctp_soreceive() argument
6224 (controlp == NULL)) { in sctp_soreceive()
6242 if (controlp != NULL) { in sctp_soreceive()
6245 *controlp = sctp_build_ctl_nchunk(inp, in sctp_soreceive()
6248 *controlp = NULL; in sctp_soreceive()
/freebsd-9-stable/sys/compat/linux/
Dlinux_socket.c1297 struct mbuf **controlp; in linux_recvmsg() local
1328 controlp = (msg.msg_control != NULL) ? &control : NULL; in linux_recvmsg()
1329 error = kern_recvit(td, args->s, &msg, UIO_USERSPACE, controlp); in linux_recvmsg()
/freebsd-9-stable/sys/dev/cxgbe/tom/
Dt4_ddp.c1098 struct mbuf **mp0, struct mbuf **controlp, int *flagsp) in t4_soreceive_ddp() argument
1109 if (controlp != NULL) in t4_soreceive_ddp()
/freebsd-9-stable/sys/ofed/drivers/infiniband/ulp/sdp/
Dsdp_main.c1219 struct mbuf **mp0, struct mbuf **controlp, int *flagsp) in sdp_sorecv() argument
1231 if (controlp != NULL) in sdp_sorecv()