Searched refs:dbr_page (Results 1 – 4 of 4) sorted by relevance
654 rdev->pacing.dbr_page = (void *)__get_free_page(GFP_KERNEL); in bnxt_re_initialize_dbr_pacing()655 if (!rdev->pacing.dbr_page) in bnxt_re_initialize_dbr_pacing()658 memset((u8 *)rdev->pacing.dbr_page, 0, PAGE_SIZE); in bnxt_re_initialize_dbr_pacing()659 rdev->qplib_res.pacing_data = (struct bnxt_qplib_db_pacing_data *)rdev->pacing.dbr_page; in bnxt_re_initialize_dbr_pacing()662 free_page((u64)rdev->pacing.dbr_page); in bnxt_re_initialize_dbr_pacing()663 rdev->pacing.dbr_page = NULL; in bnxt_re_initialize_dbr_pacing()677 free_page((u64)rdev->pacing.dbr_page); in bnxt_re_initialize_dbr_pacing()678 rdev->pacing.dbr_page = NULL; in bnxt_re_initialize_dbr_pacing()698 if (rdev->pacing.dbr_page) in bnxt_re_deinitialize_dbr_pacing()699 free_page((u64)rdev->pacing.dbr_page); in bnxt_re_deinitialize_dbr_pacing()[all …]
130 void *dbr_page; member
4471 addr = (u64)rdev->pacing.dbr_page; in UVERBS_HANDLER()
818 struct erdma_user_dbrecords_page **dbr_page, in erdma_map_user_dbrecords() argument852 *dbr_page = page; in erdma_map_user_dbrecords()862 struct erdma_user_dbrecords_page **dbr_page) in erdma_unmap_user_dbrecords() argument864 if (!ctx || !(*dbr_page)) in erdma_unmap_user_dbrecords()868 if (--(*dbr_page)->refcnt == 0) { in erdma_unmap_user_dbrecords()869 list_del(&(*dbr_page)->list); in erdma_unmap_user_dbrecords()870 ib_umem_release((*dbr_page)->umem); in erdma_unmap_user_dbrecords()871 kfree(*dbr_page); in erdma_unmap_user_dbrecords()874 *dbr_page = NULL; in erdma_unmap_user_dbrecords()