Searched refs:pdu_bhs (Results 1 – 9 of 9) sorted by relevance
47 return (pdu->pdu_bhs->bhs_total_ahs_len * 4); in pdu_ahs_length()55 len += pdu->pdu_bhs->bhs_data_segment_len[0]; in pdu_data_segment_length()57 len += pdu->pdu_bhs->bhs_data_segment_len[1]; in pdu_data_segment_length()59 len += pdu->pdu_bhs->bhs_data_segment_len[2]; in pdu_data_segment_length()68 pdu->pdu_bhs->bhs_data_segment_len[2] = len; in pdu_set_data_segment_length()69 pdu->pdu_bhs->bhs_data_segment_len[1] = len >> 8; in pdu_set_data_segment_length()70 pdu->pdu_bhs->bhs_data_segment_len[0] = len >> 16; in pdu_set_data_segment_length()82 pdu->pdu_bhs = calloc(1, sizeof(*pdu->pdu_bhs)); in pdu_new()83 if (pdu->pdu_bhs == NULL) in pdu_new()143 pdu_read(conn, (char *)pdu->pdu_bhs, sizeof(*pdu->pdu_bhs)); in pdu_receive()[all …]
48 bhstr = (struct iscsi_bhs_text_request *)request->pdu_bhs; in text_new_request()70 if ((request->pdu_bhs->bhs_opcode & ~ISCSI_BHS_OPCODE_IMMEDIATE) != in text_receive_request()73 request->pdu_bhs->bhs_opcode); in text_receive_request()74 bhstr = (struct iscsi_bhs_text_request *)request->pdu_bhs; in text_receive_request()103 bhstr = (struct iscsi_bhs_text_request *)request->pdu_bhs; in text_new_response()107 bhstr2 = (struct iscsi_bhs_text_response *)response->pdu_bhs; in text_new_response()133 if (response->pdu_bhs->bhs_opcode != ISCSI_BHS_OPCODE_TEXT_RESPONSE) in text_receive_response()135 response->pdu_bhs->bhs_opcode); in text_receive_response()136 bhstr = (struct iscsi_bhs_text_response *)response->pdu_bhs; in text_receive_response()206 bhstr = (struct iscsi_bhs_text_response *)response->pdu_bhs; in text_read_response()[all …]
63 struct iscsi_bhs *pdu_bhs; member
49 if (response->pdu_bhs->bhs_opcode != ISCSI_BHS_OPCODE_LOGOUT_RESPONSE) in logout_receive()51 response->pdu_bhs->bhs_opcode); in logout_receive()52 bhslr = (struct iscsi_bhs_logout_response *)response->pdu_bhs; in logout_receive()73 bhslr = (struct iscsi_bhs_logout_request *)request->pdu_bhs; in logout_new_request()
49 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_nsg()63 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs; in login_set_nsg()78 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs; in login_set_csg()194 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_handle_redirection()224 if (response->pdu_bhs->bhs_opcode != ISCSI_BHS_OPCODE_LOGIN_RESPONSE) { in login_receive()226 response->pdu_bhs->bhs_opcode); in login_receive()228 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_receive()278 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs; in login_new_request()565 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_negotiate()845 bhslr2 = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login()
105 idr.idr_bhs = pdu->pdu_bhs; in pdu_receive_proxy()136 ids.ids_bhs = pdu->pdu_bhs; in pdu_send_proxy()
52 if ((request->pdu_bhs->bhs_opcode & ~ISCSI_BHS_OPCODE_IMMEDIATE) != in logout_receive()55 request->pdu_bhs->bhs_opcode); in logout_receive()56 bhslr = (struct iscsi_bhs_logout_request *)request->pdu_bhs; in logout_receive()85 bhslr = (struct iscsi_bhs_logout_request *)request->pdu_bhs; in logout_new_response()89 bhslr2 = (struct iscsi_bhs_logout_response *)response->pdu_bhs; in logout_new_response()
115 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_set_nsg()127 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs; in login_csg()141 bhslr = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_set_csg()155 if ((request->pdu_bhs->bhs_opcode & ~ISCSI_BHS_OPCODE_IMMEDIATE) != in login_receive()168 request->pdu_bhs->bhs_opcode); in login_receive()170 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs; in login_receive()215 bhslr = (struct iscsi_bhs_login_request *)request->pdu_bhs; in login_new_response()219 bhslr2 = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_new_response()241 bhslr2 = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_send_error()689 bhslr2 = (struct iscsi_bhs_login_response *)response->pdu_bhs; in login_redirect()[all …]
1189 req.data.send.bhs = pdu->pdu_bhs; in kernel_send()1219 req.data.receive.bhs = pdu->pdu_bhs; in kernel_receive()