Home
last modified time | relevance | path

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

/linux-6.1.9/include/uapi/rdma/hfi/
Dhfi1_ioctl.h170 __aligned_u64 subctxt_uregbase; member
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfile_ops.c487 memaddr = (u64)uctxt->subctxt_uregbase; in hfi1_file_mmap()
1012 uctxt->subctxt_uregbase = vmalloc_user(PAGE_SIZE); in setup_subctxt()
1013 if (!uctxt->subctxt_uregbase) in setup_subctxt()
1037 vfree(uctxt->subctxt_uregbase); in setup_subctxt()
1038 uctxt->subctxt_uregbase = NULL; in setup_subctxt()
1273 binfo.subctxt_uregbase = HFI1_MMAP_TOKEN(SUBCTXT_UREGS, in get_base_info()
Dinit.c1123 vfree(rcd->subctxt_uregbase); in hfi1_free_ctxtdata()
1128 rcd->subctxt_uregbase = NULL; in hfi1_free_ctxtdata()
Dhfi.h287 void *subctxt_uregbase; member
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_file_ops.c217 kinfo->spi_subctxt_uregbase = cvt_kvaddr(rcd->subctxt_uregbase); in qib_get_base_info()
911 if (pgaddr == cvt_kvaddr(rcd->subctxt_uregbase)) { in mmap_kvaddr()
912 addr = rcd->subctxt_uregbase; in mmap_kvaddr()
920 } else if (pgaddr == cvt_kvaddr(rcd->subctxt_uregbase + in mmap_kvaddr()
922 addr = rcd->subctxt_uregbase + PAGE_SIZE * subctxt; in mmap_kvaddr()
1246 rcd->subctxt_uregbase = vmalloc_user(PAGE_SIZE * num_subctxts); in init_subctxts()
1247 if (!rcd->subctxt_uregbase) { in init_subctxts()
1278 vfree(rcd->subctxt_uregbase); in init_subctxts()
1279 rcd->subctxt_uregbase = NULL; in init_subctxts()
Dqib.h207 void *subctxt_uregbase; member
Dqib_init.c940 vfree(rcd->subctxt_uregbase); in qib_free_ctxtdata()