/linux-master/tools/perf/arch/sparc/annotate/ |
H A D | instructions.c | 3 static int is_branch_cond(const char *cond) argument 5 if (cond[0] == '\0') 8 if (cond[0] == 'a' && cond[1] == '\0') 11 if (cond[0] == 'c' && 12 (cond[1] == 'c' || cond[1] == 's') && 13 cond[2] == '\0') 16 if (cond[0] == 'e' && 17 (cond[ 63 is_branch_reg_cond(const char *cond) argument 88 is_branch_float_cond(const char *cond) argument 140 const char *cond = name + 1; local [all...] |
/linux-master/include/linux/ |
H A D | mmdebug.h | 19 #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 D | processor.h | 49 #define spin_until_cond(cond) \ 51 if (unlikely(!(cond))) { \ 55 } while (!(cond)); \
|
H A D | iopoll.h | 21 * @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...] |
H A D | bug.h | 18 #define MAYBE_BUILD_BUG_ON(cond) (0) 21 #define MAYBE_BUILD_BUG_ON(cond) \ 23 if (__builtin_constant_p((cond))) \ 24 BUILD_BUG_ON(cond); \ 26 BUG_ON(cond); \
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_macros.h | 13 #define XE_IOCTL_DBG(xe, cond) \ 14 ((cond) && (drm_dbg(&(xe)->drm, \ 16 __FILE__, __LINE__, #cond), 1))
|
/linux-master/arch/parisc/math-emu/ |
H A D | sfcmp.c | 18 * sgl_fcmp(leftptr, rightptr, cond, status) 37 unsigned int cond, unsigned int *status) 60 && (Exception(cond) || Sgl_isone_signaling(left))) 64 && (Exception(cond) || Sgl_isone_signaling(right)) ) ) 67 Set_status_cbit(Unordered(cond)); 71 Set_status_cbit(Unordered(cond)); 83 Set_status_cbit(Unordered(cond)); 98 Set_status_cbit(Equal(cond)); 102 Set_status_cbit(Lessthan(cond)); 106 Set_status_cbit(Greaterthan(cond)); 36 sgl_fcmp(sgl_floating_point * leftptr, sgl_floating_point * rightptr, unsigned int cond, unsigned int *status) argument [all...] |
H A D | dfcmp.c | 18 * dbl_fcmp(leftptr, rightptr, cond, status) 38 unsigned int cond, unsigned int *status) 60 && (Exception(cond) || Dbl_isone_signaling(leftp1))) 64 && (Exception(cond) || Dbl_isone_signaling(rightp1))) ) 67 Set_status_cbit(Unordered(cond)); 71 Set_status_cbit(Unordered(cond)); 83 Set_status_cbit(Unordered(cond)); 98 Set_status_cbit(Equal(cond)); 102 Set_status_cbit(Lessthan(cond)); 106 Set_status_cbit(Greaterthan(cond)); 37 dbl_fcmp(dbl_floating_point * leftptr, dbl_floating_point * rightptr, unsigned int cond, unsigned int *status) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | timer.h | 22 #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)
|
/linux-master/arch/arm64/kvm/hyp/ |
H A D | aarch32.c | 51 int cond; local 58 cond = kvm_vcpu_get_condition(vcpu); 59 if (cond == 0xE) 64 if (cond < 0) { 74 /* The cond for this insn works out as the top 4 bits. */ 75 cond = (it >> 4); 80 if (!((cc_map[cond] >> cpsr_cond) & 1)) 98 unsigned long itbits, cond; local 105 cond = (cpsr & 0xe000) >> 13; 111 itbits = cond [all...] |
/linux-master/tools/perf/util/ |
H A D | mutex.c | 79 static void __cond_init(struct cond *cnd, bool pshared) 87 CHECK_ERR(pthread_cond_init(&cnd->cond, &attr)); 91 void cond_init(struct cond *cnd) 96 void cond_init_pshared(struct cond *cnd) 101 void cond_destroy(struct cond *cnd) 103 CHECK_ERR(pthread_cond_destroy(&cnd->cond)); 106 void cond_wait(struct cond *cnd, struct mutex *mtx) 108 CHECK_ERR(pthread_cond_wait(&cnd->cond, &mtx->lock)); 111 void cond_signal(struct cond *cnd) 113 CHECK_ERR(pthread_cond_signal(&cnd->cond)); [all...] |
H A D | mutex.h | 77 struct cond { struct 78 pthread_cond_t cond; member in struct:cond 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...] |
/linux-master/drivers/gpu/drm/amd/pm/powerplay/inc/ |
H A D | pp_debug.h | 37 #define PP_ASSERT_WITH_CODE(cond, msg, code) \ 39 if (!(cond)) { \ 45 #define PP_ASSERT(cond, msg) \ 47 if (!(cond)) { \
|
/linux-master/fs/bcachefs/ |
H A D | error.h | 47 #define bch2_fs_inconsistent_on(cond, c, ...) \ 49 bool _ret = unlikely(!!(cond)); \ 67 #define bch2_dev_inconsistent_on(cond, ca, ...) \ 69 bool _ret = unlikely(!!(cond)); \ 87 #define bch2_trans_inconsistent_on(cond, trans, ...) \ 89 bool _ret = unlikely(!!(cond)); \ 145 #define __fsck_err_on(cond, c, _flags, _err_type, ...) \ 146 (unlikely(cond) ? __fsck_err(c, _flags, _err_type, __VA_ARGS__) : false) 148 #define need_fsck_err_on(cond, c, _err_type, ...) \ 149 __fsck_err_on(cond, [all...] |
/linux-master/tools/testing/selftests/sync/ |
H A D | synctest.h | 34 #define ASSERT(cond, msg) do { \ 35 if (!(cond)) { \
|
/linux-master/tools/testing/radix-tree/linux/ |
H A D | rcupdate.h | 8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) 9 #define rcu_dereference_check(p, cond) rcu_dereference(p)
|
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_include/ |
H A D | assert_support.h | 66 static inline void compile_time_assert(unsigned int cond) argument 68 /* Call undefined function if cond is false */ 70 if (!cond) _compile_time_assert();
|
/linux-master/tools/bootconfig/include/linux/ |
H A D | bootconfig.h | 18 #define WARN_ON(cond) \ 19 ((cond) ? printf("Internal warning(%s:%d, %s): %s\n", \ 20 __FILE__, __LINE__, __func__, #cond) : 0) 22 #define unlikely(cond) (cond)
|
/linux-master/arch/parisc/include/asm/ |
H A D | alternative.h | 26 u16 cond; /* see ALT_COND_XXX */ member in struct:alt_instr 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 ! \
|
/linux-master/fs/jfs/ |
H A D | jfs_lock.h | 22 #define __SLEEP_COND(wq, cond, lock_cmd, unlock_cmd) \ 29 if (cond) \
|
/linux-master/arch/parisc/kernel/ |
H A D | alternative.c | 49 u16 cond; local 54 cond = entry->cond; 57 WARN_ON(!cond); 59 if ((cond & ALT_COND_ALWAYS) == 0 && no_alternatives) 63 index, cond, len, from, replacement); 66 if ((cond & cond_check) == 0) 84 index, cond, len, replacement, from, from);
|
/linux-master/drivers/block/null_blk/ |
H A D | zoned.c | 133 zone->cond = BLK_ZONE_COND_NOT_WP; 150 zone->cond = BLK_ZONE_COND_EMPTY; 210 blkz.cond = zone->cond; 247 switch (zone->cond) { 264 zone->cond = BLK_ZONE_COND_EMPTY; 266 zone->cond = BLK_ZONE_COND_CLOSED; 288 if (zone->cond == BLK_ZONE_COND_IMP_OPEN) { 344 switch (zone->cond) { 367 trace_nullb_zone_op(cmd, zno, zone->cond); 688 null_set_zone_cond(struct nullb_device *dev, struct nullb_zone *zone, enum blk_zone_cond cond) argument 724 zone_cond_store(struct nullb_device *dev, const char *page, size_t count, enum blk_zone_cond cond) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | timer.h | 48 * NVKM_DELAY can be passed for 'cond' to disable the timeout warning, 52 #define nvkm_nsec(d,n,cond...) ({ \ 59 cond \ 66 #define nvkm_usec(d, u, cond...) nvkm_nsec((d), (u) * 1000ULL, ##cond) 67 #define nvkm_msec(d, m, cond...) nvkm_usec((d), (m) * 1000ULL, ##cond)
|
/linux-master/tools/include/linux/ |
H A D | refcount.h | 45 #define REFCOUNT_WARN(cond, str) (void)(cond) 48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond)
|
/linux-master/arch/arm/include/asm/ |
H A D | domain.h | 121 #define TUSERCOND(instr, cond) #instr "t" #cond 124 #define TUSERCOND(instr, cond) #instr #cond
|