| /linux/arch/parisc/math-emu/ |
| H A D | dfcmp.c | 38 unsigned int cond, unsigned int *status) in dbl_fcmp() argument 60 && (Exception(cond) || Dbl_isone_signaling(leftp1))) in dbl_fcmp() 64 && (Exception(cond) || Dbl_isone_signaling(rightp1))) ) in dbl_fcmp() 67 Set_status_cbit(Unordered(cond)); in dbl_fcmp() 71 Set_status_cbit(Unordered(cond)); in dbl_fcmp() 83 Set_status_cbit(Unordered(cond)); in dbl_fcmp() 98 Set_status_cbit(Equal(cond)); in dbl_fcmp() 102 Set_status_cbit(Lessthan(cond)); in dbl_fcmp() 106 Set_status_cbit(Greaterthan(cond)); in dbl_fcmp() 113 Set_status_cbit(Equal(cond)); in dbl_fcmp() [all …]
|
| H A D | sfcmp.c | 37 unsigned int cond, unsigned int *status) in sgl_fcmp() argument 60 && (Exception(cond) || Sgl_isone_signaling(left))) in sgl_fcmp() 64 && (Exception(cond) || Sgl_isone_signaling(right)) ) ) in sgl_fcmp() 67 Set_status_cbit(Unordered(cond)); in sgl_fcmp() 71 Set_status_cbit(Unordered(cond)); in sgl_fcmp() 83 Set_status_cbit(Unordered(cond)); in sgl_fcmp() 98 Set_status_cbit(Equal(cond)); in sgl_fcmp() 102 Set_status_cbit(Lessthan(cond)); in sgl_fcmp() 106 Set_status_cbit(Greaterthan(cond)); in sgl_fcmp() 113 Set_status_cbit(Equal(cond)); in sgl_fcmp() [all …]
|
| /linux/Documentation/arch/arm/nwfpe/ |
| H A D | netwinder-fpe.rst | 24 <LDF|STF>{cond}<S|D|E> Fd, Rn 25 <LDF|STF>{cond}<S|D|E> Fd, [Rn, #<expression>]{!} 26 <LDF|STF>{cond}<S|D|E> Fd, [Rn], #<expression> 33 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn] 34 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn, #<expression>]{!} 35 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn], #<expression> 38 <LFM|SFM>{cond}<FD,EA> Fd, <count>, [Rn]{!} 51 FLT{cond}<S,D,E>{P,M,Z} Fn, Rd Convert integer to floating point 52 FIX{cond}{P,M,Z} Rd, Fn Convert floating point to integer 53 WFS{cond} Rd Write floating point status register [all …]
|
| H A D | todo.rst | 6 POW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - power 7 RPW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse power 8 POL{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - polar angle (arctan2) 10 LOG{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base 10 11 LGN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base e 12 EXP{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - exponent 13 SIN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - sine 14 COS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - cosine 15 TAN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - tangent 16 ASN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - arcsine [all …]
|
| /linux/tools/perf/util/ |
| H A D | mutex.c | 85 static void __cond_init(struct cond *cnd, bool pshared) in __cond_init() 93 CHECK_ERR(pthread_cond_init(&cnd->cond, &attr)); in __cond_init() 97 void cond_init(struct cond *cnd) in cond_init() 102 void cond_init_pshared(struct cond *cnd) in cond_init_pshared() 107 void cond_destroy(struct cond *cnd) in cond_destroy() 109 CHECK_ERR(pthread_cond_destroy(&cnd->cond)); in cond_destroy() 112 void cond_wait(struct cond *cnd, struct mutex *mtx) in cond_wait() 114 CHECK_ERR(pthread_cond_wait(&cnd->cond, &mtx->lock)); in cond_wait() 117 void cond_signal(struct cond *cnd) in cond_signal() 119 CHECK_ERR(pthread_cond_signal(&cnd->cond)); in cond_signal() [all …]
|
| H A D | mutex.h | 96 struct cond { struct 97 pthread_cond_t cond; member 117 void cond_init(struct cond *cnd); 122 void cond_init_pshared(struct cond *cnd); 123 void cond_destroy(struct cond *cnd); 125 void cond_wait(struct cond *cnd, struct mutex *mtx) EXCLUSIVE_LOCKS_REQUIRED(mtx); 126 void cond_signal(struct cond *cnd); 127 void cond_broadcast(struct cond *cnd);
|
| /linux/arch/arm/include/asm/ |
| H A D | assembler.h | 137 .macro asm_trace_hardirqs_on, cond=al, save=1 146 bl\cond trace_hardirqs_on 198 asm_trace_hardirqs_on cond=eq 470 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER() 473 \instr\()b\t\cond\().w \reg, [\ptr, #\off] 475 \instr\t\cond\().w \reg, [\ptr, #\off] 486 .macro usracc, instr, reg, ptr, inc, cond, rept, abort 489 .ifnc \cond,al 491 itt \cond 493 ittt \cond [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | paravirt_types.h | 407 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \ argument 414 alt, cond) \ 426 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \ argument 427 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op, alt, cond, \ 435 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \ argument 436 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op.func, alt, cond, \ 444 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument 445 (void)____PVOP_ALT_CALL(, op, alt, cond, \ 453 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \ argument 454 (void)____PVOP_ALT_CALL(, op.func, alt, cond, \ [all …]
|
| /linux/Documentation/locking/ |
| H A D | futex-requeue-pi.rst | 27 pthread_cond_wait(cond, mutex) 29 lock(cond->__data.__lock); 32 unlock(cond->__data.__lock); 33 futex_wait(cond->__data.__futex); 34 lock(cond->__data.__lock); 36 unlock(cond->__data.__lock); 40 pthread_cond_broadcast(cond) 42 lock(cond->__data.__lock); 43 unlock(cond->__data.__lock); 44 futex_requeue(cond->data.__futex, cond->mutex); [all …]
|
| /linux/arch/parisc/include/asm/ |
| H A D | alternative.h | 26 u16 cond; /* see ALT_COND_XXX */ member 36 #define ALTERNATIVE(cond, replacement) "!0:" \ argument 40 ".hword 1, " __stringify(cond) " !" \ 47 #define ALTERNATIVE(from, to, cond, replacement)\ argument 51 .hword (to - from)/4, cond ! \ 56 #define ALTERNATIVE_CODE(from, num_instructions, cond, new_instr_ptr)\ argument 60 .hword -num_instructions, cond ! \
|
| /linux/security/apparmor/ |
| H A D | file.c | 151 const char **name, struct path_cond *cond, u32 request) in path_name() argument 163 NULL, NULL, cond->uid, info, error)); in path_name() 183 aa_state_t state, struct path_cond *cond) in aa_lookup_condperms() argument 191 if (uid_eq(subj_uid, cond->uid)) in aa_lookup_condperms() 210 const char *name, struct path_cond *cond, in aa_str_perms() argument 216 cond)); in aa_str_perms() 223 u32 request, struct path_cond *cond, int flags, in __aa_path_perm() argument 233 name, cond, perms); in __aa_path_perm() 238 cond->uid, NULL, e); in __aa_path_perm() 245 struct path_cond *cond, int flags, in profile_path_perm() argument [all …]
|
| /linux/arch/parisc/kernel/ |
| H A D | alternative.c | 49 u16 cond; in apply_alternatives() local 54 cond = entry->cond; in apply_alternatives() 57 WARN_ON(!cond); in apply_alternatives() 59 if ((cond & ALT_COND_ALWAYS) == 0 && no_alternatives) in apply_alternatives() 63 index, cond, len, from, replacement); in apply_alternatives() 66 if ((cond & cond_check) == 0) in apply_alternatives() 84 index, cond, len, replacement, from, from); in apply_alternatives()
|
| /linux/drivers/gpu/drm/nouveau/include/nvif/ |
| H A D | timer.h | 22 #define nvif_nsec(d,n,cond...) ({ \ argument 28 cond \ 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
|
| /linux/rust/kernel/ |
| H A D | build_assert.rs | 76 ($cond:expr $(,)?) => {{ 77 if !$cond { 78 $crate::build_assert::build_error(concat!("assertion failed: ", stringify!($cond))); 81 ($cond:expr, $msg:expr) => {{ 82 if !$cond {
|
| H A D | bug.rs | 117 ($cond:expr) => {{ 118 let cond = $cond; localVariable 119 if cond { 124 cond
|
| /linux/arch/loongarch/net/ |
| H A D | bpf_jit.h | 181 static inline int invert_jmp_cond(u8 cond) in invert_jmp_cond() argument 183 switch (cond) { in invert_jmp_cond() 209 static inline void cond_jmp_offset(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in cond_jmp_offset() argument 212 switch (cond) { in cond_jmp_offset() 257 static inline void cond_jmp_offs26(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in cond_jmp_offs26() argument 260 cond = invert_jmp_cond(cond); in cond_jmp_offs26() 261 cond_jmp_offset(ctx, cond, rj, rd, 2); in cond_jmp_offs26() 270 static inline int emit_cond_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in emit_cond_jmp() argument 285 cond_jmp_offs26(ctx, cond, rj, rd, jmp_offset); in emit_cond_jmp() 302 static inline int emit_tailcall_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in emit_tailcall_jmp() argument [all …]
|
| /linux/tools/bootconfig/include/linux/ |
| H A D | bootconfig.h | 18 #define WARN_ON(cond) \ argument 19 ((cond) ? printf("Internal warning(%s:%d, %s): %s\n", \ 20 __FILE__, __LINE__, __func__, #cond) : 0) 22 #define unlikely(cond) (cond) argument
|
| /linux/include/net/ |
| H A D | net_debug.h | 131 #define netif_cond_dbg(priv, type, netdev, cond, level, fmt, args...) \ argument 133 if (cond) \ 152 #define DEBUG_NET_WARN_ON_ONCE(cond) ((void)WARN_ON_ONCE(cond)) argument 153 #define DEBUG_NET_WARN_ONCE(cond, format...) ((void)WARN_ONCE(cond, format)) argument 155 #define DEBUG_NET_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument 156 #define DEBUG_NET_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) argument
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_device.h | 520 #define gpu_read_poll_timeout(dev, reg, val, cond, delay_us, timeout_us) \ argument 521 read_poll_timeout(gpu_read, val, cond, delay_us, timeout_us, false, \ 524 #define gpu_read_poll_timeout_atomic(dev, reg, val, cond, delay_us, \ argument 526 read_poll_timeout_atomic(gpu_read, val, cond, delay_us, timeout_us, \ 529 #define gpu_read64_poll_timeout(dev, reg, val, cond, delay_us, timeout_us) \ argument 530 read_poll_timeout(gpu_read64, val, cond, delay_us, timeout_us, false, \ 533 #define gpu_read64_poll_timeout_atomic(dev, reg, val, cond, delay_us, \ argument 535 read_poll_timeout_atomic(gpu_read64, val, cond, delay_us, timeout_us, \ 538 #define gpu_read_relaxed_poll_timeout_atomic(dev, reg, val, cond, delay_us, \ argument 540 read_poll_timeout_atomic(gpu_read_relaxed, val, cond, delay_us, \ [all …]
|
| /linux/tools/testing/selftests/nolibc/ |
| H A D | nolibc-test.c | 186 #define EXPECT_ZR(cond, expr) \ argument 187 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_zr(expr, llen); } while (0) 200 #define EXPECT_NZ(cond, expr) \ argument 201 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_nz(expr, llen); } while (0) 214 #define EXPECT_EQ(cond, expr, val) \ argument 215 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_eq(expr, llen, val); } while (0) 228 #define EXPECT_NE(cond, expr, val) \ argument 229 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_ne(expr, llen, val); } while (0) 242 #define EXPECT_GE(cond, expr, val) \ argument 243 do { if (!(cond)) result(llen, SKIPPED); else ret += expect_ge(expr, llen, val); } while (0) [all …]
|
| /linux/include/linux/ |
| H A D | compiler.h | 55 #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) argument 57 #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) argument 59 #define __trace_if_value(cond) ({ \ argument 68 (cond) ? \
|
| H A D | tracepoint.h | 278 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument 283 if (cond) { \ 292 if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \ 421 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument 484 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument 486 cpu_online(raw_smp_processor_id()) && (PARAMS(cond)), \ 498 #define DECLARE_TRACE_EVENT_CONDITION(name, proto, args, cond) \ argument 500 cpu_online(raw_smp_processor_id()) && (PARAMS(cond)), \ 627 args, cond) \ argument 629 PARAMS(args), PARAMS(cond)) [all …]
|
| /linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
| H A D | timer.h | 52 #define nvkm_nsec(d,n,cond...) ({ \ argument 59 cond \ 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
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/inc/ |
| H A D | pp_debug.h | 37 #define PP_ASSERT_WITH_CODE(cond, msg, code) \ argument 39 if (!(cond)) { \ 45 #define PP_ASSERT(cond, msg) \ argument 47 if (!(cond)) { \
|
| /linux/sound/soc/intel/avs/ |
| H A D | registers.h | 171 #define snd_hdac_adsp_readb_poll(adev, reg, val, cond, delay_us, timeout_us) \ argument 172 readb_poll_timeout((adev)->dsp_ba + (reg), val, cond, \ 174 #define snd_hdac_adsp_readw_poll(adev, reg, val, cond, delay_us, timeout_us) \ argument 175 readw_poll_timeout((adev)->dsp_ba + (reg), val, cond, \ 177 #define snd_hdac_adsp_readl_poll(adev, reg, val, cond, delay_us, timeout_us) \ argument 178 readl_poll_timeout((adev)->dsp_ba + (reg), val, cond, \ 180 #define snd_hdac_adsp_readq_poll(adev, reg, val, cond, delay_us, timeout_us) \ argument 181 readq_poll_timeout((adev)->dsp_ba + (reg), val, cond, \
|