Searched refs:mhp (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/infiniband/hw/cxgb4/ |
D | mem.c | 393 static int finish_mem_reg(struct c4iw_mr *mhp, u32 stag) in finish_mem_reg() argument 397 mhp->attr.state = 1; in finish_mem_reg() 398 mhp->attr.stag = stag; in finish_mem_reg() 400 mhp->ibmr.rkey = mhp->ibmr.lkey = stag; in finish_mem_reg() 401 mhp->ibmr.length = mhp->attr.len; in finish_mem_reg() 402 mhp->ibmr.page_size = 1U << (mhp->attr.page_size + 12); in finish_mem_reg() 403 pr_debug("mmid 0x%x mhp %p\n", mmid, mhp); in finish_mem_reg() 404 return xa_insert_irq(&mhp->rhp->mrs, mmid, mhp, GFP_KERNEL); in finish_mem_reg() 408 struct c4iw_mr *mhp, int shift) in register_mem() argument 413 ret = write_tpt_entry(&rhp->rdev, 0, &stag, 1, mhp->attr.pdid, in register_mem() [all …]
|
D | qp.c | 789 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 …]
|
D | restrack.c | 433 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()
|
/kernel/linux/linux-5.10/drivers/virtio/ |
D | virtio_mem.c | 648 struct memory_notify *mhp = arg; in virtio_mem_memory_notifier_cb() local 649 const unsigned long start = PFN_PHYS(mhp->start_pfn); in virtio_mem_memory_notifier_cb() 650 const unsigned long size = PFN_PHYS(mhp->nr_pages); in virtio_mem_memory_notifier_cb()
|
/kernel/linux/linux-5.10/mm/ |
D | hugetlb.c | 3297 unsigned long *mhp; in hugepages_setup() local 3313 mhp = &default_hstate_max_huge_pages; in hugepages_setup() 3315 mhp = &parsed_hstate->max_huge_pages; in hugepages_setup() 3317 if (mhp == last_mhp) { in hugepages_setup() 3322 if (sscanf(s, "%lu", mhp) <= 0) in hugepages_setup() 3323 *mhp = 0; in hugepages_setup() 3333 last_mhp = mhp; in hugepages_setup()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/media/ |
D | faq.rst | 148 or view dvb/mpeg/dsm-cc/mhp stream information (TS,
|
/kernel/linux/linux-5.10/drivers/iommu/intel/ |
D | iommu.c | 4705 struct memory_notify *mhp = v; in intel_iommu_memory_notifier() local 4706 unsigned long start_vpfn = mm_to_dma_pfn(mhp->start_pfn); in intel_iommu_memory_notifier() 4707 unsigned long last_vpfn = mm_to_dma_pfn(mhp->start_pfn + in intel_iommu_memory_notifier() 4708 mhp->nr_pages - 1); in intel_iommu_memory_notifier() 4733 start_vpfn, mhp->nr_pages, in intel_iommu_memory_notifier()
|