Searched refs:_s32FdCMAPool (Results 1 – 1 of 1) sorted by relevance
| /utopia/UTPA2-700.0.x/modules/msos/msos/linux/ |
| H A D | drvCMAPool.c | 152 static MS_S32 _s32FdCMAPool = -1; variable 228 if(_s32FdCMAPool > 0 && _s32FdCMAPool_pid != getpid()) in MApi_CMA_Pool_Init() 230 close(_s32FdCMAPool);//need close and later open again. in MApi_CMA_Pool_Init() 231 _s32FdCMAPool = -1; in MApi_CMA_Pool_Init() 234 if (_s32FdCMAPool <= 0) in MApi_CMA_Pool_Init() 236 if ((_s32FdCMAPool = open("/dev/cmapool", O_RDWR)) < 0) in MApi_CMA_Pool_Init() 250 if (ioctl(_s32FdCMAPool, CMA_POOL_IOC_INIT, &heap_info)) in MApi_CMA_Pool_Init() 289 ptr = mmap(NULL, Init_Param->heap_length, PROT_READ|PROT_WRITE, MAP_SHARED, _s32FdCMAPool, 0); in MApi_CMA_Pool_Init() 336 if (_s32FdCMAPool < 0) in MApi_CMA_Pool_GetMem() 348 if (ioctl(_s32FdCMAPool, CMA_POOL_IOC_ALLOC, &alloc_args)) in MApi_CMA_Pool_GetMem() [all …]
|