Home
last modified time | relevance | path

Searched refs:dbr_page (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/infiniband/hw/bnxt_re/
Dbnxt_re.h117 void *dbr_page; member
Dmain.c605 rdev->pacing.dbr_page = (void *)__get_free_page(GFP_KERNEL); in bnxt_re_initialize_dbr_pacing()
606 if (!rdev->pacing.dbr_page) in bnxt_re_initialize_dbr_pacing()
609 memset((u8 *)rdev->pacing.dbr_page, 0, PAGE_SIZE); in bnxt_re_initialize_dbr_pacing()
610 rdev->qplib_res.pacing_data = (struct bnxt_qplib_db_pacing_data *)rdev->pacing.dbr_page; in bnxt_re_initialize_dbr_pacing()
640 if (rdev->pacing.dbr_page) in bnxt_re_deinitialize_dbr_pacing()
641 free_page((u64)rdev->pacing.dbr_page); in bnxt_re_deinitialize_dbr_pacing()
643 rdev->pacing.dbr_page = NULL; in bnxt_re_deinitialize_dbr_pacing()
Dib_verbs.c4321 addr = (u64)rdev->pacing.dbr_page; in UVERBS_HANDLER()
/Linux-v6.6/drivers/infiniband/hw/erdma/
Derdma_verbs.c806 struct erdma_user_dbrecords_page **dbr_page, in erdma_map_user_dbrecords() argument
840 *dbr_page = page; in erdma_map_user_dbrecords()
850 struct erdma_user_dbrecords_page **dbr_page) in erdma_unmap_user_dbrecords() argument
852 if (!ctx || !(*dbr_page)) in erdma_unmap_user_dbrecords()
856 if (--(*dbr_page)->refcnt == 0) { in erdma_unmap_user_dbrecords()
857 list_del(&(*dbr_page)->list); in erdma_unmap_user_dbrecords()
858 ib_umem_release((*dbr_page)->umem); in erdma_unmap_user_dbrecords()
859 kfree(*dbr_page); in erdma_unmap_user_dbrecords()
862 *dbr_page = NULL; in erdma_unmap_user_dbrecords()