Home
last modified time | relevance | path

Searched refs:mhp (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/infiniband/hw/cxgb4/
Dmem.c377 static int finish_mem_reg(struct c4iw_mr *mhp, u32 stag) in finish_mem_reg() argument
381 mhp->attr.state = 1; in finish_mem_reg()
382 mhp->attr.stag = stag; in finish_mem_reg()
384 mhp->ibmr.rkey = mhp->ibmr.lkey = stag; in finish_mem_reg()
385 mhp->ibmr.length = mhp->attr.len; in finish_mem_reg()
386 mhp->ibmr.page_size = 1U << (mhp->attr.page_size + 12); in finish_mem_reg()
387 pr_debug("mmid 0x%x mhp %p\n", mmid, mhp); in finish_mem_reg()
388 return xa_insert_irq(&mhp->rhp->mrs, mmid, mhp, GFP_KERNEL); in finish_mem_reg()
392 struct c4iw_mr *mhp, int shift) in register_mem() argument
397 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, mhp->attr.pdid, in register_mem()
[all …]
Dqp.c789 const struct ib_reg_wr *wr, struct c4iw_mr *mhp, in build_tpte_memreg() argument
795 fr->stag = cpu_to_be32(mhp->ibmr.rkey); in build_tpte_memreg()
798 FW_RI_TPTE_STAGKEY_V((mhp->ibmr.rkey & FW_RI_TPTE_STAGKEY_M)) | in build_tpte_memreg()
801 FW_RI_TPTE_PDID_V(mhp->attr.pdid)); in build_tpte_memreg()
807 PBL_OFF(&mhp->rhp->rdev, mhp->attr.pbl_addr)>>3)); in build_tpte_memreg()
810 fr->tpte.len_lo = cpu_to_be32(mhp->ibmr.length); in build_tpte_memreg()
811 fr->tpte.va_hi = cpu_to_be32(mhp->ibmr.iova >> 32); in build_tpte_memreg()
812 fr->tpte.va_lo_fbo = cpu_to_be32(mhp->ibmr.iova & 0xffffffff); in build_tpte_memreg()
814 p[0] = cpu_to_be64((u64)mhp->mpl[0]); in build_tpte_memreg()
815 p[1] = cpu_to_be64((u64)mhp->mpl[1]); in build_tpte_memreg()
[all …]
Drestrack.c433 struct c4iw_mr *mhp = to_c4iw_mr(ibmr); in c4iw_fill_res_mr_entry() local
434 struct c4iw_dev *dev = mhp->rhp; in c4iw_fill_res_mr_entry()
435 u32 stag = mhp->attr.stag; in c4iw_fill_res_mr_entry()
/linux-6.1.9/drivers/virtio/
Dvirtio_mem.c954 struct memory_notify *mhp = arg; in virtio_mem_memory_notifier_cb() local
955 const unsigned long start = PFN_PHYS(mhp->start_pfn); in virtio_mem_memory_notifier_cb()
956 const unsigned long size = PFN_PHYS(mhp->nr_pages); in virtio_mem_memory_notifier_cb()
1006 mhp->start_pfn, in virtio_mem_memory_notifier_cb()
1007 mhp->nr_pages); in virtio_mem_memory_notifier_cb()
1037 virtio_mem_sbm_notify_online(vm, id, mhp->start_pfn); in virtio_mem_memory_notifier_cb()
1060 mhp->start_pfn, in virtio_mem_memory_notifier_cb()
1061 mhp->nr_pages); in virtio_mem_memory_notifier_cb()
/linux-6.1.9/mm/
Dhugetlb.c4324 unsigned long *mhp; in hugepages_setup() local
4344 mhp = &default_hstate_max_huge_pages; in hugepages_setup()
4346 mhp = &parsed_hstate->max_huge_pages; in hugepages_setup()
4348 if (mhp == last_mhp) { in hugepages_setup()
4374 *mhp += tmp; in hugepages_setup()
4383 *mhp = tmp; in hugepages_setup()
4396 last_mhp = mhp; in hugepages_setup()
/linux-6.1.9/drivers/iommu/intel/
Diommu.c3721 struct memory_notify *mhp = v; in intel_iommu_memory_notifier() local
3722 unsigned long start_vpfn = mm_to_dma_pfn(mhp->start_pfn); in intel_iommu_memory_notifier()
3723 unsigned long last_vpfn = mm_to_dma_pfn(mhp->start_pfn + in intel_iommu_memory_notifier()
3724 mhp->nr_pages - 1); in intel_iommu_memory_notifier()
3748 start_vpfn, mhp->nr_pages, in intel_iommu_memory_notifier()
/linux-6.1.9/Documentation/admin-guide/media/
Dfaq.rst148 or view dvb/mpeg/dsm-cc/mhp stream information (TS,