/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/cmd/dis/ |
H A D | dis_main.c | 122 dis_data(dis_tgt_t *tgt, dis_handle_t *dhp, uint64_t addr, void *data, argument 139 db.db_tgt = tgt; 177 if ((next = dis_tgt_next_symbol(tgt, addr)) == 0) { 205 symbol = dis_tgt_lookup(tgt, addr, &symoffset, 1, &symsize, 208 symbol = dis_find_section(tgt, addr, &symoffset); 399 dis_text_section(dis_tgt_t *tgt, dis_scn_t *scn, void *data) argument 410 dis_data(tgt, dhp, dis_section_addr(scn), dis_section_data(scn), 475 dis_tgt_t *tgt, *current; local 484 if ((tgt = dis_tgt_create(filename)) == NULL) 494 for (current = tgt; curren [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/ |
H A D | iscsit.h | 708 iscsit_sess_create(iscsit_tgt_t *tgt, iscsit_conn_t *ict, 738 iscsit_sess_reinstate(iscsit_tgt_t *tgt, iscsit_sess_t *ist, iscsit_conn_t *ict, 750 iscsit_tgt_sm_event(iscsit_tgt_t *tgt, iscsit_tgt_event_t event); 753 tgt_sm_event_locked(iscsit_tgt_t *tgt, iscsit_tgt_event_t event); 777 iscsit_tgt_hold(iscsit_tgt_t *tgt); 780 iscsit_tgt_rele(iscsit_tgt_t *tgt); 783 iscsit_tgt_lookup_tpgt(iscsit_tgt_t *tgt, uint16_t tag); 792 iscsit_tgt_lookup_portal(iscsit_tgt_t *tgt, struct sockaddr_storage *sa, 796 iscsit_tgt_lookup_sess(iscsit_tgt_t *tgt, char *initiator_name, 800 iscsit_tgt_bind_sess(iscsit_tgt_t *tgt, iscsit_sess_ [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_subr.c | 52 static void pmcs_flush_nonio_cmds(pmcs_hw_t *pwp, pmcs_xscsi_t *tgt); 1167 pmcs_xscsi_t *tgt; local 1218 tgt = pptr->target; 1219 if (tgt != NULL) { 1220 pmcs_prt(pwp, PMCS_PRT_DEBUG_CONFIG, pptr, tgt, 1222 __func__, (void *) tgt); 1223 mutex_enter(&tgt->statlock); 1224 pmcs_clear_xp(pwp, tgt); 1225 mutex_exit(&tgt->statlock); 2792 /* No iport for this tgt */ 4875 pmcs_xscsi_t *tgt; local 5283 pmcs_xscsi_t *tgt; local 6976 pmcs_flush_target_queues(pmcs_hw_t *pwp, pmcs_xscsi_t *tgt, uint8_t queues) argument 7090 pmcs_flush_nonio_cmds(pmcs_hw_t *pwp, pmcs_xscsi_t *tgt) argument 8060 pmcs_xscsi_t *tgt; local [all...] |
/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...] |
H A D | ap_sbd.c | 115 if (a->tgt == AP_BOARD) { 261 if (a->tgt == AP_BOARD) { 263 DBG("tgt=%d\n", a->tgt); 274 a->tgt = AP_NONE; 297 a->tgt = ap_cm_tgt(dst->ds_type); 306 DBG("tgt=%d\n", a->tgt); 308 if (a->tgt == AP_NONE) { 468 else if (a->tgt 1369 ap_info(apd_t *a, cfga_info_t info, ap_target_t tgt) argument [all...] |
H A D | ap_msg.c | 146 #define check_tgt(tgt, t) {\ 147 if (str_valid((tgt))) \ 148 (t) = (tgt); \ 243 if (a->tgt == AP_BOARD)
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 787 update_target(struct iodev_snapshot *tgt, struct iodev_snapshot *path) argument 789 tgt->is_stats.reads += path->is_stats.reads; 790 tgt->is_stats.writes += path->is_stats.writes; 791 tgt->is_stats.nread += path->is_stats.nread; 792 tgt->is_stats.nwritten += path->is_stats.nwritten; 793 tgt->is_stats.wcnt += path->is_stats.wcnt; 794 tgt->is_stats.rcnt += path->is_stats.rcnt; 801 tgt->is_crtime += hrtime_delta(path->is_crtime, path->is_snaptime); 802 tgt->is_snaptime += path->is_snaptime; 803 tgt 815 int lun, tgt, initiator; local 881 int lun, tgt, initiator; local 945 int lun, tgt, initiator; local [all...] |
/illumos-gate/usr/src/cmd/itadm/ |
H A D | itadm.c | 201 create_target(char *tgt, nvlist_t *proplist); 204 modify_target(char *tgt, char *new, nvlist_t *proplist); 207 delete_target(char *tgt, boolean_t force); 210 list_target(char *tgt, boolean_t verbose, boolean_t script); 642 create_target(char *tgt, nvlist_t *proplist) argument 659 if (tgt) { 663 if (!IS_IQN_NAME(tgt) && !IS_EUI_NAME(tgt)) { 665 tgt); 680 ret = it_tgt_create(cfg, &tgtp, tgt); 810 list_target(char *tgt, boolean_t verbose, boolean_t script) argument 990 delete_target(char *tgt, boolean_t force) argument 1058 modify_target(char *tgt, char *newname, nvlist_t *proplist) argument [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/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...] |
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename.kshlib | 114 function cmp_data #<$1 src data, $2 tgt data> 117 typeset tgt=$2 119 cmp $src $tgt >/dev/null 2>&1
|
/illumos-gate/usr/src/uts/common/io/scsi/conf/ |
H A D | scsi_confsubr.c | 1396 int tgt, lun, sfunc; local 1401 tgt = scsi_device_prop_get_int(sd, SCSI_DEVICE_PROP_PATH, 1406 if ((tgt == -1) && (tgt_port == NULL)) 1434 SCSI_ADDR_PROP_TARGET, tgt, lun64); 1438 SCSI_ADDR_PROP_TARGET, tgt, lun64, sfunc); 1480 int tgt, lun, sfunc; local 1485 tgt = scsi_device_prop_get_int(sd, SCSI_DEVICE_PROP_PATH, 1490 if ((tgt == -1) && (tgt_port == NULL)) 1509 (void) snprintf(ua, len, "%x,%" PRIx64, tgt, lun64); 1512 tgt, lun6 1839 scsi_update_parent_ss2_prop(dev_info_t *devi, int tgt, int add_tgt) argument [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/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 | merge.c | 689 tdesc_t *tgt = NULL; local 702 (void *)&tgt) && (!(mcd->md_flags & MCD_F_REFMERGE) || 704 (void *)&tgt))) { 712 *tgtp = tgt; 1081 merge_into_master(tdata_t *cur, tdata_t *mstr, tdata_t *tgt, int selfuniquify) argument 1087 if (tgt) 1088 tgt->td_ref++; 1091 (tgt == NULL || tgt->td_ref == 1)); 1094 mcd.md_tgt = (tgt [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | ddifm.c | 561 struct i_ddi_fmtgt *tgt; local 593 tgt = kmem_alloc(sizeof (struct i_ddi_fmtgt), KM_SLEEP); 594 tgt->ft_dip = dip; 595 tgt->ft_errhdl = new_eh; 600 tgt->ft_next = pfmhdl->fh_tgts; 601 pfmhdl->fh_tgts = tgt; 616 struct i_ddi_fmtgt *tgt, **ptgt; local 647 for (tgt = pfmhdl->fh_tgts; tgt != NULL; tgt [all...] |
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas.c | 237 static void fas_revert_to_async(struct fas *fas, int tgt); 250 static void fas_update_props(struct fas *fas, int tgt); 465 int tgt = sd->sd_address.a_target; local 476 fas_force_renegotiation(fas, tgt); 489 ((fas->f_target_scsi_options_defined & (1 << tgt)) == 0)) { 494 fas->f_target_scsi_options[tgt] = options; 496 "?target%x-scsi-options = 0x%x\n", tgt, 497 fas->f_target_scsi_options[tgt]); 498 fas_force_renegotiation(fas, tgt); 504 tgt, fa 2270 caddr_t cdbp, scbp, tgt; local 4837 uchar_t stat, fifoamt, tgt; local 5553 int tgt = Tgt(sp); local 6061 int tgt = Tgt(sp); local 6307 fas_revert_to_async(struct fas *fas, int tgt) argument 7484 uchar_t tgt = slot / NLUNS_PER_TARGET; local 7572 int tgt = Tgt(sp); local 9139 fas_update_props(struct fas *fas, int tgt) argument [all...] |
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.c | 82 #define AAC_DEVCFG_BEGIN(softs, tgt) \ 83 aac_devcfg((softs), (tgt), 1) 84 #define AAC_DEVCFG_END(softs, tgt) \ 85 aac_devcfg((softs), (tgt), 0) 2951 uint32_t bus, tgt; local 2977 for (tgt = 0; tgt < softs->tgt_max; tgt++) { 2982 dvp->tid = tgt; 3568 aac_probe_jbod(struct aac_softstate *softs, int tgt, in argument 3841 aac_lun_serialno(struct aac_softstate *softs, int tgt, uchar_t *buf) argument 3864 int tgt = pkt->pkt_address.a_target; local 4128 int tgt, lun; local 4152 uint16_t tgt = sd->sd_address.a_target; local 4237 int tgt = sd->sd_address.a_target; local 7061 aac_parse_devname(char *devnm, int *tgt, int *lun) argument 7103 aac_find_child(struct aac_softstate *softs, uint16_t tgt, uint8_t lun) argument 7142 int tgt = sd->sd_address.a_target; local 7206 int tgt = sd->sd_address.a_target; local 7262 aac_config_lun(struct aac_softstate *softs, uint16_t tgt, uint8_t lun, dev_info_t **ldip) argument 7292 aac_config_tgt(struct aac_softstate *softs, int tgt) argument 7396 aac_devcfg(struct aac_softstate *softs, int tgt, int en) argument 7437 int tgt, lun; local 7458 uint32_t bus, tgt; local 7494 aac_handle_dr(struct aac_softstate *softs, int tgt, int lun, int event) argument 8169 int tgt = ap->a_target; local [all...] |
/illumos-gate/usr/src/uts/common/io/comstar/port/srpt/ |
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);
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_profile.c | 300 prof_make_sym(struct sdev_node *dir, char *lnm, char *tgt) argument 305 (void *)tgt, kcred) == 0) { 317 char *tgt, *lnm; local 329 rv = nvpair_value_string(nvp, &tgt); 335 prof_make_sym(dir, lnm, tgt); 773 * tgt represents a device name matching expression, 777 prof_add_rule(char *name, char *tgt, struct sdev_node *dir, int type) argument 789 if (tgt) 795 if (tgt) 814 if (tgt) { 844 process_rule(struct sdev_node *dir, struct sdev_node *gdir, char *path, char *tgt, int type) argument [all...] |
/illumos-gate/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.c | 1602 uint16_t tgt = sd->sd_address.a_target; local 1607 tgt, lun)); 1616 if ((child = mrsas_find_child(instance, tgt, lun)) != NULL) { 1619 " %p t = %d l = %d", (void *)child, tgt, lun)); 1626 "DDI_FAILURE t = %d l = %d", tgt, lun)); 1632 (void *)instance->mr_ld_list[tgt].dip, (void *)tgt_dip)); 1634 if (tgt < MRDRV_MAX_LD && lun == 0) { 1635 if (instance->mr_ld_list[tgt].dip == NULL && 1638 instance->mr_ld_list[tgt].dip = tgt_dip; 1639 instance->mr_ld_list[tgt] 1668 int tgt = sd->sd_address.a_target; local 1696 mrsas_find_child(struct mrsas_instance *instance, uint16_t tgt, uint8_t lun) argument 1733 int tgt, lun; local 4175 int tgt = 0; local 7485 int tgt, lun; local 7548 int rval, tgt; local 7569 mrsas_parse_devname(char *devnm, int *tgt, int *lun) argument 7613 mrsas_config_ld(struct mrsas_instance *instance, uint16_t tgt, uint8_t lun, dev_info_t **ldip) argument 7669 int tgt = sd->sd_address.a_target; local 7744 mrsas_service_evt(struct mrsas_instance *instance, int tgt, int lun, int event, uint64_t wwn) argument [all...] |
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | fasvar.h | 824 #define NODISC(tgt) (fas->f_nodisc & (1<<(tgt))) 825 #define NOTAG(tgt) (fas->f_notag & (1<<(tgt))) 826 #define TAGGED(tgt) ((fas->f_notag & (1<<(tgt))) == 0) 827 #define SYNC_KNOWN(tgt) (fas->f_sync_known & (1<<(tgt)))
|
/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,
|