Home
last modified time | relevance | path

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

/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A DdrvCMAPool.c236 struct cma_heap_info heap_info; in MApi_CMA_Pool_Init() local
262 heap_info.heap_id = Init_Param->heap_id; in MApi_CMA_Pool_Init()
263 heap_info.flags = Init_Param->flags; in MApi_CMA_Pool_Init()
266 heap_info.flags |= CMA_FLAG_MAP_KERNEL; in MApi_CMA_Pool_Init()
272 if (file_ioctl(_fileCMAPool, CMA_POOL_IOC_INIT, (unsigned long)(&heap_info)))// in MApi_CMA_Pool_Init()
275 printk("init heap_id %tu fail\n", (ptrdiff_t)heap_info.heap_id); in MApi_CMA_Pool_Init()
280 Init_Param->pool_handle_id = heap_info.heap_id; in MApi_CMA_Pool_Init()
281 Init_Param->miu = heap_info.miu; // the miu this heap located at in MApi_CMA_Pool_Init()
282 …Init_Param->heap_miu_start_offset = heap_info.heap_miu_start_offset; // heap_start_offset(pa), wi… in MApi_CMA_Pool_Init()
283 Init_Param->heap_length = heap_info.heap_length; in MApi_CMA_Pool_Init()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A DdrvCMAPool.c217 struct cma_heap_info heap_info; in MApi_CMA_Pool_Init() local
225 memset(&heap_info, 0, sizeof(struct cma_heap_info)); in MApi_CMA_Pool_Init()
247 heap_info.heap_id = Init_Param->heap_id; in MApi_CMA_Pool_Init()
248 heap_info.flags = Init_Param->flags; in MApi_CMA_Pool_Init()
250 if (ioctl(_s32FdCMAPool, CMA_POOL_IOC_INIT, &heap_info)) in MApi_CMA_Pool_Init()
252 VPRINTF("init heap_id %tu fail\n", (ptrdiff_t)heap_info.heap_id); in MApi_CMA_Pool_Init()
257 Init_Param->pool_handle_id = heap_info.heap_id; in MApi_CMA_Pool_Init()
258 Init_Param->miu = heap_info.miu; // the miu this heap located at in MApi_CMA_Pool_Init()
259 …Init_Param->heap_miu_start_offset = heap_info.heap_miu_start_offset; // heap_start_offset(pa), wi… in MApi_CMA_Pool_Init()
260 Init_Param->heap_length = heap_info.heap_length; in MApi_CMA_Pool_Init()
[all …]