Home
last modified time | relevance | path

Searched refs:new_table (Results 1 - 2 of 2) sorted by relevance

/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/common/
H A Dump_kernel_descriptor_mapping.c71 ump_descriptor_table *new_table; in ump_descriptor_mapping_allocate_mapping() local
80 new_table = descriptor_table_alloc(nr_mappings_new); in ump_descriptor_mapping_allocate_mapping()
81 if (NULL == new_table) { in ump_descriptor_mapping_allocate_mapping()
86 _mali_osk_memcpy(new_table->usage, old_table->usage, (sizeof(unsigned long)*map->current_nr_mappings) / BITS_PER_LONG); in ump_descriptor_mapping_allocate_mapping()
87 _mali_osk_memcpy(new_table->mappings, old_table->mappings, map->current_nr_mappings * sizeof(void *)); in ump_descriptor_mapping_allocate_mapping()
88 map->table = new_table; in ump_descriptor_mapping_allocate_mapping()
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
H A Dsystem_heap.c67 struct sg_table *new_table; in dup_sg_table() local
71 new_table = kzalloc(sizeof(*new_table), GFP_KERNEL); in dup_sg_table()
72 if (!new_table) { in dup_sg_table()
76 ret = sg_alloc_table(new_table, table->orig_nents, GFP_KERNEL); in dup_sg_table()
78 kfree(new_table); in dup_sg_table()
82 new_sg = new_table->sgl; in dup_sg_table()
89 return new_table; in dup_sg_table()

Completed in 2 milliseconds