Searched refs:rsv_obj (Results 1 – 2 of 2) sorted by relevance
1520 struct dmm_rsv_object *rsv_obj; in proc_reserve_memory() local1542 rsv_obj = kmalloc(sizeof(struct dmm_rsv_object), GFP_KERNEL); in proc_reserve_memory()1543 if (rsv_obj) { in proc_reserve_memory()1544 rsv_obj->dsp_reserved_addr = (u32) *pp_rsv_addr; in proc_reserve_memory()1546 list_add(&rsv_obj->link, &pr_ctxt->dmm_rsv_list); in proc_reserve_memory()1764 struct dmm_rsv_object *rsv_obj; in proc_un_reserve_memory() local1787 list_for_each_entry(rsv_obj, &pr_ctxt->dmm_rsv_list, link) { in proc_un_reserve_memory()1788 if (rsv_obj->dsp_reserved_addr == (u32) prsv_addr) { in proc_un_reserve_memory()1789 list_del(&rsv_obj->link); in proc_un_reserve_memory()1790 kfree(rsv_obj); in proc_un_reserve_memory()
147 struct dmm_rsv_object *temp_rsv, *rsv_obj; in drv_remove_all_dmm_res_elements() local159 list_for_each_entry_safe(rsv_obj, temp_rsv, &ctxt->dmm_rsv_list, link) { in drv_remove_all_dmm_res_elements()161 rsv_obj->dsp_reserved_addr, in drv_remove_all_dmm_res_elements()