/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
H A D | srpt_cm.c | 64 srpt_cm_req_hdlr(srpt_target_port_t *tgt, ibt_cm_event_t *event, argument 77 ASSERT(tgt != NULL); 117 ch = srpt_stp_login(tgt, &login, &login_rsp, 133 min(tgt->tp_ioc->ioc_attr.hca_max_rdma_out_chan, 136 min(tgt->tp_ioc->ioc_attr.hca_max_rdma_in_chan, 143 tgt->tp_ioc->ioc_attr.hca_max_rdma_in_chan, 144 tgt->tp_ioc->ioc_attr.hca_max_rdma_out_chan, 167 srpt_cm_conn_est_hdlr(srpt_target_port_t *tgt, ibt_cm_event_t *event) argument 171 ASSERT(tgt != NULL); 202 srpt_cm_conn_closed_hdlr(srpt_target_port_t *tgt, ibt_cm_event_ argument [all...] |
H A D | srpt_mod.c | 414 srpt_target_port_t *tgt; local 428 tgt = ioc->ioc_tgt_port; 429 if (tgt != NULL) { 430 stmf_status = srpt_stp_destroy_port(tgt); 433 (void) srpt_stp_free_port(tgt);
|
H A D | srpt_ch.c | 69 srpt_ch_alloc(srpt_target_port_t *tgt, uint8_t port) argument 78 ASSERT(tgt != NULL); 79 ioc = tgt->tp_ioc; 90 ch->ch_tgt = tgt; 344 srpt_target_port_t *tgt; local 354 tgt = ch->ch_tgt; 355 ASSERT(tgt != NULL); 362 mutex_enter(&tgt->tp_ch_list_lock); 363 tgt_ch = list_head(&tgt->tp_ch_list); 366 list_remove(&tgt [all...] |
/illumos-gate/usr/src/cmd/pools/pooladm/ |
H A D | pooladm.c | 76 const char *tgt; local 85 pool_value_get_string(pv, &tgt) != PO_SUCCESS) 91 tgt, get_errstr()); local
|
/illumos-gate/usr/src/uts/common/io/comstar/port/pppt/ |
H A D | pppt_msg.c | 163 pppt_tgt_t *tgt; local 176 if ((tgt = pppt_tgt_lookup_locked(dereg_port->icdp_port_id)) == NULL) { 182 avl_remove(&pppt_global.global_target_list, tgt); 183 pppt_tgt_async_delete(tgt); 188 mutex_enter(&tgt->target_mutex); 189 while ((tgt->target_refcount > 0) || 190 (tgt->target_state != TS_DELETING)) { 191 cv_wait(&tgt->target_cv, &tgt->target_mutex); 193 mutex_exit(&tgt 207 pppt_tgt_t *tgt; local [all...] |
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) argument 239 pppt_tgt_async_delete(pppt_tgt_t *tgt) argument 288 pppt_tgt_sm_event(pppt_tgt_t *tgt, pppt_tgt_event_t event) argument 296 tgt_sm_event_locked(pppt_tgt_t *tgt, pppt_tgt_event_t event) argument 338 tgt_sm_event_dispatch(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 393 tgt_sm_created(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 425 tgt_sm_onlining(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 462 tgt_sm_online(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 500 tgt_sm_stmf_online(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 529 tgt_sm_deleting_need_offline(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 560 tgt_sm_offlining(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 595 tgt_sm_offline(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 633 tgt_sm_stmf_offline(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 662 tgt_sm_deleting_stmf_dereg(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 696 tgt_sm_deleting_stmf_dereg_fail(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 727 tgt_sm_deleting(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx) argument 755 pppt_tgt_offline(pppt_tgt_t *tgt) argument 764 pppt_tgt_t *tgt = arg; local 796 pppt_tgt_t *tgt = arg; local 815 pppt_tgt_t *tgt = arg; local 822 tgt_sm_new_state(pppt_tgt_t *tgt, tgt_event_ctx_t *ctx, pppt_tgt_state_t new_state) argument [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | fwd_tgt.c | 55 krb5_creds creds, tgt; local 65 memset((char *)&tgt, 0, sizeof(creds)); 115 /* fetch tgt directly from cache */ 118 &creds, &tgt); 123 /* tgt->client must be equal to creds.client */ 124 if (!krb5_principal_compare(context, tgt.client, creds.client)) { 129 t_err = krb5_unparse_name(context, tgt.client, &t_name); 144 if (!tgt.ticket.length) { 149 if (tgt.addresses && *tgt [all...] |
/illumos-gate/usr/src/cmd/pools/poolcfg/ |
H A D | poolcfg.y | 83 " transfer [quantity] from resource src to tgt\n" \ 84 " transfer a resource quantity from src to tgt\n" \ 85 " transfer [quantity] to resource tgt from src\n" \ 86 " transfer a resource quantity to tgt from src\n" \ 230 %type <sval> name src tgt 422 transfer_qty: PCC_TRANSFER PCV_VAL_UINT PCK_FROM PCE_PSET src PCK_TO tgt 432 | PCC_TRANSFER PCV_VAL_UINT PCK_TO PCE_PSET tgt PCK_FROM src 488 tgt: PCV_SYMBOL; label 780 const char *tgt = cmd->cmd_tgt1; 788 if (tgt ! [all...] |
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_main.c | 164 mdb_tgt_t *tgt; local 248 tgt = mdb_tgt_create(tgt_ctor, mdb.m_tgtflags, 0, NULL); 250 if (tgt == NULL) { 255 mdb_tgt_activate(tgt);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/fcp/ |
H A D | fcp.c | 38 static struct fcp_tgt tgt; variable in typeref:struct:fcp_tgt 261 if (mdb_vread(&tgt, sizeof (struct fcp_tgt), wsp->walk_addr) != 267 wsp->walk_addr = (uintptr_t)(tgt.tgt_lun);
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mr_sas/ |
H A D | mr_sas.c | 66 int tgt; local 92 for (tgt = 0; tgt < MRDRV_MAX_LD; tgt++) { 93 if (mr_ldp[tgt].dip != NULL && 94 mr_ldp[tgt].lun_type == MRSAS_LD_LUN) { 95 mdb_printf("Logical sd %d\n", tgt); 98 for (tgt = 0; tgt < MRSAS_TBOLT_PD_TGT_MAX; tgt [all...] |
/illumos-gate/usr/src/cmd/mdb/sparc/kmdb/ |
H A D | kaif_activate.c | 129 kaif_install_generic(caddr_t tgt, caddr_t arg) argument 131 bcopy((caddr_t)kaif_hdlr_generic, tgt, 32); 138 kaif_install_goto_tt64(caddr_t tgt, caddr_t arg) argument 141 uint32_t *hdlr = (uint32_t *)tgt; 150 kaif_install_goto_tt68(caddr_t tgt, caddr_t arg) argument 153 uint32_t *hdlr = (uint32_t *)tgt; 163 kaif_install_dmmumiss(caddr_t tgt, caddr_t vatotte) argument 167 bcopy((caddr_t)kaif_hdlr_dmiss, tgt, 128); 170 patch = (uint32_t *)(tgt + ((uintptr_t)&kaif_hdlr_dmiss_patch - 177 kaif_install_immumiss(caddr_t tgt, caddr_ argument [all...] |
/illumos-gate/usr/src/tools/ctf/cvt/ |
H A D | fixup_tdescs.c | 60 tdesc_t *act, *tgt; local 85 if (!(tgt = lookupname(tgts[i])) || tgt->t_type != TYPEDEF) 92 p2->t_tdesc = tgt;
|
H A D | iidesc.c | 73 iidesc_t *tgt = find->iif_tgt; local 75 if (src->ii_type != tgt->ii_type || 76 !streq(src->ii_name, tgt->ii_name)) 122 iidesc_t *tgt; local 124 tgt = xmalloc(sizeof (iidesc_t)); 125 bcopy(src, tgt, sizeof (iidesc_t)); 127 tgt->ii_name = src->ii_name ? xstrdup(src->ii_name) : NULL; 128 tgt->ii_owner = src->ii_owner ? xstrdup(src->ii_owner) : NULL; 130 if (tgt->ii_nargs) { 131 tgt 142 iidesc_t *tgt = iidesc_dup(src); local [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_smhba.c | 96 pmcs_smhba_add_tgt_prop(pmcs_xscsi_t *tgt, data_type_t dt, argument 99 ASSERT(tgt != NULL); 103 if (ddi_prop_update_int(DDI_DEV_T_NONE, tgt->dip, 105 pmcs_prt(tgt->pwp, PMCS_PRT_DEBUG, NULL, NULL, 110 if (ddi_prop_update_string(DDI_DEV_T_NONE, tgt->dip, 112 pmcs_prt(tgt->pwp, PMCS_PRT_DEBUG, NULL, NULL, 117 pmcs_prt(tgt->pwp, PMCS_PRT_DEBUG, NULL, NULL, "%s: "
|
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__, 147 "%s: ds: 0x%x tgt: 0x%p phy: 0x%p", __func__, ds, (void *)xp, 224 pmcs_ds_operational(pmcs_phy_t *pptr, pmcs_xscsi_t *tgt) argument 231 if (tgt != NULL) { 232 tgt->recover_wait = 0; 245 pmcs_handle_ds_recovery_error(pptr, tgt, pwp, __func__, 263 pmcs_xscsi_t *tgt; local 298 tgt 498 pmcs_send_err_recovery_cmd(pmcs_hw_t *pwp, uint8_t dev_state, pmcs_phy_t *phyp, pmcs_xscsi_t *tgt) argument 608 pmcs_xscsi_t *tgt = pwrk->xp; local 753 pmcs_xscsi_t *tgt = pwrk->xp; local 821 pmcs_xscsi_t *tgt; 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) argument [all...] |
/illumos-gate/usr/src/cmd/zinject/ |
H A D | translate.c | 452 nvlist_t *tgt; local 464 tgt = zpool_find_vdev(zhp, device, &isspare, &iscache, NULL); 466 if (tgt == NULL) { 472 verify(nvlist_lookup_uint64(tgt, ZPOOL_CONFIG_GUID,
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_list.c | 142 walk_sections(dis_tgt_t *tgt, dis_scn_t *scn, void *data) argument 182 dis_namelist_resolve_sections(dis_namelist_t *namelist, dis_tgt_t *tgt) argument 200 dis_tgt_section_iter(tgt, walk_sections, &cb); 212 unp->un_name, dis_tgt_name(tgt)); 225 walk_functions(dis_tgt_t *tgt, dis_func_t *func, void *data) argument 260 dis_namelist_resolve_functions(dis_namelist_t *namelist, dis_tgt_t *tgt) argument 274 dis_tgt_function_iter(tgt, walk_functions, &cb); 285 unp->un_name, dis_tgt_name(tgt));
|
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit_sess.c | 115 iscsit_sess_create(iscsit_tgt_t *tgt, iscsit_conn_t *ict, argument 158 result->ist_tgt = tgt; 362 iscsit_sess_reinstate(iscsit_tgt_t *tgt, iscsit_sess_t *ist, iscsit_conn_t *ict, argument 373 new_sess = iscsit_sess_create(tgt, ict, 0,
|
H A D | iscsit_text.c | 520 iscsit_tgt_t *tgt, *ntgt; local 536 for (tgt = avl_first(&iscsit_global.global_target_list); 537 tgt != NULL; tgt = ntgt) { 543 ntgt = AVL_NEXT(&iscsit_global.global_target_list, tgt); 546 state = tgt->target_state; 558 mutex_enter(&tgt->target_mutex); 559 tpgt = avl_first(&tgt->target_tpgt_list); 561 portal = iscsit_tgt_lookup_portal(tgt, sa, 565 portal = iscsit_tgt_lookup_portal(tgt, [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | ndifm.c | 464 struct i_ddi_fmtgt *tgt; local 477 for (tgt = fmhdl->fh_tgts; tgt != NULL; tgt = tgt->ft_next) { 479 if (tdip != NULL && tdip != tgt->ft_dip) 485 status = ndi_fmc_entry_error(tgt->ft_dip, flag, &derr, 498 status = tgt->ft_errhdl->eh_func(tgt->ft_dip, &derr, 499 tgt 604 struct i_ddi_fmtgt *tgt; local [all...] |
H A D | ddi_intr_impl.c | 514 set_intr_affinity(ddi_intr_handle_t h, processorid_t tgt) argument 520 "target %x\n", (void *)hdlp, tgt)); 533 DDI_INTROP_SETTARGET, hdlp, &tgt); 536 hdlp->ih_target = tgt;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.c | 220 a->tgt = AP_BOARD; 245 if (a->tgt == AP_BOARD) 299 DBG("tgt=%d opts=%x\n", a->tgt, a->opts.flags); 555 omask = acp->omask[a->tgt]; 559 DBG("tgt=%d opt=%x omask=%x\n", a->tgt, mask(opt), omask); 655 int tgt; local 690 all = (a->tgt == AP_BOARD); 708 tgt [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | parms.c | 496 get_passwd(char *tgt, argument 525 return (tgt); 571 return (tgt); 596 #define PARS(str) (strcasecmp(tgt, str) == 0) 597 #define PARSEQ(str) (strncasecmp(tgt, str"=", sizeof (str)) == 0) 610 char delim, *val0 = 0, *tgt, *val, *p; local 712 tgt = line + strspn(line, " ,\n\r"); 713 if (*tgt == '\0' || *tgt == '#') 715 line = tgt [all...] |
/illumos-gate/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 393 it_tgt_t *tgt; local 420 ret = it_nv_to_tgt(nvt, name, &tgt); 428 *tgtlist = tgt; 430 prev->tgt_next = tgt; 432 prev = tgt; 498 it_tgt_to_nv(it_tgt_t *tgt, nvlist_t **nvl) argument 507 if (!tgt) { 517 if (tgt->tgt_properties) { 519 tgt->tgt_properties); 524 tgt 545 it_nv_to_tgt(nvlist_t *nvl, char *name, it_tgt_t **tgt) argument 1474 it_tgt_free_cmn(it_tgt_t *tgt) argument [all...] |