Home
last modified time | relevance | path

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

/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.c940 vfree(rcd->subctxt_uregbase); in qib_free_ctxtdata()
/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