Home
last modified time | relevance | path

Searched refs:LosMux (Results 1 – 25 of 45) sorted by relevance

12

/kernel/liteos_a/kernel/include/
Dlos_mux.h79 } LosMux; typedef
89 extern UINT32 LOS_MuxSetPrioceiling(LosMux *mutex, INT32 prioceiling, INT32 *oldPrioceiling);
90 extern UINT32 LOS_MuxGetPrioceiling(const LosMux *mutex, INT32 *prioceiling);
91 extern BOOL LOS_MuxIsValid(const LosMux *mutex);
114 extern UINT32 LOS_MuxInit(LosMux *mutex, const LosMuxAttr *attr);
139 extern UINT32 LOS_MuxDestroy(LosMux *mutex);
173 extern UINT32 LOS_MuxLock(LosMux *mutex, UINT32 timeout);
206 extern UINT32 LOS_MuxTrylock(LosMux *mutex);
234 extern UINT32 LOS_MuxUnlock(LosMux *mutex);
/kernel/liteos_a/fs/jffs2/include/
Djffs2_hash.h45 int Jffs2HashInit(LosMux *lock, LOS_DL_LIST *heads);
46 int Jffs2HashDeinit(LosMux *lock);
47 void Jffs2HashDump(LosMux *lock, LOS_DL_LIST *heads);
48 int Jffs2HashGet(LosMux *lock, LOS_DL_LIST *heads, const void *sb, const uint32_t ino, struct jffs2…
49 void Jffs2HashRemove(LosMux *lock, struct jffs2_inode *node);
50 int Jffs2HashInsert(LosMux *lock, LOS_DL_LIST *heads, struct jffs2_inode *node, const uint32_t ino);
/kernel/liteos_a/kernel/base/ipc/
Dlos_mux.c147 LITE_OS_SEC_TEXT UINT32 LOS_MuxSetPrioceiling(LosMux *mutex, INT32 prioceiling, INT32 *oldPrioceili… in LOS_MuxSetPrioceiling()
176 LITE_OS_SEC_TEXT UINT32 LOS_MuxGetPrioceiling(const LosMux *mutex, INT32 *prioceiling) in LOS_MuxGetPrioceiling()
186 LITE_OS_SEC_TEXT BOOL LOS_MuxIsValid(const LosMux *mutex) in LOS_MuxIsValid()
209 LITE_OS_SEC_TEXT UINT32 LOS_MuxInit(LosMux *mutex, const LosMuxAttr *attr) in LOS_MuxInit()
236 LITE_OS_SEC_TEXT UINT32 LOS_MuxDestroy(LosMux *mutex) in LOS_MuxDestroy()
255 (VOID)memset_s(mutex, sizeof(LosMux), 0, sizeof(LosMux)); in LOS_MuxDestroy()
260 STATIC VOID OsMuxBitmapSet(const LosMux *mutex, const LosTaskCB *runTask) in OsMuxBitmapSet()
275 VOID OsMuxBitmapRestore(const LosMux *mutex, const LOS_DL_LIST *list, const LosTaskCB *runTask) in OsMuxBitmapRestore()
287 STATIC UINT32 OsMuxPendOp(LosTaskCB *runTask, LosMux *mutex, UINT32 timeout) in OsMuxPendOp()
344 UINT32 OsMuxLockUnsafe(LosMux *mutex, UINT32 timeout) in OsMuxLockUnsafe()
[all …]
/kernel/liteos_a/fs/jffs2/src/
Djffs2_hash.c35 int Jffs2HashInit(LosMux *lock, LOS_DL_LIST *heads) in Jffs2HashInit()
51 int Jffs2HashDeinit(LosMux *lock) in Jffs2HashDeinit()
63 void Jffs2HashDump(LosMux *lock, LOS_DL_LIST *heads) in Jffs2HashDump()
85 int Jffs2HashGet(LosMux *lock, LOS_DL_LIST *heads, const void *sb, const uint32_t ino, struct jffs2… in Jffs2HashGet()
107 void Jffs2HashRemove(LosMux *lock, struct jffs2_inode *node) in Jffs2HashRemove()
114 int Jffs2HashInsert(LosMux *lock, LOS_DL_LIST *heads, struct jffs2_inode *node, const uint32_t ino) in Jffs2HashInsert()
/kernel/liteos_a/kernel/base/include/
Dlos_mux_pri.h46 extern VOID OsMuxBitmapRestore(const LosMux *mutex, const LOS_DL_LIST *list, const LosTaskCB *runTa…
47 extern UINT32 OsMuxLockUnsafe(LosMux *mutex, UINT32 timeout);
48 extern UINT32 OsMuxTrylockUnsafe(LosMux *mutex, UINT32 timeout);
49 extern UINT32 OsMuxUnlockUnsafe(LosTaskCB *taskCB, LosMux *mutex, BOOL *needSched);
Dlos_ipc_container_pri.h42 typedef struct OsMux LosMux; typedef
43 typedef LosMux pthread_mutex_t;
55 LosMux sysvShmMux;
Dlos_vm_lock.h48 STATIC INLINE STATUS_T LOS_MuxAcquire(LosMux *m) in LOS_MuxAcquire()
53 STATIC INLINE STATUS_T LOS_MuxRelease(LosMux *m) in LOS_MuxRelease()
Dlos_vm_shm_pri.h65 struct shmIDSource *OsShmCBInit(LosMux *sysvShmMux, struct shminfo *shmInfo, UINT32 *shmUsedPageCou…
66 VOID OsShmCBDestroy(struct shmIDSource *shmSegs, struct shminfo *shmInfo, LosMux *sysvShmMux);
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/mux/smoke/
DIt_los_mutex_002.c42 LosMux maxSem; in Testcase()
43 LosMux semTemp; in Testcase()
47 LosMux mutex1; in Testcase()
DIt_los_mutex_001.c45 LosMux mutex1; in Testcase()
DIt_los_mutex_003.c43 LosMux muxHandle; in Testcase()
DIt_los_mutex_004.c43 LosMux muxHandle; in Testcase()
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/mux/
DIt_los_mux.c42 LosMux g_mutexTest1;
43 LosMux g_mutexTest2;
44 LosMux g_mutexTest3;
DIt_los_mux.h47 extern LosMux g_mutexTest1;
48 extern LosMux g_mutexTest2;
49 extern LosMux g_mutexTest3;
/kernel/liteos_a/kernel/extended/hook/include/
Dlos_hook_types.h80 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MUX_CREATE, (const LosMux *muxCreated)) …
81 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MUX_POST, (const LosMux *muxPosted)) …
82 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MUX_PEND, (const LosMux *muxPended, UINT32 timeout)) …
83 …LOS_HOOK_TYPE_DEF(LOS_HOOK_TYPE_MUX_DELETE, (const LosMux *muxDeleted)) …
/kernel/liteos_a/testsuites/kernel/sample/kernel_base/ipc/mux/full/
DIt_los_mutex_040.c44 static LosMux g_testMux1;
45 static LosMux g_testMux2;
46 static LosMux g_testMux3;
47 static LosMux g_testMux4;
48 static LosMux g_testMux5;
DIt_los_mutex_037.c44 LosMux *g_testMux = NULL;
82 g_testMux = LOS_MemAlloc(m_aucSysMem0, OS_MUX_NUM * sizeof(LosMux)); in Testcase()
DIt_los_mutex_039.c44 static LosMux g_testMux1;
45 static LosMux g_testMux2;
DIt_los_mutex_043.c43 static LosMux g_testMux1;
44 static LosMux g_testMux2;
DIt_los_mutex_006.c43 LosMux muxHandle, muxHandle2; in Testcase()
/kernel/liteos_a/net/lwip-2.1/porting/include/arch/
Dsys_arch.h46 typedef LosMux sys_mutex_t;
/kernel/liteos_a/security/vid/
Dvid_type.h37 LosMux vidMapLock;
/kernel/liteos_a/kernel/extended/trace/cnv/
Dtrace_cnv.c133 STATIC VOID LOS_TraceMuxCreate(const LosMux *muxCB) in LOS_TraceMuxCreate()
138 STATIC VOID LOS_TraceMuxPost(const LosMux *muxCB) in LOS_TraceMuxPost()
144 STATIC VOID LOS_TraceMuxPend(const LosMux *muxCB, UINT32 timeout) in LOS_TraceMuxPend()
150 STATIC VOID LOS_TraceMuxDelete(const LosMux *muxCB) in LOS_TraceMuxDelete()
/kernel/liteos_a/shell/full/include/
Dshcmd.h70 LosMux muxLock;
/kernel/liteos_a/drivers/mtd/multi_partition/include/
Dmtd_partition.h65 LosMux lock;

12