Lines Matching refs:netaddrp
72 struct netbuf *netaddrp = &gssg->gss_netaddr; in gss_zone_fini() local
74 if (netaddrp->len != 0) in gss_zone_fini()
75 kmem_free(netaddrp->buf, netaddrp->maxlen); in gss_zone_fini()
102 struct netbuf *netaddrp; in getgssd_handle() local
126 netaddrp = &gssg->gss_netaddr; in getgssd_handle()
128 if (netaddrp->len == 0 || gssg->gss_last_stat != RPC_SUCCESS) { in getgssd_handle()
129 if (netaddrp->buf != NULL) in getgssd_handle()
130 kmem_free(netaddrp->buf, netaddrp->maxlen); in getgssd_handle()
133 netaddrp->len = netaddrp->maxlen = 10; in getgssd_handle()
134 netaddrp->buf = kmem_alloc(netaddrp->len, KM_SLEEP); in getgssd_handle()
135 (void) strncpy(netaddrp->buf, "localhost.", netaddrp->len); in getgssd_handle()
139 netaddrp); in getgssd_handle()
141 kmem_free(netaddrp->buf, netaddrp->maxlen); in getgssd_handle()
142 netaddrp->buf = NULL; in getgssd_handle()
143 netaddrp->len = netaddrp->maxlen = 0; in getgssd_handle()
155 tmpaddr.buf = kmem_zalloc(netaddrp->maxlen, KM_SLEEP); in getgssd_handle()
156 bcopy(netaddrp->buf, tmpaddr.buf, netaddrp->maxlen); in getgssd_handle()
157 tmpaddr.maxlen = netaddrp->maxlen; in getgssd_handle()
158 tmpaddr.len = netaddrp->len; in getgssd_handle()