Home
last modified time | relevance | path

Searched refs:s32PoolId (Results 1 – 11 of 11) sorted by relevance

/utopia/UTPA2-700.0.x/modules/msos/msos/ecos/
H A DMsOS_ecos.c610 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteMemoryPool() argument
612 if ( (s32PoolId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteMemoryPool()
618 s32PoolId &= MSOS_ID_MASK; in MsOS_DeleteMemoryPool()
621 cyg_mempool_var_delete(_MsOS_MemoryPool_Info[s32PoolId].stMemoryPool); in MsOS_DeleteMemoryPool()
623 _MsOS_MemoryPool_Info[s32PoolId].bUsed = FALSE; in MsOS_DeleteMemoryPool()
638 MS_BOOL MsOS_InfoMemoryPool (MS_S32 s32PoolId, in MsOS_InfoMemoryPool() argument
644 if ( (s32PoolId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_InfoMemoryPool()
650 s32PoolId &= MSOS_ID_MASK; in MsOS_InfoMemoryPool()
654 cyg_mempool_var_get_info(_MsOS_MemoryPool_Info[s32PoolId].stMemoryPool, &mempool_info); in MsOS_InfoMemoryPool()
671 void * MsOS_AllocateMemory (MS_U32 u32Size, MS_S32 s32PoolId) in MsOS_AllocateMemory() argument
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux/
H A DMsOS_linux.c808 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteMemoryPool() argument
810 if ( (s32PoolId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteMemoryPool()
816 s32PoolId &= MSOS_ID_MASK; in MsOS_DeleteMemoryPool()
819 if ( (s32PoolId >= MSOS_MEMPOOL_MAX) ) in MsOS_DeleteMemoryPool()
821 if ( s32PoolId == MSOS_MALLOC_ID ) in MsOS_DeleteMemoryPool()
826 …nvalid memory pool ID: %td, you must use the ID of the mpool you created\n", (ptrdiff_t)s32PoolId); in MsOS_DeleteMemoryPool()
832 if(_MsOS_MemoryPool_Info[s32PoolId].bUsed == FALSE) in MsOS_DeleteMemoryPool()
834 MSOS_ERROR("MEMORY POOL WITH MEMORYPOOL_ID: 0x%tX NOT EXIST\n", (ptrdiff_t)s32PoolId); in MsOS_DeleteMemoryPool()
838 if (_MsOS_MemoryPool_Info[s32PoolId].bMPool) in MsOS_DeleteMemoryPool()
843 MsOS_MPool_DeleteMemoryPool(_MsOS_MemoryPool_Info[s32PoolId].stMemoryPool); in MsOS_DeleteMemoryPool()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel_V2/
H A DMsOS_linux_kernel.c595 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteMemoryPool() argument
597 if ( (s32PoolId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteMemoryPool()
603 s32PoolId &= MSOS_ID_MASK; in MsOS_DeleteMemoryPool()
606 if ( (s32PoolId >= MSOS_MEMPOOL_MAX) ) in MsOS_DeleteMemoryPool()
608 if ( s32PoolId == MSOS_MALLOC_ID ) in MsOS_DeleteMemoryPool()
613 …nvalid memory pool ID: %td, you must use the ID of the mpool you created\n", (ptrdiff_t)s32PoolId); in MsOS_DeleteMemoryPool()
619 if(_MsOS_MemoryPool_Info[s32PoolId].bUsed == FALSE) in MsOS_DeleteMemoryPool()
621 printk("ERR: MEMORY POOL WITH MEMORYPOOL_ID: 0x%tX NOT EXIST\n", (ptrdiff_t)s32PoolId); in MsOS_DeleteMemoryPool()
625 if (_MsOS_MemoryPool_Info[s32PoolId].bMPool) in MsOS_DeleteMemoryPool()
627 cyg_mempool_var_delete(_MsOS_MemoryPool_Info[s32PoolId].stMemoryPool); in MsOS_DeleteMemoryPool()
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/ucos/
H A DMsOS_ucos.c578 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteMemoryPool() argument
580 if ( (s32PoolId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteMemoryPool()
586 s32PoolId &= MSOS_ID_MASK; in MsOS_DeleteMemoryPool()
589 cyg_mempool_var_delete(_MsOS_MemoryPool_Info[s32PoolId].stMemoryPool); in MsOS_DeleteMemoryPool()
591 _MsOS_MemoryPool_Info[s32PoolId].bUsed = FALSE; in MsOS_DeleteMemoryPool()
606 MS_BOOL MsOS_InfoMemoryPool (MS_S32 s32PoolId, in MsOS_InfoMemoryPool() argument
612 if ( (s32PoolId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_InfoMemoryPool()
618 s32PoolId &= MSOS_ID_MASK; in MsOS_InfoMemoryPool()
622 cyg_mempool_var_get_info(_MsOS_MemoryPool_Info[s32PoolId].stMemoryPool, &mempool_info); in MsOS_InfoMemoryPool()
639 void * MsOS_AllocateMemory (MS_U32 u32Size, MS_S32 s32PoolId) in MsOS_AllocateMemory() argument
[all …]
/utopia/UTPA2-700.0.x/modules/msos/msos/linux_kernel/
H A DMsOS_linux_kernel.c630 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteMemoryPool() argument
632 if ( (s32PoolId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_DeleteMemoryPool()
638 s32PoolId &= MSOS_ID_MASK; in MsOS_DeleteMemoryPool()
641 if (_MsOS_MemoryPool_Info[s32PoolId].bMPool) in MsOS_DeleteMemoryPool()
643 cyg_mempool_var_delete(_MsOS_MemoryPool_Info[s32PoolId].stMemoryPool); in MsOS_DeleteMemoryPool()
647 _MsOS_MemoryPool_Info[s32PoolId].bUsed = FALSE; in MsOS_DeleteMemoryPool()
662 MS_BOOL MsOS_InfoMemoryPool (MS_S32 s32PoolId, in MsOS_InfoMemoryPool() argument
680 void * MsOS_AllocateMemory (MS_U32 u32Size, MS_S32 s32PoolId) in MsOS_AllocateMemory() argument
684 if ( (s32PoolId & MSOS_ID_PREFIX_MASK) != MSOS_ID_PREFIX ) in MsOS_AllocateMemory()
690 s32PoolId &= MSOS_ID_MASK; in MsOS_AllocateMemory()
[all …]
/utopia/UTPA2-700.0.x/projects/tmplib/include/
H A DMsOS.h536 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId);
549 MS_BOOL MsOS_InfoMemoryPool (MS_S32 s32PoolId,
563 void * MsOS_AllocateMemory (MS_U32 u32Size, MS_S32 s32PoolId);
576 void * MsOS_ReallocateMemory (void *pOrgAddress, MS_U32 u32NewSize, MS_S32 s32PoolId);
586 MS_BOOL MsOS_FreeMemory (void *pAddress, MS_S32 s32PoolId);
602 MS_BOOL MsOS_DeleteFixSizeMemoryPool (MS_S32 s32PoolId);
608 MS_BOOL MsOS_InfoFixSizeMemoryPool (MS_S32 s32PoolId,
618 void * MsOS_AllocateFixSizeMemory (MS_S32 s32PoolId);
624 MS_BOOL MsOS_FreeFixSizeMemory (void *pAddress, MS_S32 s32PoolId);
/utopia/UTPA2-700.0.x/modules/msos/msos/optee/
H A DMsOS_optee.c461 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteMemoryPool() argument
477 MS_BOOL MsOS_InfoMemoryPool (MS_S32 s32PoolId, in MsOS_InfoMemoryPool() argument
495 void * MsOS_AllocateMemory (MS_U32 u32Size, MS_S32 s32PoolId) in MsOS_AllocateMemory() argument
508 MS_BOOL MsOS_FreeMemory (void *pAddress, MS_S32 s32PoolId) in MsOS_FreeMemory() argument
524 void * MsOS_ReallocateMemory (void *pOrgAddress, MS_U32 u32NewSize, MS_S32 s32PoolId) in MsOS_ReallocateMemory() argument
556 MS_BOOL MsOS_DeleteFixSizeMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteFixSizeMemoryPool() argument
572 MS_BOOL MsOS_InfoFixSizeMemoryPool (MS_S32 s32PoolId, in MsOS_InfoFixSizeMemoryPool() argument
589 void * MsOS_AllocateFixSizeMemory (MS_S32 s32PoolId) in MsOS_AllocateFixSizeMemory() argument
602 MS_BOOL MsOS_FreeFixSizeMemory (void *pAddress, MS_S32 s32PoolId) in MsOS_FreeFixSizeMemory() argument
/utopia/UTPA2-700.0.x/modules/msos/msos/nos/
H A DMsOS_nos.c599 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteMemoryPool() argument
615 MS_BOOL MsOS_InfoMemoryPool (MS_S32 s32PoolId, in MsOS_InfoMemoryPool() argument
634 void * MsOS_AllocateMemory (MS_U32 u32Size, MS_S32 s32PoolId) in MsOS_AllocateMemory() argument
672 MS_BOOL MsOS_FreeMemory (void *pAddress, MS_S32 s32PoolId) in MsOS_FreeMemory() argument
691 void * MsOS_ReallocateMemory (void *pOrgAddress, MS_U32 u32NewSize, MS_S32 s32PoolId) in MsOS_ReallocateMemory() argument
722 MS_BOOL MsOS_DeleteFixSizeMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteFixSizeMemoryPool() argument
737 MS_BOOL MsOS_InfoFixSizeMemoryPool (MS_S32 s32PoolId, in MsOS_InfoFixSizeMemoryPool() argument
753 void * MsOS_AllocateFixSizeMemory (MS_S32 s32PoolId) in MsOS_AllocateFixSizeMemory() argument
765 MS_BOOL MsOS_FreeFixSizeMemory (void *pAddress, MS_S32 s32PoolId) in MsOS_FreeFixSizeMemory() argument
/utopia/UTPA2-700.0.x/mxlib/include/
H A DMsOS.h655 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId);
668 MS_BOOL MsOS_InfoMemoryPool (MS_S32 s32PoolId,
682 void * MsOS_AllocateMemory (MS_U32 u32Size, MS_S32 s32PoolId);
695 void * MsOS_ReallocateMemory (void *pOrgAddress, MS_U32 u32NewSize, MS_S32 s32PoolId);
705 MS_BOOL MsOS_FreeMemory (void *pAddress, MS_S32 s32PoolId);
721 MS_BOOL MsOS_DeleteFixSizeMemoryPool (MS_S32 s32PoolId);
727 MS_BOOL MsOS_InfoFixSizeMemoryPool (MS_S32 s32PoolId,
737 void * MsOS_AllocateFixSizeMemory (MS_S32 s32PoolId);
743 MS_BOOL MsOS_FreeFixSizeMemory (void *pAddress, MS_S32 s32PoolId);
/utopia/UTPA2-700.0.x/modules/msos/msos/nuttx/
H A DMsOS_nuttx.c494 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteMemoryPool() argument
510 MS_BOOL MsOS_InfoMemoryPool (MS_S32 s32PoolId, in MsOS_InfoMemoryPool() argument
528 void * MsOS_AllocateMemory (MS_U32 u32Size, MS_S32 s32PoolId) in MsOS_AllocateMemory() argument
541 MS_BOOL MsOS_FreeMemory (void *pAddress, MS_S32 s32PoolId) in MsOS_FreeMemory() argument
557 void * MsOS_ReallocateMemory (void *pOrgAddress, MS_U32 u32NewSize, MS_S32 s32PoolId) in MsOS_ReallocateMemory() argument
589 MS_BOOL MsOS_DeleteFixSizeMemoryPool (MS_S32 s32PoolId) in MsOS_DeleteFixSizeMemoryPool() argument
605 MS_BOOL MsOS_InfoFixSizeMemoryPool (MS_S32 s32PoolId, in MsOS_InfoFixSizeMemoryPool() argument
622 void * MsOS_AllocateFixSizeMemory (MS_S32 s32PoolId) in MsOS_AllocateFixSizeMemory() argument
635 MS_BOOL MsOS_FreeFixSizeMemory (void *pAddress, MS_S32 s32PoolId) in MsOS_FreeFixSizeMemory() argument
/utopia/UTPA2-700.0.x/projects/build/
H A Dpreprocess.txt81167 MS_BOOL MsOS_DeleteMemoryPool (MS_S32 s32PoolId);
81169 MS_BOOL MsOS_InfoMemoryPool (MS_S32 s32PoolId,
81175 void * MsOS_AllocateMemory (MS_U32 u32Size, MS_S32 s32PoolId);
81177 void * MsOS_ReallocateMemory (void *pOrgAddress, MS_U32 u32NewSize, MS_S32 s32PoolId);
81179 MS_BOOL MsOS_FreeMemory (void *pAddress, MS_S32 s32PoolId);
81195 MS_BOOL MsOS_DeleteFixSizeMemoryPool (MS_S32 s32PoolId);
81201 MS_BOOL MsOS_InfoFixSizeMemoryPool (MS_S32 s32PoolId,
81211 void * MsOS_AllocateFixSizeMemory (MS_S32 s32PoolId);
81217 MS_BOOL MsOS_FreeFixSizeMemory (void *pAddress, MS_S32 s32PoolId);