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

/freebsd-current/usr.sbin/iscsid/
H A Ddiscovery.c45 struct iscsi_bhs_logout_response *bhslr; local
52 bhslr = (struct iscsi_bhs_logout_response *)response->pdu_bhs;
53 if (ntohs(bhslr->bhslr_response) != BHSLR_RESPONSE_CLOSED_SUCCESSFULLY)
55 ntohs(bhslr->bhslr_response));
56 if (ntohl(bhslr->bhslr_statsn) != conn->conn_statsn + 1) {
58 "is %u, should be %u", ntohl(bhslr->bhslr_statsn),
61 conn->conn_statsn = ntohl(bhslr->bhslr_statsn);
70 struct iscsi_bhs_logout_request *bhslr; local
73 bhslr = (struct iscsi_bhs_logout_request *)request->pdu_bhs;
74 bhslr
[all...]
H A Dlogin.c47 struct iscsi_bhs_login_response *bhslr; local
49 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs;
51 return (bhslr->bhslr_flags & 0x03);
57 struct iscsi_bhs_login_request *bhslr; local
63 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
65 bhslr->bhslr_flags &= 0xFC;
66 bhslr->bhslr_flags |= nsg;
72 struct iscsi_bhs_login_request *bhslr; local
78 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
80 bhslr
190 struct iscsi_bhs_login_response *bhslr; local
218 struct iscsi_bhs_login_response *bhslr; local
274 struct iscsi_bhs_login_request *bhslr; local
482 struct iscsi_bhs_login_response *bhslr; local
[all...]
/freebsd-current/usr.sbin/ctld/
H A Ddiscovery.c48 struct iscsi_bhs_logout_request *bhslr; local
56 bhslr = (struct iscsi_bhs_logout_request *)request->pdu_bhs;
57 if ((bhslr->bhslr_reason & 0x7f) != BHSLR_REASON_CLOSE_SESSION)
59 "continuing anyway", bhslr->bhslr_reason & 0x7f);
60 if (ISCSI_SNLT(ntohl(bhslr->bhslr_cmdsn), conn->conn_cmdsn)) {
63 ntohl(bhslr->bhslr_cmdsn));
65 if (ntohl(bhslr->bhslr_expstatsn) != conn->conn_statsn) {
67 "is %u, should be %u", ntohl(bhslr->bhslr_expstatsn),
70 conn->conn_cmdsn = ntohl(bhslr->bhslr_cmdsn);
71 if ((bhslr
82 struct iscsi_bhs_logout_request *bhslr; local
[all...]
H A Dlogin.c49 struct iscsi_bhs_login_response *bhslr; local
55 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs;
57 bhslr->bhslr_flags &= 0xFC;
58 bhslr->bhslr_flags |= nsg;
59 bhslr->bhslr_flags |= BHSLR_FLAGS_TRANSIT;
65 struct iscsi_bhs_login_request *bhslr; local
67 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs;
69 return ((bhslr->bhslr_flags & 0x0C) >> 2);
75 struct iscsi_bhs_login_response *bhslr; local
81 bhslr
91 struct iscsi_bhs_login_request *bhslr; local
152 struct iscsi_bhs_login_request *bhslr; local
815 struct iscsi_bhs_login_request *bhslr; local
839 struct iscsi_bhs_login_request *bhslr; local
[all...]
/freebsd-current/sys/cam/ctl/
H A Dctl_frontend_iscsi.c945 struct iscsi_bhs_logout_request *bhslr; local
951 bhslr = (struct iscsi_bhs_logout_request *)request->ip_bhs;
952 switch (bhslr->bhslr_reason & 0x7f) {
967 bhslr->bhslr_initiator_task_tag;
986 bhslr->bhslr_initiator_task_tag;
992 bhslr->bhslr_reason);
/freebsd-current/sys/dev/iscsi/
H A Discsi.c299 struct iscsi_bhs_logout_request *bhslr; local
305 bhslr = (struct iscsi_bhs_logout_request *)request->ip_bhs;
306 bhslr->bhslr_opcode = ISCSI_BHS_OPCODE_LOGOUT_REQUEST;
307 bhslr->bhslr_reason = BHSLR_REASON_CLOSE_SESSION;

Completed in 139 milliseconds