Home
last modified time | relevance | path

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

1234567891011

/linux/tools/perf/arch/sparc/annotate/
A Dinstructions.c8 if (cond[0] == 'a' && cond[1] == '\0') in is_branch_cond()
12 (cond[1] == 'c' || cond[1] == 's') && in is_branch_cond()
18 (cond[1] == 'q' && cond[2] == '\0'))) in is_branch_cond()
23 (cond[1] == 't' && cond[2] == '\0') || in is_branch_cond()
24 (cond[1] == 'e' && cond[2] == '\0') || in is_branch_cond()
25 (cond[1] == 'e' && cond[2] == 'u' && cond[3] == '\0'))) in is_branch_cond()
30 (cond[1] == 't' && cond[2] == '\0') || in is_branch_cond()
31 (cond[1] == 'u' && cond[2] == '\0') || in is_branch_cond()
32 (cond[1] == 'e' && cond[2] == '\0') || in is_branch_cond()
33 (cond[1] == 'e' && cond[2] == 'u' && cond[3] == '\0'))) in is_branch_cond()
[all …]
/linux/include/linux/
A Dmmdebug.h17 #define VM_BUG_ON(cond) BUG_ON(cond) argument
69 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument
70 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument
74 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
75 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument
76 #define VM_BUG_ON_FOLIO(cond, folio) VM_BUG_ON(cond) argument
77 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
78 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument
79 #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
80 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument
[all …]
A Diopoll.h36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
47 if (cond) \
57 (cond) ? 0 : -ETIMEDOUT; \
89 if (cond) \
99 (cond) ? 0 : -ETIMEDOUT; \
143 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
144 readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us)
149 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
150 readx_poll_timeout(readw, addr, val, cond, delay_us, timeout_us)
156 readx_poll_timeout(readl, addr, val, cond, delay_us, timeout_us)
[all …]
A Dtracepoint.h184 #define __DO_TRACE(name, args, cond, rcuidle) \ argument
188 if (!(cond)) \
223 TP_CONDITION(cond), 1); \
226 #define __DECLARE_TRACE_RCU(name, proto, args, cond) argument
250 TP_CONDITION(cond), 0); \
251 if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
258 PARAMS(cond)) \
548 args, cond) \ argument
550 PARAMS(args), PARAMS(cond))
560 PARAMS(args), PARAMS(cond))
[all …]
A 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) ? \
A Drculist.h51 #define __list_check_rcu(dummy, cond, extra...) \ argument
54 RCU_LOCKDEP_WARN(!(cond) && !rcu_read_lock_any_held(), \
58 #define __list_check_srcu(cond) \ argument
60 RCU_LOCKDEP_WARN(!(cond), \
64 #define __list_check_rcu(dummy, cond, extra...) \ argument
67 #define __list_check_srcu(cond) ({ }) argument
390 for (__list_check_rcu(dummy, ## cond, 0), \
408 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument
409 for (__list_check_srcu(cond), \
705 for (__list_check_rcu(dummy, ## cond, 0), \
[all …]
/linux/arch/parisc/math-emu/
A Ddfcmp.c67 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()
113 Set_status_cbit(Equal(cond)); in dbl_fcmp()
120 Set_status_cbit(Lessthan(cond)); in dbl_fcmp()
132 Set_status_cbit(Lessthan(cond)); in dbl_fcmp()
136 Set_status_cbit(Greaterthan(cond)); in dbl_fcmp()
147 Set_status_cbit(Lessthan(cond)); in dbl_fcmp()
[all …]
A Dsfcmp.c37 unsigned int cond, unsigned int *status) in sgl_fcmp() argument
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()
120 Set_status_cbit(Lessthan(cond)); in sgl_fcmp()
124 Set_status_cbit(Greaterthan(cond)); in sgl_fcmp()
[all …]
/linux/Documentation/arm/nwfpe/
A 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]
38 <LFM|SFM>{cond}<FD,EA> Fd, <count>, [Rn]{!}
68 CMF{cond} Fn, Fm Compare floating
70 CNF{cond} Fn, Fm Compare negated floating
80 ADF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - add
107 MVF{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - move
114 RND{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - round
[all …]
A 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
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
17 ACS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - arccosine
[all …]
/linux/drivers/staging/r8188eu/hal/
A DHalHWImg8188E_MAC.c12 u32 cond = condition; in Checkcondition() local
17 cond = condition & 0x000000FF; in Checkcondition()
18 if ((_board == cond) && cond != 0x00) in Checkcondition()
21 cond = condition & 0x0000FF00; in Checkcondition()
22 cond = cond >> 8; in Checkcondition()
23 if ((_interface & cond) == 0 && cond != 0x07) in Checkcondition()
26 cond = condition & 0x00FF0000; in Checkcondition()
27 cond = cond >> 16; in Checkcondition()
28 if ((_platform & cond) == 0 && cond != 0x0F) in Checkcondition()
A DHalHWImg8188E_RF.c11 u32 cond = Condition; in CheckCondition() local
16 cond = Condition & 0x0000FF00; in CheckCondition()
17 cond = cond >> 8; in CheckCondition()
18 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition()
21 cond = Condition & 0x00FF0000; in CheckCondition()
22 cond = cond >> 16; in CheckCondition()
23 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
A DHalHWImg8188E_BB.c18 u32 cond = condition; in CheckCondition() local
23 cond = condition & 0x0000FF00; in CheckCondition()
24 cond = cond >> 8; in CheckCondition()
25 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition()
28 cond = condition & 0x00FF0000; in CheckCondition()
29 cond = cond >> 16; in CheckCondition()
30 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
/linux/arch/arm64/kvm/hyp/
A 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/Documentation/locking/
A Dfutex-requeue-pi.rst29 lock(cond->__data.__lock);
32 unlock(cond->__data.__lock);
34 lock(cond->__data.__lock);
36 unlock(cond->__data.__lock);
40 pthread_cond_broadcast(cond)
42 lock(cond->__data.__lock);
44 futex_requeue(cond->data.__futex, cond->mutex);
63 lock(cond->__data.__lock);
68 lock(cond->__data.__lock);
76 lock(cond->__data.__lock);
[all …]
/linux/arch/x86/include/asm/
A Dparavirt_types.h464 alt, cond) \
495 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument
513 #define PVOP_ALT_CALL0(rettype, op, alt, cond) \ argument
514 __PVOP_ALT_CALL(rettype, op, alt, cond)
515 #define PVOP_ALT_VCALL0(op, alt, cond) \ argument
516 __PVOP_ALT_VCALL(op, alt, cond)
523 __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond)
524 #define PVOP_ALT_VCALLEE0(op, alt, cond) \ argument
525 __PVOP_ALT_VCALLEESAVE(op, alt, cond)
532 #define PVOP_ALT_VCALL1(op, arg1, alt, cond) \ argument
[all …]
/linux/drivers/block/null_blk/
A Dzoned.c129 zone->cond = BLK_ZONE_COND_NOT_WP; in null_init_zoned_dev()
146 zone->cond = BLK_ZONE_COND_EMPTY; in null_init_zoned_dev()
217 blkz.cond = zone->cond; in null_report_zones()
254 switch (zone->cond) { in __null_close_zone()
271 zone->cond = BLK_ZONE_COND_EMPTY; in __null_close_zone()
351 switch (zone->cond) { in null_check_zone_resources()
445 zone->cond = BLK_ZONE_COND_FULL; in null_zone_write()
467 switch (zone->cond) { in null_open_zone()
525 switch (zone->cond) { in null_finish_zone()
551 zone->cond = BLK_ZONE_COND_FULL; in null_finish_zone()
[all …]
/linux/security/apparmor/
A Dfile.c216 struct path_cond *cond) in aa_compute_fperms() argument
280 cond->uid, NULL, e); in __aa_path_perm()
317 struct path_cond *cond) in aa_path_perm() argument
331 cond, flags, &perms)); in aa_path_perm()
361 struct path_cond *cond) in profile_path_link() argument
384 cond, &lperms); in profile_path_link()
436 NULL, cond->uid, info, error); in profile_path_link()
462 struct path_cond cond = { in aa_path_link() local
479 buffer2, &cond)); in aa_path_link()
513 struct path_cond cond = { in __file_path_perm() local
[all …]
/linux/arch/arm/include/asm/
A Dassembler.h131 bl\cond trace_hardirqs_on
183 asm_trace_hardirqs_on cond=eq
406 \instr\t\cond\().w \reg, [\ptr, #\off]
420 .ifnc \cond,al
422 itt \cond
424 ittt \cond
436 add\cond \ptr, #\rept * \inc
445 \instr\()b\t\cond \reg, [\ptr], #\inc
447 \instr\t\cond \reg, [\ptr], #\inc
583 .macro adr_l, dst:req, sym:req, cond
[all …]
A Dvfpmacros.h12 .macro VFPFMRX, rd, sysreg, cond
13 vmrs\cond \rd, \sysreg
16 .macro VFPFMXR, sysreg, rd, cond
17 vmsr\cond \sysreg, \rd
21 .macro VFPFMRX, rd, sysreg, cond
22 MRC\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMRX \rd, \sysreg
25 .macro VFPFMXR, sysreg, rd, cond
26 MCR\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMXR \sysreg, \rd
/linux/arch/parisc/include/asm/
A 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/arch/parisc/kernel/
A Dalternative.c47 u32 *from, cond, replacement; in apply_alternatives() local
52 cond = entry->cond; in apply_alternatives()
55 WARN_ON(!cond); in apply_alternatives()
57 if ((cond & ALT_COND_ALWAYS) == 0 && no_alternatives) in apply_alternatives()
61 index, cond, len, from, replacement); in apply_alternatives()
64 if ((cond & cond_check) == 0) in apply_alternatives()
82 index, cond, len, replacement, from, from); in apply_alternatives()
/linux/drivers/gpu/drm/nouveau/include/nvif/
A Dtimer.h22 #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/tools/bootconfig/include/linux/
A Dbootconfig.h18 #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/drivers/gpu/drm/nouveau/include/nvkm/subdev/
A Dtimer.h52 #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

Completed in 117 milliseconds

1234567891011