Lines Matching refs:auth
691 iscsi_auth_props_t *auth = NULL;
710 auth = (iscsi_auth_props_t *)kmem_zalloc
713 if (persistent_auth_get((char *)isp->sess_name, auth)
720 bzero(auth, sizeof (*auth));
721 if (persistent_auth_get(init_name, auth) != B_TRUE) {
722 bzero(auth, sizeof (*auth));
723 auth->a_auth_method = authMethodNone;
728 * auth flag.
730 auth->a_bi_auth = B_FALSE;
750 if (auth->a_auth_method & authMethodCHAP) {
757 kmem_free(auth, sizeof (iscsi_auth_props_t));
775 if (auth->a_auth_method & authMethodCHAP &&
776 auth->a_bi_auth == B_TRUE) {
803 if (auth != NULL) {
804 kmem_free(auth, sizeof (iscsi_auth_props_t));