Searched refs:cond (Results 1 - 25 of 267) sorted by last modified time

1234567891011

/linux-master/drivers/dma/
H A Dpl330.c608 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 Djournal_io.c293 #define journal_entry_err_on(cond, ...) \
294 ((cond) ? journal_entry_err(__VA_ARGS__) : false)
H A Dbtree_io.c613 #define btree_err_on(cond, ...) ((cond) ? btree_err(__VA_ARGS__) : false)
H A Dutil.h29 #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 Deytzinger.h9 #define EYTZINGER_BUG_ON(cond) BUG_ON(cond)
11 #define EYTZINGER_BUG_ON(cond)
H A Derror.h47 #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 Dinternal.h42 #define WARN_ON_ONCE_GFP(cond, gfp) ({ \
44 int __ret_warn_once = !!(cond); \
/linux-master/fs/zonefs/
H A Dsuper.c194 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 Dlibata-scsi.c3410 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 Dring_buffer.c852 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 Dhisi_sas_v3_hw.c593 #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 Dvdec_hevc_req_multi_if.c23 #define GET_HEVC_VDEC_FLAG(cond, flag) \
24 { dst_param->cond = ((src_param->flags & (flag)) ? (1) : (0)); }
/linux-master/tools/include/linux/
H A Dkernel.h63 #define BUG_ON(cond) do { if (cond) {} } while (0)
65 #define BUG_ON(cond) assert(!(cond))
/linux-master/include/linux/
H A Dcompiler.h55 #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 Dskbuff.h4302 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 Dops.h599 * @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 Dhdaudio_ext.h152 #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 Djfs_logmgr.c116 #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 Dzns.c165 zone.cond = entry->zs >> 4;
169 if (zone.cond == BLK_ZONE_COND_FULL)
/linux-master/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.h1078 #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 Dzoned.c71 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 Dbpf_jit_comp64.c268 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 Doverflow_kunit.c20 #define SKIP(cond, reason) do { \
21 if (cond) { \
/linux-master/drivers/tty/serial/
H A Damba-pl011.c1589 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 Dcss.c763 void css_schedule_eval_cond(enum css_eval_cond cond, unsigned long delay) argument
776 switch (cond) {

Completed in 385 milliseconds

1234567891011