/titanic_52/usr/src/uts/common/io/comstar/port/pppt/ |
H A D | pppt_tgt.c | 52 pppt_tgt_sm_event(pppt_tgt_t *tgt, pppt_tgt_event_t event); 55 tgt_sm_event_locked(pppt_tgt_t *tgt, pppt_tgt_event_t event); 58 tgt_sm_event_dispatch(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx); 61 tgt_sm_created(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx); 64 tgt_sm_onlining(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx); 67 tgt_sm_online(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx); 70 tgt_sm_stmf_online(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx); 73 tgt_sm_deleting_need_offline(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx); 76 tgt_sm_offlining(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx); 79 tgt_sm_offline(pppt_tgt_t *tgt, tgt_event_ctx_ 203 pppt_tgt_destroy(pppt_tgt_t * tgt) pppt_tgt_destroy() argument 239 pppt_tgt_async_delete(pppt_tgt_t * tgt) pppt_tgt_async_delete() argument 288 pppt_tgt_sm_event(pppt_tgt_t * tgt,pppt_tgt_event_t event) pppt_tgt_sm_event() argument 296 tgt_sm_event_locked(pppt_tgt_t * tgt,pppt_tgt_event_t event) tgt_sm_event_locked() argument 338 tgt_sm_event_dispatch(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_event_dispatch() argument 393 tgt_sm_created(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_created() argument 425 tgt_sm_onlining(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_onlining() argument 462 tgt_sm_online(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_online() argument 500 tgt_sm_stmf_online(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_stmf_online() argument 529 tgt_sm_deleting_need_offline(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_deleting_need_offline() argument 560 tgt_sm_offlining(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_offlining() argument 595 tgt_sm_offline(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_offline() argument 633 tgt_sm_stmf_offline(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_stmf_offline() argument 662 tgt_sm_deleting_stmf_dereg(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_deleting_stmf_dereg() argument 696 tgt_sm_deleting_stmf_dereg_fail(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_deleting_stmf_dereg_fail() argument 727 tgt_sm_deleting(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_deleting() argument 755 pppt_tgt_offline(pppt_tgt_t * tgt) pppt_tgt_offline() argument 764 pppt_tgt_t *tgt = arg; pppt_tgt_offline_task() local 796 pppt_tgt_t *tgt = arg; pppt_tgt_dereg_retry() local 815 pppt_tgt_t *tgt = arg; pppt_tgt_dereg_task() local 822 tgt_sm_new_state(pppt_tgt_t * tgt,tgt_event_ctx_t * ctx,pppt_tgt_state_t new_state) tgt_sm_new_state() argument [all...] |
H A D | pppt.c | 519 pppt_tgt_t *tgt, *next_tgt; in pppt_disable_svc() local 529 for (tgt = avl_first(&pppt_global.global_target_list); in pppt_disable_svc() 530 tgt != NULL; in pppt_disable_svc() 531 tgt = next_tgt) { in pppt_disable_svc() 532 next_tgt = AVL_NEXT(&pppt_global.global_target_list, tgt); in pppt_disable_svc() 533 avl_remove(&pppt_global.global_target_list, tgt); in pppt_disable_svc() 534 avl_add(&delete_target_list, tgt); in pppt_disable_svc() 535 pppt_tgt_async_delete(tgt); in pppt_disable_svc() 539 for (tgt = avl_first(&delete_target_list); in pppt_disable_svc() 540 tgt ! in pppt_disable_svc() 852 pppt_tgt_t *tgt; pppt_sess_lookup_locked() local 931 pppt_tgt_t *tgt; pppt_sess_lookup_create() local 1162 pppt_tgt_t *tgt = ps->ps_target; pppt_sess_close_locked() local 1323 pppt_tgt_t *tgt; pppt_task_lookup() local [all...] |
H A D | pppt_msg.c | 163 pppt_tgt_t *tgt; in pppt_msg_tgt_deregister() local 176 if ((tgt = pppt_tgt_lookup_locked(dereg_port->icdp_port_id)) == NULL) { in pppt_msg_tgt_deregister() 182 avl_remove(&pppt_global.global_target_list, tgt); in pppt_msg_tgt_deregister() 183 pppt_tgt_async_delete(tgt); in pppt_msg_tgt_deregister() 188 mutex_enter(&tgt->target_mutex); in pppt_msg_tgt_deregister() 189 while ((tgt->target_refcount > 0) || in pppt_msg_tgt_deregister() 190 (tgt->target_state != TS_DELETING)) { in pppt_msg_tgt_deregister() 191 cv_wait(&tgt->target_cv, &tgt->target_mutex); in pppt_msg_tgt_deregister() 193 mutex_exit(&tgt in pppt_msg_tgt_deregister() 207 pppt_tgt_t *tgt; pppt_msg_session_destroy() local [all...] |
/titanic_52/usr/src/cmd/dis/ |
H A D | dis_target.c | 133 tgt_scn_init(dis_tgt_t *tgt, dis_scn_t *scn, void *data) in tgt_scn_init() argument 139 tgt->dt_shnmap[*index].dm_name = scn->ds_name; in tgt_scn_init() 140 tgt->dt_shnmap[*index].dm_start = scn->ds_shdr.sh_addr; in tgt_scn_init() 141 tgt->dt_shnmap[*index].dm_length = scn->ds_shdr.sh_size; in tgt_scn_init() 142 tgt->dt_shnmap[*index].dm_mapped = B_FALSE; in tgt_scn_init() 147 if (scn->ds_shdr.sh_type == SHT_DYNSYM && tgt->dt_symidx == 0) in tgt_scn_init() 148 tgt->dt_symidx = *index; in tgt_scn_init() 150 tgt->dt_symidx = *index; in tgt_scn_init() 237 construct_symtab(dis_tgt_t *tgt) in construct_symtab() argument 252 for (scn = elf_nextscn(tgt in construct_symtab() 384 create_addrmap(dis_tgt_t * tgt) create_addrmap() argument 420 dis_tgt_t *tgt, *current; dis_tgt_create() local 544 dis_tgt_name(dis_tgt_t * tgt) dis_tgt_name() argument 553 dis_tgt_member(dis_tgt_t * tgt) dis_tgt_member() argument 566 dis_tgt_ehdr(dis_tgt_t * tgt,GElf_Ehdr * ehdr) dis_tgt_ehdr() argument 575 dis_tgt_next(dis_tgt_t * tgt) dis_tgt_next() argument 584 dis_tgt_destroy(dis_tgt_t * tgt) dis_tgt_destroy() argument 615 dis_find_section(dis_tgt_t * tgt,uint64_t addr,off_t * offset) dis_find_section() argument 643 dis_tgt_lookup(dis_tgt_t * tgt,uint64_t addr,off_t * offset,int cache_result,size_t * size,int * isfunc) dis_tgt_lookup() argument 734 dis_tgt_next_symbol(dis_tgt_t * tgt,uint64_t addr) dis_tgt_next_symbol() argument 754 dis_tgt_section_iter(dis_tgt_t * tgt,section_iter_f func,void * data) dis_tgt_section_iter() argument 869 dis_tgt_function_iter(dis_tgt_t * tgt,function_iter_f func,void * data) dis_tgt_function_iter() argument [all...] |
H A D | dis_list.c | 142 walk_sections(dis_tgt_t *tgt, dis_scn_t *scn, void *data) in walk_sections() argument 182 dis_namelist_resolve_sections(dis_namelist_t *namelist, dis_tgt_t *tgt) in dis_namelist_resolve_sections() argument 200 dis_tgt_section_iter(tgt, walk_sections, &cb); in dis_namelist_resolve_sections() 212 unp->un_name, dis_tgt_name(tgt)); in dis_namelist_resolve_sections() 225 walk_functions(dis_tgt_t *tgt, dis_func_t *func, void *data) in walk_functions() argument 260 dis_namelist_resolve_functions(dis_namelist_t *namelist, dis_tgt_t *tgt) in dis_namelist_resolve_functions() argument 274 dis_tgt_function_iter(tgt, walk_functions, &cb); in dis_namelist_resolve_functions() 285 unp->un_name, dis_tgt_name(tgt)); in dis_namelist_resolve_functions()
|
/titanic_52/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_ds.c | 34 static void pmcs_ds_operational(pmcs_phy_t *pptr, pmcs_xscsi_t *tgt); 36 pmcs_xscsi_t *tgt, pmcs_hw_t *pwp, const char *func_name, 50 pmcs_prt(pwp, PMCS_PRT_DEBUG3, phyp, xp, "%s: tgt(0x%p)", __func__, in pmcs_get_dev_state() 147 "%s: ds: 0x%x tgt: 0x%p phy: 0x%p", __func__, ds, (void *)xp, in pmcs_set_dev_state() 224 pmcs_ds_operational(pmcs_phy_t *pptr, pmcs_xscsi_t *tgt) in pmcs_ds_operational() argument 231 if (tgt != NULL) { in pmcs_ds_operational() 232 tgt->recover_wait = 0; in pmcs_ds_operational() 245 pmcs_handle_ds_recovery_error(pptr, tgt, pwp, __func__, in pmcs_ds_operational() 263 pmcs_xscsi_t *tgt; in pmcs_dev_state_recovery() local 298 tgt in pmcs_dev_state_recovery() 499 pmcs_send_err_recovery_cmd(pmcs_hw_t * pwp,uint8_t dev_state,pmcs_phy_t * phyp,pmcs_xscsi_t * tgt) pmcs_send_err_recovery_cmd() argument 608 pmcs_xscsi_t *tgt = pwrk->xp; pmcs_start_ssp_event_recovery() local 753 pmcs_xscsi_t *tgt = pwrk->xp; pmcs_tgt_event_recovery() local 821 pmcs_xscsi_t *tgt; pmcs_ssp_event_recovery() local 928 pmcs_handle_ds_recovery_error(pmcs_phy_t * phyp,pmcs_xscsi_t * tgt,pmcs_hw_t * pwp,const char * func_name,char * reason_string) pmcs_handle_ds_recovery_error() argument [all...] |
H A D | pmcs_scsa.c | 157 pmcs_xscsi_t *tgt = NULL; in pmcs_scsa_tran_tgt_init() local 227 tgt = pmcs_get_target(iport, tgt_port, B_TRUE); in pmcs_scsa_tran_tgt_init() 229 if (tgt == NULL) { in pmcs_scsa_tran_tgt_init() 231 "No tgt for tgt_port (%s)", __func__, tgt_port); in pmcs_scsa_tran_tgt_init() 235 phyp = tgt->phy; in pmcs_scsa_tran_tgt_init() 241 pmcs_prt(pwp, PMCS_PRT_DEBUG2, phyp, tgt, "@%s tgt = 0x%p, dip = 0x%p", in pmcs_scsa_tran_tgt_init() 242 ua, (void *)tgt, (void *)tgt_dip); in pmcs_scsa_tran_tgt_init() 248 pmcs_prt(pwp, PMCS_PRT_DEBUG_CONFIG, phyp, tgt, in pmcs_scsa_tran_tgt_init() 249 "No LUN for tgt in pmcs_scsa_tran_tgt_init() 1213 pmcs_xscsi_t *tgt; pmcs_smp_init() local 1367 pmcs_xscsi_t *tgt; pmcs_smp_free() local 1752 pmcs_xscsi_t *tgt; pmcs_scsa_cq_run() local 3169 pmcs_xscsi_t *tgt; pmcs_get_target() local [all...] |
/titanic_52/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_tgt.c | 54 tgt_sm_event_dispatch(iscsit_tgt_t *tgt, tgt_event_ctx_t *ctx); 57 tgt_sm_created(iscsit_tgt_t *tgt, tgt_event_ctx_t *ctx); 60 tgt_sm_onlining(iscsit_tgt_t *tgt, tgt_event_ctx_t *ctx); 63 tgt_sm_online(iscsit_tgt_t *tgt, tgt_event_ctx_t *ctx); 66 tgt_sm_stmf_online(iscsit_tgt_t *tgt, tgt_event_ctx_t *ctx); 69 tgt_sm_deleting_need_offline(iscsit_tgt_t *tgt, tgt_event_ctx_t *ctx); 72 tgt_sm_offlining(iscsit_tgt_t *tgt, tgt_event_ctx_t *ctx); 75 tgt_sm_offline(iscsit_tgt_t *tgt, tgt_event_ctx_t *ctx); 78 tgt_sm_stmf_offline(iscsit_tgt_t *tgt, tgt_event_ctx_t *ctx); 81 tgt_sm_deleting_stmf_dereg(iscsit_tgt_t *tgt, tgt_event_ctx_ 172 iscsit_tgt_sm_event(iscsit_tgt_t * tgt,iscsit_tgt_event_t event) iscsit_tgt_sm_event() argument 180 tgt_sm_event_locked(iscsit_tgt_t * tgt,iscsit_tgt_event_t event) tgt_sm_event_locked() argument 217 tgt_sm_event_dispatch(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_event_dispatch() argument 275 tgt_sm_created(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_created() argument 307 tgt_sm_onlining(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_onlining() argument 344 tgt_sm_online(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_online() argument 382 tgt_sm_stmf_online(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_stmf_online() argument 415 tgt_sm_deleting_need_offline(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_deleting_need_offline() argument 446 tgt_sm_offlining(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_offlining() argument 481 tgt_sm_offline(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_offline() argument 519 tgt_sm_stmf_offline(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_stmf_offline() argument 548 tgt_sm_deleting_stmf_dereg(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_deleting_stmf_dereg() argument 582 tgt_sm_deleting_stmf_dereg_fail(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_deleting_stmf_dereg_fail() argument 613 tgt_sm_deleting(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx) tgt_sm_deleting() argument 644 iscsit_tgt_t *tgt = arg; iscsit_tgt_dereg_retry() local 663 iscsit_tgt_t *tgt = arg; iscsit_tgt_dereg_task() local 669 tgt_sm_new_state(iscsit_tgt_t * tgt,tgt_event_ctx_t * ctx,iscsit_tgt_state_t new_state) tgt_sm_new_state() argument 767 iscsit_tgt_t *tgt, *next_tgt; iscsit_config_merge_tgt() local 944 iscsit_tgt_modify(iscsit_tgt_t * tgt,it_tgt_t * cfg_tgt) iscsit_tgt_modify() argument 1015 iscsit_tgt_t *tgt = tgt_void; iscsit_tgt_unref() local 1024 iscsit_tgt_async_wait_ref(iscsit_tgt_t * tgt,idm_refcnt_cb_t * cb_func) iscsit_tgt_async_wait_ref() argument 1030 iscsit_tgt_destroy(iscsit_tgt_t * tgt) iscsit_tgt_destroy() argument 1071 iscsit_tgt_hold(iscsit_tgt_t * tgt) iscsit_tgt_hold() argument 1077 iscsit_tgt_rele(iscsit_tgt_t * tgt) iscsit_tgt_rele() argument 1104 iscsit_tgt_lookup_tpgt(iscsit_tgt_t * tgt,uint16_t tag) iscsit_tgt_lookup_tpgt() argument 1116 iscsit_tgt_lookup_tpgt_locked(iscsit_tgt_t * tgt,uint16_t tag) iscsit_tgt_lookup_tpgt_locked() argument 1132 iscsit_tgt_lookup_portal(iscsit_tgt_t * tgt,struct sockaddr_storage * sa,iscsit_tpgt_t ** output_tpgt) iscsit_tgt_lookup_portal() argument 1156 iscsit_tgt_bind_sess(iscsit_tgt_t * tgt,iscsit_sess_t * sess) iscsit_tgt_bind_sess() argument 1175 iscsit_tgt_unbind_sess(iscsit_tgt_t * tgt,iscsit_sess_t * sess) iscsit_tgt_unbind_sess() argument 1209 iscsit_tgt_lookup_sess(iscsit_tgt_t * tgt,char * initiator_name,uint8_t * isid,uint16_t tsih,uint16_t tag) iscsit_tgt_lookup_sess() argument 1285 iscsit_tgt_merge_tpgt(iscsit_tgt_t * tgt,it_tgt_t * cfg_tgt,list_t * tpgt_del_list) iscsit_tgt_merge_tpgt() argument 1420 iscsit_tgt_online(iscsit_tgt_t * tgt) iscsit_tgt_online() argument 1457 iscsit_tgt_t *tgt = tgt_void; iscsit_tgt_offline_cb() local 1469 iscsit_tgt_offline(iscsit_tgt_t * tgt) iscsit_tgt_offline() argument [all...] |
H A D | iscsit_text.c | 520 iscsit_tgt_t *tgt, *ntgt; in iscsit_pdu_op_text_cmd() local 536 for (tgt = avl_first(&iscsit_global.global_target_list); in iscsit_pdu_op_text_cmd() 537 tgt != NULL; tgt = ntgt) { in iscsit_pdu_op_text_cmd() 543 ntgt = AVL_NEXT(&iscsit_global.global_target_list, tgt); in iscsit_pdu_op_text_cmd() 546 state = tgt->target_state; in iscsit_pdu_op_text_cmd() 558 mutex_enter(&tgt->target_mutex); in iscsit_pdu_op_text_cmd() 559 tpgt = avl_first(&tgt->target_tpgt_list); in iscsit_pdu_op_text_cmd() 561 portal = iscsit_tgt_lookup_portal(tgt, sa, in iscsit_pdu_op_text_cmd() 565 portal = iscsit_tgt_lookup_portal(tgt, in iscsit_pdu_op_text_cmd() [all...] |
/titanic_52/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_stp.c | 96 srpt_stp_start_srp(srpt_target_port_t *tgt) in srpt_stp_start_srp() argument 103 if (tgt == NULL) { in srpt_stp_start_srp() 108 if (tgt->tp_ioc == NULL) { in srpt_stp_start_srp() 113 ioc = tgt->tp_ioc; in srpt_stp_start_srp() 116 " svc_id (%016llx)", (u_longlong_t)tgt->tp_ibt_svc_id); in srpt_stp_start_srp() 118 &tgt->tp_ibt_svc_desc, tgt->tp_ibt_svc_id, 1, in srpt_stp_start_srp() 119 &tgt->tp_ibt_svc_hdl, NULL); in srpt_stp_start_srp() 121 tgt->tp_ibt_svc_hdl = NULL; in srpt_stp_start_srp() 132 status = srpt_ioc_svc_bind(tgt, por in srpt_stp_start_srp() 204 srpt_stp_stop_srp(srpt_target_port_t * tgt) srpt_stp_stop_srp() argument 304 srpt_target_port_t *tgt; srpt_stp_alloc_port() local 415 srpt_stp_free_port(srpt_target_port_t * tgt) srpt_stp_free_port() argument 451 srpt_stp_destroy_port(srpt_target_port_t * tgt) srpt_stp_destroy_port() argument 1042 srpt_target_port_t *tgt; srpt_stp_ctl() local 1245 srpt_stp_alloc_session(srpt_target_port_t * tgt,uint8_t * i_id,uint8_t * t_id,uint8_t port,char * local_gid,char * remote_gid) srpt_stp_alloc_session() argument 1334 srpt_target_port_t *tgt; srpt_stp_free_session() local 1364 srpt_stp_login(srpt_target_port_t * tgt,srp_login_req_t * login,srp_login_rsp_t * login_rsp,srp_login_rej_t * login_rej,uint8_t login_port,char * local_gid,char * remote_gid) srpt_stp_login() argument [all...] |
H A D | srpt_ioc.c | 382 srpt_target_port_t *tgt; in srpt_ioc_detach_hca() local 392 tgt = ioc->ioc_tgt_port; in srpt_ioc_detach_hca() 394 if (tgt != NULL) { in srpt_ioc_detach_hca() 395 stmf_status = srpt_stp_destroy_port(tgt); in srpt_ioc_detach_hca() 398 (void) srpt_stp_free_port(tgt); in srpt_ioc_detach_hca() 732 srpt_target_port_t *tgt = NULL; in srpt_ioc_port_active() local 753 tgt = ioc->ioc_tgt_port; in srpt_ioc_port_active() 754 if (tgt == NULL) { in srpt_ioc_port_active() 766 mutex_enter(&tgt->tp_lock); in srpt_ioc_port_active() 768 if (tgt in srpt_ioc_port_active() 813 srpt_target_port_t *tgt; srpt_ioc_port_down() local 954 srpt_ioc_svc_bind(srpt_target_port_t * tgt,uint_t portnum) srpt_ioc_svc_bind() argument 1060 srpt_ioc_svc_unbind(srpt_target_port_t * tgt,uint_t portnum) srpt_ioc_svc_unbind() argument 1105 srpt_ioc_svc_unbind_all(srpt_target_port_t * tgt) srpt_ioc_svc_unbind_all() argument [all...] |
H A D | srpt_stp.h | 41 int srpt_stp_start_srp(srpt_target_port_t *tgt); 42 void srpt_stp_stop_srp(srpt_target_port_t *tgt); 44 stmf_status_t srpt_stp_free_port(srpt_target_port_t *tgt); 45 stmf_status_t srpt_stp_destroy_port(srpt_target_port_t *tgt); 47 srpt_session_t *srpt_stp_alloc_session(srpt_target_port_t *tgt, 52 srpt_channel_t *srpt_stp_login(srpt_target_port_t *tgt,
|
H A D | srpt_cm.c | 64 srpt_cm_req_hdlr(srpt_target_port_t *tgt, ibt_cm_event_t *event, in srpt_cm_req_hdlr() argument 77 ASSERT(tgt != NULL); in srpt_cm_req_hdlr() 117 ch = srpt_stp_login(tgt, &login, &login_rsp, in srpt_cm_req_hdlr() 133 min(tgt->tp_ioc->ioc_attr.hca_max_rdma_out_chan, in srpt_cm_req_hdlr() 136 min(tgt->tp_ioc->ioc_attr.hca_max_rdma_in_chan, in srpt_cm_req_hdlr() 143 tgt->tp_ioc->ioc_attr.hca_max_rdma_in_chan, in srpt_cm_req_hdlr() 144 tgt->tp_ioc->ioc_attr.hca_max_rdma_out_chan, in srpt_cm_req_hdlr() 167 srpt_cm_conn_est_hdlr(srpt_target_port_t *tgt, ibt_cm_event_t *event) in srpt_cm_conn_est_hdlr() argument 171 ASSERT(tgt != NULL); in srpt_cm_conn_est_hdlr() 202 srpt_cm_conn_closed_hdlr(srpt_target_port_t *tgt, ibt_cm_event_ argument [all...] |
/titanic_52/usr/src/tools/ctf/cvt/ |
H A D | iidesc.c | 73 iidesc_t *tgt = find->iif_tgt; in iidesc_cmp() local 75 if (src->ii_type != tgt->ii_type || in iidesc_cmp() 76 !streq(src->ii_name, tgt->ii_name)) in iidesc_cmp() 122 iidesc_t *tgt; in iidesc_dup() local 124 tgt = xmalloc(sizeof (iidesc_t)); in iidesc_dup() 125 bcopy(src, tgt, sizeof (iidesc_t)); in iidesc_dup() 127 tgt->ii_name = src->ii_name ? xstrdup(src->ii_name) : NULL; in iidesc_dup() 128 tgt->ii_owner = src->ii_owner ? xstrdup(src->ii_owner) : NULL; in iidesc_dup() 130 if (tgt->ii_nargs) { in iidesc_dup() 131 tgt in iidesc_dup() 142 iidesc_t *tgt = iidesc_dup(src); iidesc_dup_rename() local [all...] |
/titanic_52/usr/src/uts/common/io/ |
H A D | emul64_bsd.c | 365 emul64_tgt_t *tgt; in bsd_scsi_inquiry() local 370 tgt = find_tgt(sp->cmd_emul64, in bsd_scsi_inquiry() 387 pqdtype = tgt->emul64_tgt_dtype; in bsd_scsi_inquiry() 412 (void) bcopy(tgt->emul64_tgt_inq, inq.inq_vid, in bsd_scsi_inquiry() 413 sizeof (tgt->emul64_tgt_inq)); in bsd_scsi_inquiry() 631 emul64_tgt_t *tgt; in bsd_mode_sense_dad_mode_geometry() local 667 tgt = find_tgt(sp->cmd_emul64, in bsd_mode_sense_dad_mode_geometry() 670 ncyl = tgt->emul64_tgt_ncyls; in bsd_mode_sense_dad_mode_geometry() 674 page4.heads = uint_to_byte0(tgt->emul64_tgt_nheads); in bsd_mode_sense_dad_mode_geometry() 807 emul64_tgt_t *tgt; in bsd_mode_sense_dad_mode_format() local 926 emul64_tgt_t *tgt; bsd_scsi_read_capacity_8() local 952 emul64_tgt_t *tgt; bsd_scsi_read_capacity_16() local 1016 emul64_tgt_t *tgt; bsd_readblks() local 1097 emul64_tgt_t *tgt; bsd_writeblks() local 1207 emul64_tgt_t *tgt; find_tgt() local 1225 bsd_freeblkrange(emul64_tgt_t * tgt,emul64_range_t * range) bsd_freeblkrange() argument 1248 bsd_findblk(emul64_tgt_t * tgt,diskaddr_t blkno,avl_index_t * where) bsd_findblk() argument 1262 bsd_allocblk(emul64_tgt_t * tgt,diskaddr_t blkno,caddr_t data,avl_index_t where) bsd_allocblk() argument 1293 bsd_freeblk(emul64_tgt_t * tgt,blklist_t * blk) bsd_freeblk() argument 1321 bsd_tgt_overlap(emul64_tgt_t * tgt,diskaddr_t blkno,int count) bsd_tgt_overlap() argument [all...] |
H A D | emul64.c | 522 emul64_tgt_t *tgt; in emul64_tran_tgt_init() local 537 * nodes may map to the same tgt,lun (sd.conf, st.conf, etc). in emul64_tran_tgt_init() 538 * Check to see if transport to tgt,lun already established. in emul64_tran_tgt_init() 540 tgt = find_tgt(emul64, sd->sd_address.a_target, sd->sd_address.a_lun); in emul64_tran_tgt_init() 541 if (tgt) { in emul64_tran_tgt_init() 575 /* allocate and initialize tgt structure for tgt,lun */ in emul64_tran_tgt_init() 576 tgt = kmem_zalloc(sizeof (emul64_tgt_t), KM_SLEEP); in emul64_tran_tgt_init() 577 rw_init(&tgt->emul64_tgt_nw_lock, NULL, RW_DRIVER, NULL); in emul64_tran_tgt_init() 578 mutex_init(&tgt in emul64_tran_tgt_init() 1092 emul64_tgt_t *tgt; emul64_error_inject() local 1150 emul64_tgt_t *tgt; emul64_error_inject_req() local 1335 emul64_tgt_t *tgt; emul64_pkt_comp() local 1404 emul64_tgt_t *tgt; emul64_ioctl() local 1448 emul64_write_off(struct emul64 * emul64,emul64_tgt_t * tgt,emul64_tgt_range_t * tgtr) emul64_write_off() argument 1491 emul64_write_on(struct emul64 * emul64,emul64_tgt_t * tgt,emul64_tgt_range_t * tgtr) emul64_write_on() argument 1537 emul64_find_nowrite(emul64_tgt_t * tgt,diskaddr_t sb,size_t blkcnt,emul64_rng_overlap_t * overlap,emul64_nowrite_t *** prevp) emul64_find_nowrite() argument [all...] |
/titanic_52/usr/src/cmd/mdb/common/modules/mr_sas/ |
H A D | mr_sas.c | 66 int tgt; in display_targets() local 92 for (tgt = 0; tgt < MRDRV_MAX_LD; tgt++) { in display_targets() 93 if (mr_ldp[tgt].dip != NULL && in display_targets() 94 mr_ldp[tgt].lun_type == MRSAS_LD_LUN) { in display_targets() 95 mdb_printf("Logical sd %d\n", tgt); in display_targets() 98 for (tgt = 0; tgt < MRSAS_TBOLT_PD_TGT_MAX; tgt in display_targets() [all...] |
/titanic_52/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kaif_activate.c | 129 kaif_install_generic(caddr_t tgt, caddr_t arg) in kaif_install_generic() argument 131 bcopy((caddr_t)kaif_hdlr_generic, tgt, 32); in kaif_install_generic() 138 kaif_install_goto_tt64(caddr_t tgt, caddr_t arg) in kaif_install_goto_tt64() argument 141 uint32_t *hdlr = (uint32_t *)tgt; in kaif_install_goto_tt64() 150 kaif_install_goto_tt68(caddr_t tgt, caddr_t arg) in kaif_install_goto_tt68() argument 153 uint32_t *hdlr = (uint32_t *)tgt; in kaif_install_goto_tt68() 163 kaif_install_dmmumiss(caddr_t tgt, caddr_t vatotte) in kaif_install_dmmumiss() argument 167 bcopy((caddr_t)kaif_hdlr_dmiss, tgt, 128); in kaif_install_dmmumiss() 170 patch = (uint32_t *)(tgt + ((uintptr_t)&kaif_hdlr_dmiss_patch - in kaif_install_dmmumiss() 177 kaif_install_immumiss(caddr_t tgt, caddr_ argument [all...] |
/titanic_52/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | fwd_tgt.c | 55 krb5_creds creds, tgt; in krb5_fwd_tgt_creds() local 65 memset((char *)&tgt, 0, sizeof(creds)); in krb5_fwd_tgt_creds() 115 /* fetch tgt directly from cache */ in krb5_fwd_tgt_creds() 118 &creds, &tgt); in krb5_fwd_tgt_creds() 123 /* tgt->client must be equal to creds.client */ in krb5_fwd_tgt_creds() 124 if (!krb5_principal_compare(context, tgt.client, creds.client)) { in krb5_fwd_tgt_creds() 129 t_err = krb5_unparse_name(context, tgt.client, &t_name); in krb5_fwd_tgt_creds() 144 if (!tgt.ticket.length) { in krb5_fwd_tgt_creds() 149 if (tgt.addresses && *tgt in krb5_fwd_tgt_creds() [all...] |
/titanic_52/usr/src/lib/libiscsit/common/ |
H A D | libiscsit.c | 525 * tgt Pointer to an iSCSI target structure 539 it_tgt_create(it_config_t *cfg, it_tgt_t **tgt, char *tgt_name) in it_tgt_create() argument 547 if (!cfg || !tgt) { in it_tgt_create() 592 *tgt = ptr; in it_tgt_create() 609 * tgt Pointer to an iSCSI target structure 620 it_tgt_setprop(it_config_t *cfg, it_tgt_t *tgt, nvlist_t *proplist, in it_tgt_setprop() argument 628 if (!cfg || !tgt || !proplist) { in it_tgt_setprop() 633 if (!validate_iscsi_name(tgt->tgt_name)) { in it_tgt_setprop() 636 canonical_iscsi_name(tgt->tgt_name); in it_tgt_setprop() 647 if (tgt in it_tgt_setprop() 741 it_tgt_delete(it_config_t * cfg,it_tgt_t * tgt,boolean_t force) it_tgt_delete() argument 816 it_tgt_free(it_tgt_t * tgt) it_tgt_free() argument 851 it_tpgt_create(it_config_t * cfg,it_tgt_t * tgt,it_tpgt_t ** tpgt,char * tpg_name,uint16_t tpgt_tag) it_tpgt_create() argument 948 it_tpgt_delete(it_config_t * cfg,it_tgt_t * tgt,it_tpgt_t * tpgt) it_tpgt_delete() argument 1098 it_tgt_t *tgt; it_tpg_delete() local 2017 canonical_iscsi_name(char * tgt) canonical_iscsi_name() argument [all...] |
H A D | libiscsit.h | 192 * tgt Pointer to an iSCSI target structure 207 it_tgt_create(it_config_t *cfg, it_tgt_t **tgt, char *tgt_name); 221 * tgt Pointer to an iSCSI target structure 233 it_tgt_setprop(it_config_t *cfg, it_tgt_t *tgt, nvlist_t *proplist, 240 * Delete target represented by 'tgt', where 'tgt' is an existing 248 * tgt Pointer to an iSCSI target structure 258 it_tgt_delete(it_config_t *cfg, it_tgt_t *tgt, boolean_t force); 272 * tgt Pointer to the iSCSI target structure associated 290 it_tpgt_create(it_config_t *cfg, it_tgt_t *tgt, it_tpgt_ [all...] |
/titanic_52/usr/src/data/zoneinfo/ |
H A D | update_manifest | 57 while IFS=$' \t' read _ tgt src _; do 60 targets[$tgt]=1 62 printf " %20s => %s\n" $src $tgt 64 while [[ $src == */* && ${src%%/*} == ${tgt%%/*} ]]; do 66 tgt=${tgt#*/} 76 links[$osrc]="$r$tgt"
|
/titanic_52/usr/src/uts/common/os/ |
H A D | ndifm.c | 464 struct i_ddi_fmtgt *tgt; in ndi_fmc_error() local 477 for (tgt = fmhdl->fh_tgts; tgt != NULL; tgt = tgt->ft_next) { in ndi_fmc_error() 479 if (tdip != NULL && tdip != tgt->ft_dip) in ndi_fmc_error() 485 status = ndi_fmc_entry_error(tgt->ft_dip, flag, &derr, in ndi_fmc_error() 498 status = tgt->ft_errhdl->eh_func(tgt->ft_dip, &derr, in ndi_fmc_error() 499 tgt in ndi_fmc_error() 604 struct i_ddi_fmtgt *tgt; ndi_fm_handler_dispatch() local [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/acl/ |
H A D | acl_common.kshlib | 83 function compare_acls #<src> <tgt> 86 typeset tgt=$2 88 (( ${#src} == 0 || ${#tgt} == 0 )) && return 1 89 [[ $src == $tgt ]] && return 0 92 typeset tmptgt=/tmp/compare_acls.tgt.$$ 95 get_acl $tgt > $tmptgt 106 get_compact_acl $tgt > $tmptgt 121 function compare_modes #<src> <tgt> 124 typeset tgt=$2 128 (( ${#src} == 0 || ${#tgt} [all...] |
/titanic_52/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | parms.c | 496 get_passwd(char *tgt, in get_passwd() argument 525 return (tgt); in get_passwd() 571 return (tgt); in get_passwd() 596 #define PARS(str) (strcasecmp(tgt, str) == 0) in parse_parms() 597 #define PARSEQ(str) (strncasecmp(tgt, str"=", sizeof (str)) == 0) in parse_parms() 610 char delim, *val0 = 0, *tgt, *val, *p; in parse_parms() local 712 tgt = line + strspn(line, " ,\n\r"); in parse_parms() 713 if (*tgt == '\0' || *tgt == '#') in parse_parms() 715 line = tgt in parse_parms() [all...] |