Lines Matching refs:src

8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
112 static void fcoei_fill_fcp_resp(uint8_t *src, uint8_t *dest, int size);
829 * src = frm payload in link format
844 uint8_t *src = frm->frm_payload;
854 els_code->ls_code = FCOE_B2V_1(src);
898 els_logi->common_service.fcph_version = FCOE_B2V_2(src +
901 els_logi->common_service.btob_credit = FCOE_B2V_2(src +
904 els_logi->common_service.cmn_features = FCOE_B2V_2(src +
907 els_logi->common_service.rx_bufsize = FCOE_B2V_2(src +
910 els_logi->common_service.conc_sequences = FCOE_B2V_2(src +
913 els_logi->common_service.relative_offset = FCOE_B2V_2(src +
916 els_logi->common_service.e_d_tov = FCOE_B2V_4(src +
923 bcopy(src + offset, &els_logi->nport_ww_name, 8);
925 bcopy(src + offset, &els_logi->node_ww_name, 8);
931 els_logi->class_3.class_opt = FCOE_B2V_2(src + offset);
933 els_logi->class_3.initiator_ctl = FCOE_B2V_2(src + offset);
935 els_logi->class_3.recipient_ctl = FCOE_B2V_2(src + offset);
937 els_logi->class_3.rcv_size = FCOE_B2V_2(src + offset);
939 els_logi->class_3.conc_sequences = FCOE_B2V_2(src + offset);
941 els_logi->class_3.n_port_e_to_e_credit = FCOE_B2V_2(src +
944 els_logi->class_3.open_seq_per_xchng = FCOE_B2V_2(src + offset);
956 prli_acc->type = FCOE_B2V_1(src + offset);
966 (FCOE_B2V_2(src + offset) & BIT_15) ? 1 : 0;
968 (FCOE_B2V_2(src + offset) & BIT_14) ? 1 : 0;
970 (FCOE_B2V_2(src + offset) & BIT_13) ? 1 : 0;
972 (FCOE_B2V_2(src + offset) & 0x0F00) >> 8;
977 prli_acc->orig_process_associator = FCOE_B2V_4(src + offset);
979 prli_acc->resp_process_associator = FCOE_B2V_4(src + offset);
985 (FCOE_B2V_4(src + offset) & BIT_5) ? 1 : 0;
987 (FCOE_B2V_4(src + offset) & BIT_4) ? 1 : 0;
989 (FCOE_B2V_4(src + offset) & BIT_3) ? 1 : 0;
991 (FCOE_B2V_4(src + offset) & BIT_2) ? 1 : 0;
993 (FCOE_B2V_4(src + offset) & BIT_1) ? 1 : 0;
995 (FCOE_B2V_4(src + offset) & BIT_0) ? 1 : 0;
1003 els_code->ls_code = FCOE_B2V_1(src);
1010 els_code->ls_code = FCOE_B2V_1(src);
1015 els_adisc->hard_addr.hard_addr = FCOE_B2V_3(src + offset);
1017 bcopy(src + offset, &els_adisc->port_wwn, 8);
1019 bcopy(src + offset, &els_adisc->node_wwn, 8);
1021 els_adisc->nport_id.port_id = FCOE_B2V_3(src + offset);
1025 els_rls->ls_code.ls_code = FCOE_B2V_1(src);
1028 FCOE_B2V_4(src + offset);
1031 FCOE_B2V_4(src + offset);
1034 FCOE_B2V_4(src + offset);
1037 FCOE_B2V_4(src + offset);
1040 FCOE_B2V_4(src + offset);
1043 FCOE_B2V_4(src + offset);
1047 els_rnid->ls_code.ls_code = FCOE_B2V_1(src);
1049 bcopy(src + offset, &els_rnid->hdr.data_format, 1);
1051 bcopy(src + offset, &els_rnid->hdr.cmn_len, 1);
1053 bcopy(src + offset, &els_rnid->hdr.specific_len, 1);
1055 bcopy(src + offset, els_rnid->data, FCIO_RNID_MAX_DATA_LEN);
1068 * src - frm payload in link format
1079 fcoei_fill_fcp_resp(uint8_t *src, uint8_t *dest, int size)
1090 (FCOE_B2V_1(src + offset) & BIT_3) ? 1 : 0;
1092 (FCOE_B2V_1(src + offset) & BIT_2) ? 1 : 0;
1094 (FCOE_B2V_1(src + offset) & BIT_1) ? 1 : 0;
1096 (FCOE_B2V_1(src + offset) & BIT_0) ? 1 : 0;
1098 fcp_rsp_iu->fcp_u.fcp_status.scsi_status = FCOE_B2V_1(src + offset);
1103 fcp_rsp_iu->fcp_resid = FCOE_B2V_4(src + offset);
1105 fcp_rsp_iu->fcp_sense_len = FCOE_B2V_4(src + offset);
1107 fcp_rsp_iu->fcp_response_len = FCOE_B2V_4(src + offset);
1117 bcopy(src + offset, dest + offset, fcp_rsp_iu->fcp_sense_len);
1126 bcopy(src + offset, dest + offset,