Home
last modified time | relevance | path

Searched refs:ip_bhs (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/cam/ctl/
H A Dctl_frontend_iscsi.c227 if (request->ip_bhs->bhs_opcode & ISCSI_BHS_OPCODE_IMMEDIATE) in cfiscsi_pdu_update_cmdsn()
233 if (request->ip_bhs->bhs_opcode == ISCSI_BHS_OPCODE_SCSI_DATA_OUT) in cfiscsi_pdu_update_cmdsn()
240 bhssc = (const struct iscsi_bhs_scsi_command *)request->ip_bhs; in cfiscsi_pdu_update_cmdsn()
294 switch (request->ip_bhs->bhs_opcode & in cfiscsi_pdu_handle()
314 request->ip_bhs->bhs_opcode); in cfiscsi_pdu_handle()
368 bhssr = (struct iscsi_bhs_scsi_response *)response->ip_bhs; in cfiscsi_pdu_prepare()
447 bhsno = (struct iscsi_bhs_nop_out *)request->ip_bhs; in cfiscsi_pdu_handle_nop_out()
480 bhsni = (struct iscsi_bhs_nop_in *)response->ip_bhs; in cfiscsi_pdu_handle_nop_out()
512 bhssc = (struct iscsi_bhs_scsi_command *)request->ip_bhs; in cfiscsi_pdu_handle_scsi_command()
580 bhstmr = (struct iscsi_bhs_task_management_request *)request->ip_bhs; in cfiscsi_pdu_handle_task_request()
[all …]
/freebsd/sys/dev/iser/
H A Dicl_iser.c118 MPASS(!((request->ip_bhs->bhs_opcode & ISCSI_OPCODE_MASK) == in iser_conn_pdu_append_bio()
120 (request->ip_bhs->bhs_opcode & ISCSI_OPCODE_MASK) == in iser_conn_pdu_append_bio()
132 switch (request->ip_bhs->bhs_opcode & ISCSI_OPCODE_MASK) { in iser_conn_pdu_append_data()
180 ip->ip_bhs = &iser_pdu->desc.iscsi_header; in iser_new_pdu()
205 len += request->ip_bhs->bhs_data_segment_len[0]; in iser_conn_pdu_data_segment_length()
207 len += request->ip_bhs->bhs_data_segment_len[1]; in iser_conn_pdu_data_segment_length()
209 len += request->ip_bhs->bhs_data_segment_len[2]; in iser_conn_pdu_data_segment_length()
258 if (is_control_opcode(ip->ip_bhs->bhs_opcode)) { in iser_conn_pdu_queue()
H A Diser_initiator.c493 response->ip_bhs = hdr; in iser_rcv_completion()
/freebsd/sys/dev/cxgbe/cxgbei/
H A Dcxgbei.c210 m_copydata(m, sizeof(*cpl), ISCSI_BHS_SIZE, (caddr_t)ip->ip_bhs); in do_rx_iscsi_hdr()
399 *ip->ip_bhs = bhs; in parse_pdu()
481 ip->ip_bhs->bhs_opcode); in do_rx_iscsi_ddp()
486 ip->ip_bhs->bhs_opcode); in do_rx_iscsi_ddp()
491 ip->ip_bhs->bhs_opcode); in do_rx_iscsi_ddp()
630 m_copydata(m, sizeof(*cpl), ISCSI_BHS_SIZE, (caddr_t)ip->ip_bhs); in do_rx_iscsi_cmp()
631 bhsdo = (struct iscsi_bhs_data_out *)ip->ip_bhs; in do_rx_iscsi_cmp()
641 ip->ip_bhs->bhs_opcode); in do_rx_iscsi_cmp()
646 ip->ip_bhs->bhs_opcode); in do_rx_iscsi_cmp()
651 ip->ip_bhs->bhs_opcode); in do_rx_iscsi_cmp()
[all …]
H A Dicl_cxgbei.c275 ip->ip_bhs = mtod(m, struct iscsi_bhs *); in icl_cxgbei_new_pdu()
276 memset(ip->ip_bhs, 0, sizeof(*ip->ip_bhs)); in icl_cxgbei_new_pdu()
314 len += request->ip_bhs->bhs_data_segment_len[0]; in icl_pdu_data_segment_length()
316 len += request->ip_bhs->bhs_data_segment_len[1]; in icl_pdu_data_segment_length()
318 len += request->ip_bhs->bhs_data_segment_len[2]; in icl_pdu_data_segment_length()
371 bhs = ip->ip_bhs; in finalize_pdu()
416 ip->ip_bhs = NULL; in finalize_pdu()
/freebsd/sys/dev/iscsi/
H A Discsi.c214 bhssc = (struct iscsi_bhs_scsi_command *)request->ip_bhs; in iscsi_pdu_prepare()
305 bhslr = (struct iscsi_bhs_logout_request *)request->ip_bhs; in iscsi_session_logout()
660 bhsno = (struct iscsi_bhs_nop_out *)request->ip_bhs; in iscsi_callout()
695 bhsdi = (const struct iscsi_bhs_data_in *)response->ip_bhs; in iscsi_pdu_update_statsn()
786 switch (response->ip_bhs->bhs_opcode) { in iscsi_receive_callback()
824 response->ip_bhs->bhs_opcode); in iscsi_receive_callback()
854 bhsni = (struct iscsi_bhs_nop_in *)response->ip_bhs; in iscsi_pdu_handle_nop_in()
887 bhsno = (struct iscsi_bhs_nop_out *)request->ip_bhs; in iscsi_pdu_handle_nop_in()
925 bhssr = (struct iscsi_bhs_scsi_response *)response->ip_bhs; in iscsi_pdu_handle_scsi_response()
1080 bhstmr = (struct iscsi_bhs_task_management_response *)response->ip_bhs; in iscsi_pdu_handle_task_response()
[all …]
H A Dicl_soft.c272 ip->ip_bhs = mtod(ip->ip_bhs_mbuf, struct iscsi_bhs *); in icl_soft_conn_new_pdu()
273 memset(ip->ip_bhs, 0, sizeof(struct iscsi_bhs)); in icl_soft_conn_new_pdu()
283 return (request->ip_bhs->bhs_total_ahs_len * 4); in icl_pdu_ahs_length()
291 len += request->ip_bhs->bhs_data_segment_len[0]; in icl_pdu_data_segment_length()
293 len += request->ip_bhs->bhs_data_segment_len[1]; in icl_pdu_data_segment_length()
295 len += request->ip_bhs->bhs_data_segment_len[2]; in icl_pdu_data_segment_length()
312 response->ip_bhs->bhs_data_segment_len[2] = len; in icl_pdu_set_data_segment_length()
313 response->ip_bhs->bhs_data_segment_len[1] = len >> 8; in icl_pdu_set_data_segment_length()
314 response->ip_bhs->bhs_data_segment_len[0] = len >> 16; in icl_pdu_set_data_segment_length()
592 icl_soft_receive_buf(r, rs, request->ip_bhs, in icl_conn_receive_pdu()
[all …]
H A Dicl.h69 struct iscsi_bhs *ip_bhs; member