Lines Matching defs:ls
1342 struct iscsi_login_stats *ls;
1348 ls = &tiqn->login_stats;
1350 spin_lock(&ls->lock);
1352 ls->accepts++;
1354 ls->redirects++;
1355 ls->last_fail_type = ISCSI_LOGIN_FAIL_REDIRECT;
1358 ls->authenticate_fails++;
1359 ls->last_fail_type = ISCSI_LOGIN_FAIL_AUTHENTICATE;
1362 ls->authorize_fails++;
1363 ls->last_fail_type = ISCSI_LOGIN_FAIL_AUTHORIZE;
1366 ls->negotiate_fails++;
1367 ls->last_fail_type = ISCSI_LOGIN_FAIL_NEGOTIATE;
1369 ls->other_fails++;
1370 ls->last_fail_type = ISCSI_LOGIN_FAIL_OTHER;
1378 strscpy(ls->last_intr_fail_name,
1380 sizeof(ls->last_intr_fail_name));
1382 ls->last_intr_fail_ip_family = conn->login_family;
1384 ls->last_intr_fail_sockaddr = conn->login_sockaddr;
1385 ls->last_fail_time = get_jiffies_64();
1388 spin_unlock(&ls->lock);