Lines Matching refs:mpt_softc
103 static int mpt_raid_reply_frame_handler(struct mpt_softc *mpt, request_t *req,
105 static int mpt_spawn_raid_thread(struct mpt_softc *mpt);
106 static void mpt_terminate_raid_thread(struct mpt_softc *mpt);
110 static void mpt_enable_vol(struct mpt_softc *mpt,
113 static void mpt_verify_mwce(struct mpt_softc *, struct mpt_raid_volume *);
114 static void mpt_adjust_queue_depth(struct mpt_softc *, struct mpt_raid_volume *,
116 static void mpt_raid_sysctl_attach(struct mpt_softc *);
121 static void mpt_vol_prt(struct mpt_softc *mpt, struct mpt_raid_volume *vol,
123 static void mpt_disk_prt(struct mpt_softc *mpt, struct mpt_raid_disk *disk,
126 static int mpt_issue_raid_req(struct mpt_softc *mpt,
131 static int mpt_refresh_raid_data(struct mpt_softc *mpt);
132 static void mpt_schedule_raid_refresh(struct mpt_softc *mpt);
192 mpt_vol_prt(struct mpt_softc *mpt, struct mpt_raid_volume *vol, in mpt_vol_prt()
206 mpt_disk_prt(struct mpt_softc *mpt, struct mpt_raid_disk *disk, in mpt_disk_prt()
230 struct mpt_softc *mpt; in mpt_raid_async()
232 mpt = (struct mpt_softc*)callback_arg; in mpt_raid_async()
264 mpt_raid_probe(struct mpt_softc *mpt) in mpt_raid_probe()
274 mpt_raid_attach(struct mpt_softc *mpt) in mpt_raid_attach()
319 mpt_raid_enable(struct mpt_softc *mpt) in mpt_raid_enable()
326 mpt_raid_detach(struct mpt_softc *mpt) in mpt_raid_detach()
349 mpt_raid_ioc_reset(struct mpt_softc *mpt, int type) in mpt_raid_ioc_reset()
372 mpt_raid_event(struct mpt_softc *mpt, request_t *req, in mpt_raid_event()
503 mpt_raid_shutdown(struct mpt_softc *mpt) in mpt_raid_shutdown()
518 mpt_raid_reply_handler(struct mpt_softc *mpt, request_t *req, in mpt_raid_reply_handler()
553 mpt_raid_reply_frame_handler(struct mpt_softc *mpt, request_t *req, in mpt_raid_reply_frame_handler()
585 mpt_issue_raid_req(struct mpt_softc *mpt, struct mpt_raid_volume *vol, in mpt_issue_raid_req()
627 mpt_spawn_raid_thread(struct mpt_softc *mpt) in mpt_spawn_raid_thread()
653 mpt_terminate_raid_thread(struct mpt_softc *mpt) in mpt_terminate_raid_thread()
671 struct mpt_softc *mpt; in mpt_raid_thread()
674 mpt = (struct mpt_softc *)arg; in mpt_raid_thread()
737 mpt_raid_quiesce_disk(struct mpt_softc *mpt, struct mpt_raid_disk *mpt_disk,
788 mpt_map_physdisk(struct mpt_softc *mpt, union ccb *ccb, target_id_t *tgt) in mpt_map_physdisk()
805 mpt_is_raid_member(struct mpt_softc *mpt, target_id_t tgt) in mpt_is_raid_member()
824 mpt_is_raid_volume(struct mpt_softc *mpt, target_id_t tgt) in mpt_is_raid_volume()
844 mpt_enable_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol,
896 mpt_verify_mwce(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol) in mpt_verify_mwce()
979 mpt_verify_resync_rate(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol) in mpt_verify_resync_rate()
1069 mpt_adjust_queue_depth(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol, in mpt_adjust_queue_depth()
1087 mpt_announce_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol) in mpt_announce_vol()
1195 mpt_announce_disk(struct mpt_softc *mpt, struct mpt_raid_disk *mpt_disk) in mpt_announce_disk()
1225 mpt_refresh_raid_disk(struct mpt_softc *mpt, struct mpt_raid_disk *mpt_disk, in mpt_refresh_raid_disk()
1252 mpt_refresh_raid_vol(struct mpt_softc *mpt, struct mpt_raid_volume *mpt_vol, in mpt_refresh_raid_vol()
1337 mpt_refresh_raid_data(struct mpt_softc *mpt) in mpt_refresh_raid_data()
1572 struct mpt_softc *mpt; in mpt_raid_timer()
1574 mpt = (struct mpt_softc *)arg; in mpt_raid_timer()
1580 mpt_schedule_raid_refresh(struct mpt_softc *mpt) in mpt_schedule_raid_refresh()
1588 mpt_raid_free_mem(struct mpt_softc *mpt) in mpt_raid_free_mem()
1621 mpt_raid_set_vol_resync_rate(struct mpt_softc *mpt, u_int rate) in mpt_raid_set_vol_resync_rate()
1643 mpt_raid_set_vol_queue_depth(struct mpt_softc *mpt, u_int vol_queue_depth) in mpt_raid_set_vol_queue_depth()
1677 mpt_raid_set_vol_mwce(struct mpt_softc *mpt, mpt_raid_mwce_t mwce) in mpt_raid_set_vol_mwce()
1742 struct mpt_softc *mpt; in mpt_raid_sysctl_vol_member_wce()
1748 mpt = (struct mpt_softc *)arg1; in mpt_raid_sysctl_vol_member_wce()
1776 struct mpt_softc *mpt; in mpt_raid_sysctl_vol_resync_rate()
1780 mpt = (struct mpt_softc *)arg1; in mpt_raid_sysctl_vol_resync_rate()
1794 struct mpt_softc *mpt; in mpt_raid_sysctl_vol_queue_depth()
1798 mpt = (struct mpt_softc *)arg1; in mpt_raid_sysctl_vol_queue_depth()
1810 mpt_raid_sysctl_attach(struct mpt_softc *mpt) in mpt_raid_sysctl_attach()