Home
last modified time | relevance | path

Searched refs:controllen (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dsocksubr.c945 so_closefds(void *control, t_uscalar_t controllen, int oldflg, in so_closefds() argument
954 close_fds(control, controllen, startoff); in so_closefds()
959 CMSG_VALID(cmsg, control, (uintptr_t)control + controllen); in so_closefds()
979 so_getfdopt(void *control, t_uscalar_t controllen, int oldflg, in so_getfdopt() argument
994 if (controllen == 0) in so_getfdopt()
997 *fdlenp = controllen; in so_getfdopt()
1006 CMSG_VALID(cmsg, control, (uintptr_t)control + controllen); in so_getfdopt()
1031 so_optlen(void *control, t_uscalar_t controllen, int oldflg) in so_optlen() argument
1042 fdbuf_optlen(controllen))); in so_optlen()
1045 CMSG_VALID(cmsg, control, (uintptr_t)control + controllen); in so_optlen()
[all …]
H A Dsockcommon_sops.c1580 t_uscalar_t controllen, namelen; in so_recvmsg() local
1638 controllen = msg->msg_controllen; in so_recvmsg()
1762 if (controllen != 0) in so_recvmsg()
1763 controllen = ncontrollen; in so_recvmsg()
1767 controllen = 0; in so_recvmsg()
1785 if (controllen != 0) { in so_recvmsg()
1791 control = kmem_zalloc(controllen, KM_SLEEP); in so_recvmsg()
1794 !(flags & MSG_XPG4_2), control, controllen); in so_recvmsg()
1800 kmem_free(control, controllen); in so_recvmsg()
1805 msg->msg_controllen = controllen; in so_recvmsg()
[all …]
H A Dsocksyscalls.c841 socklen_t controllen; in recvit() local
855 controllen = msg->msg_controllen; in recvit()
884 if (controllen != 0 && in recvit()
885 (msg->msg_controllen > controllen || control == NULL)) { in recvit()
887 msg->msg_controllen, controllen, control)); in recvit()
902 if (controllen != 0) { in recvit()
908 controllen &= ~((int)sizeof (uint32_t) - 1); in recvit()
910 error = copyout_arg(control, controllen, controllenp, in recvit()
915 if (msg->msg_controllen > controllen || control == NULL) { in recvit()
917 controllen = 0; in recvit()
[all …]
H A Dsocktpi.c3063 t_uscalar_t controllen; in sotpi_recvmsg() local
3123 controllen = msg->msg_controllen; in sotpi_recvmsg()
3129 namelen, controllen)); in sotpi_recvmsg()
3387 if (controllen != 0) in sotpi_recvmsg()
3388 controllen = ncontrollen; in sotpi_recvmsg()
3392 controllen = 0; in sotpi_recvmsg()
3410 if (controllen != 0) { in sotpi_recvmsg()
3416 control = kmem_zalloc(controllen, KM_SLEEP); in sotpi_recvmsg()
3420 control, controllen); in sotpi_recvmsg()
3426 kmem_free(control, controllen); in sotpi_recvmsg()
[all …]
/titanic_41/usr/src/uts/common/inet/
H A Dsctp_itf.h79 const char *control, int controllen, int flags);
H A Doptcom.c1939 process_auxiliary_options(conn_t *connp, void *control, t_uscalar_t controllen, in process_auxiliary_options() argument
1953 CMSG_VALID(cmsg, control, (uintptr_t)control + controllen); in process_auxiliary_options()
/titanic_41/usr/src/uts/common/inet/sockmods/
H A Dsocksctp.h107 const uchar_t *control, socklen_t controllen, int fflag, struct cred *,
H A Dsocksctpsubr.c360 socklen_t namelen, const uchar_t *control, socklen_t controllen, int fflag, in sosctp_assoc_createconn() argument
432 cmsg = sosctp_find_cmsg(control, controllen, SCTP_INIT); in sosctp_assoc_createconn()
H A Dsocksctp.c489 socklen_t controllen, namelen; in sosctp_recvmsg() local
494 controllen = msg->msg_controllen; in sosctp_recvmsg()
581 if (controllen == 0) { in sosctp_recvmsg()