/linux-master/arch/x86/kvm/ |
H A D | kvm_emulate.h | 378 #define KVM_EMULATOR_BUG_ON(cond, ctxt) \ 380 int __ret = (cond); \
|
/linux-master/arch/powerpc/include/asm/ |
H A D | interrupt.h | 82 #define INT_SOFT_MASK_BUG_ON(regs, cond) \ 85 BUG_ON(cond); \ 88 #define INT_SOFT_MASK_BUG_ON(regs, 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/tests/ |
H A D | tests.h | 13 #define TEST_ASSERT_VAL(text, cond) \ 15 if (!(cond)) { \
|
/linux-master/tools/perf/ |
H A D | builtin-top.c | 903 cond_signal(&top->qe.cond); 1110 cond_wait(&top->qe.cond, &top->qe.mutex); 1226 cond_init(&top->qe.cond); 1234 cond_destroy(&top->qe.cond); 1365 cond_signal(&top->qe.cond);
|
/linux-master/sound/core/ |
H A D | pcm_native.c | 407 if (r->cond && !(r->cond & params->flags)) 2476 unsigned int cond, u32 *subformats) 2478 return snd_pcm_hw_rule_add(runtime, cond, -1, 2475 snd_pcm_hw_constraint_subformats(struct snd_pcm_runtime *runtime, unsigned int cond, u32 *subformats) argument
|
H A D | pcm_lib.c | 1137 * @cond: condition bits 1145 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, argument 1168 c->cond = cond; 1288 * @cond: condition bits 1297 unsigned int cond, 1301 return snd_pcm_hw_rule_add(runtime, cond, var, 1319 * @cond: condition bits 1328 unsigned int cond, 1332 return snd_pcm_hw_rule_add(runtime, cond, va 1296 snd_pcm_hw_constraint_list(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_list *l) argument 1327 snd_pcm_hw_constraint_ranges(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_ranges *r) argument 1362 snd_pcm_hw_constraint_ratnums(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_ratnums *r) argument 1396 snd_pcm_hw_constraint_ratdens(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, const struct snd_pcm_hw_constraint_ratdens *r) argument 1440 snd_pcm_hw_constraint_msbits(struct snd_pcm_runtime *runtime, unsigned int cond, unsigned int width, unsigned int msbits) argument 1469 snd_pcm_hw_constraint_step(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var, unsigned long step) argument 1500 snd_pcm_hw_constraint_pow2(struct snd_pcm_runtime *runtime, unsigned int cond, snd_pcm_hw_param_t var) argument [all...] |
/linux-master/scripts/mod/ |
H A D | file2alias.c | 89 #define ADD(str, sep, cond, field) \ 92 if (cond) \
|
/linux-master/include/sound/ |
H A D | pcm.h | 243 unsigned int cond; 1080 unsigned int cond, 1084 unsigned int cond, 1088 unsigned int cond, 1092 unsigned int cond, 1096 unsigned int cond, 1100 unsigned int cond, 1104 unsigned int cond, 1109 unsigned int cond, 238 unsigned int cond; member in struct:snd_pcm_hw_rule
|
/linux-master/include/linux/ |
H A D | ring_buffer.h | 103 ring_buffer_cond_fn cond, void *data);
|
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...] |
/linux-master/fs/reiserfs/ |
H A D | reiserfs.h | 906 #define __RASSERT(cond, scond, format, args...) \ 908 if (!(cond)) \ 909 reiserfs_panic(NULL, "assertion failure", "(" #cond ") at " \ 914 #define RASSERT(cond, format, args...) __RASSERT(cond, #cond, format, ##args) 917 #define RFALSE(cond, format, args...) __RASSERT(!(cond), "!(" #cond ")", format, ##args) 919 #define RFALSE( cond, forma [all...] |
/linux-master/drivers/pwm/ |
H A D | pwm-lpss.c | 159 static inline void pwm_lpss_cond_enable(struct pwm_device *pwm, bool cond) argument 161 if (cond)
|
/linux-master/drivers/media/i2c/ |
H A D | thp7312.c | 355 #define thp7312_read_poll_timeout(dev, addr, val, cond, sleep_us, timeout_us) \ 358 __ret = read_poll_timeout(cci_read, __err, __err || (cond), sleep_us, \
|
/linux-master/drivers/md/dm-vdo/indexer/ |
H A D | index-session.c | 231 uds_init_cond(&session->load_context.cond); 390 uds_wait_cond(&session->load_context.cond, 522 uds_broadcast_cond(&session->load_context.cond); 658 uds_broadcast_cond(&index_session->load_context.cond);
|
H A D | index-session.h | 69 struct cond_var cond; member in struct:index_load_context
|
H A D | index.c | 61 struct cond_var cond; member in struct:chapter_writer 186 uds_wait_cond(&writer->cond, &writer->mutex); 226 uds_broadcast_cond(&writer->cond); 694 uds_wait_cond(&writer->cond, &writer->mutex); 730 uds_broadcast_cond(&writer->cond); 743 uds_broadcast_cond(&writer->cond); 778 uds_init_cond(&writer->cond); 963 uds_broadcast_cond(&index->load_context->cond); 967 uds_wait_cond(&index->load_context->cond, &index->load_context->mutex); 1265 uds_broadcast_cond(&index->load_context->cond); [all...] |
/linux-master/drivers/iommu/intel/ |
H A D | iommu.h | 364 #define IOMMU_WAIT_OP(iommu, offset, op, cond, sts) \ 369 if (cond) \
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | init.c | 479 init_condition_met(struct nvbios_init *init, u8 cond) argument 484 u32 reg = nvbios_rd32(bios, table + (cond * 12) + 0); 485 u32 msk = nvbios_rd32(bios, table + (cond * 12) + 4); 486 u32 val = nvbios_rd32(bios, table + (cond * 12) + 8); 488 cond, reg, msk, val); 495 init_io_condition_met(struct nvbios_init *init, u8 cond) argument 500 u16 port = nvbios_rd16(bios, table + (cond * 5) + 0); 501 u8 index = nvbios_rd08(bios, table + (cond * 5) + 2); 502 u8 mask = nvbios_rd08(bios, table + (cond * 5) + 3); 503 u8 value = nvbios_rd08(bios, table + (cond * 512 init_io_flag_condition_met(struct nvbios_init *init, u8 cond) argument 782 u8 cond = nvbios_rd08(bios, init->offset + 1); local 800 u8 cond = nvbios_rd08(bios, init->offset + 1); local 1240 u8 cond = nvbios_rd08(bios, init->offset + 1); local 1805 u8 cond = nvbios_rd08(bios, init->offset + 1); local 1822 u8 cond = nvbios_rd08(bios, init->offset + 1); local [all...] |
/linux-master/drivers/gpu/drm/msm/adreno/ |
H A D | adreno_gpu.h | 620 #define gpu_poll_timeout(gpu, addr, val, cond, interval, timeout) \ 621 readl_poll_timeout((gpu)->mmio + ((addr) << 2), val, cond, \
|
/linux-master/drivers/gpu/drm/lima/ |
H A D | lima_mmu.c | 16 #define lima_mmu_send_command(cmd, addr, val, cond) \ 22 cond, 0, 100); \
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | Makefile | 50 cond-flags := $(call cc-option, -Wunused-but-set-variable) \ 54 subdir-ccflags-y += $(cond-flags)
|
/linux-master/drivers/accel/habanalabs/common/ |
H A D | habanalabs.h | 2602 #define hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, elbi) \ 2618 if (cond) \ 2634 __rc ? __rc : ((cond) ? 0 : -ETIMEDOUT); \ 2637 #define hl_poll_timeout(hdev, addr, val, cond, sleep_us, timeout_us) \ 2638 hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, false) 2640 #define hl_poll_timeout_elbi(hdev, addr, val, cond, sleep_us, timeout_us) \ 2641 hl_poll_timeout_common(hdev, addr, val, cond, sleep_us, timeout_us, true) 2713 #define hl_poll_timeout_memory(hdev, addr, val, cond, sleep_us, timeout_us, \ 2726 if (cond) \ 2737 (cond) [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | pgtable.h | 341 pgprotval_t cond = (~v >> _PAGE_BIT_RW) & 1; local 343 v |= ((v >> _PAGE_BIT_DIRTY) & cond) << _PAGE_BIT_SAVED_DIRTY; 344 v &= ~(cond << _PAGE_BIT_DIRTY); 351 pgprotval_t cond = (v >> _PAGE_BIT_RW) & 1; local 353 v |= ((v >> _PAGE_BIT_SAVED_DIRTY) & cond) << _PAGE_BIT_DIRTY; 354 v &= ~(cond << _PAGE_BIT_SAVED_DIRTY);
|
/linux-master/tools/testing/selftests/seccomp/ |
H A D | seccomp_bpf.c | 2515 pthread_cond_t *cond; member in struct:tsync_sibling 2544 pthread_cond_t cond; local 2577 pthread_cond_init(&self->cond, NULL); 2580 self->sibling[0].cond = &self->cond; 2588 self->sibling[1].cond = &self->cond; 2618 pthread_cond_destroy(&self->cond); 2642 pthread_cond_wait(me->cond, me->mutex); 2699 ASSERT_EQ(0, pthread_cond_broadcast(&self->cond)) { [all...] |