Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 209) sorted by relevance

123456789

/Linux-v4.19/include/linux/
Dmmdebug.h18 #define VM_BUG_ON(cond) BUG_ON(cond) argument
19 #define VM_BUG_ON_PAGE(cond, page) \ argument
21 if (unlikely(cond)) { \
22 dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\
26 #define VM_BUG_ON_VMA(cond, vma) \ argument
28 if (unlikely(cond)) { \
33 #define VM_BUG_ON_MM(cond, mm) \ argument
35 if (unlikely(cond)) { \
40 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument
41 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument
[all …]
Diopoll.h43 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
51 if (cond) \
61 (cond) ? 0 : -ETIMEDOUT; \
81 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
88 if (cond) \
98 (cond) ? 0 : -ETIMEDOUT; \
102 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
103 readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us)
105 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
106 readx_poll_timeout_atomic(readb, addr, val, cond, delay_us, timeout_us)
[all …]
Dtracepoint.h164 #define __DO_TRACE(tp, proto, args, cond, rcuidle) \ argument
171 if (!(cond)) \
208 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument
215 TP_CONDITION(cond), 1); \
218 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument
233 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
241 TP_CONDITION(cond), 0); \
242 if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
249 PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
301 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
[all …]
Dbug.h18 #define MAYBE_BUILD_BUG_ON(cond) (0) argument
21 #define MAYBE_BUILD_BUG_ON(cond) \ argument
23 if (__builtin_constant_p((cond))) \
24 BUILD_BUG_ON(cond); \
26 BUG_ON(cond); \
Dprocessor.h58 #define spin_until_cond(cond) \ argument
60 if (unlikely(!(cond))) { \
64 } while (!(cond)); \
/Linux-v4.19/arch/unicore32/include/asm/
Dassembler.h64 .macro notcond, cond, nexti = .+8
65 .ifc \cond, eq
67 .else; .ifc \cond, ne
69 .else; .ifc \cond, ea
71 .else; .ifc \cond, ub
73 .else; .ifc \cond, fs
75 .else; .ifc \cond, ns
77 .else; .ifc \cond, fv
79 .else; .ifc \cond, nv
81 .else; .ifc \cond, ua
[all …]
/Linux-v4.19/arch/parisc/math-emu/
Ddfcmp.c51 unsigned int cond, unsigned int *status) in dbl_fcmp() argument
73 && (Exception(cond) || Dbl_isone_signaling(leftp1))) in dbl_fcmp()
77 && (Exception(cond) || Dbl_isone_signaling(rightp1))) ) in dbl_fcmp()
80 Set_status_cbit(Unordered(cond)); in dbl_fcmp()
84 Set_status_cbit(Unordered(cond)); in dbl_fcmp()
96 Set_status_cbit(Unordered(cond)); in dbl_fcmp()
111 Set_status_cbit(Equal(cond)); in dbl_fcmp()
115 Set_status_cbit(Lessthan(cond)); in dbl_fcmp()
119 Set_status_cbit(Greaterthan(cond)); in dbl_fcmp()
126 Set_status_cbit(Equal(cond)); in dbl_fcmp()
[all …]
Dsfcmp.c50 unsigned int cond, unsigned int *status) in sgl_fcmp() argument
73 && (Exception(cond) || Sgl_isone_signaling(left))) in sgl_fcmp()
77 && (Exception(cond) || Sgl_isone_signaling(right)) ) ) in sgl_fcmp()
80 Set_status_cbit(Unordered(cond)); in sgl_fcmp()
84 Set_status_cbit(Unordered(cond)); in sgl_fcmp()
96 Set_status_cbit(Unordered(cond)); in sgl_fcmp()
111 Set_status_cbit(Equal(cond)); in sgl_fcmp()
115 Set_status_cbit(Lessthan(cond)); in sgl_fcmp()
119 Set_status_cbit(Greaterthan(cond)); in sgl_fcmp()
126 Set_status_cbit(Equal(cond)); in sgl_fcmp()
[all …]
/Linux-v4.19/Documentation/arm/nwfpe/
DREADME.FPE18 <LDF|STF>{cond}<S|D|E> Fd, Rn
19 <LDF|STF>{cond}<S|D|E> Fd, [Rn, #<expression>]{!}
20 <LDF|STF>{cond}<S|D|E> Fd, [Rn], #<expression>
27 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn]
28 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn, #<expression>]{!}
29 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn], #<expression>
32 <LFM|SFM>{cond}<FD,EA> Fd, <count>, [Rn]{!}
45 FLT{cond}<S,D,E>{P,M,Z} Fn, Rd Convert integer to floating point
46 FIX{cond}{P,M,Z} Rd, Fn Convert floating point to integer
47 WFS{cond} Rd Write floating point status register
[all …]
DTODO4 POW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - power
5 RPW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse power
6 POL{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - polar angle (arctan2)
8 LOG{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base 10
9 LGN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base e
10 EXP{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - exponent
11 SIN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - sine
12 COS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - cosine
13 TAN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - tangent
14 ASN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - arcsine
[all …]
/Linux-v4.19/drivers/staging/rtl8188eu/hal/
Drf_cfg.c18 u32 cond = condition; in check_condition() local
23 cond = condition & 0x000000FF; in check_condition()
24 if ((_board == cond) && cond != 0x00) in check_condition()
27 cond = condition & 0x0000FF00; in check_condition()
28 cond >>= 8; in check_condition()
29 if ((_interface & cond) == 0 && cond != 0x07) in check_condition()
32 cond = condition & 0x00FF0000; in check_condition()
33 cond >>= 16; in check_condition()
34 if ((_platform & cond) == 0 && cond != 0x0F) in check_condition()
/Linux-v4.19/Documentation/
Dfutex-requeue-pi.txt27 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-v4.19/virt/kvm/arm/
Daarch32.c62 int cond; in kvm_condition_valid32() local
69 cond = kvm_vcpu_get_condition(vcpu); in kvm_condition_valid32()
70 if (cond == 0xE) in kvm_condition_valid32()
75 if (cond < 0) { in kvm_condition_valid32()
86 cond = (it >> 4); in kvm_condition_valid32()
91 if (!((cc_map[cond] >> cpsr_cond) & 1)) in kvm_condition_valid32()
109 unsigned long itbits, cond; in kvm_adjust_itstate() local
116 cond = (cpsr & 0xe000) >> 13; in kvm_adjust_itstate()
122 itbits = cond = 0; in kvm_adjust_itstate()
127 cpsr |= cond << 13; in kvm_adjust_itstate()
/Linux-v4.19/security/apparmor/
Dfile.c172 const char **name, struct path_cond *cond, u32 request) in path_name() argument
183 NULL, NULL, cond->uid, info, error)); in path_name()
229 struct path_cond *cond) in aa_compute_fperms() argument
238 if (uid_eq(current_fsuid(), cond->uid)) { in aa_compute_fperms()
271 const char *name, struct path_cond *cond, in aa_str_perms() argument
276 *perms = aa_compute_fperms(dfa, state, cond); in aa_str_perms()
282 u32 request, struct path_cond *cond, int flags, in __aa_path_perm() argument
289 aa_str_perms(profile->file.dfa, profile->file.start, name, cond, perms); in __aa_path_perm()
293 cond->uid, NULL, e); in __aa_path_perm()
299 struct path_cond *cond, int flags, in profile_path_perm() argument
[all …]
/Linux-v4.19/arch/ia64/hp/sim/boot/
Dboot_head.S65 (p6) br.cond.sptk.few static
70 (p6) br.cond.sptk.few stacked
73 (p7) br.cond.sptk.few 1f
79 br.cond.sptk.few rp
81 (p7) br.cond.sptk.few 1f
88 (p7) br.cond.sptk.few 1f
93 br.cond.sptk.few rp
95 (p7) br.cond.sptk.few 1f
113 (p7) br.cond.sptk.few 1f
149 (p7) br.cond.sptk.few 1f
[all …]
/Linux-v4.19/arch/arm/include/asm/
Dassembler.h125 .macro asm_trace_hardirqs_on, cond=al, save=1
134 bl\cond trace_hardirqs_on
186 asm_trace_hardirqs_on cond=eq
374 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER()
377 \instr\cond\()b\()\t\().w \reg, [\ptr, #\off]
379 \instr\cond\()\t\().w \reg, [\ptr, #\off]
390 .macro usracc, instr, reg, ptr, inc, cond, rept, abort
393 .ifnc \cond,al
395 itt \cond
397 ittt \cond
[all …]
Dspinlock.h29 #define WFE(cond) __ALT_SMP_ASM( \ argument
30 "it " cond "\n\t" \
31 "wfe" cond ".n", \
36 #define WFE(cond) __ALT_SMP_ASM("wfe" cond, "nop") argument
/Linux-v4.19/drivers/gpu/drm/nouveau/include/nvif/
Ddevice.h31 #define nvif_nsec(d,n,cond...) ({ \ argument
37 cond \
44 #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond) argument
45 #define nvif_msec(d,m,cond...) nvif_usec((d), (m) * 1000, ##cond) argument
/Linux-v4.19/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dtimer.h40 #define nvkm_nsec(d,n,cond...) ({ \ argument
48 cond \
58 #define nvkm_usec(d,u,cond...) nvkm_nsec((d), (u) * 1000, ##cond) argument
59 #define nvkm_msec(d,m,cond...) nvkm_usec((d), (m) * 1000, ##cond) argument
/Linux-v4.19/include/media/
Dv4l2-device.h251 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument
254 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \
276 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument
280 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, cond, o, \
308 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument
313 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \
343 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument
346 __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, cond, o, \
/Linux-v4.19/drivers/gpu/drm/amd/powerplay/inc/
Dpp_debug.h37 #define PP_ASSERT_WITH_CODE(cond, msg, code) \ argument
39 if (!(cond)) { \
45 #define PP_ASSERT(cond, msg) \ argument
47 if (!(cond)) { \
/Linux-v4.19/arch/unicore32/lib/
Dcopy_from_user.S56 .macro ldr1b ptr reg cond=al abort
57 ldrusr \reg, \ptr, 1, \cond, abort=\abort
68 .macro str1b ptr reg cond=al abort
69 .ifnc \cond, al
70 b\cond 201f
/Linux-v4.19/drivers/block/
Dnull_blk_zoned.c38 zone->cond = BLK_ZONE_COND_EMPTY; in null_zone_init()
108 switch (zone->cond) { in null_zone_write()
121 if (zone->cond == BLK_ZONE_COND_EMPTY) in null_zone_write()
122 zone->cond = BLK_ZONE_COND_IMP_OPEN; in null_zone_write()
126 zone->cond = BLK_ZONE_COND_FULL; in null_zone_write()
141 zone->cond = BLK_ZONE_COND_EMPTY; in null_zone_reset()
/Linux-v4.19/tools/include/linux/
Drefcount.h45 #define REFCOUNT_WARN(cond, str) (void)(cond) argument
48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) argument
/Linux-v4.19/drivers/gpu/host1x/hw/
Dhost1x01_hardware.h59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
61 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt()
115 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
118 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()

123456789