Searched refs:s32Id (Results 1 – 7 of 7) sorted by relevance
| /utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/ |
| H A D | MsOS_linux_kernel.c | 586 MS_S32 s32Id; in MsOS_CreateMemoryPool() local 590 for(s32Id=0;s32Id<MSOS_MEMPOOL_MAX;s32Id++) in MsOS_CreateMemoryPool() 592 if(_MsOS_MemoryPool_Info[s32Id].bUsed == FALSE) in MsOS_CreateMemoryPool() 597 if(s32Id < MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 599 _MsOS_MemoryPool_Info[s32Id].bUsed = TRUE; in MsOS_CreateMemoryPool() 603 if(s32Id >= MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 610 _MsOS_MemoryPool_Info[s32Id].bMPool= TRUE; in MsOS_CreateMemoryPool() 613 &_MsOS_MemoryPool_Info[s32Id].stMemoryPool, in MsOS_CreateMemoryPool() 614 &_MsOS_MemoryPool_Info[s32Id].stMemoryPoolInfo ); in MsOS_CreateMemoryPool() 618 _MsOS_MemoryPool_Info[s32Id].bMPool= FALSE; in MsOS_CreateMemoryPool() [all …]
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/ucos/ |
| H A D | MsOS_ucos.c | 537 MS_S32 s32Id; in MsOS_CreateMemoryPool() local 541 for(s32Id=0;s32Id<MSOS_MEMPOOL_MAX;s32Id++) in MsOS_CreateMemoryPool() 543 if(_MsOS_MemoryPool_Info[s32Id].bUsed == FALSE) in MsOS_CreateMemoryPool() 548 if(s32Id < MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 550 _MsOS_MemoryPool_Info[s32Id].bUsed = TRUE; in MsOS_CreateMemoryPool() 554 if(s32Id >= MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 565 &_MsOS_MemoryPool_Info[s32Id].stMemoryPool, in MsOS_CreateMemoryPool() 566 &_MsOS_MemoryPool_Info[s32Id].stMemoryPoolInfo ); in MsOS_CreateMemoryPool() 568 s32Id |= MSOS_ID_PREFIX; in MsOS_CreateMemoryPool() 569 return s32Id; in MsOS_CreateMemoryPool() [all …]
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/linux/ |
| H A D | MsOS_linux.c | 242 MS_S32 s32Id; member 745 MS_S32 s32Id; in MsOS_CreateMemoryPool() local 749 for(s32Id=0;s32Id<MSOS_MEMPOOL_MAX;s32Id++) in MsOS_CreateMemoryPool() 751 if(_MsOS_MemoryPool_Info[s32Id].bUsed == FALSE) in MsOS_CreateMemoryPool() 756 if(s32Id < MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 758 _MsOS_MemoryPool_Info[s32Id].bUsed = TRUE; in MsOS_CreateMemoryPool() 762 if(s32Id >= MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 769 _MsOS_MemoryPool_Info[s32Id].bMPool= TRUE; in MsOS_CreateMemoryPool() 773 …_MsOS_MemoryPool_Info[s32Id].stMemoryPool = MsOS_MPool_CreateMemoryPool(pPoolAddr, u32PoolSize, 1); in MsOS_CreateMemoryPool() 775 …_MsOS_MemoryPool_Info[s32Id].stMemoryPool = mstar_create_mspace_with_base(pPoolAddr, u32PoolSize, … in MsOS_CreateMemoryPool() [all …]
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/ecos/ |
| H A D | MsOS_ecos.c | 569 MS_S32 s32Id; in MsOS_CreateMemoryPool() local 573 for(s32Id=0;s32Id<MSOS_MEMPOOL_MAX;s32Id++) in MsOS_CreateMemoryPool() 575 if(_MsOS_MemoryPool_Info[s32Id].bUsed == FALSE) in MsOS_CreateMemoryPool() 580 if(s32Id < MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 582 _MsOS_MemoryPool_Info[s32Id].bUsed = TRUE; in MsOS_CreateMemoryPool() 586 if(s32Id >= MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 597 &_MsOS_MemoryPool_Info[s32Id].stMemoryPool, in MsOS_CreateMemoryPool() 598 &_MsOS_MemoryPool_Info[s32Id].stMemoryPoolInfo ); in MsOS_CreateMemoryPool() 600 s32Id |= MSOS_ID_PREFIX; in MsOS_CreateMemoryPool() 601 return s32Id; in MsOS_CreateMemoryPool() [all …]
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/ |
| H A D | MsOS_linux_kernel.c | 552 MS_S32 s32Id; in MsOS_CreateMemoryPool() local 555 for(s32Id=0;s32Id<MSOS_MEMPOOL_MAX;s32Id++) in MsOS_CreateMemoryPool() 557 if(_MsOS_MemoryPool_Info[s32Id].bUsed == FALSE) in MsOS_CreateMemoryPool() 562 if(s32Id < MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 564 _MsOS_MemoryPool_Info[s32Id].bUsed = TRUE; in MsOS_CreateMemoryPool() 568 if(s32Id >= MSOS_MEMPOOL_MAX) in MsOS_CreateMemoryPool() 575 _MsOS_MemoryPool_Info[s32Id].bMPool= TRUE; in MsOS_CreateMemoryPool() 578 &_MsOS_MemoryPool_Info[s32Id].stMemoryPool, in MsOS_CreateMemoryPool() 579 &_MsOS_MemoryPool_Info[s32Id].stMemoryPoolInfo ); in MsOS_CreateMemoryPool() 583 _MsOS_MemoryPool_Info[s32Id].bMPool= FALSE; in MsOS_CreateMemoryPool() [all …]
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/nuttx/ |
| H A D | MsOS_nuttx.c | 823 MS_S32 s32Id, s32LstUnused = MSOS_MUTEX_MAX; in MsOS_CreateMutex() local 847 for(s32Id=0;s32Id<MSOS_MUTEX_MAX;s32Id++) in MsOS_CreateMutex() 851 if(TRUE == _MsOS_Mutex_Info[s32Id].bUsed) in MsOS_CreateMutex() 853 … if (0== strcmp((const char*)_MsOS_Mutex_Info[s32Id].u8Name, (const char*)pMutexName)) in MsOS_CreateMutex() 859 if (FALSE==_MsOS_Mutex_Info[s32Id].bUsed && MSOS_MUTEX_MAX==s32LstUnused) in MsOS_CreateMutex() 861 s32LstUnused = s32Id; in MsOS_CreateMutex() 865 if ((MSOS_MUTEX_MAX==s32Id) && (MSOS_MUTEX_MAX>s32LstUnused)) in MsOS_CreateMutex() 877 s32Id = s32LstUnused; in MsOS_CreateMutex() 883 if(MSOS_MUTEX_MAX <= s32Id) in MsOS_CreateMutex() 888 s32Id |= MSOS_ID_PREFIX; in MsOS_CreateMutex() [all …]
|
| /utopia/UTPA2-700.0.x/modules/msos/msos/optee/ |
| H A D | MsOS_optee.c | 797 MS_S32 s32Id, s32LstUnused = MSOS_MUTEX_MAX; in MsOS_CreateMutex() local 819 for (s32Id=0;s32Id<MSOS_MUTEX_MAX;s32Id++) in MsOS_CreateMutex() 822 if(TRUE == _MsOS_Mutex_Info[s32Id].bUsed) in MsOS_CreateMutex() 824 if (0== strcmp((const char*)_MsOS_Mutex_Info[s32Id].u8Name, (const char*)pMutexName)) in MsOS_CreateMutex() 830 if (FALSE==_MsOS_Mutex_Info[s32Id].bUsed && MSOS_MUTEX_MAX==s32LstUnused) in MsOS_CreateMutex() 832 s32LstUnused = s32Id; in MsOS_CreateMutex() 836 if ((MSOS_MUTEX_MAX==s32Id) && (MSOS_MUTEX_MAX>s32LstUnused)) in MsOS_CreateMutex() 841 s32Id = s32LstUnused; in MsOS_CreateMutex() 845 if(MSOS_MUTEX_MAX <= s32Id) in MsOS_CreateMutex() 850 s32Id |= MSOS_ID_PREFIX; in MsOS_CreateMutex() [all …]
|