Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/rdma/hfi/
Dhfi1_ioctl.h170 __aligned_u64 subctxt_uregbase; member
/linux-6.12.1/drivers/infiniband/hw/qib/
Dqib_file_ops.c217 kinfo->spi_subctxt_uregbase = cvt_kvaddr(rcd->subctxt_uregbase); in qib_get_base_info()
910 if (pgaddr == cvt_kvaddr(rcd->subctxt_uregbase)) { in mmap_kvaddr()
911 addr = rcd->subctxt_uregbase; in mmap_kvaddr()
919 } else if (pgaddr == cvt_kvaddr(rcd->subctxt_uregbase + in mmap_kvaddr()
921 addr = rcd->subctxt_uregbase + PAGE_SIZE * subctxt; in mmap_kvaddr()
1245 rcd->subctxt_uregbase = vmalloc_user(PAGE_SIZE * num_subctxts); in init_subctxts()
1246 if (!rcd->subctxt_uregbase) { in init_subctxts()
1277 vfree(rcd->subctxt_uregbase); in init_subctxts()
1278 rcd->subctxt_uregbase = NULL; in init_subctxts()
Dqib.h207 void *subctxt_uregbase; member
Dqib_init.c937 vfree(rcd->subctxt_uregbase); in qib_free_ctxtdata()
/linux-6.12.1/drivers/infiniband/hw/hfi1/
Dfile_ops.c517 memaddr = (u64)uctxt->subctxt_uregbase; in hfi1_file_mmap()
1043 uctxt->subctxt_uregbase = vmalloc_user(PAGE_SIZE); in setup_subctxt()
1044 if (!uctxt->subctxt_uregbase) in setup_subctxt()
1068 vfree(uctxt->subctxt_uregbase); in setup_subctxt()
1069 uctxt->subctxt_uregbase = NULL; in setup_subctxt()
1304 binfo.subctxt_uregbase = HFI1_MMAP_TOKEN(SUBCTXT_UREGS, in get_base_info()
Dinit.c1122 vfree(rcd->subctxt_uregbase); in hfi1_free_ctxtdata()
1127 rcd->subctxt_uregbase = NULL; in hfi1_free_ctxtdata()
Dhfi.h287 void *subctxt_uregbase; member