Lines Matching refs:pd_entry
412 if (pd_table->pd_entry && in irdma_sc_del_hmc_obj()
413 pd_table->pd_entry[rel_pd_idx].valid) { in irdma_sc_del_hmc_obj()
451 pd_table->pd_entry) { in irdma_sc_del_hmc_obj()
453 pd_table->pd_entry = NULL; in irdma_sc_del_hmc_obj()
506 sd_entry->u.pd_table.pd_entry = vmem->va; in irdma_add_sd_table_entry()
548 struct irdma_hmc_pd_entry *pd_entry; in irdma_add_pd_table_entry() local
565 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in irdma_add_pd_table_entry()
566 if (!pd_entry->valid) { in irdma_add_pd_table_entry()
568 pd_entry->rsrc_pg = true; in irdma_add_pd_table_entry()
579 pd_entry->rsrc_pg = false; in irdma_add_pd_table_entry()
582 memcpy(&pd_entry->bp.addr, page, sizeof(pd_entry->bp.addr)); in irdma_add_pd_table_entry()
583 pd_entry->bp.sd_pd_index = pd_index; in irdma_add_pd_table_entry()
584 pd_entry->bp.entry_type = IRDMA_SD_TYPE_PAGED; in irdma_add_pd_table_entry()
589 pd_entry->sd_index = sd_idx; in irdma_add_pd_table_entry()
590 pd_entry->valid = true; in irdma_add_pd_table_entry()
594 pd_entry->bp.use_cnt++; in irdma_add_pd_table_entry()
617 struct irdma_hmc_pd_entry *pd_entry; in irdma_remove_pd_bp() local
634 pd_entry = &pd_table->pd_entry[rel_pd_idx]; in irdma_remove_pd_bp()
635 if (--pd_entry->bp.use_cnt) in irdma_remove_pd_bp()
638 pd_entry->valid = false; in irdma_remove_pd_bp()
645 if (!pd_entry->rsrc_pg) { in irdma_remove_pd_bp()
646 mem = &pd_entry->bp.addr; in irdma_remove_pd_bp()