Lines Matching refs:ulen
226 int ulen, rlen; in decode_sockname() local
231 if (fetch_socklen(tcp, &ulen, tcp->u_arg[1], tcp->u_arg[2])) { in decode_sockname()
232 set_tcb_priv_ulong(tcp, ulen); in decode_sockname()
242 ulen = get_tcb_priv_ulong(tcp); in decode_sockname()
246 tprintf(", [%d]", ulen); in decode_sockname()
248 decode_sockaddr(tcp, tcp->u_arg[1], ulen > rlen ? rlen : ulen); in decode_sockname()
249 if (ulen != rlen) in decode_sockname()
250 tprintf(", [%d->%d]", ulen, rlen); in decode_sockname()
326 int ulen, rlen; in SYS_FUNC() local
331 if (fetch_socklen(tcp, &ulen, tcp->u_arg[4], tcp->u_arg[5])) { in SYS_FUNC()
332 set_tcb_priv_ulong(tcp, ulen); in SYS_FUNC()
348 ulen = get_tcb_priv_ulong(tcp); in SYS_FUNC()
362 tprintf(", [%d]", ulen); in SYS_FUNC()
366 decode_sockaddr(tcp, tcp->u_arg[4], ulen > rlen ? rlen : ulen); in SYS_FUNC()
368 if (ulen != rlen) in SYS_FUNC()
369 tprintf(", [%d->%d]", ulen, rlen); in SYS_FUNC()
762 const int ulen, const int rlen) in print_getsockopt() argument
764 if (ulen <= 0 || rlen <= 0) { in print_getsockopt()
822 print_array(tcp, addr, MIN(ulen, rlen) / sizeof(buf), in print_getsockopt()
849 int ulen, rlen; in SYS_FUNC() local
856 && umove(tcp, tcp->u_arg[4], &ulen) == 0) { in SYS_FUNC()
857 set_tcb_priv_ulong(tcp, ulen); in SYS_FUNC()
866 ulen = get_tcb_priv_ulong(tcp); in SYS_FUNC()
870 tprintf(", [%d]", ulen); in SYS_FUNC()
873 tcp->u_arg[3], ulen, rlen); in SYS_FUNC()
874 if (ulen != rlen) in SYS_FUNC()
875 tprintf(", [%d->%d]", ulen, rlen); in SYS_FUNC()