Home
last modified time | relevance | path

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

12345678910>>...19

/openbmc/linux/tools/perf/arch/sparc/annotate/
H 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 …]
/openbmc/linux/include/linux/
H A Dmmdebug.h19 #define VM_BUG_ON(cond) BUG_ON(cond) argument
91 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument
92 #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) argument
96 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
97 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument
98 #define VM_BUG_ON_FOLIO(cond, folio) VM_BUG_ON(cond) argument
99 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
100 #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) argument
101 #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
102 #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) argument
[all …]
H A Diopoll.h36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
47 if (cond) \
58 (cond) ? 0 : -ETIMEDOUT; \
98 if (cond) \
113 (cond) ? 0 : -ETIMEDOUT; \
157 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
158 readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us)
163 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
164 readx_poll_timeout(readw, addr, val, cond, delay_us, timeout_us)
170 readx_poll_timeout(readl, addr, val, cond, delay_us, timeout_us)
[all …]
/openbmc/u-boot/include/linux/
H A Diopoll.h27 #define readx_poll_timeout(op, addr, val, cond, timeout_us) \ argument
32 if (cond) \
39 (cond) ? 0 : -ETIMEDOUT; \
43 #define readb_poll_timeout(addr, val, cond, timeout_us) \ argument
44 readx_poll_timeout(readb, addr, val, cond, timeout_us)
46 #define readw_poll_timeout(addr, val, cond, timeout_us) \ argument
47 readx_poll_timeout(readw, addr, val, cond, timeout_us)
49 #define readl_poll_timeout(addr, val, cond, timeout_us) \ argument
50 readx_poll_timeout(readl, addr, val, cond, timeout_us)
52 #define readq_poll_timeout(addr, val, cond, timeout_us) \ argument
[all …]
/openbmc/linux/arch/parisc/math-emu/
H 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 …]
H 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 …]
/openbmc/u-boot/arch/arm/include/asm/
H A Dunified.h62 .macro it, cond
64 .macro itt, cond
66 .macro ite, cond
68 .macro ittt, cond
70 .macro itte, cond
72 .macro itet, cond
74 .macro itee, cond
76 .macro itttt, cond
78 .macro ittte, cond
80 .macro ittet, cond
[all …]
/openbmc/linux/Documentation/arch/arm/nwfpe/
H 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 …]
/openbmc/qemu/util/
H A Dqemu-thread-posix.c177 err = pthread_cond_init(&cond->cond, &attr); in qemu_cond_init()
185 cond->initialized = true; in qemu_cond_init()
192 assert(cond->initialized); in qemu_cond_destroy()
193 cond->initialized = false; in qemu_cond_destroy()
194 err = pthread_cond_destroy(&cond->cond); in qemu_cond_destroy()
203 assert(cond->initialized); in qemu_cond_signal()
204 err = pthread_cond_signal(&cond->cond); in qemu_cond_signal()
213 assert(cond->initialized); in qemu_cond_broadcast()
214 err = pthread_cond_broadcast(&cond->cond); in qemu_cond_broadcast()
225 err = pthread_cond_wait(&cond->cond, &mutex->lock); in qemu_cond_wait_impl()
[all …]
H A Dqemu-thread-win32.c140 void qemu_cond_init(QemuCond *cond) in qemu_cond_init() argument
142 memset(cond, 0, sizeof(*cond)); in qemu_cond_init()
144 cond->initialized = true; in qemu_cond_init()
147 void qemu_cond_destroy(QemuCond *cond) in qemu_cond_destroy() argument
149 assert(cond->initialized); in qemu_cond_destroy()
150 cond->initialized = false; in qemu_cond_destroy()
154 void qemu_cond_signal(QemuCond *cond) in qemu_cond_signal() argument
156 assert(cond->initialized); in qemu_cond_signal()
162 assert(cond->initialized); in qemu_cond_broadcast()
168 assert(cond->initialized); in qemu_cond_wait_impl()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/
H 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()
/openbmc/linux/drivers/block/null_blk/
H A Dzoned.c132 zone->cond = BLK_ZONE_COND_NOT_WP; in null_init_zoned_dev()
149 zone->cond = BLK_ZONE_COND_EMPTY; in null_init_zoned_dev()
214 blkz.cond = zone->cond; in null_report_zones()
251 switch (zone->cond) { in __null_close_zone()
348 switch (zone->cond) { in null_check_zone_resources()
466 switch (zone->cond) { in null_open_zone()
524 switch (zone->cond) { in null_finish_zone()
550 zone->cond = BLK_ZONE_COND_FULL; in null_finish_zone()
567 switch (zone->cond) { in null_reset_zone()
711 if (zone->cond == cond) { in null_set_zone_cond()
[all …]
/openbmc/linux/tools/perf/util/
H A Dmutex.c87 CHECK_ERR(pthread_cond_init(&cnd->cond, &attr)); in __cond_init()
91 void cond_init(struct cond *cnd) in cond_init()
96 void cond_init_pshared(struct cond *cnd) in cond_init_pshared()
101 void cond_destroy(struct cond *cnd) in cond_destroy()
103 CHECK_ERR(pthread_cond_destroy(&cnd->cond)); in cond_destroy()
106 void cond_wait(struct cond *cnd, struct mutex *mtx) in cond_wait()
108 CHECK_ERR(pthread_cond_wait(&cnd->cond, &mtx->lock)); in cond_wait()
111 void cond_signal(struct cond *cnd) in cond_signal()
113 CHECK_ERR(pthread_cond_signal(&cnd->cond)); in cond_signal()
116 void cond_broadcast(struct cond *cnd) in cond_broadcast()
[all …]
H A Dmutex.h77 struct cond { struct
78 pthread_cond_t cond; argument
96 void cond_init(struct cond *cnd);
101 void cond_init_pshared(struct cond *cnd);
102 void cond_destroy(struct cond *cnd);
104 void cond_wait(struct cond *cnd, struct mutex *mtx) EXCLUSIVE_LOCKS_REQUIRED(mtx);
105 void cond_signal(struct cond *cnd);
106 void cond_broadcast(struct cond *cnd);
/openbmc/linux/arch/arm/include/asm/
H A Dassembler.h145 bl\cond trace_hardirqs_on
197 asm_trace_hardirqs_on cond=eq
488 .ifnc \cond,al
490 itt \cond
492 ittt \cond
504 add\cond \ptr, #\rept * \inc
637 ldr\cond \dst, =\imm
639 movw\cond \dst, #:lower16:\imm
640 movt\cond \dst, #:upper16:\imm
682 mov_l \tmp, \sym, \cond
[all …]
/openbmc/linux/arch/parisc/include/asm/
H A Dalternative.h26 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 ! \
/openbmc/u-boot/include/test/
H A Dut.h25 const char *func, const char *cond);
38 const char *func, const char *cond, const char *fmt, ...)
43 #define ut_assert(cond) \ argument
44 if (!(cond)) { \
45 ut_fail(uts, __FILE__, __LINE__, __func__, #cond); \
50 #define ut_assertf(cond, fmt, args...) \ argument
51 if (!(cond)) { \
52 ut_failf(uts, __FILE__, __LINE__, __func__, #cond, \
149 #define ut_assertok(cond) ut_asserteq(0, cond) argument
/openbmc/qemu/include/block/
H A Daio-wait.h81 #define AIO_WAIT_WHILE_INTERNAL(ctx, cond, unlock) ({ \ argument
90 while ((cond)) { \
97 while ((cond)) { \
111 #define AIO_WAIT_WHILE(ctx, cond) \ argument
112 AIO_WAIT_WHILE_INTERNAL(ctx, cond, true)
114 #define AIO_WAIT_WHILE_UNLOCKED(ctx, cond) \ argument
115 AIO_WAIT_WHILE_INTERNAL(ctx, cond, false)
/openbmc/linux/arch/x86/include/asm/
H A Dparavirt_types.h445 alt, cond) \
475 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument
476 (void)____PVOP_ALT_CALL(, op, alt, cond, \
485 (void)____PVOP_ALT_CALL(, op.func, alt, cond, \
494 __PVOP_ALT_CALL(rettype, op, alt, cond)
495 #define PVOP_ALT_VCALL0(op, alt, cond) \ argument
496 __PVOP_ALT_VCALL(op, alt, cond)
503 __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond)
504 #define PVOP_ALT_VCALLEE0(op, alt, cond) \ argument
505 __PVOP_ALT_VCALLEESAVE(op, alt, cond)
[all …]
/openbmc/linux/Documentation/locking/
H 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 …]
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/
H 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
/openbmc/qemu/tcg/arm/
H A Dtcg-target.c.inc587 tcg_out_bx_reg(s, cond, rn);
1180 tcg_out_b_imm(s, cond, 0);
1200 TCGCond cond = args[4];
1204 switch (cond) {
1218 return cond;
1229 return cond;
1316 ARMCond cond;
1384 .cond = COND_AL,
1391 .cond = COND_AL,
1697 h.cond = COND_EQ;
[all …]
/openbmc/linux/security/apparmor/
H A Dfile.c240 name, cond, perms); in __aa_path_perm()
245 cond->uid, NULL, e); in __aa_path_perm()
285 struct path_cond *cond) in aa_path_perm() argument
299 request, cond, flags, &perms)); in aa_path_perm()
330 struct path_cond *cond) in profile_path_link() argument
358 cond, &lperms); in profile_path_link()
388 tname, cond, &perms); in profile_path_link()
411 NULL, cond->uid, info, error); in profile_path_link()
439 struct path_cond cond = { in aa_path_link() local
456 &target, buffer2, &cond)); in aa_path_link()
[all …]
/openbmc/linux/arch/parisc/kernel/
H A Dalternative.c49 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()
/openbmc/qemu/target/arm/
H A Dsyndrome.h174 | (cv << 24) | (cond << 20) | (opc2 << 17) | (opc1 << 14) in syn_cp14_rt_trap()
184 | (cv << 24) | (cond << 20) | (opc2 << 17) | (opc1 << 14) in syn_cp15_rt_trap()
194 | (cv << 24) | (cond << 20) | (opc1 << 16) in syn_cp14_rrt_trap()
204 | (cv << 24) | (cond << 20) | (opc1 << 16) in syn_cp15_rrt_trap()
208 static inline uint32_t syn_fp_access_trap(int cv, int cond, bool is_16bit, in syn_fp_access_trap() argument
214 | (cv << 24) | (cond << 20) | coproc; in syn_fp_access_trap()
222 | (cv << 24) | (cond << 20) | (1 << 5); in syn_simd_access_trap()
261 static inline uint32_t syn_bxjtrap(int cv, int cond, int rm) in syn_bxjtrap() argument
264 (cv << 24) | (cond << 20) | rm; in syn_bxjtrap()
324 static inline uint32_t syn_wfx(int cv, int cond, int ti, bool is_16bit) in syn_wfx() argument
[all …]

12345678910>>...19