Lines Matching refs:login

1361  * srpt_stp_login() - SRP SCSI Target port login
1364 srpt_stp_login(srpt_target_port_t *tgt, srp_login_req_t *login,
1378 ASSERT(login != NULL);
1388 BE_IN64(&login->lreq_initiator_port_id[8]));
1390 BE_IN64(&login->lreq_target_port_id[0]));
1392 BE_IN64(&login->lreq_initiator_port_id[0]),
1393 BE_IN64(&login->lreq_initiator_port_id[8]));
1395 BE_IN64(&login->lreq_target_port_id[0]),
1396 BE_IN64(&login->lreq_target_port_id[8]));
1399 srp_login_req_t, login);
1404 * operation to transition the target state while a login is
1418 * Validate that the SRP Target ID in the login request specifies
1421 if (memcmp(login->lreq_target_port_id, tgt->tp_srp_port_id,
1425 (u_longlong_t)BE_IN64(&login->lreq_target_port_id[0]),
1426 (u_longlong_t)BE_IN64(&login->lreq_target_port_id[8]));
1442 req_it_ui_len = b2h32(login->lreq_req_it_iu_len);
1457 SRPT_DPRINTF_L2("stp_login, login req InitID 0x%016llx:0x%016llx",
1458 (u_longlong_t)BE_IN64(&login->lreq_initiator_port_id[0]),
1459 (u_longlong_t)BE_IN64(&login->lreq_initiator_port_id[8]));
1460 SRPT_DPRINTF_L2("stp_login, login req TgtID 0x%016llx:0x%016llx",
1461 (u_longlong_t)BE_IN64(&login->lreq_target_port_id[0]),
1462 (u_longlong_t)BE_IN64(&login->lreq_target_port_id[8]));
1474 switch (login->lreq_req_flags & SRP_LOGIN_MULTI_CH_MASK) {
1510 if ((bcmp(login->lreq_initiator_port_id,
1513 (bcmp(login->lreq_target_port_id,
1527 " existing login");
1537 /* Create the new session for this SRP login */
1539 login->lreq_initiator_port_id,
1540 login->lreq_target_port_id, login_port,
1558 login->lreq_req_flags & SRP_LOGIN_MULTI_CH_MASK);
1565 * Create new RDMA channel for this SRP login request.
1577 ch->ch_ti_iu_len = b2h32(login->lreq_req_it_iu_len);
1589 srpt_format_login_rsp(login, login_rsp, rsp_flags);
1591 SRPT_DPRINTF_L2("stp_login, login successful");
1599 srpt_format_login_rej(login, login_rej, reason);
1623 * srpt_format_login_rej() - Format login reject IU
1637 * srpt_format_login_rsp() - Format login response IU