Home
last modified time | relevance | path

Searched defs:cond (Results 1 – 25 of 194) sorted by relevance

12345678

/kernel/linux/linux-5.10/include/linux/
Dmmdebug.h18 #define VM_BUG_ON(cond) BUG_ON(cond) argument
19 #define VM_BUG_ON_PAGE(cond, page) \ argument
26 #define VM_BUG_ON_VMA(cond, vma) \ argument
33 #define VM_BUG_ON_MM(cond, mm) \ argument
40 #define VM_WARN_ON_ONCE_PAGE(cond, page) ({ \ argument
52 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument
53 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument
54 #define VM_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format) argument
55 #define VM_WARN(cond, format...) (void)WARN(cond, format) argument
57 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
[all …]
Diopoll.h36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
79 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \ argument
120 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
140 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
143 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
146 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
149 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
152 #define readw_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
155 #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
158 #define readl_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
[all …]
Drculist.h60 #define __list_check_rcu(dummy, cond, extra...) \ argument
67 #define __list_check_srcu(cond) \ argument
73 #define __list_check_rcu(dummy, cond, extra...) \ argument
76 #define __list_check_srcu(cond) ({ }) argument
390 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument
409 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument
705 #define hlist_for_each_entry_rcu(pos, head, member, cond...) \ argument
726 #define hlist_for_each_entry_srcu(pos, head, member, cond) \ argument
Dtracepoint.h179 #define __DO_TRACE(name, proto, args, cond, rcuidle) \ argument
219 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument
229 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument
244 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
345 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
428 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
554 args, cond) \ argument
563 #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ argument
567 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
Dcompiler.h56 #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) argument
58 #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) argument
60 #define __trace_if_value(cond) ({ \ argument
Dbug.h18 #define MAYBE_BUILD_BUG_ON(cond) (0) argument
21 #define MAYBE_BUILD_BUG_ON(cond) \ argument
/kernel/liteos_a/compat/posix/src/
Dpthread_cond.c45 STATIC INLINE INT32 CondInitCheck(const pthread_cond_t *cond) in CondInitCheck()
97 int pthread_cond_destroy(pthread_cond_t *cond) in pthread_cond_destroy()
119 int pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) in pthread_cond_init()
144 STATIC VOID PthreadCondValueModify(pthread_cond_t *cond) in PthreadCondValueModify()
158 int pthread_cond_broadcast(pthread_cond_t *cond) in pthread_cond_broadcast()
181 int pthread_cond_signal(pthread_cond_t *cond) in pthread_cond_signal()
203 STATIC INT32 PthreadCondWaitSub(pthread_cond_t *cond, INT32 value, UINT32 ticks) in PthreadCondWaitSub()
219 STATIC VOID PthreadCountSub(pthread_cond_t *cond) in PthreadCountSub()
228 STATIC INT32 ProcessReturnVal(pthread_cond_t *cond, INT32 val) in ProcessReturnVal()
249 int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in pthread_cond_timedwait()
[all …]
/kernel/liteos_m/kal/posix/src/
Dpthread_cond.c127 STATIC INLINE INT32 CondInitCheck(const pthread_cond_t *cond) in CondInitCheck()
137 int pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) in pthread_cond_init()
169 int pthread_cond_destroy(pthread_cond_t *cond) in pthread_cond_destroy()
192 STATIC VOID PthreadCountSub(pthread_cond_t *cond) in PthreadCountSub()
202 int pthread_cond_broadcast(pthread_cond_t *cond) in pthread_cond_broadcast()
222 int pthread_cond_signal(pthread_cond_t *cond) in pthread_cond_signal()
244 STATIC INT32 ProcessReturnVal(pthread_cond_t *cond, INT32 val) in ProcessReturnVal()
266 int pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, in pthread_cond_timedwait()
318 int pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) in pthread_cond_wait()
/kernel/linux/linux-5.10/tools/perf/arch/sparc/annotate/
Dinstructions.c3 static int is_branch_cond(const char *cond) in is_branch_cond()
63 static int is_branch_reg_cond(const char *cond) in is_branch_reg_cond()
88 static int is_branch_float_cond(const char *cond) in is_branch_float_cond()
140 const char *cond = name + 1; in sparc__associate_instruction_ops() local
/kernel/linux/linux-5.10/arch/parisc/include/asm/
Dalternative.h26 u32 cond; /* see ALT_COND_XXX */ member
36 #define ALTERNATIVE(cond, replacement) "!0:" \ argument
45 #define ALTERNATIVE(from, to, cond, replacement)\ argument
52 #define ALTERNATIVE_CODE(from, num_instructions, cond, new_instr_ptr)\ argument
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
Dtimer.h22 #define nvif_nsec(d,n,cond...) ({ \ argument
33 #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond) argument
34 #define nvif_msec(d,m,cond...) nvif_usec((d), (m) * 1000, ##cond) argument
/kernel/linux/linux-5.10/security/apparmor/
Dfile.c157 const char **name, struct path_cond *cond, u32 request) in path_name()
214 struct path_cond *cond) in aa_compute_fperms()
256 const char *name, struct path_cond *cond, in aa_str_perms()
267 u32 request, struct path_cond *cond, int flags, in __aa_path_perm()
284 struct path_cond *cond, int flags, in profile_path_perm()
315 struct path_cond *cond) in aa_path_perm()
359 struct path_cond *cond) in profile_path_link()
460 struct path_cond cond = { in aa_path_link() local
511 struct path_cond cond = { in __file_path_perm() local
/kernel/linux/linux-5.10/tools/testing/radix-tree/linux/
Drcupdate.h8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) argument
9 #define rcu_dereference_check(p, cond) rcu_dereference(p) argument
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/
Daarch32.c51 int cond; in kvm_condition_valid32() local
98 unsigned long itbits, cond; in kvm_adjust_itstate() local
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/inc/
Dpp_debug.h37 #define PP_ASSERT_WITH_CODE(cond, msg, code) \ argument
45 #define PP_ASSERT(cond, msg) \ argument
/kernel/linux/linux-5.10/arch/arm/lib/
Dmemcpy.S29 .macro ldr1b ptr reg cond=al abort
41 .macro str1b ptr reg cond=al abort
Dcopy_to_user.S48 .macro ldr1b ptr reg cond=al abort
89 .macro str1b ptr reg cond=al abort
Dcopy_from_user.S76 .macro ldr1b ptr reg cond=al abort
90 .macro str1b ptr reg cond=al abort
/kernel/linux/linux-5.10/fs/unicode/
Dutf8-selftest.c25 #define _test(cond, func, line, fmt, ...) do { \ argument
35 #define test_f(cond, fmt, ...) _test(cond, __func__, __LINE__, fmt, ##__VA_ARGS__) argument
36 #define test(cond) _test(cond, __func__, __LINE__, "") argument
/kernel/linux/linux-5.10/include/media/
Dv4l2-device.h292 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument
317 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument
349 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument
384 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dtimer.h52 #define nvkm_nsec(d,n,cond...) ({ \ argument
66 #define nvkm_usec(d, u, cond...) nvkm_nsec((d), (u) * 1000ULL, ##cond) argument
67 #define nvkm_msec(d, m, cond...) nvkm_usec((d), (m) * 1000ULL, ##cond) argument
/kernel/linux/linux-5.10/tools/include/linux/
Drefcount.h45 #define REFCOUNT_WARN(cond, str) (void)(cond) argument
48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) argument
/kernel/linux/linux-5.10/tools/testing/scatterlist/
Dmain.c29 static void fail(struct test *test, struct sg_table *st, const char *cond) in fail()
47 #define VALIDATE(cond, st, test) \ argument
/kernel/linux/linux-5.10/arch/powerpc/net/
Dbpf_jit.h38 #define PPC_BCC_SHORT(cond, dest) \ argument
95 #define PPC_BCC(cond, dest) do { \ argument
/kernel/linux/linux-5.10/arch/arm/boot/compressed/
Ddecompress.c16 # define Assert(cond,msg) {if(!(cond)) error(msg);} argument
23 # define Assert(cond,msg) argument

12345678