Home
last modified time | relevance | path

Searched refs:map_obj (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Dproc.c118 struct dmm_map_object *map_obj; in add_mapping_info() local
126 map_obj = kzalloc(sizeof(struct dmm_map_object), GFP_KERNEL); in add_mapping_info()
127 if (!map_obj) { in add_mapping_info()
131 INIT_LIST_HEAD(&map_obj->link); in add_mapping_info()
133 map_obj->pages = kcalloc(num_usr_pgs, sizeof(struct page *), in add_mapping_info()
135 if (!map_obj->pages) { in add_mapping_info()
137 kfree(map_obj); in add_mapping_info()
141 map_obj->mpu_addr = mpu_addr; in add_mapping_info()
142 map_obj->dsp_addr = dsp_addr; in add_mapping_info()
143 map_obj->size = size; in add_mapping_info()
[all …]
Ddrv.c146 struct dmm_map_object *temp_map, *map_obj; in drv_remove_all_dmm_res_elements() local
150 list_for_each_entry_safe(map_obj, temp_map, &ctxt->dmm_map_list, link) { in drv_remove_all_dmm_res_elements()
152 (void *)map_obj->dsp_addr, ctxt); in drv_remove_all_dmm_res_elements()