/kernel/linux/linux-5.10/tools/perf/arch/sparc/annotate/ |
D | instructions.c | 3 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 …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | mmdebug.h | 18 #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_ONCE_PAGE(cond, page) ({ \ argument 42 int __ret_warn_once = !!(cond); \ [all …]
|
D | iopoll.h | 36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument 47 if (cond) \ 57 (cond) ? 0 : -ETIMEDOUT; \ 79 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \ argument 89 if (cond) \ 99 (cond) ? 0 : -ETIMEDOUT; \ 120 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument 121 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr) 140 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument 141 read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, false, addr) [all …]
|
D | tracepoint.h | 179 #define __DO_TRACE(name, proto, args, cond, rcuidle) \ argument 185 if (!(cond)) \ 219 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument 226 TP_CONDITION(cond), 1); \ 229 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument 244 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument 254 TP_CONDITION(cond), 0); \ 255 if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \ 262 PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \ 345 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument [all …]
|
D | compiler.h | 56 #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) ? \
|
D | bug.h | 18 #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); \
|
/kernel/liteos_a/compat/posix/src/ |
D | pthread_cond.c | 45 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->mutex = NULL; in pthread_cond_destroy() [all …]
|
/kernel/liteos_m/kal/posix/src/ |
D | pthread_cond.c | 127 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->value = 0; in pthread_cond_init() [all …]
|
/kernel/linux/linux-5.10/arch/parisc/math-emu/ |
D | dfcmp.c | 38 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 …]
|
D | sfcmp.c | 37 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 …]
|
/kernel/linux/linux-5.10/Documentation/arm/nwfpe/ |
D | netwinder-fpe.rst | 24 <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 …]
|
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/ |
D | aarch32.c | 51 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()
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/ |
D | rf_cfg.c | 18 u32 cond; 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()
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
D | alternative.h | 26 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 - .) ! \
|
/kernel/linux/linux-5.10/Documentation/locking/ |
D | futex-requeue-pi.rst | 27 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 …]
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | assembler.h | 133 .macro asm_trace_hardirqs_on, cond=al, save=1 142 bl\cond trace_hardirqs_on 194 asm_trace_hardirqs_on cond=eq 380 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER() 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 396 .ifnc \cond,al 398 itt \cond 400 ittt \cond [all …]
|
D | vfpmacros.h | 12 .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
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | file.c | 157 const char **name, struct path_cond *cond, u32 request) in path_name() argument 168 NULL, NULL, cond->uid, info, error)); in path_name() 214 struct path_cond *cond) in aa_compute_fperms() argument 223 if (uid_eq(current_fsuid(), cond->uid)) { in aa_compute_fperms() 256 const char *name, struct path_cond *cond, in aa_str_perms() argument 261 *perms = aa_compute_fperms(dfa, state, cond); in aa_str_perms() 267 u32 request, struct path_cond *cond, int flags, in __aa_path_perm() argument 274 aa_str_perms(profile->file.dfa, profile->file.start, name, cond, perms); in __aa_path_perm() 278 cond->uid, NULL, e); in __aa_path_perm() 284 struct path_cond *cond, int flags, in profile_path_perm() argument [all …]
|
/kernel/linux/linux-5.10/arch/parisc/kernel/ |
D | alternative.c | 47 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/drivers/gpu/drm/nouveau/include/nvif/ |
D | timer.h | 22 #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
|
/kernel/linux/linux-5.10/drivers/block/ |
D | null_blk_zoned.c | 98 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 == BLK_ZONE_COND_CLOSED) { in null_zone_write() [all …]
|
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/ |
D | It_posix_pthread_083.c | 49 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in PthreadF01() 71 rc = pthread_cond_init(&g_td.cond, NULL); in Testcase() 97 rc = pthread_cond_signal(&g_td.cond); in Testcase() 103 rc = pthread_cond_signal(&g_td.cond); in Testcase() 106 rc = pthread_cond_signal(&g_td.cond); in Testcase() 109 rc = pthread_cond_signal(&g_td.cond); in Testcase() 121 rc = pthread_cond_destroy(&g_td.cond); in Testcase()
|
D | It_posix_pthread_084.c | 49 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in PthreadF01() 74 rc = pthread_cond_init(&g_td.cond, NULL); in Testcase() 98 rc = pthread_cond_signal(&g_td.cond); in Testcase() 104 rc = pthread_cond_signal(&g_td.cond); in Testcase() 107 rc = pthread_cond_signal(&g_td.cond); in Testcase() 110 rc = pthread_cond_signal(&g_td.cond); in Testcase() 122 rc = pthread_cond_destroy(&g_td.cond); in Testcase()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/ |
D | It_posix_pthread_083.cpp | 43 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in pthread_f01() 65 rc = pthread_cond_init(&g_td.cond, NULL); in Testcase() 90 rc = pthread_cond_signal(&g_td.cond); in Testcase() 96 rc = pthread_cond_signal(&g_td.cond); in Testcase() 99 rc = pthread_cond_signal(&g_td.cond); in Testcase() 102 rc = pthread_cond_signal(&g_td.cond); in Testcase() 114 rc = pthread_cond_destroy(&g_td.cond); in Testcase()
|
D | It_posix_pthread_084.cpp | 43 rc = pthread_cond_wait(&g_td.cond, &g_td.mutex); in pthread_f01() 68 rc = pthread_cond_init(&g_td.cond, NULL); in Testcase() 91 rc = pthread_cond_signal(&g_td.cond); in Testcase() 97 rc = pthread_cond_signal(&g_td.cond); in Testcase() 100 rc = pthread_cond_signal(&g_td.cond); in Testcase() 103 rc = pthread_cond_signal(&g_td.cond); in Testcase() 115 rc = pthread_cond_destroy(&g_td.cond); in Testcase()
|