Lines Matching refs:dkdata
803 dh_k4_clntdata_t *dkdata; in nfs_free_secdata() local
816 dkdata = (dh_k4_clntdata_t *)secdata->data; in nfs_free_secdata()
817 if (dkdata) { in nfs_free_secdata()
818 if (dkdata->netname) in nfs_free_secdata()
819 free(dkdata->netname); in nfs_free_secdata()
820 if (dkdata->syncaddr.buf) in nfs_free_secdata()
821 free(dkdata->syncaddr.buf); in nfs_free_secdata()
822 free(dkdata); in nfs_free_secdata()
860 dh_k4_clntdata_t *dkdata; in nfs_clnt_secdata() local
908 dkdata = malloc(sizeof (dh_k4_clntdata_t)); in nfs_clnt_secdata()
909 if (!dkdata) { in nfs_clnt_secdata()
914 (void) memset((char *)dkdata, 0, in nfs_clnt_secdata()
916 if ((dkdata->netname = strdup(netname)) == NULL) { in nfs_clnt_secdata()
921 dkdata->netnamelen = strlen(netname); in nfs_clnt_secdata()
922 dkdata->knconf = knconf; in nfs_clnt_secdata()
923 dkdata->syncaddr = *syncaddr; in nfs_clnt_secdata()
924 dkdata->syncaddr.buf = malloc(syncaddr->len); in nfs_clnt_secdata()
925 if (dkdata->syncaddr.buf == NULL) { in nfs_clnt_secdata()
930 (void) memcpy(dkdata->syncaddr.buf, syncaddr->buf, in nfs_clnt_secdata()
932 secdata->data = (caddr_t)dkdata; in nfs_clnt_secdata()