Lines Matching refs:pd_table

167 				     sd_entry->u.pd_table.pd_page_addr.pa :  in irdma_hmc_sd_grp()
350 &sd_entry->u.pd_table.pd_page_addr : in irdma_finish_del_sd_reg()
380 struct irdma_hmc_pd_table *pd_table; in irdma_sc_del_hmc_obj() local
418 pd_table = &info->hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in irdma_sc_del_hmc_obj()
419 if (pd_table->pd_entry && in irdma_sc_del_hmc_obj()
420 pd_table->pd_entry[rel_pd_idx].valid) { in irdma_sc_del_hmc_obj()
440 pd_table = &info->hmc_info->sd_table.sd_entry[i].u.pd_table; in irdma_sc_del_hmc_obj()
458 pd_table->pd_entry) { in irdma_sc_del_hmc_obj()
459 kfree(pd_table->pd_entry_virt_mem.va); in irdma_sc_del_hmc_obj()
460 pd_table->pd_entry = NULL; in irdma_sc_del_hmc_obj()
505 &sd_entry->u.pd_table.pd_entry_virt_mem; in irdma_add_sd_table_entry()
515 sd_entry->u.pd_table.pd_entry = vmem->va; in irdma_add_sd_table_entry()
517 memcpy(&sd_entry->u.pd_table.pd_page_addr, &dma_mem, in irdma_add_sd_table_entry()
518 sizeof(sd_entry->u.pd_table.pd_page_addr)); in irdma_add_sd_table_entry()
557 struct irdma_hmc_pd_table *pd_table; in irdma_add_pd_table_entry() local
574 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in irdma_add_pd_table_entry()
575 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in irdma_add_pd_table_entry()
596 pd_addr = pd_table->pd_page_addr.va; in irdma_add_pd_table_entry()
601 pd_table->use_cnt++; in irdma_add_pd_table_entry()
629 struct irdma_hmc_pd_table *pd_table; in irdma_remove_pd_bp() local
644 pd_table = &hmc_info->sd_table.sd_entry[sd_idx].u.pd_table; in irdma_remove_pd_bp()
645 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in irdma_remove_pd_bp()
650 pd_table->use_cnt--; in irdma_remove_pd_bp()
651 pd_addr = pd_table->pd_page_addr.va; in irdma_remove_pd_bp()
665 if (!pd_table->use_cnt) in irdma_remove_pd_bp()
666 kfree(pd_table->pd_entry_virt_mem.va); in irdma_remove_pd_bp()
703 if (sd_entry->u.pd_table.use_cnt) in irdma_prep_remove_pd_page()