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

/freebsd-11-stable/usr.sbin/iscsid/
H A Dlogin.c51 struct iscsi_bhs_login_response *bhslr; local
53 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs;
55 return (bhslr->bhslr_flags & 0x03);
61 struct iscsi_bhs_login_request *bhslr; local
67 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
69 bhslr->bhslr_flags &= 0xFC;
70 bhslr->bhslr_flags |= nsg;
76 struct iscsi_bhs_login_request *bhslr; local
82 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
84 bhslr
194 struct iscsi_bhs_login_response *bhslr; local
222 struct iscsi_bhs_login_response *bhslr; local
277 struct iscsi_bhs_login_request *bhslr; local
477 struct iscsi_bhs_login_response *bhslr; local
[all...]
H A Ddiscovery.c101 struct iscsi_bhs_logout_response *bhslr; local
108 bhslr = (struct iscsi_bhs_logout_response *)response->pdu_bhs;
109 if (ntohs(bhslr->bhslr_response) != BHSLR_RESPONSE_CLOSED_SUCCESSFULLY)
111 ntohs(bhslr->bhslr_response));
112 if (ntohl(bhslr->bhslr_statsn) != conn->conn_statsn + 1) {
114 "is %u, should be %u", ntohl(bhslr->bhslr_statsn),
117 conn->conn_statsn = ntohl(bhslr->bhslr_statsn);
126 struct iscsi_bhs_logout_request *bhslr; local
129 bhslr = (struct iscsi_bhs_logout_request *)request->pdu_bhs;
130 bhslr
[all...]
/freebsd-11-stable/usr.sbin/ctld/
H A Ddiscovery.c114 struct iscsi_bhs_logout_request *bhslr; local
122 bhslr = (struct iscsi_bhs_logout_request *)request->pdu_bhs;
123 if ((bhslr->bhslr_reason & 0x7f) != BHSLR_REASON_CLOSE_SESSION)
125 "continuing anyway", bhslr->bhslr_reason & 0x7f);
126 if (ISCSI_SNLT(ntohl(bhslr->bhslr_cmdsn), conn->conn_cmdsn)) {
129 ntohl(bhslr->bhslr_cmdsn));
131 if (ntohl(bhslr->bhslr_expstatsn) != conn->conn_statsn) {
133 "is %u, should be %u", ntohl(bhslr->bhslr_expstatsn),
136 conn->conn_cmdsn = ntohl(bhslr->bhslr_cmdsn);
137 if ((bhslr
148 struct iscsi_bhs_logout_request *bhslr; local
[all...]
H A Dlogin.c52 struct iscsi_bhs_login_response *bhslr; local
58 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs;
60 bhslr->bhslr_flags &= 0xFC;
61 bhslr->bhslr_flags |= nsg;
62 bhslr->bhslr_flags |= BHSLR_FLAGS_TRANSIT;
68 struct iscsi_bhs_login_request *bhslr; local
70 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
72 return ((bhslr->bhslr_flags & 0x0C) >> 2);
78 struct iscsi_bhs_login_response *bhslr; local
84 bhslr
94 struct iscsi_bhs_login_request *bhslr; local
155 struct iscsi_bhs_login_request *bhslr; local
759 struct iscsi_bhs_login_request *bhslr; local
783 struct iscsi_bhs_login_request *bhslr; local
[all...]
/freebsd-11-stable/sys/cam/ctl/
H A Dctl_frontend_iscsi.c930 struct iscsi_bhs_logout_request *bhslr; local
936 bhslr = (struct iscsi_bhs_logout_request *)request->ip_bhs;
937 switch (bhslr->bhslr_reason & 0x7f) {
952 bhslr->bhslr_initiator_task_tag;
971 bhslr->bhslr_initiator_task_tag;
977 bhslr->bhslr_reason);
/freebsd-11-stable/sys/dev/iscsi/
H A Discsi.c280 struct iscsi_bhs_logout_request *bhslr; local
286 bhslr = (struct iscsi_bhs_logout_request *)request->ip_bhs;
287 bhslr->bhslr_opcode = ISCSI_BHS_OPCODE_LOGOUT_REQUEST;
288 bhslr->bhslr_reason = BHSLR_REASON_CLOSE_SESSION;

Completed in 152 milliseconds