/titanic_50/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_clnt.c | 96 LIST(struct ctl_tran) tran; 175 INIT_LIST(ctx->tran); in ctl_client() 239 struct ctl_tran *tran; in ctl_command() local 257 tran = new_tran(ctx, donefunc, uap, 1); in ctl_command() 258 if (tran == NULL) in ctl_command() 260 if (ctl_bufget(&tran->outbuf, ctx->logger) < 0) in ctl_command() 262 memcpy(tran->outbuf.text, cmd, len); in ctl_command() 263 tran->outbuf.used = len; in ctl_command() 264 for (pc = tran->outbuf.text, n = 0; n < tran->outbuf.used; pc++, n++) in ctl_command() 286 APPEND(ctx->tran, new, link); in new_tran() [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 766 scsi_hba_tran_t *tran = (scsi_hba_tran_t *)arg; in scsi_hba_pkt_constructor() local 779 pkt_len = tran->tran_hba_len + sizeof (struct scsi_pkt_cache_wrapper); in scsi_hba_pkt_constructor() 780 if (tran->tran_hba_flags & SCSI_HBA_TRAN_CDB) in scsi_hba_pkt_constructor() 782 if (tran->tran_hba_flags & SCSI_HBA_TRAN_SCB) in scsi_hba_pkt_constructor() 797 pktw->pcw_granular = tran->tran_dma_attr.dma_attr_granular; in scsi_hba_pkt_constructor() 799 if (ddi_dma_alloc_handle(tran->tran_hba_dip, &tran->tran_dma_attr, in scsi_hba_pkt_constructor() 805 ptr += tran->tran_hba_len; in scsi_hba_pkt_constructor() 806 if (tran->tran_hba_flags & SCSI_HBA_TRAN_CDB) { in scsi_hba_pkt_constructor() 811 if (tran->tran_hba_flags & SCSI_HBA_TRAN_SCB) in scsi_hba_pkt_constructor() 813 if (tran->tran_pkt_constructor) in scsi_hba_pkt_constructor() [all …]
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg_create.c | 149 set_method_context(scf_handle_t *handle, scf_transaction_t *tran, in set_method_context() argument 153 SCF_TYPE_BOOLEAN, "false", tran) != SUCCESS) || in set_method_context() 155 value_str, tran) != SUCCESS) || in set_method_context() 157 ":default", tran) != SUCCESS) || in set_method_context() 159 SCF_TYPE_ASTRING, ":default", tran) != SUCCESS) || in set_method_context() 161 SCF_TYPE_ASTRING, ":default", tran) != SUCCESS) || in set_method_context() 163 SCF_TYPE_ASTRING, ":default", tran) != SUCCESS) || in set_method_context() 165 SCF_TYPE_ASTRING, ":default", tran) != SUCCESS) || in set_method_context() 167 ":default", tran) != SUCCESS) || in set_method_context() 169 SCF_TYPE_ASTRING, "basic,sys_net_config", tran) != SUCCESS)) in set_method_context() [all …]
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | libdlbridge.c | 528 set_count_property(scf_handle_t *handle, scf_transaction_t *tran, in set_count_property() argument 539 if (scf_transaction_property_new(tran, entry, propname, in set_count_property() 541 scf_transaction_property_change(tran, entry, propname, in set_count_property() 559 set_string_property(scf_handle_t *handle, scf_transaction_t *tran, in set_string_property() argument 570 if (scf_transaction_property_new(tran, entry, propname, in set_string_property() 572 scf_transaction_property_change(tran, entry, propname, in set_string_property() 591 set_fmri_property(scf_handle_t *handle, scf_transaction_t *tran, in set_fmri_property() argument 602 if (scf_transaction_property_new(tran, entry, propname, in set_fmri_property() 604 scf_transaction_property_change(tran, entry, propname, in set_fmri_property() 758 scf_transaction_t *tran = NULL; in enable_trill() local [all …]
|
/titanic_50/usr/src/uts/common/sys/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.h | 46 #define TRAN2PMC(tran) ((pmcs_hw_t *)(tran)->tran_hba_private) argument 47 #define ITRAN2PMC(tran) \ argument 48 (((pmcs_iport_t *)(tran)->tran_hba_private)->pwp) 49 #define ITRAN2IPORT(tran) \ argument 50 ((pmcs_iport_t *)(tran)->tran_hba_private)
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/smrt/ |
H A D | smrt_hba.c | 1292 scsi_hba_tran_t *tran; in smrt_ctrl_hba_setup() local 1294 if ((tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP)) == NULL) { in smrt_ctrl_hba_setup() 1299 smrt->smrt_hba_tran = tran; in smrt_ctrl_hba_setup() 1300 tran->tran_hba_private = smrt; in smrt_ctrl_hba_setup() 1302 tran->tran_tgt_init = smrt_ctrl_tran_tgt_init; in smrt_ctrl_hba_setup() 1303 tran->tran_tgt_probe = scsi_hba_probe; in smrt_ctrl_hba_setup() 1305 tran->tran_start = smrt_ctrl_tran_start; in smrt_ctrl_hba_setup() 1307 tran->tran_getcap = smrt_getcap; in smrt_ctrl_hba_setup() 1308 tran->tran_setcap = smrt_setcap; in smrt_ctrl_hba_setup() 1310 tran->tran_setup_pkt = smrt_tran_setup_pkt; in smrt_ctrl_hba_setup() [all …]
|
H A D | smrt.c | 210 scsi_hba_tran_t *tran; in smrt_iport_detach() local 216 tran = ddi_get_driver_private(dip); in smrt_iport_detach() 217 VERIFY(tran != NULL); in smrt_iport_detach() 218 smrt = tran->tran_hba_private; in smrt_iport_detach() 414 scsi_hba_tran_t *tran = (scsi_hba_tran_t *)ddi_get_driver_private(dip); in smrt_detach() local 415 smrt_t *smrt = (smrt_t *)tran->tran_hba_private; in smrt_detach()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | emul64.c | 78 scsi_hba_tran_t *tran, struct scsi_device *sd); 321 scsi_hba_tran_t *tran = NULL; in emul64_attach() local 334 tran = (scsi_hba_tran_t *)ddi_get_driver_private(dip); in emul64_attach() 335 if (!tran) { in emul64_attach() 338 emul64 = TRAN2EMUL64(tran); in emul64_attach() 370 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP); in emul64_attach() 371 if (tran == NULL) { in emul64_attach() 376 emul64->emul64_tran = tran; in emul64_attach() 379 tran->tran_hba_private = emul64; in emul64_attach() 380 tran->tran_tgt_private = NULL; in emul64_attach() [all …]
|
/titanic_50/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | atapi.c | 99 scsi_hba_tran_t *tran; in atapi_attach() local 105 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP); in atapi_attach() 107 if (tran == NULL) { in atapi_attach() 112 ata_ctlp->ac_atapi_tran = tran; in atapi_attach() 117 tran->tran_hba_private = ata_ctlp; in atapi_attach() 118 tran->tran_tgt_private = NULL; in atapi_attach() 120 tran->tran_tgt_init = atapi_tran_tgt_init; in atapi_attach() 121 tran->tran_tgt_probe = atapi_tran_tgt_probe; in atapi_attach() 122 tran->tran_tgt_free = atapi_tran_tgt_free; in atapi_attach() 123 tran->tran_start = atapi_tran_start; in atapi_attach() [all …]
|
H A D | atapi.h | 97 #define TRAN2CTL(tran) ((ata_ctl_t *)((tran)->tran_hba_private)) argument
|
/titanic_50/usr/src/lib/libstmf/common/ |
H A D | store.c | 298 scf_transaction_t *tran = NULL; in iPsAddRemoveGroupMember() local 322 ((tran = scf_transaction_create(handle)) == NULL) || in iPsAddRemoveGroupMember() 350 if (scf_transaction_start(tran, pg) == -1) { in iPsAddRemoveGroupMember() 364 if (scf_transaction_property_change(tran, entry, groupName, in iPsAddRemoveGroupMember() 558 if ((commitRet = scf_transaction_commit(tran)) != 1) { in iPsAddRemoveGroupMember() 582 if (tran != NULL) { in iPsAddRemoveGroupMember() 583 scf_transaction_destroy(tran); in iPsAddRemoveGroupMember() 640 scf_transaction_t *tran = NULL; in iPsAddRemoveLuViewEntry() local 663 ((tran = scf_transaction_create(handle)) == NULL) || in iPsAddRemoveLuViewEntry() 704 if (scf_transaction_start(tran, pg) == -1) { in iPsAddRemoveLuViewEntry() [all …]
|
/titanic_50/usr/src/cmd/fs.d/nfs/lib/ |
H A D | smfcfg.c | 114 scf_transaction_t *tran = NULL; in fs_smf_set_prop() local 148 tran = scf_transaction_create(handle); in fs_smf_set_prop() 152 val == NULL|| tran == NULL || entry == NULL || inst == NULL) { in fs_smf_set_prop() 170 if (scf_transaction_start(tran, pg) == -1) { in fs_smf_set_prop() 182 if (scf_transaction_property_change(tran, in fs_smf_set_prop() 192 if (scf_transaction_property_change(tran, entry, in fs_smf_set_prop() 215 if (scf_transaction_property_change(tran, entry, in fs_smf_set_prop() 228 scf_transaction_commit(tran); in fs_smf_set_prop() 231 if (tran != NULL) in fs_smf_set_prop() 232 scf_transaction_destroy(tran); in fs_smf_set_prop()
|
/titanic_50/usr/src/uts/common/sys/scsi/impl/ |
H A D | transport.h | 87 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);
|
H A D | smp_transport.h | 77 smp_hba_tran_t *tran, 83 smp_hba_tran_t *tran,
|
/titanic_50/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 547 scsi_hba_tran_t *tran; in scsa1394_attach_scsa() local 550 sp->s_tran = tran = scsi_hba_tran_alloc(sp->s_dip, SCSI_HBA_CANSLEEP); in scsa1394_attach_scsa() 552 tran->tran_hba_private = sp; in scsa1394_attach_scsa() 553 tran->tran_tgt_private = NULL; in scsa1394_attach_scsa() 554 tran->tran_tgt_init = scsa1394_scsi_tgt_init; in scsa1394_attach_scsa() 555 tran->tran_tgt_probe = scsa1394_scsi_tgt_probe; in scsa1394_attach_scsa() 556 tran->tran_tgt_free = scsa1394_scsi_tgt_free; in scsa1394_attach_scsa() 557 tran->tran_start = scsa1394_scsi_start; in scsa1394_attach_scsa() 558 tran->tran_abort = scsa1394_scsi_abort; in scsa1394_attach_scsa() 559 tran->tran_reset = scsa1394_scsi_reset; in scsa1394_attach_scsa() [all …]
|
/titanic_50/usr/src/cmd/fcinfo/ |
H A D | fcadm-list.c | 144 scf_transaction_t *tran = NULL; in npivAddRemoveNPIVEntry() local 172 ((tran = scf_transaction_create(handle)) == NULL) || in npivAddRemoveNPIVEntry() 205 if (scf_transaction_start(tran, pg) == -1) { in npivAddRemoveNPIVEntry() 220 if (scf_transaction_property_new(tran, entry, NPIV_PORT_LIST, in npivAddRemoveNPIVEntry() 233 if (scf_transaction_property_change(tran, entry, in npivAddRemoveNPIVEntry() 364 if ((commitRet = scf_transaction_commit(tran)) != 1) { in npivAddRemoveNPIVEntry() 388 if (tran != NULL) { in npivAddRemoveNPIVEntry() 389 scf_transaction_destroy(tran); in npivAddRemoveNPIVEntry() 847 scf_transaction_t *tran = NULL; in fc_util_create_portlist() local 861 ((tran = scf_transaction_create(handle)) == NULL) || in fc_util_create_portlist() [all …]
|
/titanic_50/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 181 scf_transaction_t *tran = NULL; in fcoe_add_remove_scf_entry() local 208 ((tran = scf_transaction_create(handle)) == NULL) || in fcoe_add_remove_scf_entry() 252 if (scf_transaction_start(tran, pg) == -1) { in fcoe_add_remove_scf_entry() 267 if (scf_transaction_property_new(tran, entry, FCOE_PORT_LIST, in fcoe_add_remove_scf_entry() 280 if (scf_transaction_property_change(tran, entry, in fcoe_add_remove_scf_entry() 414 if ((commitRet = scf_transaction_commit(tran)) != 1) { in fcoe_add_remove_scf_entry() 438 if (tran != NULL) { in fcoe_add_remove_scf_entry() 439 scf_transaction_destroy(tran); in fcoe_add_remove_scf_entry() 836 scf_transaction_t *tran = NULL; in FCOE_LoadConfig() local 854 ((tran = scf_transaction_create(handle)) == NULL) || in FCOE_LoadConfig() [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_scsa.c | 72 scsi_hba_tran_t *tran; in pmcs_scsa_init() local 85 tran = scsi_hba_tran_alloc(pwp->dip, SCSI_HBA_CANSLEEP); in pmcs_scsa_init() 86 if (tran == NULL) { in pmcs_scsa_init() 92 tran->tran_hba_private = pwp; in pmcs_scsa_init() 93 tran->tran_tgt_init = pmcs_scsa_tran_tgt_init; in pmcs_scsa_init() 94 tran->tran_tgt_free = pmcs_scsa_tran_tgt_free; in pmcs_scsa_init() 95 tran->tran_start = pmcs_scsa_start; in pmcs_scsa_init() 96 tran->tran_abort = pmcs_scsa_abort; in pmcs_scsa_init() 97 tran->tran_reset = pmcs_scsa_reset; in pmcs_scsa_init() 98 tran->tran_reset_notify = pmcs_scsi_reset_notify; in pmcs_scsa_init() [all …]
|
/titanic_50/usr/src/uts/sun/sys/dada/adapters/ |
H A D | atapi.h | 86 #define TRAN2CTL(tran) ((struct ata_controller *)((tran)->tran_hba_private)) argument
|
/titanic_50/usr/src/uts/common/io/usb/scsa2usb/ |
H A D | scsa2usb.c | 621 scsi_hba_tran_t *tran; /* scsi transport */ in scsa2usb_attach() local 863 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP); in scsa2usb_attach() 864 scsa2usbp->scsa2usb_tran = tran; in scsa2usb_attach() 869 tran->tran_hba_private = scsa2usbp; in scsa2usb_attach() 870 tran->tran_tgt_private = NULL; in scsa2usb_attach() 871 tran->tran_tgt_init = scsa2usb_scsi_tgt_init; in scsa2usb_attach() 872 tran->tran_tgt_probe = scsa2usb_scsi_tgt_probe; in scsa2usb_attach() 873 tran->tran_tgt_free = scsa2usb_scsi_tgt_free; in scsa2usb_attach() 874 tran->tran_start = scsa2usb_scsi_start; in scsa2usb_attach() 875 tran->tran_abort = scsa2usb_scsi_abort; in scsa2usb_attach() [all …]
|
/titanic_50/usr/src/uts/common/io/mega_sas/ |
H A D | megaraid_sas.c | 305 scsi_hba_tran_t *tran; in megasas_attach() local 575 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP); in megasas_attach() 577 if (tran == NULL) { in megasas_attach() 585 instance->tran = tran; in megasas_attach() 587 tran->tran_hba_private = instance; in megasas_attach() 588 tran->tran_tgt_private = NULL; in megasas_attach() 589 tran->tran_tgt_init = megasas_tran_tgt_init; in megasas_attach() 590 tran->tran_tgt_probe = scsi_hba_probe; in megasas_attach() 591 tran->tran_tgt_free = (void (*)())NULL; in megasas_attach() 592 tran->tran_init_pkt = megasas_tran_init_pkt; in megasas_attach() [all …]
|
/titanic_50/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas.c | 463 scsi_hba_tran_t *tran; in fas_scsi_tgt_probe() local 467 tran = ddi_get_driver_private(dip); in fas_scsi_tgt_probe() 468 ASSERT(tran != NULL); in fas_scsi_tgt_probe() 469 fas = TRAN2FAS(tran); in fas_scsi_tgt_probe() 534 scsi_hba_tran_t *tran = NULL; in fas_attach() local 550 if ((tran = ddi_get_driver_private(dip)) == NULL) in fas_attach() 553 fas = TRAN2FAS(tran); in fas_attach() 690 tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP); in fas_attach() 698 fas->f_tran = tran; in fas_attach() 700 tran->tran_hba_private = fas; in fas_attach() [all …]
|
/titanic_50/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi.c | 371 scsi_hba_tran_t *tran = NULL; in iscsi_attach() local 422 if ((tran = scsi_hba_tran_alloc(dip, SCSI_HBA_CANSLEEP)) in iscsi_attach() 430 ihp->hba_tran = tran; in iscsi_attach() 518 tran->tran_hba_private = ihp; in iscsi_attach() 519 tran->tran_tgt_private = NULL; in iscsi_attach() 520 tran->tran_tgt_init = iscsi_tran_lun_init; in iscsi_attach() 521 tran->tran_tgt_probe = iscsi_tran_lun_probe; in iscsi_attach() 522 tran->tran_tgt_free = iscsi_tran_lun_free; in iscsi_attach() 523 tran->tran_start = iscsi_tran_start; in iscsi_attach() 524 tran->tran_abort = iscsi_tran_abort; in iscsi_attach() [all …]
|
/titanic_50/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 3696 scf_transaction_start(scf_transaction_t *tran, scf_propertygroup_t *pg) in scf_transaction_start() argument 3698 scf_handle_t *h = tran->tran_pg.rd_d.rd_handle; in scf_transaction_start() 3708 if (tran->tran_state != TRAN_STATE_NEW) { in scf_transaction_start() 3713 request.rpr_entityid_tx = tran->tran_pg.rd_d.rd_entity; in scf_transaction_start() 3716 datael_finish_reset(&tran->tran_pg.rd_d); in scf_transaction_start() 3735 tran->tran_state = TRAN_STATE_SETUP; in scf_transaction_start() 3736 tran->tran_invalid = 0; in scf_transaction_start() 3796 transaction_add(scf_transaction_t *tran, scf_transaction_entry_t *entry, in transaction_add() argument 3800 scf_handle_t *h = tran->tran_pg.rd_d.rd_handle; in transaction_add() 3819 if (tran->tran_state != TRAN_STATE_SETUP) { in transaction_add() [all …]
|
/titanic_50/usr/src/cmd/dlutil/ |
H A D | dltraninfo.c | 420 uint_t tran; in main() local 440 tran = (uint_t)u; in main() 441 tranidp = &tran; in main()
|