Home
last modified time | relevance | path

Searched refs:cond (Results 1 - 25 of 533) sorted by relevance

12345678910>>...22

/kernel/linux/linux-5.10/tools/perf/arch/sparc/annotate/
H A 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[ in is_branch_cond()
63 is_branch_reg_cond(const char *cond) is_branch_reg_cond() argument
88 is_branch_float_cond(const char *cond) is_branch_float_cond() argument
140 const char *cond = name + 1; sparc__associate_instruction_ops() local
[all...]
/kernel/linux/linux-6.6/tools/perf/arch/sparc/annotate/
H A 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[ in is_branch_cond()
63 is_branch_reg_cond(const char *cond) is_branch_reg_cond() argument
88 is_branch_float_cond(const char *cond) is_branch_float_cond() argument
140 const char *cond = name + 1; sparc__associate_instruction_ops() local
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dmmdebug.h19 #define VM_BUG_ON(cond) BUG_ON(cond)
20 #define VM_BUG_ON_PAGE(cond, page) \
22 if (unlikely(cond)) { \
23 dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\
27 #define VM_BUG_ON_FOLIO(cond, folio) \
29 if (unlikely(cond)) { \
30 dump_page(&folio->page, "VM_BUG_ON_FOLIO(" __stringify(cond)")");\
34 #define VM_BUG_ON_VMA(cond, vma) \
36 if (unlikely(cond)) { \
[all...]
H A Diopoll.h21 * @cond: Break condition (usually involving @val)
36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \
47 if (cond) \
58 (cond) ? 0 : -ETIMEDOUT; \
66 * @cond: Break condition (usually involving @val)
84 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \
98 if (cond) \
113 (cond) ? 0 : -ETIMEDOUT; \
121 * @cond: Break condition (usually involving @val)
134 #define readx_poll_timeout(op, addr, val, cond, sleep_u
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dmmdebug.h18 #define VM_BUG_ON(cond) BUG_ON(cond)
19 #define VM_BUG_ON_PAGE(cond, page) \
21 if (unlikely(cond)) { \
22 dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\
26 #define VM_BUG_ON_VMA(cond, vma) \
28 if (unlikely(cond)) { \
33 #define VM_BUG_ON_MM(cond, mm) \
35 if (unlikely(cond)) { \
40 #define VM_WARN_ON_ONCE_PAGE(cond, pag
[all...]
H A Diopoll.h21 * @cond: Break condition (usually involving @val)
36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \
47 if (cond) \
58 (cond) ? 0 : -ETIMEDOUT; \
66 * @cond: Break condition (usually involving @val)
80 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \
90 if (cond) \
101 (cond) ? 0 : -ETIMEDOUT; \
109 * @cond: Break condition (usually involving @val)
122 #define readx_poll_timeout(op, addr, val, cond, sleep_u
[all...]
/kernel/liteos_a/compat/posix/src/
H A Dpthread_cond.c45 STATIC INLINE INT32 CondInitCheck(const pthread_cond_t *cond) in CondInitCheck() argument
47 if ((cond->event.stEventList.pstPrev == NULL) && in CondInitCheck()
48 (cond->event.stEventList.pstNext == NULL)) { in CondInitCheck()
97 int pthread_cond_destroy(pthread_cond_t *cond) in pthread_cond_destroy() argument
99 if (cond == NULL) { in pthread_cond_destroy()
103 if (CondInitCheck(cond)) { in pthread_cond_destroy()
107 if (LOS_EventDestroy(&cond->event) != LOS_OK) { in pthread_cond_destroy()
110 if (pthread_mutex_destroy(cond->mutex) != ENOERR) { in pthread_cond_destroy()
114 free(cond->mutex); in pthread_cond_destroy()
115 cond in pthread_cond_destroy()
119 pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) pthread_cond_init() argument
144 PthreadCondValueModify(pthread_cond_t *cond) PthreadCondValueModify() argument
158 pthread_cond_broadcast(pthread_cond_t *cond) pthread_cond_broadcast() argument
181 pthread_cond_signal(pthread_cond_t *cond) pthread_cond_signal() argument
203 PthreadCondWaitSub(pthread_cond_t *cond, INT32 value, UINT32 ticks) PthreadCondWaitSub() argument
219 PthreadCountSub(pthread_cond_t *cond) PthreadCountSub() argument
228 ProcessReturnVal(pthread_cond_t *cond, INT32 val) ProcessReturnVal() argument
249 pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *absTime) pthread_cond_timedwait() argument
300 pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) pthread_cond_wait() argument
[all...]
/kernel/liteos_m/kal/posix/src/
H A Dpthread_cond.c127 STATIC INLINE INT32 CondInitCheck(const pthread_cond_t *cond) in CondInitCheck() argument
129 if ((cond->event.stEventList.pstPrev == NULL) && in CondInitCheck()
130 (cond->event.stEventList.pstNext == NULL)) { in CondInitCheck()
137 int pthread_cond_init(pthread_cond_t *cond, const pthread_condattr_t *attr) in pthread_cond_init() argument
142 if (cond == NULL) { in pthread_cond_init()
151 (VOID)LOS_EventInit(&(cond->event)); in pthread_cond_init()
153 cond->mutex = (pthread_mutex_t *)malloc(sizeof(pthread_mutex_t)); in pthread_cond_init()
154 if (cond->mutex == NULL) { in pthread_cond_init()
158 (VOID)pthread_mutex_init(cond->mutex, NULL); in pthread_cond_init()
160 cond in pthread_cond_init()
169 pthread_cond_destroy(pthread_cond_t *cond) pthread_cond_destroy() argument
192 PthreadCountSub(pthread_cond_t *cond) PthreadCountSub() argument
202 pthread_cond_broadcast(pthread_cond_t *cond) pthread_cond_broadcast() argument
222 pthread_cond_signal(pthread_cond_t *cond) pthread_cond_signal() argument
244 ProcessReturnVal(pthread_cond_t *cond, INT32 val) ProcessReturnVal() argument
266 pthread_cond_timedwait(pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *ts) pthread_cond_timedwait() argument
318 pthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex) pthread_cond_wait() argument
[all...]
/kernel/linux/linux-5.10/arch/parisc/math-emu/
H A Ddfcmp.c18 * dbl_fcmp(leftptr, rightptr, cond, status)
38 unsigned int cond, unsigned int *status) in dbl_fcmp()
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()
37 dbl_fcmp(dbl_floating_point * leftptr, dbl_floating_point * rightptr, unsigned int cond, unsigned int *status) dbl_fcmp() argument
[all...]
H A Dsfcmp.c18 * sgl_fcmp(leftptr, rightptr, cond, status)
37 unsigned int cond, unsigned int *status) in sgl_fcmp()
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()
36 sgl_fcmp(sgl_floating_point * leftptr, sgl_floating_point * rightptr, unsigned int cond, unsigned int *status) sgl_fcmp() argument
[all...]
/kernel/linux/linux-6.6/arch/parisc/math-emu/
H A Ddfcmp.c18 * dbl_fcmp(leftptr, rightptr, cond, status)
38 unsigned int cond, unsigned int *status) in dbl_fcmp()
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()
37 dbl_fcmp(dbl_floating_point * leftptr, dbl_floating_point * rightptr, unsigned int cond, unsigned int *status) dbl_fcmp() argument
[all...]
H A Dsfcmp.c18 * sgl_fcmp(leftptr, rightptr, cond, status)
37 unsigned int cond, unsigned int *status) in sgl_fcmp()
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()
36 sgl_fcmp(sgl_floating_point * leftptr, sgl_floating_point * rightptr, unsigned int cond, unsigned int *status) sgl_fcmp() argument
[all...]
/kernel/linux/linux-6.6/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()
268 zone->cond = BLK_ZONE_COND_EMPTY; in __null_close_zone()
270 zone->cond = BLK_ZONE_COND_CLOSED; in __null_close_zone()
292 if (zone->cond == BLK_ZONE_COND_IMP_OPEN) { in null_close_imp_open_zone()
348 switch (zone->cond) { in null_check_zone_resources()
371 trace_nullb_zone_op(cmd, zno, zone->cond); in null_zone_write()
695 null_set_zone_cond(struct nullb_device *dev, struct nullb_zone *zone, enum blk_zone_cond cond) null_set_zone_cond() argument
731 zone_cond_store(struct nullb_device *dev, const char *page, size_t count, enum blk_zone_cond cond) zone_cond_store() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dmutex.c79 static void __cond_init(struct cond *cnd, bool pshared) in __cond_init()
87 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()
[all...]
H A Dmutex.h77 struct cond { struct
78 pthread_cond_t cond; member
95 /* Default initialize the cond struct. */
96 void cond_init(struct cond *cnd);
98 * Initialize the cond struct and specify the process-shared rather than default
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 *cn
[all...]
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dassembler.h136 .macro asm_trace_hardirqs_on, cond=al, save=1 variable
145 bl\cond trace_hardirqs_on
197 asm_trace_hardirqs_on cond=eq variable
469 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER() variable
472 \instr\()b\t\cond\().w \reg, [\ptr, #\off]
474 \instr\t\cond\().w \reg, [\ptr, #\off]
485 .macro usracc, instr, reg, ptr, inc, cond, rept, abort variable
488 .ifnc \cond,al
490 itt \cond
492 ittt \cond
499 usraccoff \\instr, \\reg, \\ptr, \\inc, 0, \\cond, \\abort global() variable
501 usraccoff \\instr, \\reg, \\ptr, \\inc, \\inc, \\cond, \\abort global() variable
529 .macro strusr, reg, ptr, inc, cond=al, rept=1, abort=9001f global() variable
530 usracc str, \\reg, \\ptr, \\inc, \\cond, \\rept, \\abort global() variable
533 .macro ldrusr, reg, ptr, inc, cond=al, rept=1, abort=9001f global() variable
534 usracc ldr, \\reg, \\ptr, \\inc, \\cond, \\rept, \\abort global() variable
[all...]
/kernel/linux/linux-5.10/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()
74 /* The cond for this insn works out as the top 4 bits. */ 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 in kvm_adjust_itstate()
[all...]
/kernel/linux/linux-6.6/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()
74 /* The cond for this insn works out as the top 4 bits. */ 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 in kvm_adjust_itstate()
[all...]
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dassembler.h133 .macro asm_trace_hardirqs_on, cond=al, save=1 variable
142 bl\cond trace_hardirqs_on
194 asm_trace_hardirqs_on cond=eq variable
380 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER() variable
383 \instr\()b\t\cond\().w \reg, [\ptr, #\off]
385 \instr\t\cond\().w \reg, [\ptr, #\off]
393 .macro usracc, instr, reg, ptr, inc, cond, rept, abort variable
396 .ifnc \cond,al
398 itt \cond
400 ittt \cond
407 usraccoff \\instr, \\reg, \\ptr, \\inc, 0, \\cond, \\abort global() variable
409 usraccoff \\instr, \\reg, \\ptr, \\inc, \\inc, \\cond, \\abort global() variable
434 .macro strusr, reg, ptr, inc, cond=al, rept=1, abort=9001f global() variable
435 usracc str, \\reg, \\ptr, \\inc, \\cond, \\rept, \\abort global() variable
438 .macro ldrusr, reg, ptr, inc, cond=al, rept=1, abort=9001f global() variable
439 usracc ldr, \\reg, \\ptr, \\inc, \\cond, \\rept, \\abort global() variable
[all...]
/kernel/linux/linux-5.10/drivers/block/null_blk/
H A Dzoned.c98 zone->cond = BLK_ZONE_COND_NOT_WP; in null_init_zoned_dev()
114 zone->cond = BLK_ZONE_COND_EMPTY; in null_init_zoned_dev()
233 switch (zone->cond) { in null_close_zone()
250 zone->cond = BLK_ZONE_COND_EMPTY; in null_close_zone()
252 zone->cond = BLK_ZONE_COND_CLOSED; in null_close_zone()
264 if (dev->zones[i].cond == BLK_ZONE_COND_IMP_OPEN) { in null_close_first_imp_zone()
318 switch (zone->cond) { in null_check_zone_resources()
341 trace_nullb_zone_op(cmd, zno, zone->cond); in null_zone_write()
351 switch (zone->cond) { in null_zone_write()
393 if (zone->cond in null_zone_write()
[all...]
/kernel/linux/linux-5.10/arch/parisc/kernel/
H 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()
/kernel/linux/linux-5.10/arch/parisc/include/asm/
H A Dalternative.h26 u32 cond; /* see ALT_COND_XXX */ member
36 #define ALTERNATIVE(cond, replacement) "!0:" \
38 ".word (0b-4-.), 1, " __stringify(cond) "," \
45 #define ALTERNATIVE(from, to, cond, replacement)\
48 .word cond, replacement ! \
52 #define ALTERNATIVE_CODE(from, num_instructions, cond, new_instr_ptr)\
55 .word cond, (new_instr_ptr - .) ! \
/kernel/linux/linux-6.6/arch/parisc/include/asm/
H A Dalternative.h26 u16 cond; /* see ALT_COND_XXX */ member
36 #define ALTERNATIVE(cond, replacement) "!0:" \
40 ".hword 1, " __stringify(cond) " !" \
47 #define ALTERNATIVE(from, to, cond, replacement)\
51 .hword (to - from)/4, cond ! \
56 #define ALTERNATIVE_CODE(from, num_instructions, cond, new_instr_ptr)\
60 .hword -num_instructions, cond ! \
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dparavirt_types.h439 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \
445 alt, cond) \
457 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \
458 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op, alt, cond, \
466 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \
467 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op.func, alt, cond, \
475 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \
476 (void)____PVOP_ALT_CALL(, op, alt, cond, \
484 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \
485 (void)____PVOP_ALT_CALL(, op.func, alt, cond, \
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
H A Dtimer.h22 #define nvif_nsec(d,n,cond...) ({ \
28 cond \
33 #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond)
34 #define nvif_msec(d,m,cond...) nvif_usec((d), (m) * 1000, ##cond)

Completed in 14 milliseconds

12345678910>>...22