/linux-master/drivers/dma/ |
H A D | pl330.c | 608 static inline u32 _emit_LD(unsigned dry_run, u8 buf[], enum pl330_cond cond) argument 615 if (cond == SINGLE) 617 else if (cond == BURST) 621 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); 627 enum pl330_cond cond, u8 peri) 634 if (cond == BURST) 642 cond == SINGLE ? 'S' : 'B', peri >> 3); 667 enum pl330_cond cond; member in struct:_arg_LPEND 676 enum pl330_cond cond local 626 _emit_LDP(unsigned dry_run, u8 buf[], enum pl330_cond cond, u8 peri) argument 765 _emit_ST(unsigned dry_run, u8 buf[], enum pl330_cond cond) argument 783 _emit_STP(unsigned dry_run, u8 buf[], enum pl330_cond cond, u8 peri) argument 804 _emit_WFP(unsigned dry_run, u8 buf[], enum pl330_cond cond, u8 peri) argument 1119 _emit_load(unsigned int dry_run, u8 buf[], enum pl330_cond cond, enum dma_transfer_direction direction, u8 peri) argument 1152 _emit_store(unsigned int dry_run, u8 buf[], enum pl330_cond cond, enum dma_transfer_direction direction, u8 peri) argument 1185 _ldst_peripheral(struct pl330_dmac *pl330, unsigned dry_run, u8 buf[], const struct _xfer_spec *pxs, int cyc, enum pl330_cond cond) argument 1213 enum pl330_cond cond = BRST_LEN(pxs->ccr) > 1 ? BURST : SINGLE; local [all...] |
/linux-master/fs/bcachefs/ |
H A D | journal_io.c | 293 #define journal_entry_err_on(cond, ...) \ 294 ((cond) ? journal_entry_err(__VA_ARGS__) : false)
|
H A D | btree_io.c | 613 #define btree_err_on(cond, ...) ((cond) ? btree_err(__VA_ARGS__) : false)
|
H A D | util.h | 29 #define EBUG_ON(cond) BUG_ON(cond) 31 #define EBUG_ON(cond) 459 #define kthread_wait(cond) \ 470 if (cond) \ 479 #define kthread_wait_freezable(cond) \ 489 if (cond) \
|
H A D | eytzinger.h | 9 #define EYTZINGER_BUG_ON(cond) BUG_ON(cond) 11 #define EYTZINGER_BUG_ON(cond)
|
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/mm/ |
H A D | internal.h | 42 #define WARN_ON_ONCE_GFP(cond, gfp) ({ \ 44 int __ret_warn_once = !!(cond); \
|
/linux-master/fs/zonefs/ |
H A D | super.c | 194 switch (zone->cond) { 386 zone.cond = BLK_ZONE_COND_NOT_WP; 985 if (next->cond == BLK_ZONE_COND_READONLY && 986 zone->cond != BLK_ZONE_COND_OFFLINE) 987 zone->cond = BLK_ZONE_COND_READONLY; 988 else if (next->cond == BLK_ZONE_COND_OFFLINE) 989 zone->cond = BLK_ZONE_COND_OFFLINE; 1033 (zone->cond == BLK_ZONE_COND_IMP_OPEN || 1034 zone->cond == BLK_ZONE_COND_EXP_OPEN)) {
|
/linux-master/drivers/ata/ |
H A D | libata-scsi.c | 3410 u8 cond, type, non_seq, reset; local 3416 cond = (rec[1] >> 4) & 0xf; 3423 rec[1] = (cond << 4) | non_seq | reset;
|
/linux-master/kernel/trace/ |
H A D | ring_buffer.c | 852 int cpu, int full, ring_buffer_cond_fn cond, void *data) 857 if (cond(data)) 910 * @cond: condition function to break out of wait (NULL to run once) 911 * @data: the data to pass to @cond. 918 ring_buffer_cond_fn cond, void *data) 948 if (!cond) { 949 cond = rb_wait_once; 956 rb_wait_cond(rbwork, buffer, cpu, full, cond, data)); 1040 #define RB_WARN_ON(b, cond) \ 1042 int _____ret = unlikely(cond); \ 851 rb_wait_cond(struct rb_irq_work *rbwork, struct trace_buffer *buffer, int cpu, int full, ring_buffer_cond_fn cond, void *data) argument 917 ring_buffer_wait(struct trace_buffer *buffer, int cpu, int full, ring_buffer_cond_fn cond, void *data) argument [all...] |
/linux-master/drivers/scsi/hisi_sas/ |
H A D | hisi_sas_v3_hw.c | 593 #define hisi_sas_read32_poll_timeout(off, val, cond, delay_us, \ 597 readl_poll_timeout(regs, val, cond, delay_us, timeout_us); \ 600 #define hisi_sas_read32_poll_timeout_atomic(off, val, cond, delay_us, \ 604 readl_poll_timeout_atomic(regs, val, cond, delay_us, timeout_us);\
|
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_hevc_req_multi_if.c | 23 #define GET_HEVC_VDEC_FLAG(cond, flag) \ 24 { dst_param->cond = ((src_param->flags & (flag)) ? (1) : (0)); }
|
/linux-master/tools/include/linux/ |
H A D | kernel.h | 63 #define BUG_ON(cond) do { if (cond) {} } while (0) 65 #define BUG_ON(cond) assert(!(cond))
|
/linux-master/include/linux/ |
H A D | compiler.h | 55 #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) 57 #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) 59 #define __trace_if_value(cond) ({ \ 68 (cond) ? \
|
H A D | skbuff.h | 4302 static inline ktime_t skb_tstamp_cond(const struct sk_buff *skb, bool cond) argument 4307 if (static_branch_unlikely(&netstamp_needed_key) || cond)
|
/linux-master/sound/soc/sof/ |
H A D | ops.h | 599 * @cond: Break condition (usually involving @val) 611 #define snd_sof_dsp_read_poll_timeout(sdev, bar, offset, val, cond, sleep_us, timeout_us) \ 619 if (cond) { \ 636 (cond) ? 0 : -ETIMEDOUT; \
|
/linux-master/include/sound/ |
H A D | hdaudio_ext.h | 152 #define snd_hdac_adsp_readb_poll(chip, reg, val, cond, delay_us, timeout_us) \ 153 readb_poll_timeout((chip)->dsp_ba + (reg), val, cond, \ 155 #define snd_hdac_adsp_readw_poll(chip, reg, val, cond, delay_us, timeout_us) \ 156 readw_poll_timeout((chip)->dsp_ba + (reg), val, cond, \ 158 #define snd_hdac_adsp_readl_poll(chip, reg, val, cond, delay_us, timeout_us) \ 159 readl_poll_timeout((chip)->dsp_ba + (reg), val, cond, \ 161 #define snd_hdac_adsp_readq_poll(chip, reg, val, cond, delay_us, timeout_us) \ 162 readq_poll_timeout((chip)->dsp_ba + (reg), val, cond, \
|
/linux-master/fs/jfs/ |
H A D | jfs_logmgr.c | 116 #define LCACHE_SLEEP_COND(wq, cond, flags) \ 118 if (cond) \ 120 __SLEEP_COND(wq, cond, LCACHE_LOCK(flags), LCACHE_UNLOCK(flags)); \
|
/linux-master/drivers/nvme/host/ |
H A D | zns.c | 165 zone.cond = entry->zs >> 4; 169 if (zone.cond == BLK_ZONE_COND_FULL)
|
/linux-master/tools/testing/selftests/kvm/include/x86_64/ |
H A D | processor.h | 1078 #define TEST_ASSERT_MSR(cond, fmt, msr, str, args...) \ 1081 TEST_ASSERT(cond, fmt, str, args); \ 1082 } else if (!(cond)) { \ 1086 TEST_ASSERT(cond, fmt, buf, args); \
|
/linux-master/fs/btrfs/ |
H A D | zoned.c | 71 return (zone->cond == BLK_ZONE_COND_FULL) || 94 empty[i] = (zones[i].cond == BLK_ZONE_COND_EMPTY); 210 zones[i].cond = BLK_ZONE_COND_NOT_WP; 492 switch (zones[i].cond) { 824 if (reset && reset->cond != BLK_ZONE_COND_EMPTY) { 836 reset->cond = BLK_ZONE_COND_EMPTY; 958 if (zone->cond == BLK_ZONE_COND_FULL) { 963 if (zone->cond == BLK_ZONE_COND_EMPTY) 964 zone->cond = BLK_ZONE_COND_IMP_OPEN; 991 zone->cond [all...] |
/linux-master/arch/riscv/net/ |
H A D | bpf_jit_comp64.c | 268 static void emit_bcc(u8 cond, u8 rd, u8 rs, int rvoff, argument 271 switch (cond) { 304 static void emit_branch(u8 cond, u8 rd, u8 rs, int rvoff, argument 310 emit_bcc(cond, rd, rs, rvoff, ctx); 325 cond = invert_bpf_cond(cond); 327 emit_bcc(cond, rd, rs, 8, ctx); 338 emit_bcc(cond, rd, rs, 12, ctx); 436 static bool is_signed_bpf_cond(u8 cond) argument 438 return cond [all...] |
/linux-master/lib/ |
H A D | overflow_kunit.c | 20 #define SKIP(cond, reason) do { \ 21 if (cond) { \
|
/linux-master/drivers/tty/serial/ |
H A D | amba-pl011.c | 1589 static void pl011_maybe_set_bit(bool cond, unsigned int *ptr, unsigned int mask) argument 1591 if (cond) 1610 static void pl011_assign_bit(bool cond, unsigned int *ptr, unsigned int mask) argument 1612 if (cond)
|
/linux-master/drivers/s390/cio/ |
H A D | css.c | 763 void css_schedule_eval_cond(enum css_eval_cond cond, unsigned long delay) argument 776 switch (cond) {
|