Searched refs:tran (Results 1 - 25 of 55) sorted by relevance

123

/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_scsa.h46 #define TRAN2PMC(tran) ((pmcs_hw_t *)(tran)->tran_hba_private)
47 #define ITRAN2PMC(tran) \
48 (((pmcs_iport_t *)(tran)->tran_hba_private)->pwp)
49 #define ITRAN2IPORT(tran) \
50 ((pmcs_iport_t *)(tran)->tran_hba_private)
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_clnt.c96 LIST(struct ctl_tran) tran; member in struct:ctl_cctx
175 INIT_LIST(ctx->tran);
239 struct ctl_tran *tran; local
257 tran = new_tran(ctx, donefunc, uap, 1);
258 if (tran == NULL)
260 if (ctl_bufget(&tran->outbuf, ctx->logger) < 0)
262 memcpy(tran->outbuf.text, cmd, len);
263 tran->outbuf.used = len;
264 for (pc = tran->outbuf.text, n = 0; n < tran
295 struct ctl_tran *tran; local
410 struct ctl_tran *tran; local
444 struct ctl_tran *tran = (struct ctl_tran *)uap; local
489 struct ctl_tran *tran; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_create.c149 set_method_context(scf_handle_t *handle, scf_transaction_t *tran, argument
153 SCF_TYPE_BOOLEAN, "false", tran) != SUCCESS) ||
155 value_str, tran) != SUCCESS) ||
157 ":default", tran) != SUCCESS) ||
159 SCF_TYPE_ASTRING, ":default", tran) != SUCCESS) ||
161 SCF_TYPE_ASTRING, ":default", tran) != SUCCESS) ||
163 SCF_TYPE_ASTRING, ":default", tran) != SUCCESS) ||
165 SCF_TYPE_ASTRING, ":default", tran) != SUCCESS) ||
167 ":default", tran) != SUCCESS) ||
169 SCF_TYPE_ASTRING, "basic,sys_net_config", tran) !
185 scf_transaction_t *tran; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c766 scsi_hba_tran_t *tran = (scsi_hba_tran_t *)arg; local
779 pkt_len = tran->tran_hba_len + sizeof (struct scsi_pkt_cache_wrapper);
780 if (tran->tran_hba_flags & SCSI_HBA_TRAN_CDB)
782 if (tran->tran_hba_flags & SCSI_HBA_TRAN_SCB)
797 pktw->pcw_granular = tran->tran_dma_attr.dma_attr_granular;
799 if (ddi_dma_alloc_handle(tran->tran_hba_dip, &tran->tran_dma_attr,
805 ptr += tran->tran_hba_len;
806 if (tran->tran_hba_flags & SCSI_HBA_TRAN_CDB) {
811 if (tran
826 scsi_hba_tran_t *tran = (scsi_hba_tran_t *)arg; local
900 scsi_hba_tran_t *tran; local
932 scsi_hba_tran_free( scsi_hba_tran_t *tran) argument
941 scsi_tran_ext_alloc( scsi_hba_tran_t *tran, size_t length, int flags) argument
959 scsi_tran_ext_free( scsi_hba_tran_t *tran, size_t length) argument
980 scsa_nexus_teardown(dev_info_t *self, scsi_hba_tran_t *tran) argument
996 scsa_nexus_setup(dev_info_t *self, scsi_hba_tran_t *tran) argument
1078 scsa_tran_teardown(dev_info_t *self, scsi_hba_tran_t *tran) argument
1095 scsa_tran_setup(dev_info_t *self, scsi_hba_tran_t *tran) argument
1231 scsi_hba_attach_setup( dev_info_t *self, ddi_dma_attr_t *hba_dma_attr, scsi_hba_tran_t *tran, int flags) argument
1374 scsi_hba_tran_t *tran; local
1445 smp_hba_tran_free(smp_hba_tran_t *tran) argument
1451 smp_hba_attach_setup( dev_info_t *self, smp_hba_tran_t *tran) argument
1551 smp_hba_tran_t *tran; local
1616 smp_hba_tran_t *tran; local
1772 scsi_hba_tran_t *tran; local
1858 scsi_hba_tran_t *tran; local
2110 scsi_hba_tran_t *tran; local
2318 scsi_hba_tran_t *tran; local
2337 scsi_hba_tran_t *tran; local
2379 smp_hba_tran_t *tran; local
2395 smp_hba_tran_t *tran; local
2430 scsi_hba_tran_t *tran; local
2898 scsi_hba_tran_t *tran; local
2923 scsi_hba_tran_t *tran; local
2938 scsi_hba_tran_t *tran; local
2958 scsi_hba_tran_t *tran; local
2998 scsi_hba_tran_t *tran; local
3051 scsi_hba_tran_t *tran; local
3091 scsi_hba_tran_t *tran; local
3364 scsi_hba_tran_t *tran = ddi_get_driver_private(self); local
3373 scsi_hba_tran_t *tran; local
5531 scsi_hba_tran_t *tran; local
5645 scsi_hba_tran_t *tran; local
5883 scsi_hba_tran_t *tran; local
7147 scsi_hba_tran_t *tran; local
7924 scsi_hba_tran_t *tran; local
8086 scsi_hba_tran_t *tran; local
8258 scsi_hba_tran_t *tran; local
8328 scsi_hba_tran_t *tran; local
8385 scsi_hba_tran_t *tran = (scsi_hba_tran_t *)arg; local
8419 scsi_hba_tran_t *tran = (scsi_hba_tran_t *)arg; local
8436 scsi_hba_tran_t *tran = (scsi_hba_tran_t *)arg; local
8450 scsi_hba_tran_t *tran = (scsi_hba_tran_t *)arg; local
8608 scsi_hba_tran_t *tran; local
9143 scsi_hba_tran_t *tran; local
9420 scsi_hba_tran_t *tran; local
9483 scsi_hba_tran_t *tran; local
9597 scsi_hba_tran_t *tran = tgtmap->tgtmap_tran; local
9614 scsi_hba_tran_t *tran = tgtmap->tgtmap_tran; local
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlbridge.c528 set_count_property(scf_handle_t *handle, scf_transaction_t *tran, argument
539 if (scf_transaction_property_new(tran, entry, propname,
541 scf_transaction_property_change(tran, entry, propname,
559 set_string_property(scf_handle_t *handle, scf_transaction_t *tran, argument
570 if (scf_transaction_property_new(tran, entry, propname,
572 scf_transaction_property_change(tran, entry, propname,
591 set_fmri_property(scf_handle_t *handle, scf_transaction_t *tran, argument
602 if (scf_transaction_property_new(tran, entry, propname,
604 scf_transaction_property_change(tran, entry, propname,
758 scf_transaction_t *tran local
870 scf_transaction_t *tran = NULL; local
1528 scf_transaction_t *tran = NULL; local
[all...]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c99 scsi_hba_tran_t *tran; local
105 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP);
107 if (tran == NULL) {
112 ata_ctlp->ac_atapi_tran = tran;
117 tran->tran_hba_private = ata_ctlp;
118 tran->tran_tgt_private = NULL;
120 tran->tran_tgt_init = atapi_tran_tgt_init;
121 tran->tran_tgt_probe = atapi_tran_tgt_probe;
122 tran->tran_tgt_free = atapi_tran_tgt_free;
123 tran
[all...]
H A Datapi.h97 #define TRAN2CTL(tran) ((ata_ctl_t *)((tran)->tran_hba_private))
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dsmp_transport.h77 smp_hba_tran_t *tran,
83 smp_hba_tran_t *tran,
H A Dtransport.h87 scsi_hba_tran_t *tran,
97 scsi_hba_tran_t *tran,
264 scsi_hba_tran_t *tran,
268 scsi_hba_tran_t *tran);
360 scsi_hba_tran_t *tran,
371 scsi_hba_tran_t *tran,
376 scsi_hba_tran_t *tran,
380 scsi_hba_tran_t *tran);
/illumos-gate/usr/src/uts/sun/sys/dada/adapters/
H A Datapi.h86 #define TRAN2CTL(tran) ((struct ata_controller *)((tran)->tran_hba_private))
/illumos-gate/usr/src/uts/common/io/
H A Demul64.c78 scsi_hba_tran_t *tran, struct scsi_device *sd);
321 scsi_hba_tran_t *tran = NULL; local
334 tran = (scsi_hba_tran_t *)ddi_get_driver_private(dip);
335 if (!tran) {
338 emul64 = TRAN2EMUL64(tran);
370 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP);
371 if (tran == NULL) {
376 emul64->emul64_tran = tran;
379 tran->tran_hba_private = emul64;
380 tran
463 scsi_hba_tran_t *tran; local
518 emul64_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, scsi_hba_tran_t *tran, struct scsi_device *sd) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dsmfcfg.c114 scf_transaction_t *tran = NULL; local
148 tran = scf_transaction_create(handle);
152 val == NULL|| tran == NULL || entry == NULL || inst == NULL) {
170 if (scf_transaction_start(tran, pg) == -1) {
182 if (scf_transaction_property_change(tran,
192 if (scf_transaction_property_change(tran, entry,
215 if (scf_transaction_property_change(tran, entry,
228 scf_transaction_commit(tran);
231 if (tran != NULL)
232 scf_transaction_destroy(tran);
[all...]
/illumos-gate/usr/src/lib/libstmf/common/
H A Dstore.c298 scf_transaction_t *tran = NULL; local
322 ((tran = scf_transaction_create(handle)) == NULL) ||
350 if (scf_transaction_start(tran, pg) == -1) {
364 if (scf_transaction_property_change(tran, entry, groupName,
370 syslog(LOG_ERR, "tran property change %s/%s "
558 if ((commitRet = scf_transaction_commit(tran)) != 1) {
582 if (tran != NULL) {
583 scf_transaction_destroy(tran);
640 scf_transaction_t *tran = NULL; local
663 ((tran
928 scf_transaction_t *tran = NULL; local
1388 scf_transaction_t *tran = NULL; local
2075 scf_transaction_t *tran = NULL; local
2290 scf_transaction_t *tran = NULL; local
2647 scf_transaction_t *tran = NULL; local
4427 scf_transaction_t *tran = NULL; local
[all...]
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcadm-list.c144 scf_transaction_t *tran = NULL; local
172 ((tran = scf_transaction_create(handle)) == NULL) ||
205 if (scf_transaction_start(tran, pg) == -1) {
220 if (scf_transaction_property_new(tran, entry, NPIV_PORT_LIST,
233 if (scf_transaction_property_change(tran, entry,
364 if ((commitRet = scf_transaction_commit(tran)) != 1) {
388 if (tran != NULL) {
389 scf_transaction_destroy(tran);
847 scf_transaction_t *tran = NULL; local
861 ((tran
[all...]
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c547 scsi_hba_tran_t *tran; local
550 sp->s_tran = tran = scsi_hba_tran_alloc(sp->s_dip, SCSI_HBA_CANSLEEP);
552 tran->tran_hba_private = sp;
553 tran->tran_tgt_private = NULL;
554 tran->tran_tgt_init = scsa1394_scsi_tgt_init;
555 tran->tran_tgt_probe = scsa1394_scsi_tgt_probe;
556 tran->tran_tgt_free = scsa1394_scsi_tgt_free;
557 tran->tran_start = scsa1394_scsi_start;
558 tran->tran_abort = scsa1394_scsi_abort;
559 tran
969 scsa1394_scsi_tgt_init(dev_info_t *dip, dev_info_t *cdip, scsi_hba_tran_t *tran, struct scsi_device *sd) argument
1012 scsa1394_scsi_tgt_free(dev_info_t *dip, dev_info_t *cdip, scsi_hba_tran_t *tran, struct scsi_device *sd) argument
1041 scsi_hba_tran_t *tran = (scsi_hba_tran_t *)ddi_get_driver_private(dip); local
[all...]
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/
H A Ddisk.esc71 event upset.io.scsi.cmd.disk.tran@P;
88 event ereport.io.scsi.cmd.disk.tran@P, discard_if_config_unknown=1;
167 prop upset.io.scsi.cmd.disk.tran@P->
168 ereport.io.scsi.cmd.disk.tran@P;
/illumos-gate/usr/src/lib/libfcoe/common/
H A Dlibfcoe.c181 scf_transaction_t *tran = NULL; local
208 ((tran = scf_transaction_create(handle)) == NULL) ||
252 if (scf_transaction_start(tran, pg) == -1) {
267 if (scf_transaction_property_new(tran, entry, FCOE_PORT_LIST,
280 if (scf_transaction_property_change(tran, entry,
414 if ((commitRet = scf_transaction_commit(tran)) != 1) {
438 if (tran != NULL) {
439 scf_transaction_destroy(tran);
836 scf_transaction_t *tran = NULL; local
854 ((tran
[all...]
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/
H A Dpvscsi_var.h130 #define TRAN2PRIV(tran) ((pvscsi_softc_t *)(tran)->tran_hba_private)
159 scsi_hba_tran_t *tran; member in struct:pvscsi_softc
/illumos-gate/usr/src/uts/common/io/usb/scsa2usb/
H A Dscsa2usb.c621 scsi_hba_tran_t *tran; /* scsi transport */ local
863 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP);
864 scsa2usbp->scsa2usb_tran = tran;
869 tran->tran_hba_private = scsa2usbp;
870 tran->tran_tgt_private = NULL;
871 tran->tran_tgt_init = scsa2usb_scsi_tgt_init;
872 tran->tran_tgt_probe = scsa2usb_scsi_tgt_probe;
873 tran->tran_tgt_free = scsa2usb_scsi_tgt_free;
874 tran->tran_start = scsa2usb_scsi_start;
875 tran
1011 scsi_hba_tran_t *tran; local
2234 scsi_hba_tran_t *tran; local
2284 scsa2usb_scsi_tgt_init(dev_info_t *dip, dev_info_t *cdip, scsi_hba_tran_t *tran, struct scsi_device *sd) argument
2353 scsa2usb_scsi_tgt_free(dev_info_t *hba_dip, dev_info_t *cdip, scsi_hba_tran_t *tran, struct scsi_device *sd) argument
[all...]
/illumos-gate/usr/src/cmd/awk/
H A DMakefile32 OBJ1= b.o lib.o main.o parse.o proctab.o run.o tran.o
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c72 scsi_hba_tran_t *tran; local
85 tran = scsi_hba_tran_alloc(pwp->dip, SCSI_HBA_CANSLEEP);
86 if (tran == NULL) {
92 tran->tran_hba_private = pwp;
93 tran->tran_tgt_init = pmcs_scsa_tran_tgt_init;
94 tran->tran_tgt_free = pmcs_scsa_tran_tgt_free;
95 tran->tran_start = pmcs_scsa_start;
96 tran->tran_abort = pmcs_scsa_abort;
97 tran->tran_reset = pmcs_scsa_reset;
98 tran
150 pmcs_scsa_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, scsi_hba_tran_t *tran, struct scsi_device *sd) argument
410 pmcs_scsa_tran_tgt_free(dev_info_t *hba_dip, dev_info_t *tgt_dip, scsi_hba_tran_t *tran, struct scsi_device *sd) argument
1207 pmcs_smp_init(dev_info_t *self, dev_info_t *child, smp_hba_tran_t *tran, smp_device_t *smp_sd) argument
1361 pmcs_smp_free(dev_info_t *self, dev_info_t *child, smp_hba_tran_t *tran, smp_device_t *smp) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Demul64var.h206 #define TRAN2EMUL64(tran) ((struct emul64 *)(tran)->tran_hba_private)
/illumos-gate/usr/src/uts/sun/io/dada/impl/
H A Ddcd_resource.c192 struct dcd_hba_tran *tran = ap->a_hba_tran; local
198 pkt = (*tran->tran_init_pkt) (ap, NULL, NULL, cmdlen, statuslen,
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.c371 scsi_hba_tran_t *tran = NULL; local
422 if ((tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP))
430 ihp->hba_tran = tran;
518 tran->tran_hba_private = ihp;
519 tran->tran_tgt_private = NULL;
520 tran->tran_tgt_init = iscsi_tran_lun_init;
521 tran->tran_tgt_probe = iscsi_tran_lun_probe;
522 tran->tran_tgt_free = iscsi_tran_lun_free;
523 tran->tran_start = iscsi_tran_start;
524 tran
649 scsi_hba_tran_t *tran = NULL; local
[all...]
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c463 scsi_hba_tran_t *tran; local
467 tran = ddi_get_driver_private(dip);
468 ASSERT(tran != NULL);
469 fas = TRAN2FAS(tran);
534 scsi_hba_tran_t *tran = NULL; local
550 if ((tran = ddi_get_driver_private(dip)) == NULL)
553 fas = TRAN2FAS(tran);
690 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP);
698 fas->f_tran = tran;
700 tran
1073 scsi_hba_tran_t *tran; local
1162 scsi_hba_tran_t *tran; local
8768 scsi_hba_tran_t *tran; local
8782 scsi_hba_tran_t *tran; local
[all...]

Completed in 278 milliseconds

123