| /freebsd-14.2/sys/dev/mpt/ |
| H A D | mpt_pci.c | 453 if (mpt->is_sas || mpt->pci_pio_reg == NULL) { in mpt_pci_attach() 460 mpt->pci_st = mpt->pci_pio_st; in mpt_pci_attach() 461 mpt->pci_sh = mpt->pci_pio_sh; in mpt_pci_attach() 463 mpt->pci_st = rman_get_bustag(mpt->pci_reg); in mpt_pci_attach() 495 mpt, &mpt->ih)) { in mpt_pci_attach() 573 bus_teardown_intr(mpt->dev, mpt->pci_irq, mpt->ih); in mpt_free_bus_resources() 579 rman_get_rid(mpt->pci_irq), mpt->pci_irq); in mpt_free_bus_resources() 592 rman_get_rid(mpt->pci_reg), mpt->pci_reg); in mpt_free_bus_resources() 687 mi.mpt = mpt; in mpt_dma_mem_alloc() 691 bus_dmamap_load(mpt->reply_dmat, mpt->reply_dmap, mpt->reply, in mpt_dma_mem_alloc() [all …]
|
| H A D | mpt.c | 2472 bus_dmamap_sync(mpt->fw_dmat, mpt->fw_dmap, in mpt_download_fw() 2476 bus_dmamap_sync(mpt->fw_dmat, mpt->fw_dmap, in mpt_download_fw() 2547 mi.mpt = mpt; in mpt_dma_buf_alloc() 2551 bus_dmamap_load(mpt->request_dmat, mpt->request_dmap, mpt->request, in mpt_dma_buf_alloc() 2606 bus_dmamem_free(mpt->request_dmat, mpt->request, mpt->request_dmap); in mpt_dma_buf_free() 2673 mpt->max_seg_cnt = MPT_MAX_REQUESTS(mpt) - 2; in mpt_configure_ioc() 2676 mpt->max_seg_cnt *= MPT_NRFM(mpt); in mpt_configure_ioc() 2687 mpt->max_seg_cnt *= (MPT_NSGL(mpt) - 1); in mpt_configure_ioc() 2767 mi.mpt = mpt; in mpt_configure_ioc() 2769 bus_dmamap_load(mpt->fw_dmat, mpt->fw_dmap, in mpt_configure_ioc() [all …]
|
| H A D | mpt_raid.c | 280 mpt_callout_init(mpt, &mpt->raid_timer); in mpt_raid_attach() 288 MPT_LOCK(mpt); in mpt_raid_attach() 331 mpt_callout_drain(mpt, &mpt->raid_timer); in mpt_raid_detach() 333 MPT_LOCK(mpt); in mpt_raid_detach() 390 if (mpt->raid_volumes != NULL && mpt->ioc_page2 != NULL) { in mpt_raid_event() 638 MPT_LOCK(mpt); in mpt_spawn_raid_thread() 665 mpt_sleep(mpt, &mpt->raid_thread, PUSER, "thtrm", 0); in mpt_terminate_raid_thread() 676 MPT_LOCK(mpt); in mpt_raid_thread() 679 mpt_sleep(mpt, &mpt->raid_volumes, PUSER, "idle", 0); in mpt_raid_thread() 1349 if (mpt->ioc_page2 == NULL || mpt->ioc_page3 == NULL) { in mpt_refresh_raid_data() [all …]
|
| H A D | mpt_cam.c | 287 mpt->tmf_req = mpt_get_request(mpt, FALSE); in mpt_cam_attach() 328 mpt->sim = in mpt_cam_attach() 577 mpt->role = mpt->cfg_role; in mpt_set_initial_config_fc() 1199 mpt_free_request(mpt, mpt->tmf_req); in mpt_cam_detach() 2138 if (mpt->is_fc || mpt->is_sas) { in mpt_start() 2436 if (mpt->phydisk_sim && mpt_is_raid_member(mpt, in mpt_cam_event() 3318 if (mpt->is_fc || mpt->is_sas) { in mpt_action() 3869 mpt_sleep(mpt, mpt, PUSER, "idle", 0); in mpt_recovery_thread() 3902 mpt_assign_serno(mpt, mpt->tmf_req); in mpt_scsi_send_tmf() 4110 fl |= (MPT_NRFM(mpt) - MPT_RQSL(mpt)); in mpt_fc_post_els() [all …]
|
| H A D | mpt.h | 367 #define MPT_TAG_2_REQ(mpt, tag) mpt->tgt_cmd_ptrs[tag >> 18] argument 766 #define MPT_LOCK(mpt) mtx_lock(&(mpt)->mpt_lock) argument 767 #define MPT_UNLOCK(mpt) mtx_unlock(&(mpt)->mpt_lock) argument 768 #define MPT_OWNED(mpt) mtx_owned(&(mpt)->mpt_lock) argument 791 bus_space_write_4(mpt->pci_st, mpt->pci_sh, offset, val); in mpt_write() 797 bus_space_write_stream_4(mpt->pci_st, mpt->pci_sh, offset, val); in mpt_write_stream() 803 return (bus_space_read_4(mpt->pci_st, mpt->pci_sh, offset)); in mpt_read() 815 bus_space_write_4(mpt->pci_pio_st, mpt->pci_pio_sh, offset, val); in mpt_pio_write() 887 #define MPT_RQSL(mpt) (mpt->ioc_facts.RequestFrameSize << 2) argument 890 #define MPT_NSGL(mpt) (MPT_RQSL(mpt) / sizeof (SGE_IO_UNION)) argument [all …]
|
| H A D | mpt_user.c | 114 MPT_LOCK(mpt); in mpt_user_attach() 118 MPT_UNLOCK(mpt); in mpt_user_attach() 127 MPT_LOCK(mpt); in mpt_user_attach() 130 MPT_UNLOCK(mpt); in mpt_user_attach() 133 mpt->cdev->si_drv1 = mpt; in mpt_user_attach() 173 MPT_LOCK(mpt); in mpt_user_detach() 177 MPT_UNLOCK(mpt); in mpt_user_detach() 206 error = mpt_dma_tag_create(mpt, mpt->parent_dmat, 1, 0, in mpt_alloc_buffer() 217 mi.mpt = mpt; in mpt_alloc_buffer() 665 MPT_LOCK(mpt); in mpt_ioctl() [all …]
|
| H A D | mpt_raid.h | 68 mpt_raid_wakeup(struct mpt_softc *mpt) in mpt_raid_wakeup() argument 70 mpt->raid_wakeup++; in mpt_raid_wakeup() 71 wakeup(&mpt->raid_volumes); in mpt_raid_wakeup() 84 #define RAID_VOL_FOREACH(mpt, mpt_vol) \ argument 85 for (mpt_vol = (mpt)->raid_volumes; \ 86 mpt_vol != (mpt)->raid_volumes + (mpt)->raid_max_volumes; \
|
| H A D | mpt_cam.h | 141 mpt_wakeup_recovery_thread(struct mpt_softc *mpt) in mpt_wakeup_recovery_thread() argument 143 wakeup(mpt); in mpt_wakeup_recovery_thread() 147 #define mpt_sim_alloc(a, b, c, mpt, e, f, g) \ argument 148 cam_sim_alloc(a, b, c, mpt, (mpt)->unit, &(mpt)->mpt_lock, e, f, g)
|
| H A D | mpt_debug.c | 828 mpt_prt(mpt, "%s:", msg); in mpt_dump_data() 831 mpt_prtc(mpt, "\n"); in mpt_dump_data() 833 mpt_prtc(mpt, " %02x", cp[offset]); in mpt_dump_data() 835 mpt_prtc(mpt, "\n"); in mpt_dump_data() 844 mpt_prt(mpt, "Send Request %d (%jx):", in mpt_dump_request() 848 mpt_prtc(mpt, "\n"); in mpt_dump_request() 849 mpt_prt(mpt, " "); in mpt_dump_request() 851 mpt_prtc(mpt, " %08x", pReq[o]); in mpt_dump_request() 853 mpt_prtc(mpt, "\n"); in mpt_dump_request() 857 mpt_prt(struct mpt_softc *mpt, const char *fmt, ...) in mpt_prt() argument [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/ |
| H A D | zpool_create_005_pos.ksh | 93 mpt=`zfs mount | awk -v pat="^$TESTPOOL[^/]" '$0 ~ pat {print $2}'` 94 [ -z "$mpt" ] && \ 97 [[ "$mpt" != "$mpt_val" ]] && \ 103 [[ "$mpt" != "$TESTDIR1" ]] && \ 108 [[ "$mpt" != "$TESTDIR1/$TESTPOOL" ]] && \ 113 [[ "$mpt" != "${TESTDIR1}$TESTDIR1" ]] && \
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zpool_create/ |
| H A D | zpool_create_005_pos.ksh | 93 mpt=`$ZFS mount | $EGREP "^$TESTPOOL[^/]" | $AWK '{print $2}'` 97 [[ "$mpt" != "$mpt_val" ]] && \ 109 [[ "$mpt" != "$expected_mpt" ]] && \ 110 log_fail "$expected_mpt is mounted on ${mpt} instead of $expected_mpt."
|
| /freebsd-14.2/sys/modules/mpt/ |
| H A D | Makefile | 2 .PATH: ${SRCTOP}/sys/dev/mpt 4 KMOD= mpt 7 mpt.c mpt_cam.c mpt_debug.c mpt_pci.c mpt_raid.c mpt_user.c
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unshare/ |
| H A D | zfs_unshare_004_neg.ksh | 70 mpt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 74 log_mustnot eval "zfs unshare $opt $mpt >/dev/null 2>&1" 81 log_mustnot eval "zfs unshare $opt $mpt >/dev/null 2>&1"
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zfs_unshare/ |
| H A D | zfs_unshare_004_neg.ksh | 79 mpt=$(get_prop mountpoint $TESTPOOL/$TESTFS) 83 log_mustnot eval "$ZFS unshare $opt $mpt >/dev/null 2>&1" 90 log_mustnot eval "$ZFS unshare $opt $mpt >/dev/null 2>&1"
|
| /freebsd-14.2/sys/dev/mthca/ |
| H A D | mthca_mr.c | 602 BUG_ON(!mr->mem.arbel.mpt); in mthca_fmr_alloc() 605 sizeof *(mr->mem.tavor.mpt) * idx; in mthca_fmr_alloc() 735 writeb(MTHCA_MPT_STATUS_SW, fmr->mem.tavor.mpt); in mthca_tavor_map_phys_fmr() 752 writeb(MTHCA_MPT_STATUS_HW, fmr->mem.tavor.mpt); in mthca_tavor_map_phys_fmr() 778 *(u8 *) fmr->mem.arbel.mpt = MTHCA_MPT_STATUS_SW; in mthca_arbel_map_phys_fmr() 792 fmr->mem.arbel.mpt->key = cpu_to_be32(key); in mthca_arbel_map_phys_fmr() 793 fmr->mem.arbel.mpt->lkey = cpu_to_be32(key); in mthca_arbel_map_phys_fmr() 795 fmr->mem.arbel.mpt->start = cpu_to_be64(iova); in mthca_arbel_map_phys_fmr() 799 *(u8 *) fmr->mem.arbel.mpt = MTHCA_MPT_STATUS_HW; in mthca_arbel_map_phys_fmr() 813 writeb(MTHCA_MPT_STATUS_SW, fmr->mem.tavor.mpt); in mthca_tavor_fmr_unmap() [all …]
|
| H A D | mthca_provider.h | 88 struct mthca_mpt_entry __iomem *mpt; member 92 struct mthca_mpt_entry *mpt; member
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/ |
| H A D | zfs_mount_010_neg.ksh | 76 mpt=$(get_prop mountpoint $fs) 79 cd $mpt
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_share/ |
| H A D | zfs_share_009_neg.ksh | 61 mpt=$(get_prop mountpoint $fs) 66 if ! showshares_nfs | grep -q $mpt; then
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
| H A D | zfs_mount_010_neg.ksh | 64 mpt=$(get_prop mountpoint $fs) 67 cd $mpt
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zfs_share/ |
| H A D | zfs_share_009_neg.ksh | 73 mpt=$(get_prop mountpoint $fs) 78 $SHARE | $GREP $mpt >/dev/null 2>&1
|
| /freebsd-14.2/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_unmount/ |
| H A D | zfs_unmount_008_neg.ksh | 110 for mpt in "./$dir" "./$file" "/tmp"; do 112 log_mustnot eval "zfs unmount $opt $mpt >/dev/null 2>&1"
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/cli_root/zfs_unmount/ |
| H A D | zfs_unmount_008_neg.ksh | 127 for mpt in "./$dir" "./$file"; do 129 log_mustnot eval "$ZFS unmount $opt $mpt >/dev/null 2>&1"
|
| /freebsd-14.2/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_resource_tracker.c | 468 dev->quotas.mpt = in mlx4_init_quotas() 1559 if (mpt) in mr_res_start_move_to() 1560 *mpt = r; in mr_res_start_move_to() 1839 struct res_mpt *mpt; in mpt_alloc_res() local 2372 struct res_mpt *mpt; in mpt_free_res() local 2381 index = mpt->key; in mpt_free_res() 2710 struct res_mpt *mpt; in mlx4_SW2HW_MPT_wrapper() local 2760 mpt->mtt = mtt; in mlx4_SW2HW_MPT_wrapper() 2804 if (mpt->mtt) in mlx4_HW2SW_MPT_wrapper() 4862 kfree(mpt); in rem_slave_mrs() [all …]
|
| H A D | mlx4_mr.c | 1018 *(u8 *) fmr->mpt = MLX4_MPT_STATUS_SW; in mlx4_map_phys_fmr() 1032 fmr->mpt->key = cpu_to_be32(key); in mlx4_map_phys_fmr() 1033 fmr->mpt->lkey = cpu_to_be32(key); in mlx4_map_phys_fmr() 1034 fmr->mpt->length = cpu_to_be64(npages * (1ull << fmr->page_shift)); in mlx4_map_phys_fmr() 1035 fmr->mpt->start = cpu_to_be64(iova); in mlx4_map_phys_fmr() 1040 *(u8 *) fmr->mpt = MLX4_MPT_STATUS_HW; in mlx4_map_phys_fmr() 1101 fmr->mpt = mlx4_table_find(&priv->mr_table.dmpt_table, in mlx4_fmr_enable() 1103 if (!fmr->mpt) in mlx4_fmr_enable()
|
| /freebsd-14.2/tools/kerneldoc/subsys/ |
| H A D | Doxyfile-dev_mpt | 12 INPUT = $(DOXYGEN_SRC_PATH)/dev/mpt/ \
|