Home
last modified time | relevance | path

Searched refs:BOOL (Results 1 – 25 of 260) sorted by relevance

1234567891011

/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_h323_types.c205 {FNAME("mc") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
206 {FNAME("undefinedNode") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
234 {FNAME("conferenceCalling") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
235 {FNAME("threePartyService") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
239 {FNAME("q932Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
240 {FNAME("q951Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
241 {FNAME("q952Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
242 {FNAME("q953Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
243 {FNAME("q955Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
244 {FNAME("q956Full") BOOL, FIXD, 0, 0, SKIP, 0, NULL},
[all …]
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h178 STATIC INLINE BOOL LOS_IsKernelAddress(VADDR_T vaddr) in LOS_IsKernelAddress()
184 STATIC INLINE BOOL LOS_IsKernelAddressRange(VADDR_T vaddr, size_t len) in LOS_IsKernelAddressRange()
199 STATIC INLINE BOOL LOS_IsRegionTypeFile(LosVmMapRegion* region) in LOS_IsRegionTypeFile()
204 STATIC INLINE BOOL LOS_IsRegionPermUserReadOnly(LosVmMapRegion* region) in LOS_IsRegionPermUserReadOnly()
210 STATIC INLINE BOOL LOS_IsRegionFlagPrivateOnly(LosVmMapRegion* region) in LOS_IsRegionFlagPrivateOnly()
220 STATIC INLINE BOOL LOS_IsRegionTypeDev(LosVmMapRegion* region) in LOS_IsRegionTypeDev()
230 STATIC INLINE BOOL LOS_IsRegionTypeAnon(LosVmMapRegion* region) in LOS_IsRegionTypeAnon()
240 STATIC INLINE BOOL LOS_IsUserAddress(VADDR_T vaddr) in LOS_IsUserAddress()
246 STATIC INLINE BOOL LOS_IsUserAddressRange(VADDR_T vaddr, size_t len) in LOS_IsUserAddressRange()
251 STATIC INLINE BOOL LOS_IsVmallocAddress(VADDR_T vaddr) in LOS_IsVmallocAddress()
[all …]
Dlos_sched_pri.h80 typedef BOOL (*SCHED_TL_FIND_FUNC)(UINTPTR, UINTPTR);
156 STATIC INLINE BOOL OsSchedUnlockResch(VOID) in OsSchedUnlockResch()
169 STATIC INLINE BOOL OsSchedIsLock(VOID) in OsSchedIsLock()
175 STATIC INLINE BOOL OsPreemptable(VOID) in OsPreemptable()
184 BOOL preemptible = (rq->taskLockCnt == 0); in OsPreemptable()
193 STATIC INLINE BOOL OsPreemptableInSched(VOID) in OsPreemptableInSched()
195 BOOL preemptible = FALSE; in OsPreemptableInSched()
282 BOOL (*schedParamModify)(LosTaskCB *taskCB, const SchedParam *param);
287 UINT32 (*resume)(LosTaskCB *taskCB, BOOL *needSched);
466 BOOL cloneIpc;
[all …]
Dlos_vm_filemap.h145 STATIC INLINE BOOL OsIsPageActive(LosVmPage *page) in OsIsPageActive()
150 STATIC INLINE BOOL OsIsPageLocked(LosVmPage *page) in OsIsPageLocked()
155 STATIC INLINE BOOL OsIsPageReferenced(LosVmPage *page) in OsIsPageReferenced()
160 STATIC INLINE BOOL OsIsPageDirty(LosVmPage *page) in OsIsPageDirty()
165 STATIC INLINE BOOL OsIsPageMapped(LosFilePage *page) in OsIsPageMapped()
181 STATIC INLINE BOOL OsIsPageShared(LosVmPage *page) in OsIsPageShared()
198 VOID OsDelMapInfo(LosVmMapRegion *region, LosVmPgFault *pgFault, BOOL cleanDirty);
Dlos_swtmr_pri.h108 extern BOOL OsIsSwtmrTask(const LosTaskCB *taskCB);
112 extern BOOL OsSwtmrWorkQueueFind(SCHED_TL_FIND_FUNC checkFunc, UINTPTR arg);
136 BOOL swtmrUsed;
139 extern BOOL OsSwtmrDebugDataUsed(UINT32 swtmrID);
Dlos_process_pri.h252 STATIC INLINE BOOL OsProcessIsUnused(const LosProcessCB *processCB) in OsProcessIsUnused()
261 STATIC INLINE BOOL OsProcessIsInactive(const LosProcessCB *processCB) in OsProcessIsInactive()
270 STATIC INLINE BOOL OsProcessIsDead(const LosProcessCB *processCB) in OsProcessIsDead()
275 STATIC INLINE BOOL OsProcessIsInit(const LosProcessCB *processCB) in OsProcessIsInit()
280 STATIC INLINE BOOL OsProcessIsPGroupLeader(const LosProcessCB *processCB) in OsProcessIsPGroupLeader()
339 STATIC INLINE BOOL OsProcessIsUserMode(const LosProcessCB *processCB) in OsProcessIsUserMode()
373 STATIC INLINE BOOL OsProcessExitCodeSignalIsSet(LosProcessCB *processCB) in OsProcessExitCodeSignalIsSet()
385 STATIC INLINE BOOL OsProcessIDUserCheckInvalid(UINT32 pid) in OsProcessIDUserCheckInvalid()
426 STATIC INLINE BOOL OsIsProcessThreadGroup(const LosTaskCB *taskCB) in OsIsProcessThreadGroup()
556 INT32 OsSchedulerParamCheck(UINT16 policy, BOOL isThread, const LosSchedParam *param);
Dlos_task_pri.h257 STATIC INLINE BOOL OsTaskIsUnused(const LosTaskCB *taskCB) in OsTaskIsUnused()
262 STATIC INLINE BOOL OsTaskIsKilled(const LosTaskCB *taskCB) in OsTaskIsKilled()
267 STATIC INLINE BOOL OsTaskIsNotDelete(const LosTaskCB *taskCB) in OsTaskIsNotDelete()
272 STATIC INLINE BOOL OsTaskIsUserMode(const LosTaskCB *taskCB) in OsTaskIsUserMode()
312 extern BOOL OsTaskCpuAffiSetUnsafe(UINT32 taskID, UINT16 newCpuAffiMask, UINT16 *oldCpuAffiMask);
326 extern INT32 OsSetTaskName(LosTaskCB *taskCB, const CHAR *name, BOOL setPName);
/kernel/liteos_a/kernel/common/
Dconsole.h90 BOOL isNonBlock;
105 extern BOOL SetSerialNonBlock(const CONSOLE_CB *consoleCB);
106 extern BOOL SetSerialBlock(const CONSOLE_CB *consoleCB);
107 extern BOOL SetTelnetNonBlock(const CONSOLE_CB *consoleCB);
108 extern BOOL SetTelnetBlock(const CONSOLE_CB *consoleCB);
113 extern BOOL ConsoleEnable(VOID);
114 extern BOOL is_nonblock(const CONSOLE_CB *consoleCB);
115 extern BOOL IsConsoleOccupied(const CONSOLE_CB *consoleCB);
/kernel/liteos_a/arch/arm/arm/include/
Dlos_pte_ops.h87 STATIC INLINE BOOL OsIsPte1PageTable(PTE_T pte1) in OsIsPte1PageTable()
92 STATIC INLINE BOOL OsIsPte1Invalid(PTE_T pte1) in OsIsPte1Invalid()
97 STATIC INLINE BOOL OsIsPte1Section(PTE_T pte1) in OsIsPte1Section()
155 STATIC INLINE BOOL OsIsPte2SmallPage(PTE_T pte2) in OsIsPte2SmallPage()
160 STATIC INLINE BOOL OsIsPte2SmallPageXN(PTE_T pte2) in OsIsPte2SmallPageXN()
165 STATIC INLINE BOOL OsIsPte2LargePage(PTE_T pte2) in OsIsPte2LargePage()
170 STATIC INLINE BOOL OsIsPte2Invalid(PTE_T pte2) in OsIsPte2Invalid()
/kernel/liteos_a/testsuites/unittest/common/
DosTest.cpp98 BOOL g_isSpinorInit = FALSE;
99 BOOL g_isSdInit = FALSE;
100 BOOL g_isUartDevInit = FALSE;
101 BOOL g_isTcpipInit = FALSE;
102 BOOL g_isInitSerial = FALSE;
105 BOOL g_isAddArray = TRUE;
106 BOOL g_isUsbInit = FALSE;
107 BOOL g_isIpcGmacInit = FALSE;
109 BOOL g_isDriversRandomInit = FALSE;
111 BOOL g_isHisiEthSetPhyModeInit = FALSE;
[all …]
/kernel/liteos_m/kernel/include/
Dlos_sched.h50 typedef BOOL (*SchedScan)(VOID);
70 BOOL OsSchedModifyTaskSchedParam(LosTaskCB *taskCB, UINT16 priority);
80 BOOL OsSchedResume(LosTaskCB *taskCB);
88 BOOL OsSchedTaskSwitch(VOID);
99 STATIC INLINE BOOL OsCheckKernelRunning(VOID) in OsCheckKernelRunning()
/kernel/liteos_a/fs/vfs/include/bcache/
Dbcache.h71 BOOL modified; /* is this block data modified (needs write) */
72 BOOL readFlag; /* is the block data have read from sd(real data) */
73 BOOL readBuff; /* read write buffer */
74 BOOL used; /* used or free for write buf */
75 BOOL allDirty; /* the whole block is dirty */
152 BOOL useRead);
/kernel/liteos_a/testsuites/kernel/src/
DosTest.c126 BOOL g_isSpinorInit = FALSE;
127 BOOL g_isSdInit = FALSE;
128 BOOL g_isUartDevInit = FALSE;
129 BOOL g_isTcpipInit = FALSE;
130 BOOL g_isInitSerial = FALSE;
133 BOOL g_isAddArray = TRUE;
134 BOOL g_isUsbInit = FALSE;
135 BOOL g_isIpcGmacInit = FALSE;
137 BOOL g_isDriversRandomInit = FALSE;
139 BOOL g_isHisiEthSetPhyModeInit = FALSE;
[all …]
/kernel/liteos_m/components/backtrace/
Dlos_backtrace.c44 WEAK BOOL OsStackDataIsCodeAddr(UINTPTR value) in OsStackDataIsCodeAddr()
64 STATIC INLINE BOOL OsInsIsBlOrBlx(UINTPTR addr) in OsInsIsBlOrBlx()
125 BOOL ret; in OsAddrIsValid()
164 WEAK BOOL IsValidFP(UINTPTR fp) in IsValidFP()
246 STATIC INLINE BOOL OsInsIsJump(UINTPTR addr) in OsInsIsJump()
332 BOOL ret; in OsAddrIsValid()
369 BOOL IsValidSP(UINTPTR regSP, UINTPTR start, UINTPTR end) in IsValidSP()
375 BOOL IsValidRa(UINTPTR regRA) in IsValidRa()
383 BOOL FindSuitableStack(UINTPTR regSP, UINTPTR *start, UINTPTR *end) in FindSuitableStack()
387 BOOL found = FALSE; in FindSuitableStack()
[all …]
/kernel/liteos_a/kernel/base/mp/
Dlos_spinlock.c45 BOOL LOS_SpinHeld(const SPIN_LOCK_S *lock) in LOS_SpinHeld()
75 BOOL needSched = OsSchedUnlockResch(); in LOS_SpinTrylock()
91 BOOL needSched = OsSchedUnlockResch(); in LOS_SpinUnlock()
113 BOOL needSched = OsSchedUnlockResch(); in LOS_SpinUnlockRestore()
/kernel/liteos_m/utils/
Dlos_compiler.h327 typedef unsigned int BOOL; typedef
336 #define FALSE ((BOOL)0)
340 #define TRUE ((BOOL)1)
464 static inline BOOL *__libatomic_flag_for_address(void *addr) in __libatomic_flag_for_address()
466 static BOOL flag_table[__LIBATOMIC_N_LOCKS] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in __libatomic_flag_for_address()
482 BOOL *lock_ptr = __libatomic_flag_for_address (addr); in get_lock()
492 BOOL *lock_ptr = __libatomic_flag_for_address (addr); in free_lock()
/kernel/liteos_a/kernel/base/misc/
Dpanic_shellcmd.c41 STATIC BOOL systemExcReset = FALSE;
43 LITE_OS_SEC_TEXT_MINOR BOOL OsSystemExcIsReset(VOID) in OsSystemExcIsReset()
54 STATIC BOOL g_wdStarted = FALSE;
/kernel/liteos_m/components/trace/
Dlos_trace.c51 LITE_OS_SEC_DATA_INIT STATIC volatile BOOL g_enableTrace = FALSE;
70 STATIC_INLINE BOOL OsTraceHwiFilter(UINT32 hwiNum) in OsTraceHwiFilter()
72 BOOL ret = ((hwiNum == NUM_HAL_INTERRUPT_UART) || (hwiNum == OS_TICK_INT_NUM)); in OsTraceHwiFilter()
160 BOOL OsTraceIsEnable(VOID) in OsTraceIsEnable()
174 STATIC BOOL OsTraceCmdIsValid(const TraceClientCmd *msg) in OsTraceCmdIsValid()
343 VOID LOS_TraceRecordDump(BOOL toClient) in LOS_TraceRecordDump()
398 BOOL toClient; in OsShellCmdTraceDump()
/kernel/liteos_a/kernel/extended/trace/
Dlos_trace.c53 LITE_OS_SEC_DATA_INIT STATIC volatile BOOL g_enableTrace = FALSE;
72 STATIC_INLINE BOOL OsTraceHwiFilter(UINT32 hwiNum) in OsTraceHwiFilter()
74 BOOL ret = ((hwiNum == NUM_HAL_INTERRUPT_UART) || (hwiNum == OS_TICK_INT_NUM)); in OsTraceHwiFilter()
169 BOOL OsTraceIsEnable(VOID) in OsTraceIsEnable()
183 STATIC BOOL OsTraceCmdIsValid(const TraceClientCmd *msg) in OsTraceCmdIsValid()
348 VOID LOS_TraceRecordDump(BOOL toClient) in LOS_TraceRecordDump()
403 BOOL toClient; in OsShellCmdTraceDump()
Dlos_trace_pri.h70 typedef VOID (*TRACE_DUMP_HOOK)(BOOL toClient);
124 extern BOOL OsTraceIsEnable(VOID);
147 extern VOID OsTraceRecordDump(BOOL toClient);
/kernel/liteos_a/kernel/extended/power/
Dlos_pm_pri.h40 BOOL OsIsPmMode(VOID);
44 STATIC INLINE BOOL OsIsPmMode(VOID) in OsIsPmMode()
/kernel/liteos_m/kernel/src/
Dlos_sched.c90 BOOL isTimeSlice = FALSE; in OsSchedSetNextExpireTime()
122 BOOL isPmMode = FALSE; in OsSchedUpdateExpireTime()
172 STATIC INLINE VOID OsSchedWakePendTimeTask(LosTaskCB *taskCB, BOOL *needSchedule) in OsSchedWakePendTimeTask()
191 STATIC INLINE BOOL OsSchedScanTimerList(VOID) in OsSchedScanTimerList()
193 BOOL needSchedule = FALSE; in OsSchedScanTimerList()
346 BOOL isPmMode = FALSE; in OsSchedSuspend()
362 BOOL OsSchedResume(LosTaskCB *taskCB) in OsSchedResume()
377 BOOL OsSchedModifyTaskSchedParam(LosTaskCB *taskCB, UINT16 priority) in OsSchedModifyTaskSchedParam()
521 BOOL OsSchedTaskSwitch(VOID) in OsSchedTaskSwitch()
524 BOOL isTaskSwitch = FALSE; in OsSchedTaskSwitch()
/kernel/liteos_a/kernel/base/ipc/
Dlos_rwlock.c43 BOOL LOS_RwlockIsValid(const LosRwlock *rwlock) in LOS_RwlockIsValid()
118 STATIC BOOL OsRwlockPriCompare(LosTaskCB *runTask, LOS_DL_LIST *rwList) in OsRwlockPriCompare()
344 BOOL isReadEmpty = LOS_ListEmpty(readList); in OsRwlockGetMode()
345 BOOL isWriteEmpty = LOS_ListEmpty(writeList); in OsRwlockGetMode()
363 STATIC UINT32 OsRwlockPostOp(LosRwlock *rwlock, BOOL *needSched) in OsRwlockPostOp()
409 UINT32 OsRwlockUnlockUnsafe(LosRwlock *rwlock, BOOL *needSched) in OsRwlockUnlockUnsafe()
444 BOOL needSched = FALSE; in LOS_RwlockUnLock()
/kernel/liteos_a/kernel/extended/perf/
Dperf_pmu_pri.h49 BOOL canDivided;
58 UINT32 (*mapEvent)(UINT32 eventType, BOOL reverse);
65 BOOL enable;
/kernel/liteos_a/kernel/base/vm/
Doom.c90 LITE_OS_SEC_TEXT_MINOR STATIC BOOL OomReclaimPageCache(VOID) in OomReclaimPageCache()
94 BOOL isReclaimMemory = FALSE; in OomReclaimPageCache()
122 LITE_OS_SEC_TEXT_MINOR BOOL OomCheckProcess(VOID) in OomCheckProcess()
126 BOOL isLowMemory = FALSE; in OomCheckProcess()

1234567891011