Searched defs:tran (Results 1 - 25 of 39) sorted by relevance

12

/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/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_resource.c647 struct scsi_hba_tran *tran = ap->a_hba_tran; local
652 pkt = (*tran->tran_init_pkt) (ap, NULL, NULL, cmdlen,
H A Dscsi_subr.c333 scsi_hba_tran_t *tran = A_TO_TRAN(ap); local
334 dev_info_t *pdip = tran->tran_hba_dip;
356 pkt = (*tran->tran_init_pkt) (ap, NULL, &local,
378 register scsi_hba_tran_t *tran = A_TO_TRAN(ap); local
380 (*tran->tran_destroy_pkt)(ap, pkt);
/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/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/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/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...]
/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/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...]
H A Dlibdlwlan.c1651 scf_transaction_t *tran = NULL; local
1659 tran = scf_transaction_create(handle);
1660 if (tran == NULL)
1672 if (scf_transaction_start(tran, pg) != 0)
1676 SCF_TYPE_ASTRING, command, tran) != DLADM_STATUS_OK) {
1680 rv = scf_transaction_commit(tran);
1686 scf_transaction_destroy_children(tran);
1698 if (tran != NULL) {
1699 scf_transaction_destroy_children(tran);
1700 scf_transaction_destroy(tran);
[all...]
/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...]
H A Dpmcs_attach.c263 scsi_hba_tran_t *tran; local
320 tran = (scsi_hba_tran_t *)ddi_get_driver_private(dip);
321 tran->tran_hba_private = iport;
424 scsi_hba_tran_t *tran; local
443 tran = (scsi_hba_tran_t *)ddi_get_driver_private(dip);
444 if (!tran) {
451 pwp = TRAN2PMC(tran);
1149 scsi_hba_tran_t *tran; local
1195 tran = (scsi_hba_tran_t *)ddi_get_driver_private(dip);
1196 if (!tran) {
1673 scsi_hba_tran_t *tran; local
[all...]
/illumos-gate/usr/src/uts/intel/io/amr/
H A Damr.c171 scsi_hba_tran_t *tran, struct scsi_device *sd);
435 /* set up the tran interface */
437 AMRDB_PRINT((CE_NOTE, "setup tran failed"));
1477 scsi_hba_tran_t *tran, struct scsi_device *sd)
1476 amr_tran_tgt_init(dev_info_t *hba_dip, dev_info_t *tgt_dip, scsi_hba_tran_t *tran, struct scsi_device *sd) argument
/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/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
H A Dpvscsi.c301 ap.a_hba_tran = pvs->tran;
1699 sa.a_hba_tran = pvs->tran;
1736 ap.a_hba_tran = pvs->tran;
2219 scsi_hba_tran_t *tran; local
2221 if ((tran = ddi_get_driver_private(dip)) == NULL ||
2222 (pvs = TRAN2PRIV(tran)) == NULL)
2250 scsi_hba_tran_t *tran; local
2252 if ((tran = ddi_get_driver_private(dip)) == NULL ||
2253 (pvs = TRAN2PRIV(tran)) == NULL)
2281 scsi_hba_tran_t *tran; local
2587 scsi_hba_tran_t *tran; local
[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/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/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/common/io/scsi/conf/
H A Dscsi_confsubr.c687 * {dev.rqs.derr,dev.serr,tran}.
763 class = "cmd.disk.tran";
856 * class is cmd.disk.tran
1028 scsi_hba_tran_t *tran = sd->sd_address.a_hba_tran; local
1039 if (tran->tran_tgt_probe != NULL) {
1040 ret = (*tran->tran_tgt_probe)(sd, callback);
1046 lr_cap = (*tran->tran_getcap)(&sd->sd_address, "lun-reset", 1);
1446 * Called by SCSA framework, may call HBAs tran function.
1470 * This function may be called from an HBAs tran function.
/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/uts/common/io/mega_sas/
H A Dmegaraid_sas.c305 scsi_hba_tran_t *tran; local
575 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP);
577 if (tran == NULL) {
585 instance->tran = tran;
587 tran->tran_hba_private = instance;
588 tran->tran_tgt_private = NULL;
589 tran->tran_tgt_init = megasas_tran_tgt_init;
590 tran->tran_tgt_probe = scsi_hba_probe;
591 tran
1129 megasas_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/uts/intel/io/scsi/adapters/arcmsr/
H A Darcmsr.c750 * scsi_hba_tran_t *tran,
767 scsi_hba_tran_t *tran, struct scsi_device *sd)
771 struct ACB *acb = tran->tran_hba_private;
773 _NOTE(ARGUNUSED(tran, target_dev_info, host_dev_info))
766 arcmsr_tran_tgt_init(dev_info_t *host_dev_info, dev_info_t *target_dev_info, scsi_hba_tran_t *tran, struct scsi_device *sd) argument
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c451 scsi_hba_tran_t *tran = NULL; local
659 tran = scsi_hba_tran_alloc(dip, 0);
660 if (tran == NULL) {
672 sf->sf_tran = tran;
674 tran->tran_hba_private = sf;
675 tran->tran_tgt_private = NULL;
676 tran->tran_tgt_init = sf_scsi_tgt_init;
677 tran->tran_tgt_probe = NULL;
678 tran->tran_tgt_free = sf_scsi_tgt_free;
680 tran
6834 scsi_hba_tran_t *tran; local
[all...]

Completed in 236 milliseconds

12