Searched refs:bhslr (Results 1 - 6 of 6) sorted by relevance

/freebsd-10-stable/usr.sbin/iscsid/
H A Dlogin.c49 struct iscsi_bhs_login_response *bhslr; local
51 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs;
53 return (bhslr->bhslr_flags & 0x03);
59 struct iscsi_bhs_login_request *bhslr; local
65 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
67 bhslr->bhslr_flags &= 0xFC;
68 bhslr->bhslr_flags |= nsg;
74 struct iscsi_bhs_login_request *bhslr; local
80 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
82 bhslr
192 struct iscsi_bhs_login_response *bhslr; local
220 struct iscsi_bhs_login_response *bhslr; local
275 struct iscsi_bhs_login_request *bhslr; local
437 struct iscsi_bhs_login_response *bhslr; local
[all...]
H A Ddiscovery.c99 struct iscsi_bhs_logout_response *bhslr; local
106 bhslr = (struct iscsi_bhs_logout_response *)response->pdu_bhs;
107 if (ntohs(bhslr->bhslr_response) != BHSLR_RESPONSE_CLOSED_SUCCESSFULLY)
109 ntohs(bhslr->bhslr_response));
110 if (ntohl(bhslr->bhslr_statsn) != conn->conn_statsn + 1) {
112 "is %u, should be %u", ntohl(bhslr->bhslr_statsn),
115 conn->conn_statsn = ntohl(bhslr->bhslr_statsn);
124 struct iscsi_bhs_logout_request *bhslr; local
127 bhslr = (struct iscsi_bhs_logout_request *)request->pdu_bhs;
128 bhslr
[all...]
/freebsd-10-stable/usr.sbin/ctld/
H A Ddiscovery.c112 struct iscsi_bhs_logout_request *bhslr; local
120 bhslr = (struct iscsi_bhs_logout_request *)request->pdu_bhs;
121 if ((bhslr->bhslr_reason & 0x7f) != BHSLR_REASON_CLOSE_SESSION)
123 "continuing anyway", bhslr->bhslr_reason & 0x7f);
124 if (ISCSI_SNLT(ntohl(bhslr->bhslr_cmdsn), conn->conn_cmdsn)) {
127 ntohl(bhslr->bhslr_cmdsn));
129 if (ntohl(bhslr->bhslr_expstatsn) != conn->conn_statsn) {
131 "is %u, should be %u", ntohl(bhslr->bhslr_expstatsn),
134 conn->conn_cmdsn = ntohl(bhslr->bhslr_cmdsn);
135 if ((bhslr
146 struct iscsi_bhs_logout_request *bhslr; local
[all...]
H A Dlogin.c50 struct iscsi_bhs_login_response *bhslr; local
56 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs;
58 bhslr->bhslr_flags &= 0xFC;
59 bhslr->bhslr_flags |= nsg;
60 bhslr->bhslr_flags |= BHSLR_FLAGS_TRANSIT;
66 struct iscsi_bhs_login_request *bhslr; local
68 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
70 return ((bhslr->bhslr_flags & 0x0C) >> 2);
76 struct iscsi_bhs_login_response *bhslr; local
82 bhslr
92 struct iscsi_bhs_login_request *bhslr; local
153 struct iscsi_bhs_login_request *bhslr; local
748 struct iscsi_bhs_login_request *bhslr; local
772 struct iscsi_bhs_login_request *bhslr; local
[all...]
/freebsd-10-stable/sys/cam/ctl/
H A Dctl_frontend_iscsi.c926 struct iscsi_bhs_logout_request *bhslr; local
932 bhslr = (struct iscsi_bhs_logout_request *)request->ip_bhs;
933 switch (bhslr->bhslr_reason & 0x7f) {
948 bhslr->bhslr_initiator_task_tag;
967 bhslr->bhslr_initiator_task_tag;
973 bhslr->bhslr_reason);
/freebsd-10-stable/sys/dev/iscsi/
H A Discsi.c282 struct iscsi_bhs_logout_request *bhslr; local
288 bhslr = (struct iscsi_bhs_logout_request *)request->ip_bhs;
289 bhslr->bhslr_opcode = ISCSI_BHS_OPCODE_LOGOUT_REQUEST;
290 bhslr->bhslr_reason = BHSLR_REASON_CLOSE_SESSION;

Completed in 74 milliseconds