Lines Matching refs:xp_ltaddr
156 xprt->xp_ltaddr.maxlen = xprt->xp_ltaddr.len = sslocal.ss_len; in svc_vc_create()
157 xprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in svc_vc_create()
158 if (xprt->xp_ltaddr.buf == NULL) { in svc_vc_create()
162 memcpy(xprt->xp_ltaddr.buf, &sslocal, (size_t)sslocal.ss_len); in svc_vc_create()
197 ret->xp_ltaddr.maxlen = ret->xp_ltaddr.len = ss.ss_len; in svc_fd_create()
198 ret->xp_ltaddr.buf = mem_alloc((size_t)ss.ss_len); in svc_fd_create()
199 if (ret->xp_ltaddr.buf == NULL) { in svc_fd_create()
203 memcpy(ret->xp_ltaddr.buf, &ss, (size_t)ss.ss_len); in svc_fd_create()
227 if (ret->xp_ltaddr.buf != NULL) in svc_fd_create()
228 mem_free(ret->xp_ltaddr.buf, rep->xp_ltaddr.maxlen); in svc_fd_create()
347 newxprt->xp_ltaddr.maxlen = newxprt->xp_ltaddr.len = 0; in rendezvous_request()
349 newxprt->xp_ltaddr.maxlen = newxprt->xp_ltaddr.len = sslocal.ss_len; in rendezvous_request()
350 newxprt->xp_ltaddr.buf = mem_alloc((size_t)sslocal.ss_len); in rendezvous_request()
351 if (newxprt->xp_ltaddr.buf == NULL) { in rendezvous_request()
353 newxprt->xp_ltaddr.maxlen = newxprt->xp_ltaddr.len = 0; in rendezvous_request()
355 memcpy(newxprt->xp_ltaddr.buf, &sslocal, (size_t)sslocal.ss_len); in rendezvous_request()
403 if (xprt->xp_ltaddr.buf) in __svc_vc_dodestroy()
404 mem_free(xprt->xp_ltaddr.buf, xprt->xp_ltaddr.maxlen); in __svc_vc_dodestroy()