Searched defs:tgtp (Results 1 - 12 of 12) sorted by relevance

/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_scsi.c77 cpqary3_tgt_t *tgtp; local
87 tgtp = cpqary3p->cpqary3_tgtp[tid];
89 if (!tgtp) {
100 if (tgtp->type == CPQARY3_TARGET_CTLR) {
104 } else if (tgtp->type == CPQARY3_TARGET_LOG_VOL) {
105 cmdlistp->Header.LUN.LogDev.VolId = tgtp->logical_id;
107 } else if (tgtp->type == CPQARY3_TARGET_TAPE) {
108 bcopy(&(tgtp->PhysID), &(cmdlistp->Header.LUN.PhysDev),
H A Dcpqary3_transport.c583 cpqary3_tgt_t *tgtp; local
589 tgtp = ctlr->cpqary3_tgtp[SA2TGT(sa)];
591 if (!tgtp)
594 if (tgtp->type == CPQARY3_TARGET_NONE)
830 cpqary3_tgt_t *tgtp = ctlr->cpqary3_tgtp[SA2TGT(sa)]; local
854 return (tgtp->ctlr_flags & CPQARY3_CAP_DISCON_ENABLED);
856 return (tgtp->ctlr_flags & CPQARY3_CAP_SYNC_ENABLED);
858 return (tgtp->ctlr_flags & CPQARY3_CAP_WIDE_XFER_ENABLED);
860 return ((tgtp->ctlr_flags & CPQARY3_CAP_ARQ_ENABLED) ? 1 : 0);
H A Dcpqary3_util.c294 cpqary3_tgt_t *tgtp = ctlr->cpqary3_tgtp[SA2TGT(sa)]; local
300 return ((tgtp->properties.drive.heads << 16) |
301 tgtp->properties.drive.sectors);
/illumos-gate/usr/src/cmd/filesync/
H A Danal.c651 struct fileinfo *chgp, *tgtp, *basp, *fcp, *ftp; local
688 tgtp = &lp->f_info[tgtside];
695 if (tgtp->f_mode == 0)
715 if ((ftp->f_d_maj == tgtp->f_d_maj) &&
716 (ftp->f_d_min == tgtp->f_d_min) &&
717 (ftp->f_ino == tgtp->f_ino))
752 tgtp = &lp->f_info[tgtside];
779 if ((ftp->f_d_maj == tgtp->f_d_maj) &&
780 (ftp->f_d_min == tgtp->f_d_min) &&
781 (ftp->f_ino == tgtp
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c479 ata_tgt_t *tgtp = GTGTP2ATATGTP(gtgtp); local
485 tgtp->at_dma_attr.dma_attr_granular = (uint_t)value;
490 tgtp->at_arq = value;
496 tgtp->at_total_sectors = value;
/illumos-gate/usr/src/common/iscsit/
H A Discsit_common.c447 it_tgt_t *tgtp = tgtlist; local
469 while (tgtp) {
470 ret = it_tgt_to_nv(tgtp, &tnv);
476 ret = nvlist_add_nvlist(*nvl, tgtp->tgt_name, tnv);
484 tgtp = tgtp->tgt_next;
1476 it_tgt_t *tgtp = tgt; local
1483 while (tgtp) {
1484 next = tgtp->tgt_next;
1486 if (tgtp
[all...]
/illumos-gate/usr/src/cmd/itadm/
H A Ditadm.c646 it_tgt_t *tgtp; local
680 ret = it_tgt_create(cfg, &tgtp, tgt);
747 ret = it_tpgt_create(cfg, tgtp, &tpgt, tags[i], tagid);
763 ret = it_tgt_setprop(cfg, tgtp, proplist, &errlist);
799 tgtp->tgt_name);
1063 it_tgt_t *tgtp = NULL; local
1128 tgtp = ptr;
1134 if (!tgtp) {
1187 tpgt = tgtp->tgt_tpgt_list;
1206 it_tpgt_delete(cfg, tgtp, pt
[all...]
/illumos-gate/usr/src/tools/ctf/cvt/
H A Dmerge.c686 remap_node(tdesc_t **tgtp, tdesc_t *oldtgt, int selftid, tdesc_t *newself, argument
694 *tgtp = newself;
707 *tgtp = oldtgt;
708 list_add(mcd->md_tdtbr, tgtp);
712 *tgtp = tgt;
/illumos-gate/usr/src/uts/common/io/
H A Demul64.c1373 emul64_tgt_t **tgtp,
1381 *tgtp = find_tgt(emul64, tgtr->emul64_target, tgtr->emul64_lun);
1383 if (*tgtp == NULL) {
1371 emul64_get_tgtrange(struct emul64 *emul64, intptr_t arg, emul64_tgt_t **tgtp, emul64_tgt_range_t *tgtr) argument
/illumos-gate/usr/src/lib/libiscsit/common/
H A Dlibiscsit.c183 it_tgt_t *tgtp; local
242 tgtp = cfg->config_tgt_list;
243 for (; tgtp != NULL; tgtp = tgtp->tgt_next) {
244 if (!tgtp->tgt_properties) {
247 if (nvlist_exists(tgtp->tgt_properties,
249 (void) nvlist_remove_all(tgtp->tgt_properties,
/illumos-gate/usr/src/uts/i86pc/os/
H A Dibft.c207 iscsi_ibft_tgt_t *tgtp);
513 iscsi_parse_ibft_target(char *begin_of_ibft, iscsi_ibft_tgt_t *tgtp) argument
519 if (tgtp == NULL) {
523 if (tgtp->header.Structure_id != Target) {
527 if ((tgtp->header.Flags & IBFT_FIRMWARE_BOOT_SELECTED) &&
528 (tgtp->header.Flags & IBFT_BLOCK_VALID_YES)) {
532 ret = iscsi_copy_ibft_ipaddr(tgtp->ip_addr,
541 if (tgtp->target_name_len != 0) {
543 (uchar_t *)kmem_zalloc(tgtp->target_name_len + 1,
546 tgtp
[all...]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_oss.c1139 sndctl_dsp_get_playtgt(audio_client_t *c, int *tgtp) argument
1142 *tgtp = 0;
1147 sndctl_dsp_set_playtgt(audio_client_t *c, int *tgtp) argument
1150 *tgtp = 0;

Completed in 90 milliseconds