cond 65 arch/alpha/boot/misc.c # define Assert(cond,msg) {if(!(cond)) error(msg);} cond 72 arch/alpha/boot/misc.c # define Assert(cond,msg) cond 16 arch/arm/boot/compressed/decompress.c # define Assert(cond,msg) {if(!(cond)) error(msg);} cond 23 arch/arm/boot/compressed/decompress.c # define Assert(cond,msg) cond 122 arch/arm/include/asm/assembler.h .macro asm_trace_hardirqs_on, cond=al, save=1 cond 183 arch/arm/include/asm/assembler.h asm_trace_hardirqs_on cond=eq cond 373 arch/arm/include/asm/assembler.h .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER() cond 389 arch/arm/include/asm/assembler.h .macro usracc, instr, reg, ptr, inc, cond, rept, abort cond 413 arch/arm/include/asm/assembler.h .macro usracc, instr, reg, ptr, inc, cond, rept, abort, t=TUSER() cond 433 arch/arm/include/asm/assembler.h .macro strusr, reg, ptr, inc, cond=al, rept=1, abort=9001f cond 437 arch/arm/include/asm/assembler.h .macro ldrusr, reg, ptr, inc, cond=al, rept=1, abort=9001f cond 134 arch/arm/include/asm/domain.h #define TUSERCOND(instr, cond) #instr "t" #cond cond 137 arch/arm/include/asm/domain.h #define TUSERCOND(instr, cond) #instr #cond cond 29 arch/arm/include/asm/spinlock.h #define WFE(cond) __ALT_SMP_ASM( \ cond 30 arch/arm/include/asm/spinlock.h "it " cond "\n\t" \ cond 31 arch/arm/include/asm/spinlock.h "wfe" cond ".n", \ cond 36 arch/arm/include/asm/spinlock.h #define WFE(cond) __ALT_SMP_ASM("wfe" cond, "nop") cond 12 arch/arm/include/asm/vfpmacros.h .macro VFPFMRX, rd, sysreg, cond cond 16 arch/arm/include/asm/vfpmacros.h .macro VFPFMXR, sysreg, rd, cond cond 62 arch/arm/mach-bcm/bcm63xx_pmb.c u32 shift, u32 mask, u32 cond) cond 76 arch/arm/mach-bcm/bcm63xx_pmb.c } while (((*val >> shift) & mask) != cond); cond 223 arch/arm/mach-omap2/common.h #define omap_test_timeout(cond, timeout, index) \ cond 226 arch/arm/mach-omap2/common.h if (cond) \ cond 447 arch/arm/mach-omap2/prcm-common.h #define omap_test_timeout(cond, timeout, index) \ cond 450 arch/arm/mach-omap2/prcm-common.h if (cond) \ cond 219 arch/arm/net/bpf_jit_32.c static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) cond 221 arch/arm/net/bpf_jit_32.c inst |= (cond << 28); cond 222 arch/arm64/include/asm/alternative.h .macro user_alt, label, oldinstr, newinstr, cond cond 372 arch/arm64/include/asm/insn.h enum aarch64_insn_condition cond); cond 544 arch/arm64/kernel/insn.c enum aarch64_insn_condition cond) cond 553 arch/arm64/kernel/insn.c if (cond < AARCH64_INSN_COND_EQ || cond > AARCH64_INSN_COND_AL) { cond 554 arch/arm64/kernel/insn.c pr_err("%s: unknown condition encoding %d\n", __func__, cond); cond 557 arch/arm64/kernel/insn.c insn |= cond; cond 594 arch/arm64/kernel/traps.c int cond; cond 604 arch/arm64/kernel/traps.c cond = it >> 4; cond 606 arch/arm64/kernel/traps.c cond = (esr & ESR_ELx_COND_MASK) >> ESR_ELx_COND_SHIFT; cond 609 arch/arm64/kernel/traps.c return aarch32_opcode_cond_checks[cond](regs->pstate); cond 30 arch/arm64/net/bpf_jit.h #define A64_COND_BRANCH(cond, offset) \ cond 31 arch/arm64/net/bpf_jit.h aarch64_insn_gen_cond_branch_imm(0, offset, cond) cond 42 arch/arm64/net/bpf_jit.h #define A64_B_(cond, imm19) A64_COND_BRANCH(cond, (imm19) << 2) cond 140 arch/h8300/kernel/ptrace_h.c unsigned char cond = h8300_get_reg(task, PT_CCR); cond 154 arch/h8300/kernel/ptrace_h.c : "=&r"(cond) : "0"(cond) : "cc"); cond 155 arch/h8300/kernel/ptrace_h.c cond &= condmask[reson >> 1]; cond 157 arch/h8300/kernel/ptrace_h.c return cond == 0; cond 159 arch/h8300/kernel/ptrace_h.c return cond != 0; cond 73 arch/ia64/kernel/entry.h br.cond.sptk.many save_switch_stack; \ cond 81 arch/ia64/kernel/entry.h br.cond.sptk.many load_switch_stack; \ cond 218 arch/ia64/kernel/minstate.h [1:](pKStk) br.cond.sptk.many 1f; \ cond 227 arch/ia64/kernel/minstate.h (p1) br.cond.sptk.many 1f; \ cond 871 arch/mips/include/uapi/asm/inst.h __BITFIELD_FIELD(unsigned int cond : 4, cond 202 arch/mips/kernel/mips-r2-to-r6-emul.c u32 cond; cond 205 arch/mips/kernel/mips-r2-to-r6-emul.c cond = fpucondbit[MIPSInst_RT(ir) >> 2]; cond 207 arch/mips/kernel/mips-r2-to-r6-emul.c if (((csr & cond) == 0) && MIPSInst_RD(ir)) cond 225 arch/mips/kernel/mips-r2-to-r6-emul.c u32 cond; cond 228 arch/mips/kernel/mips-r2-to-r6-emul.c cond = fpucondbit[MIPSInst_RT(ir) >> 2]; cond 230 arch/mips/kernel/mips-r2-to-r6-emul.c if (((csr & cond) != 0) && MIPSInst_RD(ir)) cond 404 arch/mips/math-emu/cp1emu.c insn.mm_fp4_format.cond | MM_MIPS32_COND_FC; cond 975 arch/mips/math-emu/cp1emu.c unsigned int cond, cbit, bit0; cond 1190 arch/mips/math-emu/cp1emu.c cond = 0; cond 1196 arch/mips/math-emu/cp1emu.c cond = bit0 == 0; cond 1200 arch/mips/math-emu/cp1emu.c cond = bit0 != 0; cond 1213 arch/mips/math-emu/cp1emu.c cond = ctx->fcr31 & cbit; cond 1222 arch/mips/math-emu/cp1emu.c cond = !cond; cond 1234 arch/mips/math-emu/cp1emu.c if (cond) { cond 1374 arch/mips/math-emu/cp1emu.c cond = fpucondbit[MIPSInst_RT(ir) >> 2]; cond 1375 arch/mips/math-emu/cp1emu.c if (((ctx->fcr31 & cond) != 0) == ((MIPSInst_RT(ir) & 1) != 0)) cond 1665 arch/mips/math-emu/cp1emu.c unsigned int cond; cond 1736 arch/mips/math-emu/cp1emu.c cond = fpucondbit[MIPSInst_FT(ir) >> 2]; cond 1737 arch/mips/math-emu/cp1emu.c if (((ctx->fcr31 & cond) != 0) != cond 2109 arch/mips/math-emu/cp1emu.c cond = fpucondbit[MIPSInst_FT(ir) >> 2]; cond 2110 arch/mips/math-emu/cp1emu.c if (((ctx->fcr31 & cond) != 0) != cond 55 arch/nios2/boot/compressed/misc.c # define Assert(cond, msg) {if (!(cond)) error(msg); } cond 62 arch/nios2/boot/compressed/misc.c # define Assert(cond, msg) cond 26 arch/parisc/include/asm/alternative.h u32 cond; /* see ALT_COND_XXX */ cond 36 arch/parisc/include/asm/alternative.h #define ALTERNATIVE(cond, replacement) "!0:" \ cond 38 arch/parisc/include/asm/alternative.h ".word (0b-4-.), 1, " __stringify(cond) "," \ cond 45 arch/parisc/include/asm/alternative.h #define ALTERNATIVE(from, to, cond, replacement)\ cond 48 arch/parisc/include/asm/alternative.h .word cond, replacement ! \ cond 52 arch/parisc/include/asm/alternative.h #define ALTERNATIVE_CODE(from, num_instructions, cond, new_instr_ptr)\ cond 55 arch/parisc/include/asm/alternative.h .word cond, (new_instr_ptr - .) ! \ cond 31 arch/parisc/kernel/alternative.c u32 *from, cond, replacement; cond 36 arch/parisc/kernel/alternative.c cond = entry->cond; cond 39 arch/parisc/kernel/alternative.c WARN_ON(!cond); cond 41 arch/parisc/kernel/alternative.c if (cond != ALT_COND_ALWAYS && no_alternatives) cond 45 arch/parisc/kernel/alternative.c index, cond, len, from, replacement); cond 47 arch/parisc/kernel/alternative.c if ((cond & ALT_COND_NO_SMP) && (num_cpus != 1)) cond 49 arch/parisc/kernel/alternative.c if ((cond & ALT_COND_NO_DCACHE) && (cache_info.dc_size != 0)) cond 51 arch/parisc/kernel/alternative.c if ((cond & ALT_COND_NO_ICACHE) && (cache_info.ic_size != 0)) cond 53 arch/parisc/kernel/alternative.c if ((cond & ALT_COND_RUN_ON_QEMU) && !running_on_qemu) cond 61 arch/parisc/kernel/alternative.c if ((cond & ALT_COND_NO_IOC_FDC) && cond 81 arch/parisc/kernel/alternative.c index, cond, len, replacement, from, from); cond 38 arch/parisc/math-emu/dfcmp.c unsigned int cond, unsigned int *status) cond 60 arch/parisc/math-emu/dfcmp.c && (Exception(cond) || Dbl_isone_signaling(leftp1))) cond 64 arch/parisc/math-emu/dfcmp.c && (Exception(cond) || Dbl_isone_signaling(rightp1))) ) cond 67 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Unordered(cond)); cond 71 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Unordered(cond)); cond 83 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Unordered(cond)); cond 98 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Equal(cond)); cond 102 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Lessthan(cond)); cond 106 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Greaterthan(cond)); cond 113 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Equal(cond)); cond 120 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Lessthan(cond)); cond 124 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Greaterthan(cond)); cond 132 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Lessthan(cond)); cond 136 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Greaterthan(cond)); cond 147 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Lessthan(cond)); cond 151 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Greaterthan(cond)); cond 159 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Lessthan(cond)); cond 163 arch/parisc/math-emu/dfcmp.c Set_status_cbit(Greaterthan(cond)); cond 522 arch/parisc/math-emu/float.h #define Unordered(cond) Unorderedbit(cond) cond 523 arch/parisc/math-emu/float.h #define Equal(cond) Equalbit(cond) cond 524 arch/parisc/math-emu/float.h #define Lessthan(cond) Lessthanbit(cond) cond 525 arch/parisc/math-emu/float.h #define Greaterthan(cond) Greaterthanbit(cond) cond 526 arch/parisc/math-emu/float.h #define Exception(cond) Exceptionbit(cond) cond 37 arch/parisc/math-emu/sfcmp.c unsigned int cond, unsigned int *status) cond 60 arch/parisc/math-emu/sfcmp.c && (Exception(cond) || Sgl_isone_signaling(left))) cond 64 arch/parisc/math-emu/sfcmp.c && (Exception(cond) || Sgl_isone_signaling(right)) ) ) cond 67 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Unordered(cond)); cond 71 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Unordered(cond)); cond 83 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Unordered(cond)); cond 98 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Equal(cond)); cond 102 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Lessthan(cond)); cond 106 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Greaterthan(cond)); cond 113 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Equal(cond)); cond 120 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Lessthan(cond)); cond 124 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Greaterthan(cond)); cond 134 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Lessthan(cond)); cond 138 arch/parisc/math-emu/sfcmp.c Set_status_cbit(Greaterthan(cond)); cond 351 arch/powerpc/include/asm/processor.h #define spin_until_cond(cond) \ cond 353 arch/powerpc/include/asm/processor.h if (unlikely(!(cond))) { \ cond 357 arch/powerpc/include/asm/processor.h } while (!(cond)); \ cond 186 arch/powerpc/net/bpf_jit.h #define PPC_BCC_SHORT(cond, dest) EMIT(PPC_INST_BRANCH_COND | \ cond 187 arch/powerpc/net/bpf_jit.h (((cond) & 0x3ff) << 16) | \ cond 240 arch/powerpc/net/bpf_jit.h #define PPC_BCC(cond, dest) do { \ cond 242 arch/powerpc/net/bpf_jit.h PPC_BCC_SHORT(cond, dest); \ cond 246 arch/powerpc/net/bpf_jit.h PPC_BCC_SHORT(cond ^ COND_CMP_TRUE, (ctx->idx+2)*4); \ cond 236 arch/sh/kernel/cpu/sh5/unwind.c int cond; cond 265 arch/sh/kernel/cpu/sh5/unwind.c cond = ((pc >= __MEMORY_START) && (fp >= __MEMORY_START) && cond 61 arch/unicore32/include/asm/assembler.h .macro notcond, cond, nexti = .+8 cond 97 arch/unicore32/include/asm/assembler.h .macro usracc, instr, reg, ptr, inc, cond, rept, abort cond 116 arch/unicore32/include/asm/assembler.h .macro strusr, reg, ptr, inc, cond = al, rept = 1, abort = 9001f cond 120 arch/unicore32/include/asm/assembler.h .macro ldrusr, reg, ptr, inc, cond = al, rept = 1, abort = 9001f cond 14 arch/x86/tools/insn_decoder_test.c #define unlikely(cond) (cond) cond 18 arch/x86/tools/insn_sanity.c #define unlikely(cond) (cond) cond 65 arch/xtensa/include/asm/asmmacro.h .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond cond 81 arch/xtensa/include/asm/asmmacro.h .ifnc \ncond, cond 85 arch/xtensa/include/asm/asmmacro.h .ifnc \ncond, cond 86 arch/xtensa/include/asm/asmmacro.h b\ncond \at, 99f cond 3666 drivers/ata/libata-scsi.c u8 cond, type, non_seq, reset; cond 3672 drivers/ata/libata-scsi.c cond = (rec[1] >> 4) & 0xf; cond 3679 drivers/ata/libata-scsi.c rec[1] = (cond << 4) | non_seq | reset; cond 49 drivers/block/null_blk_zoned.c zone->cond = BLK_ZONE_COND_NOT_WP; cond 60 drivers/block/null_blk_zoned.c zone->cond = BLK_ZONE_COND_EMPTY; cond 98 drivers/block/null_blk_zoned.c switch (zone->cond) { cond 109 drivers/block/null_blk_zoned.c if (zone->cond == BLK_ZONE_COND_EMPTY) cond 110 drivers/block/null_blk_zoned.c zone->cond = BLK_ZONE_COND_IMP_OPEN; cond 114 drivers/block/null_blk_zoned.c zone->cond = BLK_ZONE_COND_FULL; cond 137 drivers/block/null_blk_zoned.c zone[i].cond = BLK_ZONE_COND_EMPTY; cond 145 drivers/block/null_blk_zoned.c zone->cond = BLK_ZONE_COND_EMPTY; cond 600 drivers/dma/pl330.c static inline u32 _emit_LD(unsigned dry_run, u8 buf[], enum pl330_cond cond) cond 607 drivers/dma/pl330.c if (cond == SINGLE) cond 609 drivers/dma/pl330.c else if (cond == BURST) cond 613 drivers/dma/pl330.c cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); cond 619 drivers/dma/pl330.c enum pl330_cond cond, u8 peri) cond 626 drivers/dma/pl330.c if (cond == BURST) cond 634 drivers/dma/pl330.c cond == SINGLE ? 'S' : 'B', peri >> 3); cond 659 drivers/dma/pl330.c enum pl330_cond cond; cond 668 drivers/dma/pl330.c enum pl330_cond cond = arg->cond; cond 684 drivers/dma/pl330.c if (cond == SINGLE) cond 686 drivers/dma/pl330.c else if (cond == BURST) cond 693 drivers/dma/pl330.c cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A'), cond 757 drivers/dma/pl330.c static inline u32 _emit_ST(unsigned dry_run, u8 buf[], enum pl330_cond cond) cond 764 drivers/dma/pl330.c if (cond == SINGLE) cond 766 drivers/dma/pl330.c else if (cond == BURST) cond 770 drivers/dma/pl330.c cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); cond 776 drivers/dma/pl330.c enum pl330_cond cond, u8 peri) cond 783 drivers/dma/pl330.c if (cond == BURST) cond 791 drivers/dma/pl330.c cond == SINGLE ? 'S' : 'B', peri >> 3); cond 797 drivers/dma/pl330.c enum pl330_cond cond, u8 peri) cond 804 drivers/dma/pl330.c if (cond == SINGLE) cond 806 drivers/dma/pl330.c else if (cond == BURST) cond 816 drivers/dma/pl330.c cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'P'), peri >> 3); cond 1112 drivers/dma/pl330.c enum pl330_cond cond, enum dma_transfer_direction direction, cond 1121 drivers/dma/pl330.c off += _emit_LD(dry_run, &buf[off], cond); cond 1125 drivers/dma/pl330.c if (cond == ALWAYS) { cond 1131 drivers/dma/pl330.c off += _emit_LDP(dry_run, &buf[off], cond, cond 1146 drivers/dma/pl330.c enum pl330_cond cond, enum dma_transfer_direction direction, cond 1155 drivers/dma/pl330.c off += _emit_ST(dry_run, &buf[off], cond); cond 1159 drivers/dma/pl330.c if (cond == ALWAYS) { cond 1165 drivers/dma/pl330.c off += _emit_STP(dry_run, &buf[off], cond, cond 1182 drivers/dma/pl330.c enum pl330_cond cond) cond 1187 drivers/dma/pl330.c cond = BURST; cond 1196 drivers/dma/pl330.c off += _emit_WFP(dry_run, &buf[off], cond, pxs->desc->peri); cond 1197 drivers/dma/pl330.c off += _emit_load(dry_run, &buf[off], cond, pxs->desc->rqtype, cond 1199 drivers/dma/pl330.c off += _emit_store(dry_run, &buf[off], cond, pxs->desc->rqtype, cond 1210 drivers/dma/pl330.c enum pl330_cond cond = BRST_LEN(pxs->ccr) > 1 ? BURST : SINGLE; cond 1217 drivers/dma/pl330.c cond); cond 1304 drivers/dma/pl330.c lpend.cond = ALWAYS; cond 1336 drivers/dma/pl330.c lpend.cond = ALWAYS; cond 1343 drivers/dma/pl330.c lpend.cond = ALWAYS; cond 456 drivers/dma/xilinx/xilinx_dma.c #define xilinx_dma_poll_timeout(chan, reg, val, cond, delay_us, timeout_us) \ cond 458 drivers/dma/xilinx/xilinx_dma.c cond, delay_us, timeout_us) cond 149 drivers/fpga/zynq-fpga.c #define zynq_fpga_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ cond 150 drivers/fpga/zynq-fpga.c readl_poll_timeout(priv->io_base + addr, val, cond, sleep_us, \ cond 74 drivers/gpu/drm/amd/amdgpu/soc15d.h #define PACKETJ(reg, r, cond, type) ((reg & 0x3FFFF) | \ cond 76 drivers/gpu/drm/amd/amdgpu/soc15d.h ((cond & 0xF) << 24) | \ cond 37 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h #define PP_ASSERT_WITH_CODE(cond, msg, code) \ cond 39 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h if (!(cond)) { \ cond 45 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h #define PP_ASSERT(cond, msg) \ cond 47 drivers/gpu/drm/amd/powerplay/inc/pp_debug.h if (!(cond)) { \ cond 650 drivers/gpu/drm/drm_mipi_dbi.c static int mipi_dbi_poweron_reset_conditional(struct mipi_dbi_dev *dbidev, bool cond) cond 664 drivers/gpu/drm/drm_mipi_dbi.c if (cond && mipi_dbi_display_is_on(dbi)) cond 180 drivers/gpu/drm/exynos/exynos_drm_drv.c #define DRV_PTR(drv, cond) (IS_ENABLED(cond) ? &drv : NULL) cond 451 drivers/gpu/drm/i915/i915_vma.h #define for_each_until(cond) if (cond) break; else cond 17 drivers/gpu/drm/lima/lima_mmu.c #define lima_mmu_send_command(cmd, addr, val, cond) \ cond 23 drivers/gpu/drm/lima/lima_mmu.c cond, 0, 100); \ cond 111 drivers/gpu/drm/msm/adreno/a6xx_gmu.h #define gmu_poll_timeout(gmu, addr, val, cond, interval, timeout) \ cond 112 drivers/gpu/drm/msm/adreno/a6xx_gmu.h readl_poll_timeout((gmu)->mmio + ((addr) << 2), val, cond, \ cond 396 drivers/gpu/drm/msm/adreno/adreno_gpu.h #define gpu_poll_timeout(gpu, addr, val, cond, interval, timeout) \ cond 397 drivers/gpu/drm/msm/adreno/adreno_gpu.h readl_poll_timeout((gpu)->mmio + ((addr) << 2), val, cond, \ cond 31 drivers/gpu/drm/nouveau/include/nvif/device.h #define nvif_nsec(d,n,cond...) ({ \ cond 37 drivers/gpu/drm/nouveau/include/nvif/device.h cond \ cond 44 drivers/gpu/drm/nouveau/include/nvif/device.h #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond) cond 45 drivers/gpu/drm/nouveau/include/nvif/device.h #define nvif_msec(d,m,cond...) nvif_usec((d), (m) * 1000, ##cond) cond 52 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h #define nvkm_nsec(d,n,cond...) ({ \ cond 59 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h cond \ cond 66 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h #define nvkm_usec(d,u,cond...) nvkm_nsec((d), (u) * 1000, ##cond) cond 67 drivers/gpu/drm/nouveau/include/nvkm/subdev/timer.h #define nvkm_msec(d,m,cond...) nvkm_usec((d), (m) * 1000, ##cond) cond 479 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_condition_met(struct nvbios_init *init, u8 cond) cond 484 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u32 reg = nvbios_rd32(bios, table + (cond * 12) + 0); cond 485 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u32 msk = nvbios_rd32(bios, table + (cond * 12) + 4); cond 486 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u32 val = nvbios_rd32(bios, table + (cond * 12) + 8); cond 488 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c cond, reg, msk, val); cond 495 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_io_condition_met(struct nvbios_init *init, u8 cond) cond 500 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u16 port = nvbios_rd16(bios, table + (cond * 5) + 0); cond 501 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, table + (cond * 5) + 2); cond 502 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 mask = nvbios_rd08(bios, table + (cond * 5) + 3); cond 503 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 value = nvbios_rd08(bios, table + (cond * 5) + 4); cond 505 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c cond, port, index, mask, value); cond 512 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c init_io_flag_condition_met(struct nvbios_init *init, u8 cond) cond 517 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u16 port = nvbios_rd16(bios, table + (cond * 9) + 0); cond 518 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 index = nvbios_rd08(bios, table + (cond * 9) + 2); cond 519 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 mask = nvbios_rd08(bios, table + (cond * 9) + 3); cond 520 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 shift = nvbios_rd08(bios, table + (cond * 9) + 4); cond 521 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u16 data = nvbios_rd16(bios, table + (cond * 9) + 5); cond 522 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 dmask = nvbios_rd08(bios, table + (cond * 9) + 7); cond 523 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 value = nvbios_rd08(bios, table + (cond * 9) + 8); cond 782 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 cond = nvbios_rd08(bios, init->offset + 1); cond 784 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("IO_FLAG_CONDITION\t0x%02x\n", cond); cond 787 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (!init_io_flag_condition_met(init, cond)) cond 800 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 cond = nvbios_rd08(bios, init->offset + 1); cond 805 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("GENERIC_CONDITION\t0x%02x 0x%02x\n", cond, size); cond 808 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c switch (cond) { cond 821 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (!(info.flags & cond)) cond 837 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c warn("INIT_GENERIC_CONDITION: unknown 0x%02x\n", cond); cond 1240 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 cond = nvbios_rd08(bios, init->offset + 1); cond 1244 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("CONDITION_TIME\t0x%02x 0x%02x\n", cond, retry); cond 1251 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (init_condition_met(init, cond)) cond 1805 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 cond = nvbios_rd08(bios, init->offset + 1); cond 1807 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("CONDITION\t0x%02x\n", cond); cond 1810 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (!init_condition_met(init, cond)) cond 1822 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c u8 cond = nvbios_rd08(bios, init->offset + 1); cond 1824 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c trace("IO_CONDITION\t0x%02x\n", cond); cond 1827 drivers/gpu/drm/nouveau/nvkm/subdev/bios/init.c if (!init_io_condition_met(init, cond)) cond 466 drivers/gpu/drm/rockchip/rockchip_drm_drv.c #define ADD_ROCKCHIP_SUB_DRIVER(drv, cond) { \ cond 467 drivers/gpu/drm/rockchip/rockchip_drm_drv.c if (IS_ENABLED(cond) && \ cond 123 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c u64 cond = (u64) us * NSEC_PER_USEC; cond 125 drivers/gpu/drm/vmwgfx/vmwgfx_marker.c return vmw_fifo_lag(queue) <= cond; cond 48 drivers/gpu/host1x/hw/host1x01_hardware.h unsigned cond, unsigned indx) cond 50 drivers/gpu/host1x/hw/host1x01_hardware.h return host1x_uclass_incr_syncpt_cond_f(cond) cond 104 drivers/gpu/host1x/hw/host1x01_hardware.h static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) cond 107 drivers/gpu/host1x/hw/host1x01_hardware.h host1x_class_host_incr_syncpt(cond, indx)); cond 48 drivers/gpu/host1x/hw/host1x02_hardware.h unsigned cond, unsigned indx) cond 50 drivers/gpu/host1x/hw/host1x02_hardware.h return host1x_uclass_incr_syncpt_cond_f(cond) cond 103 drivers/gpu/host1x/hw/host1x02_hardware.h static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) cond 106 drivers/gpu/host1x/hw/host1x02_hardware.h host1x_class_host_incr_syncpt(cond, indx)); cond 48 drivers/gpu/host1x/hw/host1x04_hardware.h unsigned cond, unsigned indx) cond 50 drivers/gpu/host1x/hw/host1x04_hardware.h return host1x_uclass_incr_syncpt_cond_f(cond) cond 103 drivers/gpu/host1x/hw/host1x04_hardware.h static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) cond 106 drivers/gpu/host1x/hw/host1x04_hardware.h host1x_class_host_incr_syncpt(cond, indx)); cond 48 drivers/gpu/host1x/hw/host1x05_hardware.h unsigned cond, unsigned indx) cond 50 drivers/gpu/host1x/hw/host1x05_hardware.h return host1x_uclass_incr_syncpt_cond_f(cond) cond 103 drivers/gpu/host1x/hw/host1x05_hardware.h static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) cond 106 drivers/gpu/host1x/hw/host1x05_hardware.h host1x_class_host_incr_syncpt(cond, indx)); cond 49 drivers/gpu/host1x/hw/host1x06_hardware.h unsigned cond, unsigned indx) cond 51 drivers/gpu/host1x/hw/host1x06_hardware.h return host1x_uclass_incr_syncpt_cond_f(cond) cond 104 drivers/gpu/host1x/hw/host1x06_hardware.h static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) cond 107 drivers/gpu/host1x/hw/host1x06_hardware.h host1x_class_host_incr_syncpt(cond, indx)); cond 49 drivers/gpu/host1x/hw/host1x07_hardware.h unsigned cond, unsigned indx) cond 51 drivers/gpu/host1x/hw/host1x07_hardware.h return host1x_uclass_incr_syncpt_cond_f(cond) cond 104 drivers/gpu/host1x/hw/host1x07_hardware.h static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) cond 107 drivers/gpu/host1x/hw/host1x07_hardware.h host1x_class_host_incr_syncpt(cond, indx)); cond 405 drivers/hid/usbhid/hid-pidff.c struct ff_condition_effect *cond = &effect->u.condition[i]; cond 408 drivers/hid/usbhid/hid-pidff.c ret |= cond->center != old_cond->center || cond 409 drivers/hid/usbhid/hid-pidff.c cond->right_coeff != old_cond->right_coeff || cond 410 drivers/hid/usbhid/hid-pidff.c cond->left_coeff != old_cond->left_coeff || cond 411 drivers/hid/usbhid/hid-pidff.c cond->right_saturation != old_cond->right_saturation || cond 412 drivers/hid/usbhid/hid-pidff.c cond->left_saturation != old_cond->left_saturation || cond 413 drivers/hid/usbhid/hid-pidff.c cond->deadband != old_cond->deadband; cond 466 drivers/i2c/busses/i2c-brcmstb.c u32 cond, cond_per_msg; cond 480 drivers/i2c/busses/i2c-brcmstb.c cond = ~COND_START_STOP; cond 482 drivers/i2c/busses/i2c-brcmstb.c cond = COND_RESTART | COND_NOSTOP; cond 484 drivers/i2c/busses/i2c-brcmstb.c brcmstb_set_i2c_start_stop(dev, cond); cond 497 drivers/i2c/busses/i2c-brcmstb.c cond_per_msg = cond; cond 508 drivers/i2c/busses/i2c-brcmstb.c cond_per_msg = cond; cond 119 drivers/i2c/busses/i2c-designware-common.c u32 i2c_dw_scl_hcnt(u32 ic_clk, u32 tSYMBOL, u32 tf, int cond, int offset) cond 126 drivers/i2c/busses/i2c-designware-common.c if (cond) cond 291 drivers/i2c/busses/i2c-designware-core.h u32 i2c_dw_scl_hcnt(u32 ic_clk, u32 tSYMBOL, u32 tf, int cond, int offset); cond 457 drivers/iio/adc/stm32-adc.c #define stm32_adc_readl_poll_timeout(reg, val, cond, sleep_us, timeout_us) \ cond 459 drivers/iio/adc/stm32-adc.c cond, sleep_us, timeout_us) cond 37 drivers/infiniband/hw/hns/hns_roce_common.h #define assert(cond) cond 365 drivers/macintosh/via-cuda.c #define WAIT_FOR(cond, what) \ cond 368 drivers/macintosh/via-cuda.c for (x = 1000; !(cond); --x) { \ cond 283 drivers/md/bcache/alloc.c #define allocator_wait(ca, cond) \ cond 287 drivers/md/bcache/alloc.c if (cond) \ cond 847 drivers/md/bcache/bcache.h #define btree_bug_on(cond, b, ...) \ cond 849 drivers/md/bcache/bcache.h if (cond) \ cond 853 drivers/md/bcache/bcache.h #define cache_bug_on(cond, c, ...) \ cond 855 drivers/md/bcache/bcache.h if (cond) \ cond 859 drivers/md/bcache/bcache.h #define cache_set_err_on(cond, c, ...) \ cond 861 drivers/md/bcache/bcache.h if (cond) \ cond 24 drivers/md/bcache/util.h #define EBUG_ON(cond) BUG_ON(cond) cond 30 drivers/md/bcache/util.h #define EBUG_ON(cond) do { if (cond); } while (0) cond 1116 drivers/md/dm-zoned-metadata.c if (blkz->cond == BLK_ZONE_COND_OFFLINE) cond 1118 drivers/md/dm-zoned-metadata.c else if (blkz->cond == BLK_ZONE_COND_READONLY) cond 1264 drivers/md/dm-zoned-metadata.c if (blkz.cond == BLK_ZONE_COND_OFFLINE) cond 1266 drivers/md/dm-zoned-metadata.c else if (blkz.cond == BLK_ZONE_COND_READONLY) cond 1248 drivers/md/dm.c if (zone->cond == BLK_ZONE_COND_FULL) cond 1250 drivers/md/dm.c else if (zone->cond == BLK_ZONE_COND_EMPTY) cond 1058 drivers/misc/habanalabs/habanalabs.h #define hl_poll_timeout(hdev, addr, val, cond, sleep_us, timeout_us) \ cond 1070 drivers/misc/habanalabs/habanalabs.h if (cond) \ cond 1079 drivers/misc/habanalabs/habanalabs.h (cond) ? 0 : -ETIMEDOUT; \ cond 1094 drivers/misc/habanalabs/habanalabs.h #define hl_poll_timeout_memory(hdev, addr, val, cond, sleep_us, timeout_us, \ cond 1111 drivers/misc/habanalabs/habanalabs.h if (cond) \ cond 1122 drivers/misc/habanalabs/habanalabs.h (cond) ? 0 : -ETIMEDOUT; \ cond 1125 drivers/misc/habanalabs/habanalabs.h #define hl_poll_timeout_device_memory(hdev, addr, val, cond, sleep_us, \ cond 1138 drivers/misc/habanalabs/habanalabs.h if (cond) \ cond 1147 drivers/misc/habanalabs/habanalabs.h (cond) ? 0 : -ETIMEDOUT; \ cond 589 drivers/net/ethernet/hisilicon/hns/hnae.h #define assert(cond) cond 237 drivers/net/ethernet/ni/nixge.c #define nixge_ctrl_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ cond 238 drivers/net/ethernet/ni/nixge.c readl_poll_timeout((priv)->ctrl_regs + (addr), (val), (cond), \ cond 241 drivers/net/ethernet/ni/nixge.c #define nixge_dma_poll_timeout(priv, addr, val, cond, sleep_us, timeout_us) \ cond 242 drivers/net/ethernet/ni/nixge.c readl_poll_timeout((priv)->dma_regs + (addr), (val), (cond), \ cond 2721 drivers/net/ethernet/qlogic/qed/qed_dev.c u8 cond; cond 2764 drivers/net/ethernet/qlogic/qed/qed_dev.c cond = (rc && (roce_edpm_mode == QED_ROCE_EDPM_MODE_ENABLE)) || cond 2766 drivers/net/ethernet/qlogic/qed/qed_dev.c if (cond || p_hwfn->dcbx_no_edpm) { cond 2774 drivers/net/ethernet/qlogic/qed/qed_dev.c if (cond) cond 210 drivers/net/fddi/skfp/cfm.c int cond ; cond 240 drivers/net/fddi/skfp/cfm.c cond = FALSE ; cond 248 drivers/net/fddi/skfp/cfm.c cond = TRUE ; cond 250 drivers/net/fddi/skfp/cfm.c if (cond != smc->mib.fddiSMTPeerWrapFlag) cond 251 drivers/net/fddi/skfp/cfm.c smt_srf_event(smc,SMT_COND_SMT_PEER_WRAP,0,cond) ; cond 627 drivers/net/fddi/skfp/h/cmtdef.h void smt_srf_event(struct s_smc *smc, int code, int index, int cond); cond 630 drivers/net/fddi/skfp/h/cmtdef.h #define smt_srf_event(smc,code,index,cond) cond 1076 drivers/net/fddi/skfp/pcmplc.c int cond ; cond 1133 drivers/net/fddi/skfp/pcmplc.c cond = (mib->fddiPORTLer_Estimate <= mib->fddiPORTLer_Alarm) ? cond 1136 drivers/net/fddi/skfp/pcmplc.c smt_ler_alarm_check(smc,phy,cond) ; cond 1138 drivers/net/fddi/skfp/pcmplc.c if (cond != mib->fddiPORTLerFlag) { cond 1140 drivers/net/fddi/skfp/pcmplc.c (int) (INDEX_PORT+ phy->np) ,cond) ; cond 283 drivers/net/fddi/skfp/smt.c int cond ; cond 306 drivers/net/fddi/skfp/smt.c cond = cond 312 drivers/net/fddi/skfp/smt.c if (cond != mib->fddiMACFrameErrorFlag) cond 314 drivers/net/fddi/skfp/smt.c INDEX_MAC,cond) ; cond 323 drivers/net/fddi/skfp/smt.c cond = cond 330 drivers/net/fddi/skfp/smt.c if (cond != mib->fddiMACNotCopiedFlag) cond 332 drivers/net/fddi/skfp/smt.c INDEX_MAC,cond) ; cond 353 drivers/net/fddi/skfp/smt.c cond = (phy->mib->fddiPORTEBError_Ct - cond 360 drivers/net/fddi/skfp/smt.c (int) (INDEX_PORT+ phy->np) ,cond) ; cond 812 drivers/net/fddi/skfp/smt.c int cond ; cond 814 drivers/net/fddi/skfp/smt.c cond = ( smc->mib.m[MAC0].fddiMACUNDA_Flag | cond 816 drivers/net/fddi/skfp/smt.c if (report && (cond != smc->mib.m[MAC0].fddiMACDuplicateAddressCond)) cond 817 drivers/net/fddi/skfp/smt.c smt_srf_event(smc, SMT_COND_MAC_DUP_ADDR,INDEX_MAC,cond) ; cond 819 drivers/net/fddi/skfp/smt.c smc->mib.m[MAC0].fddiMACDuplicateAddressCond = cond ; cond 181 drivers/net/fddi/skfp/srf.c void smt_srf_event(struct s_smc *smc, int code, int index, int cond) cond 190 drivers/net/fddi/skfp/srf.c if (code == SMT_COND_MAC_DUP_ADDR && cond) { cond 205 drivers/net/fddi/skfp/srf.c if (*evc->evc_cond_state == cond) cond 214 drivers/net/fddi/skfp/srf.c DB_SMT("SRF: condition is %s", cond ? "ON" : "OFF"); cond 215 drivers/net/fddi/skfp/srf.c if (cond) { cond 3780 drivers/net/wireless/intel/iwlegacy/common.c #define CHK(cond) \ cond 3781 drivers/net/wireless/intel/iwlegacy/common.c if ((cond)) { \ cond 3782 drivers/net/wireless/intel/iwlegacy/common.c D_INFO("need full RXON - " #cond "\n"); \ cond 843 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c #define CHK(cond) \ cond 844 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c if ((cond)) { \ cond 845 drivers/net/wireless/intel/iwlwifi/dvm/rxon.c IWL_DEBUG_INFO(priv, "need full RXON - " #cond "\n"); \ cond 269 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c u32 cond = condition; cond 274 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c cond = condition & 0xFF; cond 275 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c if ((_board & cond) == 0 && cond != 0x1F) cond 278 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c cond = condition & 0xFF00; cond 279 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c cond = cond >> 8; cond 280 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c if ((_interface & cond) == 0 && cond != 0x07) cond 283 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c cond = condition & 0xFF0000; cond 284 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c cond = cond >> 16; cond 285 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c if ((_platform & cond) == 0 && cond != 0x0F) cond 267 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c u32 cond = condition; cond 272 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c cond = condition & 0xFF; cond 273 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if ((_board != cond) && (cond != 0xFF)) cond 276 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c cond = condition & 0xFF00; cond 277 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c cond = cond >> 8; cond 278 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if ((_interface & cond) == 0 && cond != 0x07) cond 281 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c cond = condition & 0xFF0000; cond 282 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c cond = cond >> 16; cond 283 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c if ((_platform & cond) == 0 && cond != 0x0F) cond 547 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c u8 cond; cond 556 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c cond = (u8)((v1 & (BIT(29) | BIT(28))) >> 28); cond 557 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c if (cond == COND_ENDIF) { /*end*/ cond 560 drivers/net/wireless/realtek/rtlwifi/rtl8723be/phy.c } else if (cond == COND_ELSE) { /*else*/ cond 821 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u32 cond = condition; cond 826 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c cond = condition & 0xFF; cond 827 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if ((_board != cond) && cond != 0xFF) cond 830 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c cond = condition & 0xFF00; cond 831 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c cond = cond >> 8; cond 832 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if ((_interface & cond) == 0 && cond != 0x07) cond 835 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c cond = condition & 0xFF0000; cond 836 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c cond = cond >> 16; cond 837 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if ((_platform & cond) == 0 && cond != 0x0F) cond 1859 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c u8 cond; cond 1868 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c cond = (u8)((v1 & (BIT(29) | BIT(28))) >> 28); cond 1869 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c if (cond == COND_ENDIF) {/*end*/ cond 1872 drivers/net/wireless/realtek/rtlwifi/rtl8821ae/phy.c } else if (cond == COND_ELSE) /*else*/ cond 19 drivers/net/wireless/realtek/rtw88/phy.c struct rtw_phy_cond cond; cond 776 drivers/net/wireless/realtek/rtw88/phy.c struct rtw_phy_cond cond = {0}; cond 778 drivers/net/wireless/realtek/rtw88/phy.c cond.cut = hal->cut_version ? hal->cut_version : 15; cond 779 drivers/net/wireless/realtek/rtw88/phy.c cond.pkg = pkg ? pkg : 15; cond 780 drivers/net/wireless/realtek/rtw88/phy.c cond.plat = 0x04; cond 781 drivers/net/wireless/realtek/rtw88/phy.c cond.rfe = efuse->rfe_option; cond 785 drivers/net/wireless/realtek/rtw88/phy.c cond.intf = INTF_USB; cond 788 drivers/net/wireless/realtek/rtw88/phy.c cond.intf = INTF_SDIO; cond 792 drivers/net/wireless/realtek/rtw88/phy.c cond.intf = INTF_PCIE; cond 796 drivers/net/wireless/realtek/rtw88/phy.c hal->phy_cond = cond; cond 801 drivers/net/wireless/realtek/rtw88/phy.c static bool check_positive(struct rtw_dev *rtwdev, struct rtw_phy_cond cond) cond 806 drivers/net/wireless/realtek/rtw88/phy.c if (cond.cut && cond.cut != drv_cond.cut) cond 809 drivers/net/wireless/realtek/rtw88/phy.c if (cond.pkg && cond.pkg != drv_cond.pkg) cond 812 drivers/net/wireless/realtek/rtw88/phy.c if (cond.intf && cond.intf != drv_cond.intf) cond 815 drivers/net/wireless/realtek/rtw88/phy.c if (cond.rfe != drv_cond.rfe) cond 831 drivers/net/wireless/realtek/rtw88/phy.c if (p->cond.pos) { cond 832 drivers/net/wireless/realtek/rtw88/phy.c switch (p->cond.branch) { cond 843 drivers/net/wireless/realtek/rtw88/phy.c pos_cond = p->cond; cond 846 drivers/net/wireless/realtek/rtw88/phy.c } else if (p->cond.neg) { cond 27 drivers/net/wireless/zydas/zd1211rw/zd_def.h # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \ cond 28 drivers/net/wireless/zydas/zd1211rw/zd_def.h bool __cond = !!(cond); \ cond 35 drivers/net/wireless/zydas/zd1211rw/zd_def.h # define dev_dbg_f_cond(dev, cond, fmt, args...) do { (void)(dev); } while (0) cond 62 drivers/nfc/nfcsim.c u8 cond; cond 87 drivers/nfc/nfcsim.c link->cond = 1; cond 134 drivers/nfc/nfcsim.c link->cond, cond 165 drivers/nfc/nfcsim.c link->cond = 0; cond 402 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c #define inno_poll(inno, reg, val, cond, sleep_us, timeout_us) \ cond 403 drivers/phy/rockchip/phy-rockchip-inno-hdmi.c regmap_read_poll_timeout((inno)->regmap, (reg) * 4, val, cond, \ cond 118 drivers/pwm/pwm-lpss.c static inline void pwm_lpss_cond_enable(struct pwm_device *pwm, bool cond) cond 120 drivers/pwm/pwm-lpss.c if (cond) cond 124 drivers/sbus/char/oradax.c u32 cond:1; /* Conditional */ cond 113 drivers/scsi/csiostor/csio_defs.h #define CSIO_ASSERT(cond) BUG_ON(!(cond)) cond 545 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c #define hisi_sas_read32_poll_timeout(off, val, cond, delay_us, \ cond 549 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c readl_poll_timeout(regs, val, cond, delay_us, timeout_us); \ cond 552 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c #define hisi_sas_read32_poll_timeout_atomic(off, val, cond, delay_us, \ cond 556 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c readl_poll_timeout_atomic(regs, val, cond, delay_us, timeout_us);\ cond 38 drivers/scsi/sd_zbc.c zone->cond = (buf[1] >> 4) & 0xf; cond 48 drivers/scsi/sd_zbc.c zone->cond == ZBC_ZONE_COND_FULL) cond 236 drivers/staging/media/omap4iss/iss.h #define iss_poll_condition_timeout(cond, timeout, min_ival, max_ival) \ cond 242 drivers/staging/media/omap4iss/iss.h while (!(__cond = (cond))) { \ cond 18 drivers/staging/rtl8188eu/hal/rf_cfg.c u32 cond = condition; cond 23 drivers/staging/rtl8188eu/hal/rf_cfg.c cond = condition & 0x000000FF; cond 24 drivers/staging/rtl8188eu/hal/rf_cfg.c if ((_board == cond) && cond != 0x00) cond 27 drivers/staging/rtl8188eu/hal/rf_cfg.c cond = condition & 0x0000FF00; cond 28 drivers/staging/rtl8188eu/hal/rf_cfg.c cond >>= 8; cond 29 drivers/staging/rtl8188eu/hal/rf_cfg.c if ((_interface & cond) == 0 && cond != 0x07) cond 32 drivers/staging/rtl8188eu/hal/rf_cfg.c cond = condition & 0x00FF0000; cond 33 drivers/staging/rtl8188eu/hal/rf_cfg.c cond >>= 16; cond 34 drivers/staging/rtl8188eu/hal/rf_cfg.c if ((_platform & cond) == 0 && cond != 0x0F) cond 50 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define vchiq_static_assert(cond) __attribute__((unused)) \ cond 51 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h extern int vchiq_static_assert[(cond) ? 1 : -1] cond 547 drivers/usb/atm/ueagle-atm.c #define uea_wait(sc, cond, timeo) \ cond 550 drivers/usb/atm/ueagle-atm.c (cond) || kthread_should_stop(), timeo); \ cond 689 drivers/usb/gadget/function/u_serial.c int cond; cond 693 drivers/usb/gadget/function/u_serial.c cond = (p->port_usb == NULL) || !kfifo_len(&p->port_write_buf); cond 696 drivers/usb/gadget/function/u_serial.c return cond; cond 1174 drivers/usb/gadget/function/u_serial.c int cond; cond 1177 drivers/usb/gadget/function/u_serial.c cond = (port->port.count == 0) && !port->openclose; cond 1179 drivers/usb/gadget/function/u_serial.c return cond; cond 22 fs/jfs/jfs_lock.h #define __SLEEP_COND(wq, cond, lock_cmd, unlock_cmd) \ cond 29 fs/jfs/jfs_lock.h if (cond) \ cond 116 fs/jfs/jfs_logmgr.c #define LCACHE_SLEEP_COND(wq, cond, flags) \ cond 118 fs/jfs/jfs_logmgr.c if (cond) \ cond 120 fs/jfs/jfs_logmgr.c __SLEEP_COND(wq, cond, LCACHE_LOCK(flags), LCACHE_UNLOCK(flags)); \ cond 185 fs/ocfs2/cluster/masklog.h #define mlog_bug_on_msg(cond, fmt, args...) do { \ cond 186 fs/ocfs2/cluster/masklog.h if (cond) { \ cond 187 fs/ocfs2/cluster/masklog.h mlog(ML_ERROR, "bug expression: " #cond "\n"); \ cond 909 fs/reiserfs/reiserfs.h #define __RASSERT(cond, scond, format, args...) \ cond 911 fs/reiserfs/reiserfs.h if (!(cond)) \ cond 912 fs/reiserfs/reiserfs.h reiserfs_panic(NULL, "assertion failure", "(" #cond ") at " \ cond 917 fs/reiserfs/reiserfs.h #define RASSERT(cond, format, args...) __RASSERT(cond, #cond, format, ##args) cond 920 fs/reiserfs/reiserfs.h #define RFALSE(cond, format, args...) __RASSERT(!(cond), "!(" #cond ")", format, ##args) cond 922 fs/reiserfs/reiserfs.h #define RFALSE( cond, format, args... ) do {;} while( 0 ) cond 25 fs/unicode/utf8-selftest.c #define _test(cond, func, line, fmt, ...) do { \ cond 27 fs/unicode/utf8-selftest.c if (!cond) { \ cond 30 fs/unicode/utf8-selftest.c func, line, #cond, (fmt?":":".")); \ cond 35 fs/unicode/utf8-selftest.c #define test_f(cond, fmt, ...) _test(cond, __func__, __LINE__, fmt, ##__VA_ARGS__) cond 36 fs/unicode/utf8-selftest.c #define test(cond) _test(cond, __func__, __LINE__, "") cond 18 include/linux/bug.h #define MAYBE_BUILD_BUG_ON(cond) (0) cond 21 include/linux/bug.h #define MAYBE_BUILD_BUG_ON(cond) \ cond 23 include/linux/bug.h if (__builtin_constant_p((cond))) \ cond 24 include/linux/bug.h BUILD_BUG_ON(cond); \ cond 26 include/linux/bug.h BUG_ON(cond); \ cond 39 include/linux/build_bug.h #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) cond 56 include/linux/compiler.h #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) cond 58 include/linux/compiler.h #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) cond 60 include/linux/compiler.h #define __trace_if_value(cond) ({ \ cond 69 include/linux/compiler.h (cond) ? \ cond 93 include/linux/context_tracking.h #define CT_WARN_ON(cond) WARN_ON(context_tracking_is_enabled() && (cond)) cond 285 include/linux/intel-iommu.h #define IOMMU_WAIT_OP(iommu, offset, op, cond, sts) \ cond 290 include/linux/intel-iommu.h if (cond) \ cond 34 include/linux/iopoll.h #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ cond 42 include/linux/iopoll.h if (cond) \ cond 52 include/linux/iopoll.h (cond) ? 0 : -ETIMEDOUT; \ cond 72 include/linux/iopoll.h #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ cond 79 include/linux/iopoll.h if (cond) \ cond 89 include/linux/iopoll.h (cond) ? 0 : -ETIMEDOUT; \ cond 93 include/linux/iopoll.h #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ cond 94 include/linux/iopoll.h readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us) cond 96 include/linux/iopoll.h #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ cond 97 include/linux/iopoll.h readx_poll_timeout_atomic(readb, addr, val, cond, delay_us, timeout_us) cond 99 include/linux/iopoll.h #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ cond 100 include/linux/iopoll.h readx_poll_timeout(readw, addr, val, cond, delay_us, timeout_us) cond 102 include/linux/iopoll.h #define readw_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ cond 103 include/linux/iopoll.h readx_poll_timeout_atomic(readw, addr, val, cond, delay_us, timeout_us) cond 105 include/linux/iopoll.h #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ cond 106 include/linux/iopoll.h readx_poll_timeout(readl, addr, val, cond, delay_us, timeout_us) cond 108 include/linux/iopoll.h #define readl_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ cond 109 include/linux/iopoll.h readx_poll_timeout_atomic(readl, addr, val, cond, delay_us, timeout_us) cond 111 include/linux/iopoll.h #define readq_poll_timeout(addr, val, cond, delay_us, timeout_us) \ cond 112 include/linux/iopoll.h readx_poll_timeout(readq, addr, val, cond, delay_us, timeout_us) cond 114 include/linux/iopoll.h #define readq_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ cond 115 include/linux/iopoll.h readx_poll_timeout_atomic(readq, addr, val, cond, delay_us, timeout_us) cond 117 include/linux/iopoll.h #define readb_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ cond 118 include/linux/iopoll.h readx_poll_timeout(readb_relaxed, addr, val, cond, delay_us, timeout_us) cond 120 include/linux/iopoll.h #define readb_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ cond 121 include/linux/iopoll.h readx_poll_timeout_atomic(readb_relaxed, addr, val, cond, delay_us, timeout_us) cond 123 include/linux/iopoll.h #define readw_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ cond 124 include/linux/iopoll.h readx_poll_timeout(readw_relaxed, addr, val, cond, delay_us, timeout_us) cond 126 include/linux/iopoll.h #define readw_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ cond 127 include/linux/iopoll.h readx_poll_timeout_atomic(readw_relaxed, addr, val, cond, delay_us, timeout_us) cond 129 include/linux/iopoll.h #define readl_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ cond 130 include/linux/iopoll.h readx_poll_timeout(readl_relaxed, addr, val, cond, delay_us, timeout_us) cond 132 include/linux/iopoll.h #define readl_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ cond 133 include/linux/iopoll.h readx_poll_timeout_atomic(readl_relaxed, addr, val, cond, delay_us, timeout_us) cond 135 include/linux/iopoll.h #define readq_relaxed_poll_timeout(addr, val, cond, delay_us, timeout_us) \ cond 136 include/linux/iopoll.h readx_poll_timeout(readq_relaxed, addr, val, cond, delay_us, timeout_us) cond 138 include/linux/iopoll.h #define readq_relaxed_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ cond 139 include/linux/iopoll.h readx_poll_timeout_atomic(readq_relaxed, addr, val, cond, delay_us, timeout_us) cond 267 include/linux/kernel.h #define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) cond 18 include/linux/mmdebug.h #define VM_BUG_ON(cond) BUG_ON(cond) cond 19 include/linux/mmdebug.h #define VM_BUG_ON_PAGE(cond, page) \ cond 21 include/linux/mmdebug.h if (unlikely(cond)) { \ cond 22 include/linux/mmdebug.h dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\ cond 26 include/linux/mmdebug.h #define VM_BUG_ON_VMA(cond, vma) \ cond 28 include/linux/mmdebug.h if (unlikely(cond)) { \ cond 33 include/linux/mmdebug.h #define VM_BUG_ON_MM(cond, mm) \ cond 35 include/linux/mmdebug.h if (unlikely(cond)) { \ cond 40 include/linux/mmdebug.h #define VM_WARN_ON(cond) (void)WARN_ON(cond) cond 41 include/linux/mmdebug.h #define VM_WARN_ON_ONCE(cond) (void)WARN_ON_ONCE(cond) cond 42 include/linux/mmdebug.h #define VM_WARN_ONCE(cond, format...) (void)WARN_ONCE(cond, format) cond 43 include/linux/mmdebug.h #define VM_WARN(cond, format...) (void)WARN(cond, format) cond 45 include/linux/mmdebug.h #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) cond 46 include/linux/mmdebug.h #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) cond 47 include/linux/mmdebug.h #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) cond 48 include/linux/mmdebug.h #define VM_BUG_ON_MM(cond, mm) VM_BUG_ON(cond) cond 49 include/linux/mmdebug.h #define VM_WARN_ON(cond) BUILD_BUG_ON_INVALID(cond) cond 50 include/linux/mmdebug.h #define VM_WARN_ON_ONCE(cond) BUILD_BUG_ON_INVALID(cond) cond 51 include/linux/mmdebug.h #define VM_WARN_ONCE(cond, format...) BUILD_BUG_ON_INVALID(cond) cond 52 include/linux/mmdebug.h #define VM_WARN(cond, format...) BUILD_BUG_ON_INVALID(cond) cond 56 include/linux/mmdebug.h #define VIRTUAL_BUG_ON(cond) BUG_ON(cond) cond 58 include/linux/mmdebug.h #define VIRTUAL_BUG_ON(cond) do { } while (0) cond 62 include/linux/mmdebug.h #define VM_BUG_ON_PGFLAGS(cond, page) VM_BUG_ON_PAGE(cond, page) cond 64 include/linux/mmdebug.h #define VM_BUG_ON_PGFLAGS(cond, page) BUILD_BUG_ON_INVALID(cond) cond 4845 include/linux/netdevice.h #define netif_cond_dbg(priv, type, netdev, cond, level, fmt, args...) \ cond 4847 include/linux/netdevice.h if (cond) \ cond 288 include/linux/netfilter.h bool cond) cond 292 include/linux/netfilter.h if (!cond || cond 390 include/linux/netfilter.h bool cond) cond 186 include/linux/power/smartreflex.h #define sr_test_cond_timeout(cond, timeout, index) \ cond 189 include/linux/power/smartreflex.h if (cond) \ cond 49 include/linux/processor.h #define spin_until_cond(cond) \ cond 51 include/linux/processor.h if (unlikely(!(cond))) { \ cond 55 include/linux/processor.h } while (!(cond)); \ cond 50 include/linux/rculist.h #define __list_check_rcu(dummy, cond, extra...) \ cond 53 include/linux/rculist.h RCU_LOCKDEP_WARN(!cond && !rcu_read_lock_any_held(), \ cond 57 include/linux/rculist.h #define __list_check_rcu(dummy, cond, extra...) \ cond 370 include/linux/rculist.h #define list_for_each_entry_rcu(pos, head, member, cond...) \ cond 371 include/linux/rculist.h for (__list_check_rcu(dummy, ## cond, 0), \ cond 645 include/linux/rculist.h #define hlist_for_each_entry_rcu(pos, head, member, cond...) \ cond 646 include/linux/rculist.h for (__list_check_rcu(dummy, ## cond, 0), \ cond 123 include/linux/regmap.h #define regmap_read_poll_timeout(map, addr, val, cond, sleep_us, timeout_us) \ cond 134 include/linux/regmap.h if (cond) \ cond 144 include/linux/regmap.h __ret ?: ((cond) ? 0 : -ETIMEDOUT); \ cond 165 include/linux/regmap.h #define regmap_field_read_poll_timeout(field, val, cond, sleep_us, timeout_us) \ cond 176 include/linux/regmap.h if (cond) \ cond 185 include/linux/regmap.h pollret ?: ((cond) ? 0 : -ETIMEDOUT); \ cond 90 include/linux/seqno-fence.h enum seqno_fence_condition cond, cond 106 include/linux/seqno-fence.h fence->condition = cond; cond 162 include/linux/tracepoint.h #define __DO_TRACE(tp, proto, args, cond, rcuidle) \ cond 169 include/linux/tracepoint.h if (!(cond)) \ cond 206 include/linux/tracepoint.h #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ cond 213 include/linux/tracepoint.h TP_CONDITION(cond), 1); \ cond 216 include/linux/tracepoint.h #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) cond 231 include/linux/tracepoint.h #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ cond 239 include/linux/tracepoint.h TP_CONDITION(cond), 0); \ cond 240 include/linux/tracepoint.h if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \ cond 247 include/linux/tracepoint.h PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \ cond 299 include/linux/tracepoint.h #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ cond 401 include/linux/tracepoint.h #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ cond 403 include/linux/tracepoint.h cpu_online(raw_smp_processor_id()) && (PARAMS(cond)), \ cond 527 include/linux/tracepoint.h args, cond) \ cond 529 include/linux/tracepoint.h PARAMS(args), PARAMS(cond)) cond 536 include/linux/tracepoint.h #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ cond 539 include/linux/tracepoint.h PARAMS(args), PARAMS(cond)) cond 540 include/linux/tracepoint.h #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ cond 543 include/linux/tracepoint.h PARAMS(args), PARAMS(cond)) cond 250 include/media/v4l2-device.h #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ cond 253 include/media/v4l2-device.h if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \ cond 275 include/media/v4l2-device.h #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ cond 279 include/media/v4l2-device.h __v4l2_device_call_subdevs_p(v4l2_dev, __sd, cond, o, \ cond 307 include/media/v4l2-device.h #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ cond 312 include/media/v4l2-device.h if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \ cond 342 include/media/v4l2-device.h #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ cond 345 include/media/v4l2-device.h __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, cond, o, \ cond 168 include/rdma/uverbs_types.h #define UVERBS_BUILD_BUG_ON(cond) (sizeof(char[1 - 2 * !!(cond)]) - \ cond 341 include/sound/core.h #define snd_BUG_ON(cond) WARN_ON((cond)) cond 228 include/sound/pcm.h unsigned int cond; cond 978 include/sound/pcm.h unsigned int cond, cond 982 include/sound/pcm.h unsigned int cond, cond 986 include/sound/pcm.h unsigned int cond, cond 990 include/sound/pcm.h unsigned int cond, cond 994 include/sound/pcm.h unsigned int cond, cond 998 include/sound/pcm.h unsigned int cond, cond 1002 include/sound/pcm.h unsigned int cond, cond 1007 include/sound/pcm.h unsigned int cond, cond 31 include/trace/define_trace.h #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \ cond 45 include/trace/define_trace.h #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \ cond 68 include/trace/define_trace.h #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \ cond 141 include/trace/trace_events.h #define TRACE_EVENT_FN_COND(name, proto, args, cond, tstruct, \ cond 143 include/trace/trace_events.h TRACE_EVENT_CONDITION(name, PARAMS(proto), PARAMS(args), PARAMS(cond), \ cond 99 include/uapi/linux/blkzoned.h __u8 cond; /* Zone condition */ cond 37 kernel/locking/lock_events.h static inline void __lockevent_inc(enum lock_events event, bool cond) cond 39 kernel/locking/lock_events.h if (cond) cond 78 kernel/locking/spinlock_debug.c #define SPIN_BUG_ON(cond, lock, msg) if (unlikely(cond)) spin_bug(lock, msg) cond 153 kernel/locking/spinlock_debug.c #define RWLOCK_BUG_ON(cond, lock, msg) if (unlikely(cond)) rwlock_bug(lock, msg) cond 269 kernel/rcu/tree.h #define rcu_wait(cond) \ cond 273 kernel/rcu/tree.h if (cond) \ cond 48 kernel/trace/ftrace.c #define FTRACE_WARN_ON(cond) \ cond 50 kernel/trace/ftrace.c int ___r = cond; \ cond 56 kernel/trace/ftrace.c #define FTRACE_WARN_ON_ONCE(cond) \ cond 58 kernel/trace/ftrace.c int ___r = cond; \ cond 727 kernel/trace/ring_buffer.c #define RB_WARN_ON(b, cond) \ cond 729 kernel/trace/ring_buffer.c int _____ret = unlikely(cond); \ cond 36 lib/test_user_copy.c int cond = (condition); \ cond 37 lib/test_user_copy.c if (cond) \ cond 39 lib/test_user_copy.c cond; \ cond 2287 mm/percpu.c #define PCPU_SETUP_BUG_ON(cond) do { \ cond 2288 mm/percpu.c if (unlikely(cond)) { \ cond 2289 mm/percpu.c pr_emerg("failed to initialize, %s\n", #cond); \ cond 27 net/dccp/dccp.h #define DCCP_BUG_ON(cond) do { if (unlikely((cond) != 0)) \ cond 29 net/dccp/dccp.h __stringify(cond)); \ cond 589 net/ipv4/inet_diag.c const struct inet_diag_hostcond *cond; cond 592 net/ipv4/inet_diag.c cond = (const struct inet_diag_hostcond *)(op + 1); cond 593 net/ipv4/inet_diag.c if (cond->port != -1 && cond 594 net/ipv4/inet_diag.c cond->port != (op->code == INET_DIAG_BC_S_COND ? cond 605 net/ipv4/inet_diag.c if (cond->family != AF_UNSPEC && cond 606 net/ipv4/inet_diag.c cond->family != entry->family) { cond 608 net/ipv4/inet_diag.c cond->family == AF_INET) { cond 612 net/ipv4/inet_diag.c cond->addr, cond 613 net/ipv4/inet_diag.c cond->prefix_len)) cond 620 net/ipv4/inet_diag.c if (cond->prefix_len == 0) cond 622 net/ipv4/inet_diag.c if (bitstring_match(addr, cond->addr, cond 623 net/ipv4/inet_diag.c cond->prefix_len)) cond 637 net/ipv4/inet_diag.c struct inet_diag_markcond *cond; cond 639 net/ipv4/inet_diag.c cond = (struct inet_diag_markcond *)(op + 1); cond 640 net/ipv4/inet_diag.c if ((entry->mark & cond->mask) != cond->mark) cond 731 net/ipv4/inet_diag.c struct inet_diag_hostcond *cond; cond 738 net/ipv4/inet_diag.c cond = (struct inet_diag_hostcond *)(op + 1); cond 741 net/ipv4/inet_diag.c switch (cond->family) { cond 759 net/ipv4/inet_diag.c if (cond->prefix_len > 8 * addr_len) cond 24 net/netfilter/nf_conntrack_h323_asn1.c #define IFTHEN(cond, act) if(cond){act;} cond 32 net/netfilter/nf_conntrack_h323_asn1.c #define IFTHEN(cond, act) cond 27 net/netfilter/xt_dccp.c #define DCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ cond 28 net/netfilter/xt_dccp.c || (!!((invflag) & (option)) ^ (cond))) cond 21 net/netfilter/xt_sctp.c #define SCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ cond 22 net/netfilter/xt_sctp.c || (!!((invflag) & (option)) ^ (cond))) cond 235 net/tipc/trace.h #define DEFINE_SK_EVENT_FILTER_COND(name, cond) \ cond 240 net/tipc/trace.h TP_CONDITION(tipc_sk_filtering(sk) && (cond))) cond 275 net/tipc/trace.h #define DEFINE_LINK_EVENT_COND(name, cond) \ cond 279 net/tipc/trace.h TP_CONDITION(cond)) cond 541 net/wireless/core.h #define CFG80211_DEV_WARN_ON(cond) WARN_ON(cond) cond 548 net/wireless/core.h #define CFG80211_DEV_WARN_ON(cond) ({bool __r = (cond); __r; }) cond 1442 scripts/asn1_compiler.c const char *cond, *act; cond 1458 scripts/asn1_compiler.c cond = (e->flags & ELEMENT_CONDITIONAL || cond 1464 scripts/asn1_compiler.c cond, act, skippable ? "_OR_SKIP" : ""); cond 1479 scripts/asn1_compiler.c cond, cond 1492 scripts/asn1_compiler.c cond, act, cond 62 scripts/extract-cert.c #define ERR(cond, fmt, ...) \ cond 64 scripts/extract-cert.c bool __cond = (cond); \ cond 85 scripts/mod/file2alias.c #define ADD(str, sep, cond, field) \ cond 88 scripts/mod/file2alias.c if (cond) \ cond 105 scripts/sign-file.c #define ERR(cond, fmt, ...) \ cond 107 scripts/sign-file.c bool __cond = (cond); \ cond 624 security/apparmor/apparmorfs.c struct path_cond cond = { }; cond 626 security/apparmor/apparmorfs.c tmp = aa_compute_fperms(dfa, state, &cond); cond 139 security/apparmor/domain.c struct path_cond cond = { }; cond 164 security/apparmor/domain.c *perms = aa_compute_fperms(profile->file.dfa, state, &cond); cond 200 security/apparmor/domain.c struct path_cond cond = { }; cond 217 security/apparmor/domain.c tmp = aa_compute_fperms(profile->file.dfa, state, &cond); cond 226 security/apparmor/domain.c tmp = aa_compute_fperms(profile->file.dfa, state, &cond); cond 619 security/apparmor/domain.c char *buffer, struct path_cond *cond, cond 660 security/apparmor/domain.c state = aa_str_perms(profile->file.dfa, state, name, cond, &perms); cond 734 security/apparmor/domain.c cond->uid, info, error); cond 745 security/apparmor/domain.c char *buffer, struct path_cond *cond, cond 781 security/apparmor/domain.c state = aa_str_perms(profile->file.dfa, state, xname, cond, &perms); cond 810 security/apparmor/domain.c NULL, onexec, cond->uid, info, error); cond 818 security/apparmor/domain.c char *buffer, struct path_cond *cond, cond 833 security/apparmor/domain.c bprm, buffer, cond, unsafe)); cond 839 security/apparmor/domain.c cond, unsafe)); cond 845 security/apparmor/domain.c buffer, cond, unsafe)); cond 852 security/apparmor/domain.c cond, unsafe)); cond 884 security/apparmor/domain.c struct path_cond cond = { cond 914 security/apparmor/domain.c bprm, buffer, &cond, &unsafe); cond 918 security/apparmor/domain.c &cond, &unsafe)); cond 168 security/apparmor/file.c const char **name, struct path_cond *cond, u32 request) cond 179 security/apparmor/file.c NULL, NULL, cond->uid, info, error)); cond 225 security/apparmor/file.c struct path_cond *cond) cond 234 security/apparmor/file.c if (uid_eq(current_fsuid(), cond->uid)) { cond 267 security/apparmor/file.c const char *name, struct path_cond *cond, cond 272 security/apparmor/file.c *perms = aa_compute_fperms(dfa, state, cond); cond 278 security/apparmor/file.c u32 request, struct path_cond *cond, int flags, cond 285 security/apparmor/file.c aa_str_perms(profile->file.dfa, profile->file.start, name, cond, perms); cond 289 security/apparmor/file.c cond->uid, NULL, e); cond 295 security/apparmor/file.c struct path_cond *cond, int flags, cond 305 security/apparmor/file.c flags | profile->path_flags, buffer, &name, cond, cond 309 security/apparmor/file.c return __aa_path_perm(op, profile, name, request, cond, flags, cond 326 security/apparmor/file.c struct path_cond *cond) cond 333 security/apparmor/file.c flags |= PATH_DELEGATE_DELETED | (S_ISDIR(cond->mode) ? PATH_IS_DIR : cond 338 security/apparmor/file.c cond, flags, &perms)); cond 368 security/apparmor/file.c struct path_cond *cond) cond 378 security/apparmor/file.c buffer, &lname, cond, AA_MAY_LINK); cond 384 security/apparmor/file.c buffer2, &tname, cond, AA_MAY_LINK); cond 391 security/apparmor/file.c cond, &lperms); cond 398 security/apparmor/file.c aa_str_perms(profile->file.dfa, state, tname, cond, &perms); cond 420 security/apparmor/file.c aa_str_perms(profile->file.dfa, profile->file.start, tname, cond, cond 443 security/apparmor/file.c NULL, cond->uid, info, error); cond 469 security/apparmor/file.c struct path_cond cond = { cond 481 security/apparmor/file.c buffer2, &cond)); cond 514 security/apparmor/file.c struct path_cond cond = { cond 526 security/apparmor/file.c flags = PATH_DELEGATE_DELETED | (S_ISDIR(cond.mode) ? PATH_IS_DIR : 0); cond 532 security/apparmor/file.c request, &cond, flags, &perms)); cond 545 security/apparmor/file.c buffer, request, &cond, flags, cond 550 security/apparmor/file.c buffer, request, &cond, flags, cond 184 security/apparmor/include/file.h struct path_cond *cond); cond 186 security/apparmor/include/file.h const char *name, struct path_cond *cond, cond 190 security/apparmor/include/file.h const char *name, u32 request, struct path_cond *cond, cond 194 security/apparmor/include/file.h struct path_cond *cond); cond 76 security/apparmor/include/perms.h u32 cond; /* set only when ~allow and ~deny */ cond 357 security/apparmor/lib.c accum->cond |= addend->cond & ~addend->allow & ~addend->deny; cond 376 security/apparmor/lib.c accum->cond |= addend->cond & ~accum->allow & ~accum->deny; cond 194 security/apparmor/lsm.c struct path_cond *cond) cond 201 security/apparmor/lsm.c error = aa_path_perm(op, label, path, 0, mask, cond); cond 217 security/apparmor/lsm.c struct path_cond cond = { d_backing_inode(path->dentry)->i_uid, cond 224 security/apparmor/lsm.c return common_perm(op, path, mask, &cond); cond 239 security/apparmor/lsm.c struct path_cond *cond) cond 243 security/apparmor/lsm.c return common_perm(op, &path, mask, cond); cond 259 security/apparmor/lsm.c struct path_cond cond = { }; cond 264 security/apparmor/lsm.c cond.uid = inode->i_uid; cond 265 security/apparmor/lsm.c cond.mode = inode->i_mode; cond 267 security/apparmor/lsm.c return common_perm_dir_dentry(op, dir, dentry, mask, &cond); cond 283 security/apparmor/lsm.c struct path_cond cond = { current_fsuid(), mode }; cond 288 security/apparmor/lsm.c return common_perm_dir_dentry(op, dir, dentry, mask, &cond); cond 358 security/apparmor/lsm.c struct path_cond cond = { d_backing_inode(old_dentry)->i_uid, cond 365 security/apparmor/lsm.c &cond); cond 369 security/apparmor/lsm.c AA_MAY_CREATE, &cond); cond 414 security/apparmor/lsm.c struct path_cond cond = { inode->i_uid, inode->i_mode }; cond 417 security/apparmor/lsm.c aa_map_file_to_perms(file), &cond); cond 342 security/tomoyo/audit.c if (is_granted && matched_acl && matched_acl->cond && cond 343 security/tomoyo/audit.c matched_acl->cond->grant_log != TOMOYO_GRANTLOG_AUTO) cond 344 security/tomoyo/audit.c return matched_acl->cond->grant_log == TOMOYO_GRANTLOG_YES; cond 1233 security/tomoyo/common.c const struct tomoyo_condition *cond) cond 1239 security/tomoyo/common.c if (cond->transit) { cond 1241 security/tomoyo/common.c tomoyo_set_string(head, cond->transit->name); cond 1246 security/tomoyo/common.c const u16 condc = cond->condc; cond 1248 security/tomoyo/common.c (typeof(condp)) (cond + 1); cond 1253 security/tomoyo/common.c (numbers_p + cond->numbers_count); cond 1255 security/tomoyo/common.c (typeof(argv)) (names_p + cond->names_count); cond 1257 security/tomoyo/common.c (typeof(envp)) (argv + cond->argc); cond 1355 security/tomoyo/common.c if (cond->grant_log != TOMOYO_GRANTLOG_AUTO) cond 1357 security/tomoyo/common.c tomoyo_yesno(cond->grant_log == cond 1572 security/tomoyo/common.c if (acl->cond) { cond 1578 security/tomoyo/common.c if (!tomoyo_print_condition(head, acl->cond)) cond 674 security/tomoyo/common.h struct tomoyo_condition *cond; /* Maybe NULL. */ cond 932 security/tomoyo/common.h const struct tomoyo_condition *cond); cond 1194 security/tomoyo/common.h static inline void tomoyo_put_condition(struct tomoyo_condition *cond) cond 1196 security/tomoyo/common.h if (cond) cond 1197 security/tomoyo/common.h atomic_dec(&cond->head.users); cond 766 security/tomoyo/condition.c const struct tomoyo_condition *cond) cond 782 security/tomoyo/condition.c if (!cond) cond 784 security/tomoyo/condition.c condc = cond->condc; cond 785 security/tomoyo/condition.c argc = cond->argc; cond 786 security/tomoyo/condition.c envc = cond->envc; cond 792 security/tomoyo/condition.c condp = (struct tomoyo_condition_element *) (cond + 1); cond 795 security/tomoyo/condition.c (numbers_p + cond->numbers_count); cond 796 security/tomoyo/condition.c argv = (const struct tomoyo_argv *) (names_p + cond->names_count); cond 76 security/tomoyo/domain.c return a->type == b->type && a->cond == b->cond; cond 108 security/tomoyo/domain.c new_entry->cond = tomoyo_get_condition(param); cond 109 security/tomoyo/domain.c if (!new_entry->cond) cond 115 security/tomoyo/domain.c if (new_entry->cond->transit && cond 147 security/tomoyo/domain.c tomoyo_put_condition(new_entry->cond); cond 177 security/tomoyo/domain.c if (!tomoyo_condition(r, ptr->cond)) cond 616 security/tomoyo/file.c r->ee->transition = r->matched_acl && r->matched_acl->cond ? cond 617 security/tomoyo/file.c r->matched_acl->cond->transit : NULL; cond 161 security/tomoyo/gc.c tomoyo_put_condition(acl->cond); cond 279 security/tomoyo/gc.c struct tomoyo_condition *cond = container_of(element, typeof(*cond), cond 281 security/tomoyo/gc.c const u16 condc = cond->condc; cond 282 security/tomoyo/gc.c const u16 numbers_count = cond->numbers_count; cond 283 security/tomoyo/gc.c const u16 names_count = cond->names_count; cond 284 security/tomoyo/gc.c const u16 argc = cond->argc; cond 285 security/tomoyo/gc.c const u16 envc = cond->envc; cond 288 security/tomoyo/gc.c = (const struct tomoyo_condition_element *) (cond + 1); cond 1109 sound/core/pcm_lib.c int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, cond 1132 sound/core/pcm_lib.c c->cond = cond; cond 1261 sound/core/pcm_lib.c unsigned int cond, cond 1265 sound/core/pcm_lib.c return snd_pcm_hw_rule_add(runtime, cond, var, cond 1292 sound/core/pcm_lib.c unsigned int cond, cond 1296 sound/core/pcm_lib.c return snd_pcm_hw_rule_add(runtime, cond, var, cond 1327 sound/core/pcm_lib.c unsigned int cond, cond 1331 sound/core/pcm_lib.c return snd_pcm_hw_rule_add(runtime, cond, var, cond 1361 sound/core/pcm_lib.c unsigned int cond, cond 1365 sound/core/pcm_lib.c return snd_pcm_hw_rule_add(runtime, cond, var, cond 1405 sound/core/pcm_lib.c unsigned int cond, cond 1410 sound/core/pcm_lib.c return snd_pcm_hw_rule_add(runtime, cond, -1, cond 1434 sound/core/pcm_lib.c unsigned int cond, cond 1438 sound/core/pcm_lib.c return snd_pcm_hw_rule_add(runtime, cond, var, cond 1465 sound/core/pcm_lib.c unsigned int cond, cond 1468 sound/core/pcm_lib.c return snd_pcm_hw_rule_add(runtime, cond, var, cond 366 sound/core/pcm_native.c if (r->cond && !(r->cond & params->flags)) cond 117 sound/isa/wavefront/wavefront_synth.c #define DPRINT(cond, ...) \ cond 118 sound/isa/wavefront/wavefront_synth.c if ((dev->debug & (cond)) == (cond)) { \ cond 122 sound/isa/wavefront/wavefront_synth.c #define DPRINT(cond, args...) cond 80 sound/pci/asihpi/hpi_internal.h #define compile_time_assert(cond, msg) \ cond 81 sound/pci/asihpi/hpi_internal.h typedef char ASSERT_##msg[(cond) ? 1 : -1] cond 87 sound/pci/asihpi/hpidebug.h #define compile_time_assert(cond, msg) \ cond 88 sound/pci/asihpi/hpidebug.h typedef char msg[(cond) ? 1 : -1] cond 417 sound/soc/sof/ops.h #define snd_sof_dsp_read_poll_timeout(sdev, bar, offset, val, cond, sleep_us, timeout_us) \ cond 425 sound/soc/sof/ops.h if (cond) { \ cond 440 sound/soc/sof/ops.h (cond) ? 0 : -ETIMEDOUT; \ cond 68 tools/include/linux/kernel.h #define BUG_ON(cond) do { if (cond) {} } while (0) cond 70 tools/include/linux/kernel.h #define BUG_ON(cond) assert(!(cond)) cond 45 tools/include/linux/refcount.h #define REFCOUNT_WARN(cond, str) (void)(cond) cond 48 tools/include/linux/refcount.h #define REFCOUNT_WARN(cond, str) BUG_ON(cond) cond 9 tools/objtool/arch/x86/decode.c #define unlikely(cond) (cond) cond 3 tools/perf/arch/sparc/annotate/instructions.c static int is_branch_cond(const char *cond) cond 5 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == '\0') cond 8 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'a' && cond[1] == '\0') cond 11 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'c' && cond 12 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'c' || cond[1] == 's') && cond 13 tools/perf/arch/sparc/annotate/instructions.c cond[2] == '\0') cond 16 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'e' && cond 17 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == '\0' || cond 18 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'q' && cond[2] == '\0'))) cond 21 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'g' && cond 22 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == '\0' || cond 23 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 't' && cond[2] == '\0') || cond 24 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'e' && cond[2] == '\0') || cond 25 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'e' && cond[2] == 'u' && cond[3] == '\0'))) cond 28 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'l' && cond 29 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == '\0' || cond 30 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 't' && cond[2] == '\0') || cond 31 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'u' && cond[2] == '\0') || cond 32 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'e' && cond[2] == '\0') || cond 33 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'e' && cond[2] == 'u' && cond[3] == '\0'))) cond 36 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'n' && cond 37 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == '\0' || cond 38 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'e' && cond[2] == '\0') || cond 39 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'z' && cond[2] == '\0') || cond 40 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'e' && cond[2] == 'g' && cond[3] == '\0'))) cond 43 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'b' && cond 44 tools/perf/arch/sparc/annotate/instructions.c cond[1] == 'p' && cond 45 tools/perf/arch/sparc/annotate/instructions.c cond[2] == 'o' && cond 46 tools/perf/arch/sparc/annotate/instructions.c cond[3] == 's' && cond 47 tools/perf/arch/sparc/annotate/instructions.c cond[4] == '\0') cond 50 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'v' && cond 51 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'c' || cond[1] == 's') && cond 52 tools/perf/arch/sparc/annotate/instructions.c cond[2] == '\0') cond 55 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'b' && cond 56 tools/perf/arch/sparc/annotate/instructions.c cond[1] == 'z' && cond 57 tools/perf/arch/sparc/annotate/instructions.c cond[2] == '\0') cond 63 tools/perf/arch/sparc/annotate/instructions.c static int is_branch_reg_cond(const char *cond) cond 65 tools/perf/arch/sparc/annotate/instructions.c if ((cond[0] == 'n' || cond[0] == 'l') && cond 66 tools/perf/arch/sparc/annotate/instructions.c cond[1] == 'z' && cond 67 tools/perf/arch/sparc/annotate/instructions.c cond[2] == '\0') cond 70 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'z' && cond 71 tools/perf/arch/sparc/annotate/instructions.c cond[1] == '\0') cond 74 tools/perf/arch/sparc/annotate/instructions.c if ((cond[0] == 'g' || cond[0] == 'l') && cond 75 tools/perf/arch/sparc/annotate/instructions.c cond[1] == 'e' && cond 76 tools/perf/arch/sparc/annotate/instructions.c cond[2] == 'z' && cond 77 tools/perf/arch/sparc/annotate/instructions.c cond[3] == '\0') cond 80 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'g' && cond 81 tools/perf/arch/sparc/annotate/instructions.c cond[1] == 'z' && cond 82 tools/perf/arch/sparc/annotate/instructions.c cond[2] == '\0') cond 88 tools/perf/arch/sparc/annotate/instructions.c static int is_branch_float_cond(const char *cond) cond 90 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == '\0') cond 93 tools/perf/arch/sparc/annotate/instructions.c if ((cond[0] == 'a' || cond[0] == 'e' || cond 94 tools/perf/arch/sparc/annotate/instructions.c cond[0] == 'z' || cond[0] == 'g' || cond 95 tools/perf/arch/sparc/annotate/instructions.c cond[0] == 'l' || cond[0] == 'n' || cond 96 tools/perf/arch/sparc/annotate/instructions.c cond[0] == 'o' || cond[0] == 'u') && cond 97 tools/perf/arch/sparc/annotate/instructions.c cond[1] == '\0') cond 100 tools/perf/arch/sparc/annotate/instructions.c if (((cond[0] == 'g' && cond[1] == 'e') || cond 101 tools/perf/arch/sparc/annotate/instructions.c (cond[0] == 'l' && (cond[1] == 'e' || cond 102 tools/perf/arch/sparc/annotate/instructions.c cond[1] == 'g')) || cond 103 tools/perf/arch/sparc/annotate/instructions.c (cond[0] == 'n' && (cond[1] == 'e' || cond 104 tools/perf/arch/sparc/annotate/instructions.c cond[1] == 'z')) || cond 105 tools/perf/arch/sparc/annotate/instructions.c (cond[0] == 'u' && (cond[1] == 'e' || cond 106 tools/perf/arch/sparc/annotate/instructions.c cond[1] == 'g' || cond 107 tools/perf/arch/sparc/annotate/instructions.c cond[1] == 'l'))) && cond 108 tools/perf/arch/sparc/annotate/instructions.c cond[2] == '\0') cond 111 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'u' && cond 112 tools/perf/arch/sparc/annotate/instructions.c (cond[1] == 'g' || cond[1] == 'l') && cond 113 tools/perf/arch/sparc/annotate/instructions.c cond[2] == 'e' && cond 114 tools/perf/arch/sparc/annotate/instructions.c cond[3] == '\0') cond 140 tools/perf/arch/sparc/annotate/instructions.c const char *cond = name + 1; cond 142 tools/perf/arch/sparc/annotate/instructions.c if (cond[0] == 'r') { cond 143 tools/perf/arch/sparc/annotate/instructions.c if (is_branch_reg_cond(cond + 1)) cond 145 tools/perf/arch/sparc/annotate/instructions.c } else if (is_branch_cond(cond)) { cond 891 tools/perf/builtin-top.c pthread_cond_signal(&top->qe.cond); cond 1099 tools/perf/builtin-top.c pthread_cond_wait(&top->qe.cond, &top->qe.mutex); cond 1215 tools/perf/builtin-top.c pthread_cond_init(&top->qe.cond, NULL); cond 1333 tools/perf/builtin-top.c pthread_cond_signal(&top->qe.cond); cond 11 tools/perf/lib/include/internal/tests.h #define __T(text, cond) \ cond 13 tools/perf/lib/include/internal/tests.h if (!(cond)) { \ cond 7 tools/perf/tests/tests.h #define TEST_ASSERT_VAL(text, cond) \ cond 9 tools/perf/tests/tests.h if (!(cond)) { \ cond 53 tools/perf/util/top.h pthread_cond_t cond; cond 8 tools/testing/radix-tree/linux/rcupdate.h #define rcu_dereference_protected(p, cond) rcu_dereference(p) cond 9 tools/testing/radix-tree/linux/rcupdate.h #define rcu_dereference_check(p, cond) rcu_dereference(p) cond 52 tools/testing/selftests/net/psock_tpacket.c # define bug_on(cond) assert(!(cond)) cond 2288 tools/testing/selftests/seccomp/seccomp_bpf.c pthread_cond_t *cond; cond 2317 tools/testing/selftests/seccomp/seccomp_bpf.c pthread_cond_t cond; cond 2350 tools/testing/selftests/seccomp/seccomp_bpf.c pthread_cond_init(&self->cond, NULL); cond 2353 tools/testing/selftests/seccomp/seccomp_bpf.c self->sibling[0].cond = &self->cond; cond 2361 tools/testing/selftests/seccomp/seccomp_bpf.c self->sibling[1].cond = &self->cond; cond 2391 tools/testing/selftests/seccomp/seccomp_bpf.c pthread_cond_destroy(&self->cond); cond 2415 tools/testing/selftests/seccomp/seccomp_bpf.c pthread_cond_wait(me->cond, me->mutex); cond 2472 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { cond 2515 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { cond 2540 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { cond 2580 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { cond 2625 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { cond 2687 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { cond 2712 tools/testing/selftests/seccomp/seccomp_bpf.c ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { cond 34 tools/testing/selftests/sync/synctest.h #define ASSERT(cond, msg) do { \ cond 35 tools/testing/selftests/sync/synctest.h if (!(cond)) { \ cond 101 tools/usb/ffs-test.c #define die_on(cond, ...) do { \ cond 102 tools/usb/ffs-test.c if (cond) \ cond 130 tools/virtio/linux/kernel.h #define WARN_ON_ONCE(cond) (unlikely(cond) ? fprintf (stderr, "WARNING\n") : 0) cond 51 virt/kvm/arm/hyp/aarch32.c int cond; cond 58 virt/kvm/arm/hyp/aarch32.c cond = kvm_vcpu_get_condition(vcpu); cond 59 virt/kvm/arm/hyp/aarch32.c if (cond == 0xE) cond 64 virt/kvm/arm/hyp/aarch32.c if (cond < 0) { cond 75 virt/kvm/arm/hyp/aarch32.c cond = (it >> 4); cond 80 virt/kvm/arm/hyp/aarch32.c if (!((cc_map[cond] >> cpsr_cond) & 1)) cond 98 virt/kvm/arm/hyp/aarch32.c unsigned long itbits, cond; cond 105 virt/kvm/arm/hyp/aarch32.c cond = (cpsr & 0xe000) >> 13; cond 111 virt/kvm/arm/hyp/aarch32.c itbits = cond = 0; cond 116 virt/kvm/arm/hyp/aarch32.c cpsr |= cond << 13;