Lines Matching refs:offset

217 	int			 offset;
233 * offset is based on the exchange not the sequence.
237 offset = FCOE_B2V_4(frm->frm_payload);
261 bcopy(offset + (uint8_t *)xch->xch_fpkt->pkt_data,
272 FFM_PARAM(offset, nfrm);
281 * Update offset and left_size
283 offset += data_size;
303 bcopy(offset + (uint8_t *)xch->xch_fpkt->pkt_data,
322 FFM_PARAM(offset, nfrm);
356 uint32_t offset;
404 offset = 4;
407 offset) = FCOE_B2V_4(frm->frm_payload + offset);
408 offset += 4;
852 int offset;
897 offset = offsetof(la_els_logi_t, common_service);
899 offset);
900 offset += 2;
902 offset);
903 offset += 2;
905 offset);
906 offset += 2;
908 offset);
909 offset += 2;
911 offset);
912 offset += 2;
914 offset);
915 offset += 2;
917 offset);
922 offset = offsetof(la_els_logi_t, nport_ww_name);
923 bcopy(src + offset, &els_logi->nport_ww_name, 8);
924 offset = offsetof(la_els_logi_t, node_ww_name);
925 bcopy(src + offset, &els_logi->node_ww_name, 8);
930 offset = offsetof(la_els_logi_t, class_3);
931 els_logi->class_3.class_opt = FCOE_B2V_2(src + offset);
932 offset += 2;
933 els_logi->class_3.initiator_ctl = FCOE_B2V_2(src + offset);
934 offset += 2;
935 els_logi->class_3.recipient_ctl = FCOE_B2V_2(src + offset);
936 offset += 2;
937 els_logi->class_3.rcv_size = FCOE_B2V_2(src + offset);
938 offset += 2;
939 els_logi->class_3.conc_sequences = FCOE_B2V_2(src + offset);
940 offset += 2;
942 offset);
943 offset += 2;
944 els_logi->class_3.open_seq_per_xchng = FCOE_B2V_2(src + offset);
954 offset = 4;
955 prli_acc = (struct fcp_prli_acc *)(void *)(dest + offset);
956 prli_acc->type = FCOE_B2V_1(src + offset);
960 offset += 1;
964 offset += 1;
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;
976 offset += 2;
977 prli_acc->orig_process_associator = FCOE_B2V_4(src + offset);
978 offset += 4;
979 prli_acc->resp_process_associator = FCOE_B2V_4(src + offset);
983 offset += 4;
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;
1014 offset = 5;
1015 els_adisc->hard_addr.hard_addr = FCOE_B2V_3(src + offset);
1016 offset = offsetof(la_els_adisc_t, port_wwn);
1017 bcopy(src + offset, &els_adisc->port_wwn, 8);
1018 offset = offsetof(la_els_adisc_t, node_wwn);
1019 bcopy(src + offset, &els_adisc->node_wwn, 8);
1020 offset += 9;
1021 els_adisc->nport_id.port_id = FCOE_B2V_3(src + offset);
1026 offset = 4;
1028 FCOE_B2V_4(src + offset);
1029 offset = 8;
1031 FCOE_B2V_4(src + offset);
1032 offset = 12;
1034 FCOE_B2V_4(src + offset);
1035 offset = 16;
1037 FCOE_B2V_4(src + offset);
1038 offset = 20;
1040 FCOE_B2V_4(src + offset);
1041 offset = 24;
1043 FCOE_B2V_4(src + offset);
1048 offset = 4;
1049 bcopy(src + offset, &els_rnid->hdr.data_format, 1);
1050 offset = 5;
1051 bcopy(src + offset, &els_rnid->hdr.cmn_len, 1);
1052 offset = 7;
1053 bcopy(src + offset, &els_rnid->hdr.specific_len, 1);
1054 offset = 8;
1055 bcopy(src + offset, els_rnid->data, FCIO_RNID_MAX_DATA_LEN);
1082 int offset;
1087 offset = offsetof(fcp_rsp_t, fcp_u);
1088 offset += 2;
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;
1097 offset += 1;
1098 fcp_rsp_iu->fcp_u.fcp_status.scsi_status = FCOE_B2V_1(src + offset);
1102 offset = offsetof(fcp_rsp_t, fcp_resid);
1103 fcp_rsp_iu->fcp_resid = FCOE_B2V_4(src + offset);
1104 offset = offsetof(fcp_rsp_t, fcp_sense_len);
1105 fcp_rsp_iu->fcp_sense_len = FCOE_B2V_4(src + offset);
1106 offset = offsetof(fcp_rsp_t, fcp_response_len);
1107 fcp_rsp_iu->fcp_response_len = FCOE_B2V_4(src + offset);
1111 offset += 4;
1113 if ((offset + fcp_rsp_iu->fcp_sense_len) > size) {
1117 bcopy(src + offset, dest + offset, fcp_rsp_iu->fcp_sense_len);
1118 offset += fcp_rsp_iu->fcp_sense_len;
1122 if ((offset + fcp_rsp_iu->fcp_response_len) > size) {
1126 bcopy(src + offset, dest + offset,