Lines Matching refs:saddr
1484 struct netbuf *saddr; in update_servinfo4() local
1503 saddr = &svp->sv_addr; in update_servinfo4()
1504 if (saddr->buf != NULL) in update_servinfo4()
1505 kmem_free(saddr->buf, saddr->maxlen); in update_servinfo4()
1506 saddr->buf = kmem_alloc(nfsfsloc->addr->maxlen, KM_SLEEP); in update_servinfo4()
1507 saddr->len = nfsfsloc->addr->len; in update_servinfo4()
1508 saddr->maxlen = nfsfsloc->addr->maxlen; in update_servinfo4()
1509 bcopy(nfsfsloc->addr->buf, saddr->buf, nfsfsloc->addr->len); in update_servinfo4()
2051 struct netbuf *saddr, *taddr; in copy_svp() local
2066 saddr = &nsvp->sv_addr; in copy_svp()
2068 taddr->maxlen = saddr->maxlen; in copy_svp()
2069 taddr->len = saddr->len; in copy_svp()
2070 if (saddr->len > 0) { in copy_svp()
2071 taddr->buf = kmem_zalloc(saddr->maxlen, KM_SLEEP); in copy_svp()
2072 bcopy(saddr->buf, taddr->buf, saddr->len); in copy_svp()
3897 np->saddr.len = svp->sv_addr.len; in new_nfs4_server()
3898 np->saddr.maxlen = svp->sv_addr.maxlen; in new_nfs4_server()
3899 np->saddr.buf = kmem_alloc(svp->sv_addr.maxlen, KM_SLEEP); in new_nfs4_server()
3900 bcopy(svp->sv_addr.buf, np->saddr.buf, svp->sv_addr.len); in new_nfs4_server()
3921 np->clidtosend.id_len = len + np->saddr.maxlen; in new_nfs4_server()
3925 bcopy(np->saddr.buf, &np->clidtosend.id_val[len], np->saddr.len); in new_nfs4_server()
3994 np, (longlong_t)np->clientid, np->saddr.len, in dumpnfs4slist()
3995 hash16((void *)np->saddr.buf, np->saddr.len), in dumpnfs4slist()
3997 if (np->saddr.len == srv_p->sv_addr.len && in dumpnfs4slist()
3998 bcmp(np->saddr.buf, srv_p->sv_addr.buf, in dumpnfs4slist()
3999 np->saddr.len) == 0) in dumpnfs4slist()
4040 if (p->saddr.len == old->sv_addr.len && in nfs4_move_mi()
4041 bcmp(p->saddr.buf, old->sv_addr.buf, p->saddr.len) == 0 && in nfs4_move_mi()
4047 if (p->saddr.len == new->sv_addr.len && in nfs4_move_mi()
4048 bcmp(p->saddr.buf, new->sv_addr.buf, p->saddr.len) == 0 && in nfs4_move_mi()
4124 np->saddr.len == srv_p->sv_addr.len && in servinfo4_to_nfs4_server()
4125 bcmp(np->saddr.buf, srv_p->sv_addr.buf, in servinfo4_to_nfs4_server()
4126 np->saddr.len) == 0 && in servinfo4_to_nfs4_server()
4242 kmem_free(sp->saddr.buf, sp->saddr.maxlen); in destroy_nfs4_server()