/titanic_41/usr/src/uts/i86pc/os/ |
H A D | ibft.c | 210 iscsi_ibft_tgt_t *tgtp); 516 iscsi_parse_ibft_target(char *begin_of_ibft, iscsi_ibft_tgt_t *tgtp) in iscsi_parse_ibft_target() argument 522 if (tgtp == NULL) { in iscsi_parse_ibft_target() 526 if (tgtp->header.Structure_id != Target) { in iscsi_parse_ibft_target() 530 if ((tgtp->header.Flags & IBFT_FIRMWARE_BOOT_SELECTED) && in iscsi_parse_ibft_target() 531 (tgtp->header.Flags & IBFT_BLOCK_VALID_YES)) { in iscsi_parse_ibft_target() 535 ret = iscsi_copy_ibft_ipaddr(tgtp->ip_addr, in iscsi_parse_ibft_target() 544 if (tgtp->target_name_len != 0) { in iscsi_parse_ibft_target() 546 (uchar_t *)kmem_zalloc(tgtp->target_name_len + 1, in iscsi_parse_ibft_target() 549 tgtp->target_name_len + 1; in iscsi_parse_ibft_target() [all …]
|
/titanic_41/usr/src/cmd/filesync/ |
H A D | anal.c | 651 struct fileinfo *chgp, *tgtp, *basp, *fcp, *ftp; in find_link() local 688 tgtp = &lp->f_info[tgtside]; in find_link() 695 if (tgtp->f_mode == 0) in find_link() 715 if ((ftp->f_d_maj == tgtp->f_d_maj) && in find_link() 716 (ftp->f_d_min == tgtp->f_d_min) && in find_link() 717 (ftp->f_ino == tgtp->f_ino)) in find_link() 752 tgtp = &lp->f_info[tgtside]; in find_link() 779 if ((ftp->f_d_maj == tgtp->f_d_maj) && in find_link() 780 (ftp->f_d_min == tgtp->f_d_min) && in find_link() 781 (ftp->f_ino == tgtp->f_ino)) in find_link()
|
/titanic_41/usr/src/common/iscsit/ |
H A D | iscsit_common.c | 447 it_tgt_t *tgtp = tgtlist; in it_tgtlist_to_nv() local 469 while (tgtp) { in it_tgtlist_to_nv() 470 ret = it_tgt_to_nv(tgtp, &tnv); in it_tgtlist_to_nv() 476 ret = nvlist_add_nvlist(*nvl, tgtp->tgt_name, tnv); in it_tgtlist_to_nv() 484 tgtp = tgtp->tgt_next; in it_tgtlist_to_nv() 1476 it_tgt_t *tgtp = tgt; in it_tgt_free_cmn() local 1483 while (tgtp) { in it_tgt_free_cmn() 1484 next = tgtp->tgt_next; in it_tgt_free_cmn() 1486 if (tgtp->tgt_tpgt_list) { in it_tgt_free_cmn() 1487 it_tpgt_free_cmn(tgtp->tgt_tpgt_list); in it_tgt_free_cmn() [all …]
|
/titanic_41/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_scsi.c | 77 cpqary3_tgt_t *tgtp; in cpqary3_build_cmdlist() local 87 tgtp = cpqary3p->cpqary3_tgtp[tid]; in cpqary3_build_cmdlist() 89 if (!tgtp) { in cpqary3_build_cmdlist() 100 if (tgtp->type == CPQARY3_TARGET_CTLR) { in cpqary3_build_cmdlist() 104 } else if (tgtp->type == CPQARY3_TARGET_LOG_VOL) { in cpqary3_build_cmdlist() 105 cmdlistp->Header.LUN.LogDev.VolId = tgtp->logical_id; in cpqary3_build_cmdlist() 107 } else if (tgtp->type == CPQARY3_TARGET_TAPE) { in cpqary3_build_cmdlist() 108 bcopy(&(tgtp->PhysID), &(cmdlistp->Header.LUN.PhysDev), in cpqary3_build_cmdlist()
|
H A D | cpqary3_transport.c | 583 cpqary3_tgt_t *tgtp; in cpqary3_transport() local 589 tgtp = ctlr->cpqary3_tgtp[SA2TGT(sa)]; in cpqary3_transport() 591 if (!tgtp) in cpqary3_transport() 594 if (tgtp->type == CPQARY3_TARGET_NONE) in cpqary3_transport() 830 cpqary3_tgt_t *tgtp = ctlr->cpqary3_tgtp[SA2TGT(sa)]; in cpqary3_getcap() local 854 return (tgtp->ctlr_flags & CPQARY3_CAP_DISCON_ENABLED); in cpqary3_getcap() 856 return (tgtp->ctlr_flags & CPQARY3_CAP_SYNC_ENABLED); in cpqary3_getcap() 858 return (tgtp->ctlr_flags & CPQARY3_CAP_WIDE_XFER_ENABLED); in cpqary3_getcap() 860 return ((tgtp->ctlr_flags & CPQARY3_CAP_ARQ_ENABLED) ? 1 : 0); in cpqary3_getcap()
|
H A D | cpqary3_util.c | 294 cpqary3_tgt_t *tgtp = ctlr->cpqary3_tgtp[SA2TGT(sa)]; in cpqary3_target_geometry() local 300 return ((tgtp->properties.drive.heads << 16) | in cpqary3_target_geometry() 301 tgtp->properties.drive.sectors); in cpqary3_target_geometry()
|
/titanic_41/usr/src/cmd/itadm/ |
H A D | itadm.c | 646 it_tgt_t *tgtp; in create_target() local 680 ret = it_tgt_create(cfg, &tgtp, tgt); in create_target() 747 ret = it_tpgt_create(cfg, tgtp, &tpgt, tags[i], tagid); in create_target() 763 ret = it_tgt_setprop(cfg, tgtp, proplist, &errlist); in create_target() 799 tgtp->tgt_name); in create_target() 1063 it_tgt_t *tgtp = NULL; in modify_target() local 1128 tgtp = ptr; in modify_target() 1134 if (!tgtp) { in modify_target() 1187 tpgt = tgtp->tgt_tpgt_list; in modify_target() 1206 it_tpgt_delete(cfg, tgtp, ptr); in modify_target() [all …]
|
/titanic_41/usr/src/lib/libiscsit/common/ |
H A D | libiscsit.c | 179 it_tgt_t *tgtp; in it_config_commit() local 238 tgtp = cfg->config_tgt_list; in it_config_commit() 239 for (; tgtp != NULL; tgtp = tgtp->tgt_next) { in it_config_commit() 240 if (!tgtp->tgt_properties) { in it_config_commit() 243 if (nvlist_exists(tgtp->tgt_properties, in it_config_commit() 245 (void) nvlist_remove_all(tgtp->tgt_properties, in it_config_commit()
|
/titanic_41/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | atapi.c | 479 ata_tgt_t *tgtp = GTGTP2ATATGTP(gtgtp); in atapi_tran_setcap() local 485 tgtp->at_dma_attr.dma_attr_granular = (uint_t)value; in atapi_tran_setcap() 490 tgtp->at_arq = value; in atapi_tran_setcap() 496 tgtp->at_total_sectors = value; in atapi_tran_setcap()
|
/titanic_41/usr/src/tools/ctf/cvt/ |
H A D | merge.c | 686 remap_node(tdesc_t **tgtp, tdesc_t *oldtgt, int selftid, tdesc_t *newself, in remap_node() argument 694 *tgtp = newself; in remap_node() 707 *tgtp = oldtgt; in remap_node() 708 list_add(mcd->md_tdtbr, tgtp); in remap_node() 712 *tgtp = tgt; in remap_node()
|
/titanic_41/usr/src/uts/common/io/ |
H A D | emul64.c | 1373 emul64_tgt_t **tgtp, in emul64_get_tgtrange() argument 1381 *tgtp = find_tgt(emul64, tgtr->emul64_target, tgtr->emul64_lun); in emul64_get_tgtrange() 1383 if (*tgtp == NULL) { in emul64_get_tgtrange()
|
/titanic_41/usr/src/uts/common/io/audio/impl/ |
H A D | audio_oss.c | 1139 sndctl_dsp_get_playtgt(audio_client_t *c, int *tgtp) in sndctl_dsp_get_playtgt() argument 1142 *tgtp = 0; in sndctl_dsp_get_playtgt() 1147 sndctl_dsp_set_playtgt(audio_client_t *c, int *tgtp) in sndctl_dsp_set_playtgt() argument 1150 *tgtp = 0; in sndctl_dsp_set_playtgt()
|