Searched refs:condition (Results 1 - 25 of 163) sorted by last modified time

1234567

/linux-master/include/linux/
H A Dcompiler_types.h431 # define __compiletime_assert(condition, msg, prefix, suffix) \
440 if (!(condition)) \
444 # define __compiletime_assert(condition, msg, prefix, suffix) do { } while (0)
447 #define _compiletime_assert(condition, msg, prefix, suffix) \
448 __compiletime_assert(condition, msg, prefix, suffix)
451 * compiletime_assert - break build and emit msg if condition is false
452 * @condition: a compile-time constant condition to check
453 * @msg: a message to emit if condition is false
456 * supplied condition i
[all...]
H A Dfb.h871 #define fb_WARN_ONCE(fb_info, condition, fmt, ...) \
872 WARN_ONCE(condition, "fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
H A Dsched.h199 * CONDITION test and condition change and wakeup are under the same lock) then
235 * can not use the regular condition based wait-loop. In that case we must
1669 #define conditional_stopped_child_used_math(condition, child) \
1670 do { (child)->flags &= ~PF_USED_MATH, (child)->flags |= (condition) ? PF_USED_MATH : 0; } while (0)
1672 #define conditional_used_math(condition) conditional_stopped_child_used_math(condition, current)
H A Dpci.h2714 #define pci_WARN(pdev, condition, fmt, arg...) \
2715 WARN(condition, "%s %s: " fmt, \
2718 #define pci_WARN_ONCE(pdev, condition, fmt, arg...) \
2719 WARN_ONCE(condition, "%s %s: " fmt, \
/linux-master/drivers/usb/core/
H A Dhub.c1258 * check for a new connection or over current condition.
1680 dev_dbg(hub_dev, "%sover-current condition exists\n",
5754 dev_err(&port_dev->dev, "over-current condition\n");
5935 dev_err(hub_dev, "over-current condition\n");
6306 else if (cintf->condition ==
6329 else if (cintf->condition ==
H A Dusb.c894 if (iface && (iface->condition == USB_INTERFACE_UNBINDING ||
895 iface->condition == USB_INTERFACE_UNBOUND))
910 if (iface && (iface->condition == USB_INTERFACE_UNBINDING ||
911 iface->condition == USB_INTERFACE_UNBOUND))
H A Ddriver.c358 intf->condition = USB_INTERFACE_BINDING;
403 intf->condition = USB_INTERFACE_BOUND;
415 intf->condition = USB_INTERFACE_UNBOUND;
440 intf->condition = USB_INTERFACE_UNBINDING;
502 intf->condition = USB_INTERFACE_UNBOUND;
559 iface->condition = USB_INTERFACE_BOUND;
583 iface->condition = USB_INTERFACE_UNBOUND;
622 if (iface->condition != USB_INTERFACE_BOUND)
624 iface->condition = USB_INTERFACE_UNBINDING;
1309 intf->condition
[all...]
/linux-master/arch/x86/kernel/
H A Dsev-shared.c21 #define WARN(condition, format...) (!!(condition))
/linux-master/net/wireless/
H A Dnl80211.c13803 rule->condition))
13905 new_rule->condition =
/linux-master/drivers/hid/intel-ish-hid/ipc/
H A Dipc.c442 * @condition: indicate the condition for waiting
451 static int timed_wait_for_timeout(struct ishtp_device *dev, int condition, argument
458 if (condition == WAIT_FOR_FW_RDY) {
460 } else if (condition == WAIT_FOR_INPUT_RDY) {
/linux-master/tools/testing/selftests/
H A Dkselftest.h22 * ksft_test_result(condition, fmt, ...);
33 * ksft_exit(condition);
208 * ksft_test_result() - Report test success based on truth of condition
210 * @condition: if true, report test success, otherwise failure.
212 #define ksft_test_result(condition, fmt, ...) do { \
213 if (!!(condition)) \
321 * ksft_exit() - Exit selftest based on truth of condition
323 * @condition: if true, exit self test with success, otherwise fail.
325 #define ksft_exit(condition) do { \
326 if (!!(condition)) \
[all...]
/linux-master/include/asm-generic/
H A Dbug.h71 #define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
110 #define WARN_ON_ONCE(condition) ({ \
111 int __ret_warn_on = !!(condition); \
122 #define WARN_ON(condition) ({ \
123 int __ret_warn_on = !!(condition); \
131 #define WARN(condition, format...) ({ \
132 int __ret_warn_on = !!(condition); \
139 #define WARN_TAINT(condition, taint, format...) ({ \
140 int __ret_warn_on = !!(condition); \
[all...]
/linux-master/include/net/
H A Dcfg80211.h3542 * @condition: condition for packet coalescence.
3549 enum nl80211_coalesce_condition condition; member in struct:cfg80211_coalesce_rules
/linux-master/tools/testing/selftests/devices/
H A Dksft.py65 def test_result(condition, description=""):
66 if condition:
/linux-master/net/iucv/
H A Daf_iucv.c56 #define __iucv_sock_wait(sk, condition, timeo, ret) \
62 while (!(condition)) { \
81 #define iucv_sock_wait(sk, condition, timeo) \
84 if (!(condition)) \
85 __iucv_sock_wait(sk, condition, timeo, __ret); \
/linux-master/kernel/trace/
H A Dtrace.h123 #define MEM_FAIL(condition, fmt, ...) \
124 DO_ONCE_LITE_IF(condition, pr_err, "ERROR: " fmt, ##__VA_ARGS__)
/linux-master/fs/f2fs/
H A Df2fs.h36 #define f2fs_bug_on(sbi, condition) BUG_ON(condition)
38 #define f2fs_bug_on(sbi, condition) \
40 if (WARN_ON(condition)) \
272 * condition of read on truncated area
1236 struct completion zone_wait; /* condition value for the previous open zone to close */
/linux-master/arch/x86/kvm/
H A Demulate.c1065 static __always_inline u8 test_cc(unsigned int condition, unsigned long flags) argument
1068 void (*fop)(void) = (void *)em_setcc + FASTOP_SIZE * (condition & 0xf);
3334 /* #UD condition is already handled. */
5062 /* The second termination condition only applies for REPE
5065 * corresponding termination condition according to:
5223 /* All REP prefixes have the same first termination condition */
/linux-master/tools/testing/selftests/mm/
H A Dmremap_dontunmap.c30 #define BUG_ON(condition, description) \
32 if (condition) { \
H A Dmap_populate.c23 #define BUG_ON(condition, description) \
25 if (condition) \
/linux-master/sound/soc/intel/atom/sst/
H A Dsst_ipc.c37 msg->condition = false;
79 block->condition = true;
/linux-master/include/drm/
H A Ddrm_print.h634 #define drm_WARN(drm, condition, format, arg...) \
635 WARN(condition, "%s %s: " format, \
639 #define drm_WARN_ONCE(drm, condition, format, arg...) \
640 WARN_ONCE(condition, "%s %s: " format, \
/linux-master/drivers/gpu/drm/xe/
H A Dxe_memirq.c25 #define memirq_assert(m, condition) xe_tile_assert(memirq_to_tile(m), condition)
H A Dxe_guc_relay.c57 #define relay_assert(relay, condition) xe_gt_assert(relay_to_gt(relay), condition)
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgk20a.c118 gk20a_volt_set_id(struct nvkm_volt *base, u8 id, int condition) argument
126 nvkm_debug(subdev, "prev=%d, target=%d, condition=%d\n",
127 prev_uv, target_uv, condition);
128 if (!condition ||
129 (condition < 0 && target_uv < prev_uv) ||
130 (condition > 0 && target_uv > prev_uv)) {

Completed in 723 milliseconds

1234567