/titanic_41/usr/src/uts/common/io/comstar/port/fct/ |
H A D | discovery.c | 803 fct_els_t *els = (fct_els_t *)cmd->cmd_specific; in fct_handle_els() local 809 op = els->els_req_payload[0]; in fct_handle_els() 825 "port state was %x", els->els_req_payload[0], in fct_handle_els() 833 (els->els_req_payload[0] == ELS_OP_PLOGI) && in fct_handle_els() 882 (els->els_req_payload[0] != ELS_OP_FLOGI)) { in fct_handle_els() 900 if (els->els_req_payload[0] == ELS_OP_PLOGI) { in fct_handle_els() 954 els->els_req_payload[0], cmd->cmd_rportid); in fct_handle_els() 958 els->els_req_payload[0], cmd->cmd_rportid); in fct_handle_els() 1220 fct_els_t *els = (fct_els_t *)cmd->cmd_specific; in fct_send_accrjt() local 1222 els->els_resp_size = els->els_resp_alloc_size = 8; in fct_send_accrjt() [all …]
|
H A D | fct.c | 1070 fct_els_t *els = (fct_els_t *) in fct_free() local 1072 if (els->els_req_alloc_size) in fct_free() 1073 kmem_free(els->els_req_payload, in fct_free() 1074 els->els_req_alloc_size); in fct_free() 1075 if (els->els_resp_alloc_size) in fct_free() 1076 kmem_free(els->els_resp_payload, in fct_free() 1077 els->els_resp_alloc_size); in fct_free() 2290 fct_els_t *els = NULL; in fct_create_solels() local 2316 els = ICMD_TO_ELS(icmd); in fct_create_solels() 2339 els->els_req_size = 1; in fct_create_solels() [all …]
|
/titanic_41/usr/src/lib/krb5/dyn/ |
H A D | dyn_append.c | 22 int DynAppend(obj, els, num) in DynAppend() argument 24 DynPtr els; 27 return DynInsert(obj, DynSize(obj), els, num);
|
H A D | dyn_insert.c | 24 DynPtr els = (DynPtr) els_in; local 60 obj->el_size*num, els, obj->array, obj->el_size*idx); 63 memmove(obj->array + obj->el_size*idx, els, obj->el_size*num); 65 bcopy(els, obj->array + obj->el_size*idx, obj->el_size*num);
|
H A D | dyn.h | 63 int DynInsert P((DynObject obj, int idx, void *els, int num));
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_els.c | 95 ELS_PKT *els; in emlxs_els_handle_event() local 171 els = (ELS_PKT *)pkt->pkt_resp; in emlxs_els_handle_event() 180 if ((iocb->ULPSTATUS == 0) && (els->elsCode == 0x02)) { in emlxs_els_handle_event() 2547 ELS_PKT *els; in emlxs_els_reply() local 2624 els = (ELS_PKT *)pkt->pkt_cmd; in emlxs_els_reply() 2625 els->elsCode = 0x02; in emlxs_els_reply() 2631 els->un.adisc.hardAL_PA = in emlxs_els_reply() 2633 bcopy(&port->wwnn, &els->un.adisc.nodeName, in emlxs_els_reply() 2635 bcopy(&port->wwpn, &els->un.adisc.portName, in emlxs_els_reply() 2637 els->un.adisc.DID = LE_SWAP24_LO(port->did); in emlxs_els_reply() [all …]
|
H A D | emlxs_diag.c | 141 ELS_PKT *els; in emlxs_diag_echo_run() local 205 els = (ELS_PKT *) pkt->pkt_cmd; in emlxs_diag_echo_run() 206 els->elsCode = 0x10; in emlxs_diag_echo_run() 207 pattern_buffer = (char *)els->un.pad; in emlxs_diag_echo_run()
|
H A D | emlxs_fct.c | 1810 ELS_PKT *els; local 1872 els = (ELS_PKT *)pkt->pkt_cmd; 1873 els->elsCode = 0x04; /* FLOGI */ 1912 els = (ELS_PKT *)pkt->pkt_resp; 1913 bcopy((caddr_t)&els->un.logi.nodeName, 1915 bcopy((caddr_t)&els->un.logi.portName, 1917 fx->fx_fport = els->un.logi.cmn.fPort; 2036 fct_els_t *els; local 2081 els = (fct_els_t *)fct_cmd->cmd_specific; 2082 sp = (SERV_PARM *)((caddr_t)els->els_req_payload + [all …]
|
H A D | emlxs_dfc.c | 3120 ELS_PKT *els; in emlxs_dfc_destroy_vport() local 3192 els = (ELS_PKT *) pkt->pkt_cmd; in emlxs_dfc_destroy_vport() 3193 els->elsCode = 0x05; /* LOGO */ in emlxs_dfc_destroy_vport() 3194 els->un.logo.un.nPortId32 = LE_SWAP32(vport->did); in emlxs_dfc_destroy_vport() 3195 bcopy(&vport->wwpn, &els->un.logo.portName, 8); in emlxs_dfc_destroy_vport() 3459 ELS_PKT *els; in emlxs_dfc_npiv_test() local 3577 els = (ELS_PKT *) pkt->pkt_cmd; in emlxs_dfc_npiv_test() 3578 els->elsCode = 0x04; /* FLOGI - This will be changed automatically */ in emlxs_dfc_npiv_test() 3583 (void *)&els->un.logi, sizeof (SERV_PARM)); in emlxs_dfc_npiv_test() 3588 bcopy((caddr_t)wwn, (caddr_t)&els->un.logi.nodeName, 8); in emlxs_dfc_npiv_test() [all …]
|
H A D | emlxs_solaris.c | 3068 ELS_PKT *els; in emlxs_ub_els_reject() local 3114 els = (ELS_PKT *) pkt->pkt_cmd; in emlxs_ub_els_reject() 3115 els->elsCode = 0x01; in emlxs_ub_els_reject() 3116 els->un.lsRjt.un.b.lsRjtRsvd0 = 0; in emlxs_ub_els_reject() 3117 els->un.lsRjt.un.b.lsRjtRsnCode = LSRJT_UNABLE_TPC; in emlxs_ub_els_reject() 3118 els->un.lsRjt.un.b.lsRjtRsnCodeExp = LSEXP_NOTHING_MORE; in emlxs_ub_els_reject() 3119 els->un.lsRjt.un.b.vendorUnique = 0x02; in emlxs_ub_els_reject() 9418 fct_els_t *els = in emlxs_send_els_rsp() local 9420 ub_buffer = (uint8_t *)els->els_req_payload; in emlxs_send_els_rsp()
|
H A D | emlxs_fcf.c | 13155 ELS_PKT *els; in emlxs_vpi_logo_action() local 13247 els = (ELS_PKT *)pkt->pkt_cmd; in emlxs_vpi_logo_action() 13248 els->elsCode = 0x05; in emlxs_vpi_logo_action() 13249 els->un.logo.un.nPortId32 = pkt->pkt_cmd_fhdr.s_id; in emlxs_vpi_logo_action() 13251 (uint8_t *)&els->un.logo.portName, 8); in emlxs_vpi_logo_action()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei.c | 412 la_els_logi_t *els = &ss->ss_els_logi; in fcoei_attach_init() local 530 bcopy(eport->eport_portwwn, els->nport_ww_name.raw_wwn, 8); in fcoei_attach_init() 531 bcopy(eport->eport_nodewwn, els->node_ww_name.raw_wwn, 8); in fcoei_attach_init() 532 els->common_service.fcph_version = 0x2008; in fcoei_attach_init() 533 els->common_service.btob_credit = 3; in fcoei_attach_init() 534 els->common_service.cmn_features = 0x8800; in fcoei_attach_init() 535 els->common_service.conc_sequences = 0xff; in fcoei_attach_init() 536 els->common_service.relative_offset = 3; in fcoei_attach_init() 537 els->common_service.e_d_tov = 0x07d0; in fcoei_attach_init() 538 class3_param = (svc_param_t *)&els->class_3; in fcoei_attach_init() [all …]
|
/titanic_41/usr/src/uts/common/io/comstar/port/fcoet/ |
H A D | fcoet_eth.c | 670 fct_els_t *els = NULL; in fcoet_process_sol_els_rsp() local 684 els = CMD2ELS(xch->xch_cmd); in fcoet_process_sol_els_rsp() 686 actual_size = els->els_resp_size; in fcoet_process_sol_els_rsp() 691 els->els_resp_size = (uint16_t)actual_size; in fcoet_process_sol_els_rsp() 692 bcopy(frm->frm_payload, els->els_resp_payload, actual_size); in fcoet_process_sol_els_rsp() 1132 fct_els_t *els = CMD2ELS(xch->xch_cmd); in fcoet_process_sol_flogi_rsp() local 1135 if (els->els_resp_payload[0] == ELS_OP_ACC) { in fcoet_process_sol_flogi_rsp() 1165 if (els->els_resp_payload[8] & 0x10) { in fcoet_process_sol_flogi_rsp()
|
H A D | fcoet_fc.c | 405 fct_els_t *els; in fcoet_send_sol_flogi() local 415 els = CMD2ELS(cmd); in fcoet_send_sol_flogi() 433 els->els_resp_alloc_size = 116; in fcoet_send_sol_flogi() 434 els->els_resp_size = 116; in fcoet_send_sol_flogi() 435 els->els_resp_payload = (uint8_t *) in fcoet_send_sol_flogi() 436 kmem_zalloc(els->els_resp_size, KM_SLEEP); in fcoet_send_sol_flogi()
|
/titanic_41/usr/src/uts/common/io/comstar/port/qlt/ |
H A D | qlt.c | 162 #define SETELSBIT(bmp, els) (bmp)[((els) >> 3) & 0x1F] = \ argument 163 (uint8_t)((bmp)[((els) >> 3) & 0x1F] | ((uint8_t)1) << ((els) & 7)) 3259 fct_els_t *els; in qlt_handle_purex() local 3302 els = (fct_els_t *)cmd->cmd_specific; in qlt_handle_purex() 3304 els->els_req_size = (uint16_t)payload_size; in qlt_handle_purex() 3305 els->els_req_payload = GET_BYTE_OFFSET(qcmd, in qlt_handle_purex() 3317 els->els_req_payload[i] = pldptr[3]; in qlt_handle_purex() 3318 els->els_req_payload[i+1] = pldptr[2]; in qlt_handle_purex() 3319 els->els_req_payload[i+2] = pldptr[1]; in qlt_handle_purex() 3320 els->els_req_payload[i+3] = pldptr[0]; in qlt_handle_purex() [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | bitset.c | 71 bitset_resize(bitset_t *b, uint_t els) in bitset_resize() argument 76 nwords = BT_BITOUL(els << b->bs_fanout); in bitset_resize()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_init.c | 95 la_els_logi_t *els = &ha->loginparams; in ql_initialize_adapter() local 141 els->common_service.rx_bufsize = CHAR_TO_SHORT( in ql_initialize_adapter() 145 (void *)&els->nport_ww_name.raw_wwn[0], 8); in ql_initialize_adapter() 147 (void *)&els->node_ww_name.raw_wwn[0], 8); in ql_initialize_adapter() 149 els->common_service.rx_bufsize = CHAR_TO_SHORT( in ql_initialize_adapter() 153 (void *)&els->nport_ww_name.raw_wwn[0], 8); in ql_initialize_adapter() 155 (void *)&els->node_ww_name.raw_wwn[0], 8); in ql_initialize_adapter() 220 els->common_service.fcph_version = 0x2006; in ql_initialize_adapter() 221 els->common_service.btob_credit = 3; in ql_initialize_adapter() 222 els->common_service.cmn_features = 0x8800; in ql_initialize_adapter() [all …]
|
H A D | ql_api.c | 2700 ls_code_t els; in ql_els_send() local 2762 ddi_rep_get8(pkt->pkt_cmd_acc, (uint8_t *)&els, in ql_els_send() 2763 (uint8_t *)pkt->pkt_cmd, sizeof (els), DDI_DEV_AUTOINCR); in ql_els_send() 2770 QL_DUMP_3((uint8_t *)&els, 32, sizeof (els) / 4); in ql_els_send() 2776 switch (els.ls_code) { in ql_els_send() 2832 els.ls_code); in ql_els_send() 5688 fc_linit_req_t els; in ql_els_linit() local 5691 ddi_rep_get8(pkt->pkt_cmd_acc, (uint8_t *)&els, in ql_els_linit() 5692 (uint8_t *)pkt->pkt_cmd, sizeof (els), DDI_DEV_AUTOINCR); in ql_els_linit() 5722 lfa.payload[2] = els.func; in ql_els_linit() [all …]
|
/titanic_41/usr/src/uts/sun/io/ |
H A D | socal.c | 3999 els_payload_t *els = (els_payload_t *)payload; in socal_us_els() local 4008 if ((els == NULL) || ((i = srp->sr_soc_hdr.sh_byte_cnt) == 0)) { in socal_us_els() 4022 switch (els->els_cmd.c.ls_command) { in socal_us_els() 4024 els->els_data[i] = '\0'; /* terminate the string */ in socal_us_els() 4025 for (bp = (char *)&(els->els_data[0]); *bp; bp++) { in socal_us_els() 4029 (void) sprintf(buf, "!message: %s\n", els->els_data); in socal_us_els() 4035 els->els_cmd.i)); in socal_us_els()
|
/titanic_41/usr/src/uts/sun/io/scsi/adapters/ |
H A D | sf.c | 6638 els_payload_t *els = (els_payload_t *)payload; local 6647 if ((els == NULL) || ((i = srp->sr_soc_hdr.sh_byte_cnt) == 0)) { 6658 switch (els->els_cmd.c.ls_command) { 6680 els->els_cmd.c.ls_command, tgt_id);
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_api.h | 2112 uint8_t els; /* the ELS command code */ member
|