Home
last modified time | relevance | path

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

123456789

/Linux-v5.4/tools/perf/arch/sparc/annotate/
Dinstructions.c3 static int is_branch_cond(const char *cond) in is_branch_cond() argument
5 if (cond[0] == '\0') in is_branch_cond()
8 if (cond[0] == 'a' && cond[1] == '\0') in is_branch_cond()
11 if (cond[0] == 'c' && in is_branch_cond()
12 (cond[1] == 'c' || cond[1] == 's') && in is_branch_cond()
13 cond[2] == '\0') in is_branch_cond()
16 if (cond[0] == 'e' && in is_branch_cond()
17 (cond[1] == '\0' || in is_branch_cond()
18 (cond[1] == 'q' && cond[2] == '\0'))) in is_branch_cond()
21 if (cond[0] == 'g' && in is_branch_cond()
[all …]
/Linux-v5.4/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.h34 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
42 if (cond) \
52 (cond) ? 0 : -ETIMEDOUT; \
72 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
79 if (cond) \
89 (cond) ? 0 : -ETIMEDOUT; \
93 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
94 readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us)
96 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
97 readx_poll_timeout_atomic(readb, addr, val, cond, delay_us, timeout_us)
[all …]
Dtracepoint.h162 #define __DO_TRACE(tp, proto, args, cond, rcuidle) \ argument
169 if (!(cond)) \
206 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument
213 TP_CONDITION(cond), 1); \
216 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument
231 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
239 TP_CONDITION(cond), 0); \
240 if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
247 PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
299 #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); \
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
69 (cond) ? \
Dprocessor.h49 #define spin_until_cond(cond) \ argument
51 if (unlikely(!(cond))) { \
55 } while (!(cond)); \
/Linux-v5.4/arch/unicore32/include/asm/
Dassembler.h61 .macro notcond, cond, nexti = .+8
62 .ifc \cond, eq
64 .else; .ifc \cond, ne
66 .else; .ifc \cond, ea
68 .else; .ifc \cond, ub
70 .else; .ifc \cond, fs
72 .else; .ifc \cond, ns
74 .else; .ifc \cond, fv
76 .else; .ifc \cond, nv
78 .else; .ifc \cond, ua
[all …]
/Linux-v5.4/arch/parisc/math-emu/
Ddfcmp.c38 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 …]
Dsfcmp.c37 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-v5.4/Documentation/arm/nwfpe/
Dnetwinder-fpe.rst24 <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 …]
Dtodo.rst6 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-v5.4/arch/parisc/kernel/
Dalternative.c31 u32 *from, cond, replacement; in apply_alternatives() local
36 cond = entry->cond; in apply_alternatives()
39 WARN_ON(!cond); in apply_alternatives()
41 if (cond != ALT_COND_ALWAYS && no_alternatives) in apply_alternatives()
45 index, cond, len, from, replacement); in apply_alternatives()
47 if ((cond & ALT_COND_NO_SMP) && (num_cpus != 1)) in apply_alternatives()
49 if ((cond & ALT_COND_NO_DCACHE) && (cache_info.dc_size != 0)) in apply_alternatives()
51 if ((cond & ALT_COND_NO_ICACHE) && (cache_info.ic_size != 0)) in apply_alternatives()
53 if ((cond & ALT_COND_RUN_ON_QEMU) && !running_on_qemu) in apply_alternatives()
61 if ((cond & ALT_COND_NO_IOC_FDC) && in apply_alternatives()
[all …]
/Linux-v5.4/virt/kvm/arm/hyp/
Daarch32.c51 int cond; in kvm_condition_valid32() local
58 cond = kvm_vcpu_get_condition(vcpu); in kvm_condition_valid32()
59 if (cond == 0xE) in kvm_condition_valid32()
64 if (cond < 0) { in kvm_condition_valid32()
75 cond = (it >> 4); in kvm_condition_valid32()
80 if (!((cc_map[cond] >> cpsr_cond) & 1)) in kvm_condition_valid32()
98 unsigned long itbits, cond; in kvm_adjust_itstate() local
105 cond = (cpsr & 0xe000) >> 13; in kvm_adjust_itstate()
111 itbits = cond = 0; in kvm_adjust_itstate()
116 cpsr |= cond << 13; in kvm_adjust_itstate()
/Linux-v5.4/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-v5.4/arch/parisc/include/asm/
Dalternative.h26 u32 cond; /* see ALT_COND_XXX */ member
36 #define ALTERNATIVE(cond, replacement) "!0:" \ argument
38 ".word (0b-4-.), 1, " __stringify(cond) "," \
45 #define ALTERNATIVE(from, to, cond, replacement)\ argument
48 .word cond, replacement ! \
52 #define ALTERNATIVE_CODE(from, num_instructions, cond, new_instr_ptr)\ argument
55 .word cond, (new_instr_ptr - .) ! \
/Linux-v5.4/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-v5.4/security/apparmor/
Dfile.c168 const char **name, struct path_cond *cond, u32 request) in path_name() argument
179 NULL, NULL, cond->uid, info, error)); in path_name()
225 struct path_cond *cond) in aa_compute_fperms() argument
234 if (uid_eq(current_fsuid(), cond->uid)) { in aa_compute_fperms()
267 const char *name, struct path_cond *cond, in aa_str_perms() argument
272 *perms = aa_compute_fperms(dfa, state, cond); in aa_str_perms()
278 u32 request, struct path_cond *cond, int flags, in __aa_path_perm() argument
285 aa_str_perms(profile->file.dfa, profile->file.start, name, cond, perms); in __aa_path_perm()
289 cond->uid, NULL, e); in __aa_path_perm()
295 struct path_cond *cond, int flags, in profile_path_perm() argument
[all …]
/Linux-v5.4/arch/arm/include/asm/
Dassembler.h122 .macro asm_trace_hardirqs_on, cond=al, save=1
131 bl\cond trace_hardirqs_on
183 asm_trace_hardirqs_on cond=eq
373 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER()
376 \instr\()b\t\cond\().w \reg, [\ptr, #\off]
378 \instr\t\cond\().w \reg, [\ptr, #\off]
389 .macro usracc, instr, reg, ptr, inc, cond, rept, abort
392 .ifnc \cond,al
394 itt \cond
396 ittt \cond
[all …]
/Linux-v5.4/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-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dtimer.h52 #define nvkm_nsec(d,n,cond...) ({ \ argument
59 cond \
66 #define nvkm_usec(d,u,cond...) nvkm_nsec((d), (u) * 1000, ##cond) argument
67 #define nvkm_msec(d,m,cond...) nvkm_usec((d), (m) * 1000, ##cond) argument
/Linux-v5.4/drivers/block/
Dnull_blk_zoned.c45 zone->cond = BLK_ZONE_COND_NOT_WP; in null_zone_init()
56 zone->cond = BLK_ZONE_COND_EMPTY; in null_zone_init()
94 switch (zone->cond) { in null_zone_write()
105 if (zone->cond == BLK_ZONE_COND_EMPTY) in null_zone_write()
106 zone->cond = BLK_ZONE_COND_IMP_OPEN; in null_zone_write()
110 zone->cond = BLK_ZONE_COND_FULL; in null_zone_write()
133 zone[i].cond = BLK_ZONE_COND_EMPTY; in null_zone_reset()
141 zone->cond = BLK_ZONE_COND_EMPTY; in null_zone_reset()
/Linux-v5.4/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-v5.4/include/media/
Dv4l2-device.h250 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument
253 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \
275 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument
279 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, cond, o, \
307 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument
312 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \
342 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument
345 __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, cond, o, \
/Linux-v5.4/arch/unicore32/lib/
Dcopy_from_user.S53 .macro ldr1b ptr reg cond=al abort
54 ldrusr \reg, \ptr, 1, \cond, abort=\abort
65 .macro str1b ptr reg cond=al abort
66 .ifnc \cond, al
67 b\cond 201f

123456789