/illumos-gate/usr/src/cmd/stat/common/ |
H A D | mnt.c | 82 FILE *mpt; local 90 if ((mpt = fopen(MNTTAB, "r"))) { 95 (void) fcntl(fileno(mpt), F_SETLKW, &lb); 96 build_mnt_list(mpt); 101 (void) fclose(mpt); 108 build_mnt_list(FILE *mpt) argument 116 if (mpt) { 135 resetmnttab(mpt); 136 while ((found = getextmntent(mpt, &mnt,
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas_init.c | 83 static int mptsas_ioc_do_get_facts(mptsas_t *mpt, caddr_t memp, int var, 85 static int mptsas_ioc_do_get_facts_reply(mptsas_t *mpt, caddr_t memp, int var, 87 static int mptsas_ioc_do_get_port_facts(mptsas_t *mpt, caddr_t memp, int var, 89 static int mptsas_ioc_do_get_port_facts_reply(mptsas_t *mpt, caddr_t memp, 91 static int mptsas_ioc_do_enable_port(mptsas_t *mpt, caddr_t memp, int var, 93 static int mptsas_ioc_do_enable_port_reply(mptsas_t *mpt, caddr_t memp, int var, 95 static int mptsas_ioc_do_enable_event_notification(mptsas_t *mpt, caddr_t memp, 97 static int mptsas_ioc_do_enable_event_notification_reply(mptsas_t *mpt, 99 static int mptsas_do_ioc_init(mptsas_t *mpt, caddr_t memp, int var, 101 static int mptsas_do_ioc_init_reply(mptsas_t *mpt, caddr_ 105 mptsas_devid_type_string(mptsas_t *mpt) argument 145 mptsas_ioc_get_facts(mptsas_t *mpt) argument 167 mptsas_ioc_do_get_facts(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument 192 mptsas_ioc_do_get_facts_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument 368 mptsas_ioc_get_port_facts(mptsas_t *mpt, int port) argument 390 mptsas_ioc_do_get_port_facts(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument 413 mptsas_ioc_do_get_port_facts_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument 445 mptsas_ioc_enable_port(mptsas_t *mpt) argument 467 mptsas_ioc_do_enable_port(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument 492 mptsas_ioc_do_enable_port_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument 525 mptsas_ioc_enable_event_notification(mptsas_t *mpt) argument 549 mptsas_ioc_do_enable_event_notification(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument 575 mptsas_ioc_do_enable_event_notification_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument 608 mptsas_ioc_init(mptsas_t *mpt) argument 630 mptsas_do_ioc_init(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument 701 mptsas_do_ioc_init_reply(mptsas_t *mpt, caddr_t memp, int var, ddi_acc_handle_t accessp) argument [all...] |
H A D | mptsas_smhba.c | 69 mptsas_smhba_add_hba_prop(mptsas_t *mpt, data_type_t dt, 73 mptsas_smhba_show_phy_info(mptsas_t *mpt); 76 mptsas_smhba_add_hba_prop(mptsas_t *mpt, data_type_t dt, argument 79 ASSERT(mpt != NULL); 83 if (ddi_prop_update_int(DDI_DEV_T_NONE, mpt->m_dip, 85 mptsas_log(mpt, CE_WARN, 90 if (ddi_prop_update_string(DDI_DEV_T_NONE, mpt->m_dip, 92 mptsas_log(mpt, CE_WARN, 97 mptsas_log(mpt, CE_WARN, "%s: " 104 mptsas_smhba_show_phy_info(mptsas_t *mpt) argument 149 mptsas_smhba_update_phy_props(mptsas_t *mpt, dev_info_t *dip, nvlist_t **phy_props, uint8_t phy_nums) argument 186 mptsas_smhba_set_one_phy_props(mptsas_t *mpt, dev_info_t *dip, uint8_t phy_id, uint16_t *attached_devhdl) argument 202 mptsas_smhba_set_all_phy_props(mptsas_t *mpt, dev_info_t *dip, uint8_t phy_nums, mptsas_phymask_t phy_mask, uint16_t *attached_devhdl) argument 230 mptsas_smhba_log_sysevent(mptsas_t *mpt, char *subclass, char *etype, smhba_info_t *phyp) argument 300 mptsas_create_phy_stats(mptsas_t *mpt, char *iport, dev_info_t *dip) argument 382 mptsas_t *mpt; local 423 mptsas_destroy_phy_stats(mptsas_t *mpt) argument 446 mptsas_smhba_phy_init(mptsas_t *mpt) argument 475 mptsas_smhba_setup(mptsas_t *mpt) argument [all...] |
H A D | mptsas_raid.c | 92 static int mptsas_get_raid_wwid(mptsas_t *mpt, mptsas_raidvol_t *raidvol); 100 mptsas_raidconf_page_0_cb(mptsas_t *mpt, caddr_t page_memp, argument 126 mptsas_log(mpt, CE_WARN, "mptsas_get_raid_conf_page0 " 152 raidconfig = &mpt->m_raidconfig[configindex]; 153 mpt->m_num_raid_configs++; 202 if (mptsas_get_raid_settings(mpt, 210 if (mptsas_get_raid_wwid(mpt, 220 ptgt = mptsas_tgt_alloc(mpt->m_targets, 257 mptsas_get_raid_info(mptsas_t *mpt) argument 263 ASSERT(mutex_owned(&mpt 292 mptsas_raidvol_page_0_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 383 mptsas_get_raid_settings(mptsas_t *mpt, mptsas_raidvol_t *raidvol) argument 405 mptsas_raidvol_page_1_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 438 mptsas_get_raid_wwid(mptsas_t *mpt, mptsas_raidvol_t *raidvol) argument 473 mptsas_raidphydsk_page_0_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 504 mptsas_get_physdisk_settings(mptsas_t *mpt, mptsas_raidvol_t *raidvol, uint8_t physdisknum) argument 568 mptsas_raid_action_system_shutdown(mptsas_t *mpt) argument 758 mptsas_delete_volume(mptsas_t *mpt, uint16_t volid) argument [all...] |
H A D | mptsas_impl.c | 96 static void mptsas_ioc_event_cmdq_add(mptsas_t *mpt, m_event_struct_t *cmd); 97 static void mptsas_ioc_event_cmdq_delete(mptsas_t *mpt, m_event_struct_t *cmd); 98 static m_event_struct_t *mptsas_ioc_event_find_by_cmd(mptsas_t *mpt, 105 mptsas_ioc_event_cmdq_add(mptsas_t *mpt, m_event_struct_t *cmd) argument 107 if ((cmd->m_event_linkp = mpt->m_ioc_event_cmdq) == NULL) { 108 mpt->m_ioc_event_cmdtail = &cmd->m_event_linkp; 109 mpt->m_ioc_event_cmdq = cmd; 112 *(mpt->m_ioc_event_cmdtail) = cmd; 113 mpt->m_ioc_event_cmdtail = &cmd->m_event_linkp; 121 mptsas_ioc_event_cmdq_delete(mptsas_t *mpt, m_event_struct_ argument 146 mptsas_ioc_event_find_by_cmd(mptsas_t *mpt, struct mptsas_cmd *cmd) argument 162 mptsas_destroy_ioc_event_cmd(mptsas_t *mpt) argument 199 mptsas_start_config_page_access(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 294 mptsas_access_config_page(mptsas_t *mpt, uint8_t action, uint8_t page_type, uint8_t page_number, uint32_t page_address, int (*callback) (mptsas_t *, caddr_t, ddi_acc_handle_t, uint16_t, uint32_t, va_list), ...) argument 614 mptsas_send_config_request_msg(mptsas_t *mpt, uint8_t action, uint8_t pagetype, uint32_t pageaddress, uint8_t pagenumber, uint8_t pageversion, uint8_t pagelength, uint32_t SGEflagslength, uint64_t SGEaddress) argument 650 mptsas_send_extended_config_request_msg(mptsas_t *mpt, uint8_t action, uint8_t extpagetype, uint32_t pageaddress, uint8_t pagenumber, uint8_t pageversion, uint16_t extpagelength, uint32_t SGEflagslength, uint64_t SGEaddress) argument 689 mptsas_ioc_wait_for_response(mptsas_t *mpt) argument 704 mptsas_ioc_wait_for_doorbell(mptsas_t *mpt) argument 719 mptsas_send_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, ddi_acc_handle_t accessp) argument 771 mptsas_get_handshake_msg(mptsas_t *mpt, caddr_t memp, int numbytes, ddi_acc_handle_t accessp) argument 863 mptsas_kick_start(mptsas_t *mpt) argument 971 mptsas_ioc_reset(mptsas_t *mpt, int first_time) argument 1048 mptsas_request_from_pool(mptsas_t *mpt, mptsas_cmd_t **cmd, struct scsi_pkt **pkt) argument 1066 mptsas_return_to_pool(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 1088 mptsas_ioc_task_management(mptsas_t *mpt, int task_type, uint16_t dev_handle, int lun, uint8_t *reply, uint32_t reply_size, int mode) argument 1293 mptsas_update_flash(mptsas_t *mpt, caddr_t ptrbuffer, uint32_t size, uint8_t type, int mode) argument 1421 mptsas_sasdevpage_0_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 1508 mptsas_get_sas_device_page0(mptsas_t *mpt, uint32_t page_address, uint16_t *dev_handle, uint64_t *sas_wwn, uint32_t *dev_info, uint8_t *physport, uint8_t *phynum, uint16_t *pdev_handle, uint16_t *bay_num, uint16_t *enclosure, uint16_t *io_flags) argument 1532 mptsas_sasexpdpage_0_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 1599 mptsas_get_sas_expander_page0(mptsas_t *mpt, uint32_t page_address, mptsas_smp_t *info) argument 1620 mptsas_sasportpage_0_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 1660 mptsas_get_sas_port_page0(mptsas_t *mpt, uint32_t page_address, uint64_t *sas_wwn, uint8_t *portwidth) argument 1680 mptsas_sasiou_page_0_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 1749 mptsas_sasiou_page_1_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 1798 mptsas_get_sas_io_unit_page(mptsas_t *mpt) argument 1870 mptsas_biospage_3_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 1900 mptsas_get_bios_page3(mptsas_t *mpt, uint32_t *bios_version) argument 1923 mptsas_get_sas_io_unit_page_hndshk(mptsas_t *mpt) argument 2245 mptsas_get_manufacture_page5(mptsas_t *mpt) argument 2422 mptsas_sasphypage_0_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 2503 mptsas_get_sas_phy_page0(mptsas_t *mpt, uint32_t page_address, smhba_info_t *info) argument 2527 mptsas_sasphypage_1_cb(mptsas_t *mpt, caddr_t page_memp, ddi_acc_handle_t accessp, uint16_t iocstatus, uint32_t iocloginfo, va_list ap) argument 2591 mptsas_get_sas_phy_page1(mptsas_t *mpt, uint32_t page_address, smhba_info_t *info) argument 2622 mptsas_get_manufacture_page0(mptsas_t *mpt) argument [all...] |
H A D | mptsas.c | 136 static void mptsas_setup_cmd_reg(mptsas_t *mpt); 137 static void mptsas_disable_bus_master(mptsas_t *mpt); 138 static void mptsas_hba_fini(mptsas_t *mpt); 140 static int mptsas_hba_setup(mptsas_t *mpt); 141 static void mptsas_hba_teardown(mptsas_t *mpt); 142 static int mptsas_config_space_init(mptsas_t *mpt); 143 static void mptsas_config_space_fini(mptsas_t *mpt); 144 static void mptsas_iport_register(mptsas_t *mpt); 145 static int mptsas_smp_setup(mptsas_t *mpt); 146 static void mptsas_smp_teardown(mptsas_t *mpt); 816 mptsas_destroy_hashes(mptsas_t *mpt) argument 840 mptsas_t *mpt; local 1075 mptsas_t *mpt = NULL; local 1661 mptsas_t *mpt, *g; local 1770 mptsas_t *mpt; local 1808 mptsas_t *mpt; local 1860 mptsas_t *mpt; local 2074 mptsas_list_add(mptsas_t *mpt) argument 2088 mptsas_list_del(mptsas_t *mpt) argument 2116 mptsas_alloc_handshake_msg(mptsas_t *mpt, size_t alloc_size) argument 2137 mptsas_free_handshake_msg(mptsas_t *mpt) argument 2146 mptsas_hba_setup(mptsas_t *mpt) argument 2208 mptsas_hba_teardown(mptsas_t *mpt) argument 2218 mptsas_iport_register(mptsas_t *mpt) argument 2273 mptsas_smp_setup(mptsas_t *mpt) argument 2299 mptsas_smp_teardown(mptsas_t *mpt) argument 2310 mptsas_cache_create(mptsas_t *mpt) argument 2348 mptsas_cache_destroy(mptsas_t *mpt) argument 2438 mptsas_config_space_init(mptsas_t *mpt) argument 2493 mptsas_config_space_fini(mptsas_t *mpt) argument 2503 mptsas_setup_cmd_reg(mptsas_t *mpt) argument 2518 mptsas_disable_bus_master(mptsas_t *mpt) argument 2532 mptsas_dma_alloc(mptsas_t *mpt, mptsas_dma_alloc_state_t *dma_statep) argument 2559 mptsas_do_dma(mptsas_t *mpt, uint32_t size, int var, int (*callback)()) argument 2592 mptsas_alloc_request_frames(mptsas_t *mpt) argument 2646 mptsas_alloc_sense_bufs(mptsas_t *mpt) argument 2718 mptsas_alloc_reply_frames(mptsas_t *mpt) argument 2772 mptsas_alloc_free_queue(mptsas_t *mpt) argument 2829 mptsas_alloc_post_queue(mptsas_t *mpt) argument 2885 mptsas_alloc_reply_args(mptsas_t *mpt) argument 2894 mptsas_alloc_extra_sgl_frame(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 2908 mptsas_free_extra_sgl_frame(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 2918 mptsas_cfg_fini(mptsas_t *mpt) argument 2925 mptsas_hba_fini(mptsas_t *mpt) argument 3351 mptsas_accept_txwq_and_pkt(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 3391 mptsas_accept_pkt(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 3495 mptsas_save_cmd(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 3619 mptsas_t *mpt = ADDR2MPT(ap); local 3959 mptsas_t *mpt = ADDR2MPT(ap); local 3995 mptsas_t *mpt = cdrarg; local 4033 mptsas_t *mpt = cdrarg; local 4109 mptsas_cmdarqsize(mptsas_t *mpt, mptsas_cmd_t *cmd, size_t senselength, int kf) argument 4143 mptsas_pkt_alloc_extern(mptsas_t *mpt, mptsas_cmd_t *cmd, int cmdlen, int tgtlen, int statuslen, int kf) argument 4193 mptsas_pkt_destroy_extern(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 4247 mptsas_t *mpt = ADDR2MPT(ap); local 4317 mptsas_sge_chain(mptsas_t *mpt, mptsas_cmd_t *cmd, pMpi2SCSIIORequest_t frame, ddi_acc_handle_t acc_hdl) argument 4657 mptsas_ieee_sge_chain(mptsas_t *mpt, mptsas_cmd_t *cmd, pMpi2SCSIIORequest_t frame, ddi_acc_handle_t acc_hdl) argument 4932 mptsas_sge_setup(mptsas_t *mpt, mptsas_cmd_t *cmd, uint32_t *control, pMpi2SCSIIORequest_t frame, ddi_acc_handle_t acc_hdl) argument 4988 mptsas_poll(mptsas_t *mpt, mptsas_cmd_t *poll_cmd, int polltime) argument 5052 mptsas_wait_intr(mptsas_t *mpt, int polltime) argument 5122 mptsas_handle_scsi_io_success(mptsas_t *mpt, pMpi2ReplyDescriptorsUnion_t reply_desc) argument 5192 mptsas_handle_address_reply(mptsas_t *mpt, pMpi2ReplyDescriptorsUnion_t reply_desc) argument 5427 mptsas_check_scsi_io_error(mptsas_t *mpt, pMpi2SCSIIOReply_t reply, mptsas_cmd_t *cmd) argument 5697 mptsas_check_task_mgt(mptsas_t *mpt, pMpi2SCSIManagementReply_t reply, mptsas_cmd_t *cmd) argument 5753 mptsas_t *mpt = arg->mpt; local 5789 mptsas_t *mpt = (void *)arg1; local 5901 mptsas_process_intr(mptsas_t *mpt, pMpi2ReplyDescriptorsUnion_t reply_desc_union) argument 5941 mptsas_handle_qfull(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 5994 mptsas_physport_to_phymask(mptsas_t *mpt, uint8_t physport) argument 6027 mptsas_free_devhdl(mptsas_t *mpt, uint16_t devhdl) argument 6065 mptsas_update_phymask(mptsas_t *mpt) argument 6135 mptsas_t *mpt; local 6323 mptsas_t *mpt = (void *)topo_node->mpt; local 6766 mptsas_t *mpt; local 6855 mptsas_t *mpt; local 7552 mptsas_t *mpt; local 8119 mptsas_t *mpt = arg; local 8140 mptsas_remove_cmd(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 8215 mptsas_restart_hba(mptsas_t *mpt) argument 8231 mptsas_restart_waitq(mptsas_t *mpt) argument 8313 mptsas_accept_tx_waitq(mptsas_t *mpt) argument 8352 mptsas_start_cmd(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 8568 mptsas_deliver_doneq_thread(mptsas_t *mpt) argument 8604 mptsas_doneq_mv(mptsas_t *mpt, uint64_t t) argument 8623 mptsas_fma_check(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 8695 mptsas_doneq_add(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 8720 mptsas_doneq_thread_rm(mptsas_t *mpt, uint64_t t) argument 8739 mptsas_doneq_empty(mptsas_t *mpt) argument 8774 mptsas_waitq_add(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 8794 mptsas_waitq_rm(mptsas_t *mpt) argument 8817 mptsas_waitq_delete(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 8857 mptsas_tx_waitq_rm(mptsas_t *mpt) argument 8873 mptsas_tx_waitq_delete(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 8917 mptsas_t *mpt = ADDR2MPT(ap); local 8953 mptsas_do_scsi_reset(mptsas_t *mpt, uint16_t devhdl) argument 8991 mptsas_t *mpt = ADDR2MPT(ap); local 9023 mptsas_set_throttle(mptsas_t *mpt, mptsas_target_t *ptgt, int what) argument 9053 mptsas_flush_target(mptsas_t *mpt, ushort_t target, int lun, uint8_t tasktype) argument 9199 mptsas_flush_hba(mptsas_t *mpt) argument 9295 mptsas_set_pkt_reason(mptsas_t *mpt, mptsas_cmd_t *cmd, uchar_t reason, uint_t stat) argument 9329 mptsas_setup_bus_reset_delay(mptsas_t *mpt) argument 9381 mptsas_watch_reset_delay_subr(mptsas_t *mpt) argument 9415 mptsas_test_reset(mptsas_t *mpt, int target) argument 9440 mptsas_t *mpt = ADDR2MPT(ap); local 9460 mptsas_do_scsi_abort(mptsas_t *mpt, int target, int lun, struct scsi_pkt *pkt) argument 9546 mptsas_t *mpt = ADDR2MPT(ap); local 9620 mptsas_t *mpt = ADDR2MPT(ap); local 9703 mptsas_alloc_active_slots(mptsas_t *mpt, int flag) argument 9737 mptsas_free_active_slots(mptsas_t *mpt) argument 9756 mptsas_log(mptsas_t *mpt, int level, char *fmt, ...) argument 9898 mptsas_watchsubr_tgt(mptsas_t *mpt, mptsas_target_t *ptgt, hrtime_t timestamp) argument 9953 mptsas_watchsubr(mptsas_t *mpt) argument 10016 mptsas_cmd_timeout(mptsas_t *mpt, mptsas_target_t *ptgt) argument 10053 mptsas_t *mpt; local 10066 mptsas_t *mpt; local 10077 mptsas_quiesce_bus(mptsas_t *mpt) argument 10130 mptsas_unquiesce_bus(mptsas_t *mpt) argument 10149 mptsas_t *mpt = arg; local 10178 mptsas_dump_cmd(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 10289 mptsas_start_passthru(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 10432 mpi_pre_fw_download(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10476 mpi_pre_fw_25_download(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10514 mpi_pre_fw_upload(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10558 mpi_pre_fw_25_upload(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10596 mpi_pre_ioc_facts(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10618 mpi_pre_port_facts(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10640 mpi_pre_sata_passthrough(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10658 mpi_pre_smp_passthrough(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10679 mpi_pre_config(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10700 mpi_pre_scsi_io_req(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10721 mpi_pre_sas_io_unit_control(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10755 mptsas_prep_sgl_offset(mptsas_t *mpt, mptsas_pt_request_t *pt) argument 10779 mptsas_do_passthru(mptsas_t *mpt, uint8_t *request, uint8_t *reply, uint8_t *data, uint32_t request_size, uint32_t reply_size, uint32_t data_size, uint32_t direction, uint8_t *dataout, uint32_t dataout_size, short timeout, int mode) argument 11140 mptsas_pass_thru(mptsas_t *mpt, mptsas_pass_thru_t *data, int mode) argument 11178 mptsas_get_fw_diag_buffer_number(mptsas_t *mpt, uint32_t unique_id) argument 11192 mptsas_start_diag(mptsas_t *mpt, mptsas_cmd_t *cmd) argument 11265 mptsas_post_fw_diag_buffer(mptsas_t *mpt, mptsas_fw_diagnostic_buffer_t *pBuffer, uint32_t *return_code) argument 11416 mptsas_release_fw_diag_buffer(mptsas_t *mpt, mptsas_fw_diagnostic_buffer_t *pBuffer, uint32_t *return_code, uint32_t diag_type) argument 11576 mptsas_diag_register(mptsas_t *mpt, mptsas_fw_diag_register_t *diag_register, uint32_t *return_code) argument 11683 mptsas_diag_unregister(mptsas_t *mpt, mptsas_fw_diag_unregister_t *diag_unregister, uint32_t *return_code) argument 11739 mptsas_diag_query(mptsas_t *mpt, mptsas_fw_diag_query_t *diag_query, uint32_t *return_code) argument 11814 mptsas_diag_read_buffer(mptsas_t *mpt, mptsas_diag_read_buffer_t *diag_read_buffer, uint8_t *ioctl_buf, uint32_t *return_code, int ioctl_mode) argument 11889 mptsas_diag_release(mptsas_t *mpt, mptsas_fw_diag_release_t *diag_release, uint32_t *return_code) argument 11930 mptsas_do_diag_action(mptsas_t *mpt, uint32_t action, uint8_t *diag_action, uint32_t length, uint32_t *return_code, int ioctl_mode) argument 12056 mptsas_diag_action(mptsas_t *mpt, mptsas_diag_action_t *user_data, int mode) argument 12106 mptsas_event_query(mptsas_t *mpt, mptsas_event_query_t *data, int mode, int *rval) argument 12135 mptsas_event_enable(mptsas_t *mpt, mptsas_event_enable_t *data, int mode, int *rval) argument 12161 mptsas_event_report(mptsas_t *mpt, mptsas_event_report_t *data, int mode, int *rval) argument 12206 mptsas_lookup_pci_data(mptsas_t *mpt, mptsas_adapter_data_t *adapter_data) argument 12252 mptsas_read_adapter_data(mptsas_t *mpt, mptsas_adapter_data_t *adapter_data) argument 12270 mptsas_read_pci_info(mptsas_t *mpt, mptsas_pci_info_t *pci_info) argument 12316 mptsas_reg_access(mptsas_t *mpt, mptsas_reg_access_t *data, int mode) argument 12367 led_control(mptsas_t *mpt, intptr_t data, int mode) argument 12423 get_disk_info(mptsas_t *mpt, intptr_t data, int mode) argument 12514 mptsas_t *mpt; local 12773 mptsas_restart_ioc(mptsas_t *mpt) argument 12852 mptsas_init_chip(mptsas_t *mpt, int first_time) argument 13040 mptsas_get_pci_cap(mptsas_t *mpt) argument 13121 mptsas_init_pm(mptsas_t *mpt) argument 13183 mptsas_register_intrs(mptsas_t *mpt) argument 13224 mptsas_unregister_intrs(mptsas_t *mpt) argument 13235 mptsas_add_intrs(mptsas_t *mpt, int intr_type) argument 13377 mptsas_rem_intrs(mptsas_t *mpt) argument 13422 mptsas_fm_init(mptsas_t *mpt) argument 13468 mptsas_fm_fini(mptsas_t *mpt) argument 13524 mptsas_fm_ereport(mptsas_t *mpt, char *detail) argument 13538 mptsas_get_target_device_info(mptsas_t *mpt, uint32_t page_address, uint16_t *dev_handle, mptsas_target_t **pptgt) argument 13630 mptsas_get_sata_guid(mptsas_t *mpt, mptsas_target_t *ptgt, int lun) argument 13680 mptsas_inquiry(mptsas_t *mpt, mptsas_target_t *ptgt, int lun, uchar_t page, unsigned char *buf, int len, int *reallen, uchar_t evpd) argument 13723 mptsas_send_scsi_cmd(mptsas_t *mpt, struct scsi_address *ap, mptsas_target_t *ptgt, uchar_t *cdb, int cdblen, struct buf *data_bp, int *resid) argument 13875 mptsas_t *mpt; local 13992 mptsas_t *mpt = DIP2MPT(pdip); local 14014 mptsas_t *mpt = DIP2MPT(pdip); local 14075 mptsas_t *mpt = DIP2MPT(pdip); local 14163 mptsas_t *mpt = DIP2MPT(pdip); local 14280 mptsas_t *mpt = DIP2MPT(pdip); local 14314 mptsas_t *mpt = DIP2MPT(pdip); local 14353 mptsas_t *mpt = DIP2MPT(pdip); local 14438 mptsas_update_hashtab(struct mptsas *mpt) argument 14493 mptsas_update_driver_data(struct mptsas *mpt) argument 14538 mptsas_t *mpt = DIP2MPT(pdip); local 14618 mptsas_t *mpt = DIP2MPT(pdip); local 14899 mptsas_t *mpt = DIP2MPT(pdip); local 15021 mptsas_t *mpt = DIP2MPT(pdip); local 15371 mptsas_t *mpt = DIP2MPT(pdip); local 15722 mptsas_t *mpt = DIP2MPT(pdip); local 15738 mptsas_t *mpt = DIP2MPT(pdip); local 15773 mptsas_t *mpt = DIP2MPT(pdip); local 16024 mptsas_t *mpt; local 16107 mptsas_phy_to_tgt(mptsas_t *mpt, mptsas_phymask_t phymask, uint8_t phy) argument 16187 mptsas_wwid_to_ptgt(mptsas_t *mpt, mptsas_phymask_t phymask, uint64_t wwid) argument 16252 mptsas_wwid_to_psmp(mptsas_t *mpt, mptsas_phymask_t phymask, uint64_t wwid) argument 16346 mptsas_smp_alloc(mptsas_t *mpt, mptsas_smp_t *data) argument 16389 mptsas_addr_to_ptgt(mptsas_t *mpt, char *addr, mptsas_phymask_t phymask) argument 16408 mptsas_flush_led_status(mptsas_t *mpt, mptsas_target_t *ptgt) argument 16431 mptsas_send_sep(mptsas_t *mpt, mptsas_target_t *ptgt, uint32_t *status, uint8_t act) argument 16512 mptsas_dma_addr_create(mptsas_t *mpt, ddi_dma_attr_t dma_attr, ddi_dma_handle_t *dma_hdp, ddi_acc_handle_t *acc_hdp, caddr_t *dma_memp, uint32_t alloc_size, ddi_dma_cookie_t *cookiep) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_srq.c | 643 tavor_rsrc_t *mtt, *mpt, *old_mtt; local 852 mpt = srq->srq_mrhdl->mr_mptrsrcp; 861 status = tavor_modify_mpt_cmd_post(state, &mpt_entry, mpt->tr_indx,
|
H A D | tavor_mr.c | 182 tavor_rsrc_t *mpt, *mtt, *rsrc; local 222 status = tavor_rsrc_alloc(state, TAVOR_MPT, 1, sleep, &mpt); 270 tavor_mr_keycalc(state, mpt->tr_indx, &mr->mr_lkey); 402 sizeof (tavor_hw_mpt_t), mpt->tr_indx, sleep); 419 mr->mr_mptrsrcp = mpt; 459 tavor_rsrc_free(state, &mpt); 479 tavor_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 513 mpt = mr->mr_mptrsrcp; 551 NULL, 0, mpt->tr_indx, sleep); 646 tavor_rsrc_free(state, &mpt); 908 tavor_rsrc_t *mpt, *rsrc; local 1039 tavor_rsrc_t *mpt, *rsrc; local 1144 tavor_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 1493 tavor_rsrc_t *mpt, *rsrc; local 1793 tavor_rsrc_t *mpt; local [all...] |
H A D | tavor_cmd.c | 2913 tavor_modify_mpt_cmd_post(tavor_state_t *state, tavor_hw_mpt_t *mpt, argument 2936 data = ((uint64_t *)mpt)[i];
|
H A D | tavor_wr.c | 2203 tavor_rsrc_t *mpt; local 2310 mpt = mw->mr_mptrsrcp; 2311 tavor_mr_keycalc(state, mpt->tr_indx, &new_rkey);
|
/illumos-gate/usr/src/uts/sun4v/io/ |
H A D | vsw_phys.c | 892 mblk_t *mpt; local 902 count = vsw_vlan_frame_untag(vswp, VSW_LOCALDEV, &mp, &mpt);
|
H A D | vsw.c | 2718 mblk_t *mpt; local 2763 mpt = NULL; 2764 (void) vsw_vlan_frame_untag(vswp, VSW_LOCALDEV, &mp, &mpt);
|
H A D | vsw_ldc.c | 134 static int vsw_ldctx_pri(void *arg, mblk_t *mp, mblk_t *mpt, uint32_t count); 135 static int vsw_ldctx(void *arg, mblk_t *mp, mblk_t *mpt, uint32_t count); 3748 mblk_t *mpt; local 3753 count = vsw_vlan_frame_untag(port, VSW_VNETPORT, &mp, &mpt); 3755 status = ldcp->tx(ldcp, mp, mpt, count); 3841 vsw_ldctx_pri(void *arg, mblk_t *mp, mblk_t *mpt, uint32_t count) argument 3857 nmpt = mpt; 3885 vsw_ldctx(void *arg, mblk_t *mp, mblk_t *mpt, uint32_t count) argument 3912 ldcp->tx_mtail = mpt; 3916 ldcp->tx_mtail = mpt; [all...] |
/illumos-gate/usr/src/cmd/mdb/intel/modules/generic_cpu/ |
H A D | gcpu.c | 561 gcpu_poll_trace_t mpt; local 567 if (mdb_vread(&mpt, sizeof (mpt), addr) != sizeof (mpt)) { 577 if (mpt.mpt_what < sizeof (whatstrs) / sizeof (char *)) 578 what = whatstrs[mpt.mpt_what]; 582 mdb_printf("%?p %?p %15s %4u\n", addr, mpt.mpt_when, what, 583 mpt.mpt_nerr); 599 gcpu_poll_trace_t *mpt; local 634 for (mpt [all...] |
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_mr.c | 176 hermon_rsrc_t *mpt, *mtt, *rsrc; local 212 status = hermon_rsrc_alloc(state, HERMON_DMPT, 1, sleep, &mpt); 258 mr->mr_rkey = mr->mr_lkey = hermon_mr_keycalc(mpt->hr_indx); 372 sizeof (hermon_hw_dmpt_t), mpt->hr_indx, sleep); 388 mr->mr_mptrsrcp = mpt; 431 hermon_rsrc_free(state, &mpt); 446 hermon_rsrc_t *mpt, *mtt, *rsrc; local 482 status = hermon_rsrc_alloc(state, HERMON_DMPT, 1, sleep, &mpt); 527 mr->mr_rkey = mr->mr_lkey = mpt->hr_indx; 593 sizeof (hermon_hw_dmpt_t), mpt 659 hermon_rsrc_t *mpt; local 748 hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 944 hermon_rsrc_t *mpt, *mtt, *rsrc; local 1227 hermon_rsrc_t *mpt, *rsrc; local 1352 hermon_rsrc_t *mpt, *rsrc; local 1472 hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 1833 hermon_rsrc_t *mpt, *rsrc; local 2022 hermon_rsrc_t *mpt, *mtt, *rsrc, *mtt_refcnt; local 2382 hermon_rsrc_t *mpt; local [all...] |
H A D | hermon_wr.c | 2116 hermon_rsrc_t *mpt; local 2197 mpt = mw->mr_mptrsrcp; 2198 new_rkey = hermon_mr_keycalc(mpt->hr_indx);
|
H A D | hermon_cmd.c | 3434 hermon_modify_mpt_cmd_post(hermon_state_t *state, hermon_hw_dmpt_t *mpt, argument 3455 data = ((uint64_t *)mpt)[i];
|
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 143 #define MPTSAS_MAX_FRAME_SGES(mpt) \ 144 (((mpt->m_req_frame_size - (sizeof (MPI2_SCSI_IO_REQUEST))) / 8) + 1) 146 #define MPTSAS_SGE_SIZE(mpt) \ 147 ((mpt)->m_MPI25 ? sizeof (MPI2_IEEE_SGE_SIMPLE64) : \ 157 #define MPTSAS_MAX_FRAME_SGES64(mpt) \ 158 ((mpt->m_req_frame_size - \ 160 MPTSAS_SGE_SIZE(mpt)) 470 * entry in the array is slot number MPTSAS_TM_SLOT(mpt) and is used ONLY for 477 * mpt->m_active->m_n_normal == mpt 516 void *mpt; member in struct:m_replyh_arg 533 void *mpt; member in struct:mptsas_topo_change_list 648 void *mpt; member in struct:smhba_info 663 void *mpt; member in struct:mptsas_doneq_thread_arg [all...] |