Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 159 of 159) sorted by relevance

/linux-4.1.27/include/linux/
Dmmdebug.h17 #define VM_BUG_ON(cond) BUG_ON(cond) argument
18 #define VM_BUG_ON_PAGE(cond, page) \ argument
20 if (unlikely(cond)) { \
21 dump_page(page, "VM_BUG_ON_PAGE(" __stringify(cond)")");\
25 #define VM_BUG_ON_VMA(cond, vma) \ argument
27 if (unlikely(cond)) { \
32 #define VM_BUG_ON_MM(cond, mm) \ argument
34 if (unlikely(cond)) { \
39 #define VM_WARN_ON(cond) WARN_ON(cond) argument
40 #define VM_WARN_ON_ONCE(cond) WARN_ON_ONCE(cond) argument
[all …]
Diopoll.h43 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
49 if (cond) \
58 (cond) ? 0 : -ETIMEDOUT; \
78 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
83 if (cond) \
92 (cond) ? 0 : -ETIMEDOUT; \
96 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
97 readx_poll_timeout(readb, addr, val, cond, delay_us, timeout_us)
99 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
100 readx_poll_timeout_atomic(readb, addr, val, cond, delay_us, timeout_us)
[all …]
Dtracepoint.h128 #define __DO_TRACE(tp, proto, args, cond, prercu, postrcu) \ argument
134 if (!(cond)) \
151 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument
158 TP_CONDITION(cond), \
163 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) argument
177 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
185 TP_CONDITION(cond),,); \
186 if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
193 PARAMS(cond), PARAMS(data_proto), PARAMS(data_args)) \
240 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
[all …]
Dbug.h20 #define BUILD_BUG_ON_MSG(cond, msg) (0) argument
50 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument
Dcompiler.h143 #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) argument
144 #define __trace_if(cond) \ argument
145 if (__builtin_constant_p(!!(cond)) ? !!(cond) : \
156 ______r = !!(cond); \
Dseqno-fence.h98 enum seqno_fence_condition cond, in seqno_fence_init() argument
114 fence->condition = cond; in seqno_fence_init()
Dnetfilter.h216 int (*okfn)(struct sock *, struct sk_buff *), bool cond) in NF_HOOK_COND() argument
220 if (!cond || in NF_HOOK_COND()
332 #define NF_HOOK_COND(pf, hook, sk, skb, indev, outdev, okfn, cond) (okfn)(sk, skb) argument
Dintel-iommu.h228 #define IOMMU_WAIT_OP(iommu, offset, op, cond, sts) \ argument
233 if (cond) \
Dkernel.h201 #define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) argument
/linux-4.1.27/arch/unicore32/include/asm/
Dassembler.h64 .macro notcond, cond, nexti = .+8
65 .ifc \cond, eq
67 .else; .ifc \cond, ne
69 .else; .ifc \cond, ea
71 .else; .ifc \cond, ub
73 .else; .ifc \cond, fs
75 .else; .ifc \cond, ns
77 .else; .ifc \cond, fv
79 .else; .ifc \cond, nv
81 .else; .ifc \cond, ua
[all …]
/linux-4.1.27/arch/parisc/math-emu/
Ddfcmp.c51 unsigned int cond, unsigned int *status) in dbl_fcmp() argument
73 && (Exception(cond) || Dbl_isone_signaling(leftp1))) in dbl_fcmp()
77 && (Exception(cond) || Dbl_isone_signaling(rightp1))) ) in dbl_fcmp()
80 Set_status_cbit(Unordered(cond)); in dbl_fcmp()
84 Set_status_cbit(Unordered(cond)); in dbl_fcmp()
96 Set_status_cbit(Unordered(cond)); in dbl_fcmp()
111 Set_status_cbit(Equal(cond)); in dbl_fcmp()
115 Set_status_cbit(Lessthan(cond)); in dbl_fcmp()
119 Set_status_cbit(Greaterthan(cond)); in dbl_fcmp()
126 Set_status_cbit(Equal(cond)); in dbl_fcmp()
[all …]
Dsfcmp.c50 unsigned int cond, unsigned int *status) in sgl_fcmp() argument
73 && (Exception(cond) || Sgl_isone_signaling(left))) in sgl_fcmp()
77 && (Exception(cond) || Sgl_isone_signaling(right)) ) ) in sgl_fcmp()
80 Set_status_cbit(Unordered(cond)); in sgl_fcmp()
84 Set_status_cbit(Unordered(cond)); in sgl_fcmp()
96 Set_status_cbit(Unordered(cond)); in sgl_fcmp()
111 Set_status_cbit(Equal(cond)); in sgl_fcmp()
115 Set_status_cbit(Lessthan(cond)); in sgl_fcmp()
119 Set_status_cbit(Greaterthan(cond)); in sgl_fcmp()
126 Set_status_cbit(Equal(cond)); in sgl_fcmp()
[all …]
Dfloat.h535 #define Unordered(cond) Unorderedbit(cond)
536 #define Equal(cond) Equalbit(cond)
537 #define Lessthan(cond) Lessthanbit(cond)
538 #define Greaterthan(cond) Greaterthanbit(cond)
539 #define Exception(cond) Exceptionbit(cond)
/linux-4.1.27/arch/arm/include/asm/
Dunified.h76 .macro it, cond
78 .macro itt, cond
80 .macro ite, cond
82 .macro ittt, cond
84 .macro itte, cond
86 .macro itet, cond
88 .macro itee, cond
90 .macro itttt, cond
92 .macro ittte, cond
94 .macro ittet, cond
[all …]
Dassembler.h119 .macro asm_trace_hardirqs_on_cond, cond
126 bl\cond trace_hardirqs_on
349 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER()
352 \instr\cond\()b\()\t\().w \reg, [\ptr, #\off]
354 \instr\cond\()\t\().w \reg, [\ptr, #\off]
365 .macro usracc, instr, reg, ptr, inc, cond, rept, abort
368 .ifnc \cond,al
370 itt \cond
372 ittt \cond
379 usraccoff \instr, \reg, \ptr, \inc, 0, \cond, \abort
[all …]
Dspinlock.h26 #define WFE(cond) __ALT_SMP_ASM( \ argument
27 "it " cond "\n\t" \
28 "wfe" cond ".n", \
33 #define WFE(cond) __ALT_SMP_ASM("wfe" cond, "nop") argument
Dvfpmacros.h11 .macro VFPFMRX, rd, sysreg, cond in toolkits()
12 MRC\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMRX \rd, \sysreg in toolkits()
15 .macro VFPFMXR, sysreg, rd, cond in toolkits()
16 MCR\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMXR \sysreg, \rd in toolkits()
/linux-4.1.27/Documentation/arm/nwfpe/
DREADME.FPE18 <LDF|STF>{cond}<S|D|E> Fd, Rn
19 <LDF|STF>{cond}<S|D|E> Fd, [Rn, #<expression>]{!}
20 <LDF|STF>{cond}<S|D|E> Fd, [Rn], #<expression>
27 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn]
28 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn, #<expression>]{!}
29 <LFM|SFM>{cond}<S|D|E> Fd, <count>, [Rn], #<expression>
32 <LFM|SFM>{cond}<FD,EA> Fd, <count>, [Rn]{!}
45 FLT{cond}<S,D,E>{P,M,Z} Fn, Rd Convert integer to floating point
46 FIX{cond}{P,M,Z} Rd, Fn Convert floating point to integer
47 WFS{cond} Rd Write floating point status register
[all …]
DTODO4 POW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - power
5 RPW{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse power
6 POL{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - polar angle (arctan2)
8 LOG{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base 10
9 LGN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - logarithm to base e
10 EXP{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - exponent
11 SIN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - sine
12 COS{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - cosine
13 TAN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - tangent
14 ASN{cond}<S|D|E>{P,M,Z} Fd, <Fm,#value> - arcsine
[all …]
/linux-4.1.27/drivers/staging/rtl8723au/hal/
DHalHWImg8723A_MAC.c23 u32 cond = Condition; in CheckCondition() local
28 cond = Condition & 0x000000FF; in CheckCondition()
29 if ((_board == cond) && cond != 0x00) in CheckCondition()
32 cond = Condition & 0x0000FF00; in CheckCondition()
33 cond >>= 8; in CheckCondition()
34 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition()
37 cond = Condition & 0x00FF0000; in CheckCondition()
38 cond >>= 16; in CheckCondition()
39 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
DHalHWImg8723A_RF.c23 u32 cond = Condition; in CheckCondition() local
28 cond = Condition & 0x000000FF; in CheckCondition()
29 if ((_board == cond) && cond != 0x00) in CheckCondition()
32 cond = Condition & 0x0000FF00; in CheckCondition()
33 cond >>= 8; in CheckCondition()
34 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition()
37 cond = Condition & 0x00FF0000; in CheckCondition()
38 cond >>= 16; in CheckCondition()
39 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
DHalHWImg8723A_BB.c23 u32 cond = Condition; in CheckCondition() local
28 cond = Condition & 0x000000FF; in CheckCondition()
29 if ((_board == cond) && cond != 0x00) in CheckCondition()
32 cond = Condition & 0x0000FF00; in CheckCondition()
33 cond >>= 8; in CheckCondition()
34 if ((_interface & cond) == 0 && cond != 0x07) in CheckCondition()
37 cond = Condition & 0x00FF0000; in CheckCondition()
38 cond >>= 16; in CheckCondition()
39 if ((_platform & cond) == 0 && cond != 0x0F) in CheckCondition()
/linux-4.1.27/arch/arm64/kvm/
Demulate.c72 int cond; in kvm_condition_valid32() local
79 cond = kvm_vcpu_get_condition(vcpu); in kvm_condition_valid32()
80 if (cond == 0xE) in kvm_condition_valid32()
85 if (cond < 0) { in kvm_condition_valid32()
96 cond = (it >> 4); in kvm_condition_valid32()
101 if (!((cc_map[cond] >> cpsr_cond) & 1)) in kvm_condition_valid32()
119 unsigned long itbits, cond; in kvm_adjust_itstate() local
128 cond = (cpsr & 0xe000) >> 13; in kvm_adjust_itstate()
134 itbits = cond = 0; in kvm_adjust_itstate()
139 cpsr |= cond << 13; in kvm_adjust_itstate()
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
Drf_cfg.c31 u32 cond = condition; in check_condition() local
36 cond = condition & 0x000000FF; in check_condition()
37 if ((_board == cond) && cond != 0x00) in check_condition()
40 cond = condition & 0x0000FF00; in check_condition()
41 cond >>= 8; in check_condition()
42 if ((_interface & cond) == 0 && cond != 0x07) in check_condition()
45 cond = condition & 0x00FF0000; in check_condition()
46 cond >>= 16; in check_condition()
47 if ((_platform & cond) == 0 && cond != 0x0F) in check_condition()
/linux-4.1.27/Documentation/
Dfutex-requeue-pi.txt26 pthread_cond_wait(cond, mutex)
28 lock(cond->__data.__lock);
31 unlock(cond->__data.__lock);
32 futex_wait(cond->__data.__futex);
33 lock(cond->__data.__lock);
35 unlock(cond->__data.__lock);
39 pthread_cond_broadcast(cond)
41 lock(cond->__data.__lock);
42 unlock(cond->__data.__lock);
43 futex_requeue(cond->data.__futex, cond->mutex);
[all …]
Dstatic-keys.txt134 TP_CONDITION(cond)); \
/linux-4.1.27/arch/ia64/hp/sim/boot/
Dboot_head.S64 (p6) br.cond.sptk.few static
69 (p6) br.cond.sptk.few stacked
72 (p7) br.cond.sptk.few 1f
78 br.cond.sptk.few rp
80 (p7) br.cond.sptk.few 1f
87 (p7) br.cond.sptk.few 1f
92 br.cond.sptk.few rp
94 (p7) br.cond.sptk.few 1f
112 (p7) br.cond.sptk.few 1f
148 (p7) br.cond.sptk.few 1f
[all …]
/linux-4.1.27/include/media/
Dv4l2-device.h136 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument
139 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \
143 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument
147 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, cond, o, \
155 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument
160 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \
168 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument
171 __v4l2_device_call_subdevs_until_err_p(v4l2_dev, __sd, cond, o, \
/linux-4.1.27/security/apparmor/
Dfile.c195 struct path_cond *cond) in compute_perms() argument
206 if (uid_eq(current_fsuid(), cond->uid)) { in compute_perms()
239 const char *name, struct path_cond *cond, in aa_str_perms() argument
249 *perms = compute_perms(dfa, state, cond); in aa_str_perms()
279 int flags, u32 request, struct path_cond *cond) in aa_path_perm() argument
286 flags |= profile->path_flags | (S_ISDIR(cond->mode) ? PATH_IS_DIR : 0); in aa_path_perm()
298 aa_str_perms(profile->file.dfa, profile->file.start, name, cond, in aa_path_perm()
304 NULL, cond->uid, info, error); in aa_path_perm()
353 struct path_cond cond = { in aa_path_link() local
381 &cond, &lperms); in aa_path_link()
[all …]
Dlsm.c163 struct path_cond *cond) in common_perm() argument
170 error = aa_path_perm(op, profile, path, 0, mask, cond); in common_perm()
187 struct path_cond *cond) in common_perm_dir_dentry() argument
191 return common_perm(op, &path, mask, cond); in common_perm_dir_dentry()
207 struct path_cond cond = { d_backing_inode(dentry)->i_uid, in common_perm_mnt_dentry() local
211 return common_perm(op, &path, mask, &cond); in common_perm_mnt_dentry()
227 struct path_cond cond = { }; in common_perm_rm() local
232 cond.uid = inode->i_uid; in common_perm_rm()
233 cond.mode = inode->i_mode; in common_perm_rm()
235 return common_perm_dir_dentry(op, dir, dentry, mask, &cond); in common_perm_rm()
[all …]
Ddomain.c101 struct path_cond cond = { }; in change_profile_perms() local
112 aa_str_perms(profile->file.dfa, start, name, &cond, &perms); in change_profile_perms()
120 aa_str_perms(profile->file.dfa, state, name, &cond, &perms); in change_profile_perms()
345 struct path_cond cond = { in apparmor_bprm_set_creds() local
400 state = aa_str_perms(profile->file.dfa, state, name, &cond, &perms); in apparmor_bprm_set_creds()
517 name, target, cond.uid, info, error); in apparmor_bprm_set_creds()
/linux-4.1.27/arch/unicore32/lib/
Dcopy_from_user.S56 .macro ldr1b ptr reg cond=al abort
57 ldrusr \reg, \ptr, 1, \cond, abort=\abort
68 .macro str1b ptr reg cond=al abort
69 .ifnc \cond, al
70 b\cond 201f
Dcopy_to_user.S48 .macro ldr1b ptr reg cond=al abort
49 notcond \cond, .+8
65 .macro str1b ptr reg cond=al abort
66 strusr \reg, \ptr, 1, \cond, abort=\abort
/linux-4.1.27/arch/arm/net/
Dbpf_jit_32.c116 static inline void _emit(int cond, u32 inst, struct jit_ctx *ctx) in _emit() argument
118 inst |= (cond << 28); in _emit()
323 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32() argument
325 _emit(cond, ARM_LDRB_I(ARM_R3, r_addr, 1), ctx); in emit_load_be32()
326 _emit(cond, ARM_LDRB_I(ARM_R1, r_addr, 0), ctx); in emit_load_be32()
327 _emit(cond, ARM_LDRB_I(ARM_R2, r_addr, 3), ctx); in emit_load_be32()
328 _emit(cond, ARM_LSL_I(ARM_R3, ARM_R3, 16), ctx); in emit_load_be32()
329 _emit(cond, ARM_LDRB_I(ARM_R0, r_addr, 2), ctx); in emit_load_be32()
330 _emit(cond, ARM_ORR_S(ARM_R3, ARM_R3, ARM_R1, SRTYPE_LSL, 24), ctx); in emit_load_be32()
331 _emit(cond, ARM_ORR_R(ARM_R3, ARM_R3, ARM_R2), ctx); in emit_load_be32()
[all …]
/linux-4.1.27/drivers/gpu/host1x/hw/
Dhost1x02_hardware.h59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
61 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt()
114 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
117 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
Dhost1x01_hardware.h59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
61 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt()
115 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
118 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
Dhost1x04_hardware.h59 unsigned cond, unsigned indx) in host1x_class_host_incr_syncpt() argument
61 return host1x_uclass_incr_syncpt_cond_f(cond) in host1x_class_host_incr_syncpt()
114 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) in host1x_opcode_imm_incr_syncpt() argument
117 host1x_class_host_incr_syncpt(cond, indx)); in host1x_opcode_imm_incr_syncpt()
/linux-4.1.27/arch/arm/kvm/
Demulate.c171 unsigned long cpsr, cond, insn; in kvm_condition_valid() local
188 cond = (kvm_vcpu_get_hsr(vcpu) & HSR_COND) >> HSR_COND_SHIFT; in kvm_condition_valid()
200 cond = (it >> 4); in kvm_condition_valid()
204 insn = cond << 28; in kvm_condition_valid()
220 unsigned long itbits, cond; in kvm_adjust_itstate() local
229 cond = (cpsr & 0xe000) >> 13; in kvm_adjust_itstate()
235 itbits = cond = 0; in kvm_adjust_itstate()
240 cpsr |= cond << 13; in kvm_adjust_itstate()
/linux-4.1.27/arch/arm/lib/
Dmemcpy.S32 .macro ldr1b ptr reg cond=al abort
33 ldr\cond\()b \reg, [\ptr], #1
44 .macro str1b ptr reg cond=al abort
45 str\cond\()b \reg, [\ptr], #1
Dcopy_from_user.S60 .macro ldr1b ptr reg cond=al abort
61 ldrusr \reg, \ptr, 1, \cond, abort=\abort
72 .macro str1b ptr reg cond=al abort
73 str\cond\()b \reg, [\ptr], #1
Dcopy_to_user.S56 .macro ldr1b ptr reg cond=al abort
57 ldr\cond\()b \reg, [\ptr], #1
75 .macro str1b ptr reg cond=al abort
76 strusr \reg, \ptr, 1, \cond, abort=\abort
/linux-4.1.27/tools/perf/util/include/linux/
Dkernel.h60 #define BUG_ON(cond) do { if (cond) {} } while (0) argument
62 #define BUG_ON(cond) assert(!(cond)) argument
/linux-4.1.27/arch/arm/boot/compressed/
Ddecompress.c18 # define Assert(cond,msg) {if(!(cond)) error(msg);} argument
25 # define Assert(cond,msg) argument
/linux-4.1.27/drivers/net/wireless/zd1211rw/
Dzd_def.h39 # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \ argument
40 bool __cond = !!(cond); \
47 # define dev_dbg_f_cond(dev, cond, fmt, args...) do { (void)(dev); } while (0) argument
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
Dptc_deadlock.S54 (p6) br.cond.sptk 5b
69 (p6) br.cond.sptk 5b;;
80 (p6) br.cond.sptk 5b
89 (p8) br.cond.spnt 1b;; // Repeat if DEADLOCK occurred.
/linux-4.1.27/arch/ia64/lib/
Dcopy_user.S106 (p10) br.cond.dptk .long_copy_user
156 (p15) br.cond.spnt 1f
166 br.cond.spnt .word_copy_user
203 (p9) br.cond.spnt 4f // if (16 > len1) skip 8-byte copy
235 (pred) br.cond.spnt .copy_user_bit##shift
245 br.cond.sptk.many .diff_align_do_tail; \
254 br.cond.sptk.many .failure_in2
324 (p8) br.cond.dpnt .diff_align_copy_user
365 (p7) br.cond.dpnt .dotail // we have less than 16 bytes left
462 br.cond.dptk.many .failure_in1bis
[all …]
Dmemset.S83 (p_scr) br.cond.dptk.many .move_bytes_unaligned // go move just a few (M_B_U)
119 (p_scr) br.cond.dpnt.many .fraction_of_line // go move just a few
125 (p_zr) br.cond.dptk.many .l1b // Jump to use stf.spill
193 (p_scr) br.cond.dpnt.many .fraction_of_line // Branch no. 2
194 br.cond.dpnt.many .move_bytes_from_alignment // Branch no. 3
247 (p_scr) br.cond.dpnt.many .move_bytes_from_alignment //
258 (p_scr) br.cond.dpnt.many .store_words
277 (p_scr) br.cond.dpnt.many .move_bytes_from_alignment // Branch
299 (p_scr) br.cond.dpnt.few .restore_and_exit
Dstrlen.S130 (p6) br.cond.spnt .recover // jump to recovery if val1 is NaT
137 (p7) br.cond.spnt .recover // jump to recovery if val2 is NaT
Ddo_csum.S190 (p8) br.cond.dptk .do_csum_exit // if (within an 8-byte word)
191 (p11) br.cond.dptk .do_csum16 // if (count is even)
203 (p9) br.cond.sptk .do_csum_exit // if (count == 1) exit
Dstrlen_user.S133 (p6) br.cond.spnt .recover // jump to recovery if val1 is NaT
140 (p7) br.cond.spnt .recover // jump to recovery if val2 is NaT
Dmemcpy_mck.S78 br.cond.sptk .common_code
102 (p15) br.cond.dpnt .memcpy_short
103 (p13) br.cond.dpnt .align_dest
104 (p14) br.cond.dpnt .unaligned_src
127 (p6) br.cond.dpnt .long_copy
346 br.cond.sptk.few b6
495 (p6) br.cond.dptk .aligned_src
496 (p7) br.cond.dpnt .unaligned_src
Dclear_user.S69 (p6) br.cond.dptk .long_do_clear
122 (p6) br.cond.dpnt .dotail // we have less than 16 bytes left
Dstrnlen_user.S36 (p6) br.cond.dpnt .Lexit
Dstrncpy_from_user.S38 (p8) br.cond.dpnt.few .Loop1
Dmemcpy.S82 (p7) br.cond.spnt.few .memcpy_short
83 (p6) br.cond.spnt.few .memcpy_long
/linux-4.1.27/net/irda/irnet/
Dirnet.h369 #define DABORT(cond, ret, dbg, args...) \ argument
370 {if(cond) {\
375 #define DASSERT(cond, ret, dbg, args...) \ argument
376 {if((DEBUG_ASSERT) && !(cond)) {\
/linux-4.1.27/lib/
Dtest_user_copy.c30 int cond = (condition); \
31 if (cond) \
33 cond; \
/linux-4.1.27/security/tomoyo/
Dgc.c154 tomoyo_put_condition(acl->cond); in tomoyo_del_acl()
270 struct tomoyo_condition *cond = container_of(element, typeof(*cond), in tomoyo_del_condition() local
272 const u16 condc = cond->condc; in tomoyo_del_condition()
273 const u16 numbers_count = cond->numbers_count; in tomoyo_del_condition()
274 const u16 names_count = cond->names_count; in tomoyo_del_condition()
275 const u16 argc = cond->argc; in tomoyo_del_condition()
276 const u16 envc = cond->envc; in tomoyo_del_condition()
279 = (const struct tomoyo_condition_element *) (cond + 1); in tomoyo_del_condition()
Ddomain.c72 return a->type == b->type && a->cond == b->cond; in tomoyo_same_acl_head()
104 new_entry->cond = tomoyo_get_condition(param); in tomoyo_update_domain()
105 if (!new_entry->cond) in tomoyo_update_domain()
111 if (new_entry->cond->transit && in tomoyo_update_domain()
142 tomoyo_put_condition(new_entry->cond); in tomoyo_update_domain()
171 if (!tomoyo_condition(r, ptr->cond)) in tomoyo_check_acl()
Dcondition.c745 const struct tomoyo_condition *cond) in tomoyo_condition() argument
760 if (!cond) in tomoyo_condition()
762 condc = cond->condc; in tomoyo_condition()
763 argc = cond->argc; in tomoyo_condition()
764 envc = cond->envc; in tomoyo_condition()
770 condp = (struct tomoyo_condition_element *) (cond + 1); in tomoyo_condition()
773 (numbers_p + cond->numbers_count); in tomoyo_condition()
774 argv = (const struct tomoyo_argv *) (names_p + cond->names_count); in tomoyo_condition()
Daudit.c335 if (is_granted && matched_acl && matched_acl->cond && in tomoyo_get_audit()
336 matched_acl->cond->grant_log != TOMOYO_GRANTLOG_AUTO) in tomoyo_get_audit()
337 return matched_acl->cond->grant_log == TOMOYO_GRANTLOG_YES; in tomoyo_get_audit()
Dcommon.h670 struct tomoyo_condition *cond; /* Maybe NULL. */ member
921 const struct tomoyo_condition *cond);
1179 static inline void tomoyo_put_condition(struct tomoyo_condition *cond) in tomoyo_put_condition() argument
1181 if (cond) in tomoyo_put_condition()
1182 atomic_dec(&cond->head.users); in tomoyo_put_condition()
Dcommon.c1201 const struct tomoyo_condition *cond) in tomoyo_print_condition() argument
1207 if (cond->transit) { in tomoyo_print_condition()
1209 tomoyo_set_string(head, cond->transit->name); in tomoyo_print_condition()
1214 const u16 condc = cond->condc; in tomoyo_print_condition()
1216 (typeof(condp)) (cond + 1); in tomoyo_print_condition()
1221 (numbers_p + cond->numbers_count); in tomoyo_print_condition()
1223 (typeof(argv)) (names_p + cond->names_count); in tomoyo_print_condition()
1225 (typeof(envp)) (argv + cond->argc); in tomoyo_print_condition()
1323 if (cond->grant_log != TOMOYO_GRANTLOG_AUTO) in tomoyo_print_condition()
1325 tomoyo_yesno(cond->grant_log == in tomoyo_print_condition()
[all …]
Dfile.c601 r->ee->transition = r->matched_acl && r->matched_acl->cond ? in tomoyo_execute_permission()
602 r->matched_acl->cond->transit : NULL; in tomoyo_execute_permission()
/linux-4.1.27/fs/jfs/
Djfs_lock.h35 #define __SLEEP_COND(wq, cond, lock_cmd, unlock_cmd) \ argument
42 if (cond) \
Djfs_logmgr.c129 #define LCACHE_SLEEP_COND(wq, cond, flags) \ argument
131 if (cond) \
133 __SLEEP_COND(wq, cond, LCACHE_LOCK(flags), LCACHE_UNLOCK(flags)); \
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dinit.c470 init_condition_met(struct nvbios_init *init, u8 cond) in init_condition_met() argument
475 u32 reg = nv_ro32(bios, table + (cond * 12) + 0); in init_condition_met()
476 u32 msk = nv_ro32(bios, table + (cond * 12) + 4); in init_condition_met()
477 u32 val = nv_ro32(bios, table + (cond * 12) + 8); in init_condition_met()
479 cond, reg, msk, val); in init_condition_met()
486 init_io_condition_met(struct nvbios_init *init, u8 cond) in init_io_condition_met() argument
491 u16 port = nv_ro16(bios, table + (cond * 5) + 0); in init_io_condition_met()
492 u8 index = nv_ro08(bios, table + (cond * 5) + 2); in init_io_condition_met()
493 u8 mask = nv_ro08(bios, table + (cond * 5) + 3); in init_io_condition_met()
494 u8 value = nv_ro08(bios, table + (cond * 5) + 4); in init_io_condition_met()
[all …]
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h60 #define LASSERTF(cond, fmt, ...) \ argument
62 if (unlikely(!(cond))) { \
65 "ASSERTION( %s ) failed: " fmt, #cond, \
71 #define LASSERT(cond) LASSERTF(cond, "\n") argument
411 #define CLASSERT(cond) do {switch (42) {case (cond): case 0: break; } } while (0) argument
/linux-4.1.27/drivers/phy/
Dphy-qcom-ufs-i.h27 #define readl_poll_timeout(addr, val, cond, sleep_us, timeout_us) \ argument
33 if (cond) \
42 (cond) ? 0 : -ETIMEDOUT; \
/linux-4.1.27/arch/alpha/boot/
Dmisc.c64 # define Assert(cond,msg) {if(!(cond)) error(msg);} argument
71 # define Assert(cond,msg) argument
/linux-4.1.27/fs/ocfs2/cluster/
Dmasklog.h208 #define mlog_bug_on_msg(cond, fmt, args...) do { \ argument
209 if (cond) { \
210 mlog(ML_ERROR, "bug expression: " #cond "\n"); \
/linux-4.1.27/tools/perf/tests/
Dtests.h4 #define TEST_ASSERT_VAL(text, cond) \ argument
6 if (!(cond)) { \
/linux-4.1.27/arch/nios2/boot/compressed/
Dmisc.c68 # define Assert(cond, msg) {if (!(cond)) error(msg); } argument
75 # define Assert(cond, msg) argument
/linux-4.1.27/net/ipv4/
Dinet_diag.c489 const struct inet_diag_hostcond *cond; in inet_diag_bc_run() local
492 cond = (const struct inet_diag_hostcond *)(op + 1); in inet_diag_bc_run()
493 if (cond->port != -1 && in inet_diag_bc_run()
494 cond->port != (op->code == INET_DIAG_BC_S_COND ? in inet_diag_bc_run()
505 if (cond->family != AF_UNSPEC && in inet_diag_bc_run()
506 cond->family != entry->family) { in inet_diag_bc_run()
508 cond->family == AF_INET) { in inet_diag_bc_run()
512 cond->addr, in inet_diag_bc_run()
513 cond->prefix_len)) in inet_diag_bc_run()
520 if (cond->prefix_len == 0) in inet_diag_bc_run()
[all …]
/linux-4.1.27/drivers/dma/
Dpl330.c595 static inline u32 _emit_LD(unsigned dry_run, u8 buf[], enum pl330_cond cond) in _emit_LD() argument
602 if (cond == SINGLE) in _emit_LD()
604 else if (cond == BURST) in _emit_LD()
608 cond == SINGLE ? 'S' : (cond == BURST ? 'B' : 'A')); in _emit_LD()
614 enum pl330_cond cond, u8 peri) in _emit_LDP() argument
621 if (cond == BURST) in _emit_LDP()
629 cond == SINGLE ? 'S' : 'B', peri >> 3); in _emit_LDP()
654 enum pl330_cond cond; member
663 enum pl330_cond cond = arg->cond; in _emit_LPEND() local
679 if (cond == SINGLE) in _emit_LPEND()
[all …]
/linux-4.1.27/sound/pci/asihpi/
Dhpidebug.h98 #define compile_time_assert(cond, msg) \ argument
99 typedef char msg[(cond) ? 1 : -1]
Dhpi_internal.h91 #define compile_time_assert(cond, msg) \ argument
92 typedef char ASSERT_##msg[(cond) ? 1 : -1]
/linux-4.1.27/arch/ia64/kernel/
Dentry.S192 (p6) br.cond.dpnt .map
223 br.cond.sptk .done
357 br.cond.sptk.many b7
457 br.cond.sptk.many b7
511 (p6) br.cond.sptk strace_error // syscall failed ->
546 (p6) br.cond.sptk strace_error // syscall failed ->
555 br.cond.sptk ia64_work_pending_syscall_end
566 br.cond.sptk .strace_save_retval
583 .ret4: br.cond.sptk ia64_leave_kernel
632 (p6) br.cond.spnt .strace_check_retval
[all …]
Dfsys.S146 (p6) br.cond.spnt.few .fail_einval
195 (p6) br.cond.spnt.few .fail_einval
210 (p6) br.cond.spnt.many fsys_fallback_syscall
272 (p7) br.cond.dpnt.few .time_redo // sequence number changed, redo
289 (p6) br.cond.dpnt.few .time_normalize
342 (p6) br.cond.spnt.few .fail_einval // B
345 (p7) br.cond.spnt.few .fail_einval // B
539 (p10) br.cond.spnt.many ia64_ret_from_syscall // B return if bad call-frame or r15 is a NaT
543 br.cond.spnt ia64_trace_syscall // B
Drelocate_kernel.S82 (p7) br.cond.dpnt.few 4f
140 (p6) br.cond.sptk.few .loop;;
144 (p6) br.cond.sptk.few .loop;;
147 (p6) br.cond.sptk.few .end_loop;;
150 (p6) br.cond.sptk.few .loop
Dgate.S34 [1:](pr)brl.cond.sptk 0; \
130 (p1) br.cond.spnt setup_rbs // yup -> (clobbers p8, r14-r16, and r18-r20)
170 (p1) br.cond.spnt restore_rbs // yup -> (clobbers r14-r18, f6 & f7)
224 br.cond.sptk back_from_setup_rbs
296 br.cond.sptk back_from_restore_rbs
Divt.S187 (p6) br.cond.spnt.many page_fault // handle bad address/page not present (page fault)
268 (p6) br.cond.spnt page_fault
312 (p6) br.cond.spnt page_fault
354 (p8) br.cond.dptk .itlb_fault
365 (p8) br.cond.spnt page_fault
394 (p8) br.cond.dptk dtlb_fault
415 (p8) br.cond.spnt page_fault
503 (p6) br.cond.spnt page_fault
751 (p7) br.cond.spnt non_syscall // B no ->
813 (pKStk) br.cond.spnt .break_fixup // B we're already in kernel-mode -- fix up RBS
[all …]
Dpal.S46 br.cond.sptk.many rp
81 br.cond.sptk.many b7
180 br.cond.sptk.many b7
Dentry.h72 br.cond.sptk.many save_switch_stack; \
80 br.cond.sptk.many load_switch_stack; \
Djprobes.S81 br.cond.sptk.many rp
Dparavirtentry.S46 br.cond.sptk.many breg
Dminstate.h217 [1:](pKStk) br.cond.sptk.many 1f; \
226 (p1) br.cond.sptk.many 1f; \
Dhead.S315 (isBP) br.cond.dpnt .load_current // BP stack is on region 5 --- no need to map it
377 (p7) br.cond.dptk.few 1b
435 (isAP) br.cond.sptk self
Dmca_asm.S81 (p7) br.cond.dpnt.few 4f
/linux-4.1.27/kernel/locking/
Dspinlock_debug.c78 #define SPIN_BUG_ON(cond, lock, msg) if (unlikely(cond)) spin_bug(lock, msg) argument
173 #define RWLOCK_BUG_ON(cond, lock, msg) if (unlikely(cond)) rwlock_bug(lock, msg) argument
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dtracefile.h321 #define __LASSERT(cond) \ argument
323 if (unlikely(!(cond))) { \
325 cfs_trace_assertion_failed("ASSERTION("#cond") failed", \
Dhash.c1492 cfs_hash_cond_arg_t *cond = data; in cfs_hash_cond_del_locked() local
1494 if (cond->func(cfs_hash_object(hs, hnode), cond->arg)) in cfs_hash_cond_del_locked()
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_defs.h113 #define CSIO_ASSERT(cond) BUG_ON(!(cond)) argument
/linux-4.1.27/drivers/md/bcache/
Dbcache.h796 #define btree_bug_on(cond, b, ...) \ argument
798 if (cond) \
802 #define cache_bug_on(cond, c, ...) \ argument
804 if (cond) \
808 #define cache_set_err_on(cond, c, ...) \ argument
810 if (cond) \
Dutil.h21 #define EBUG_ON(cond) BUG_ON(cond) argument
27 #define EBUG_ON(cond) do { if (cond); } while (0) argument
Dalloc.c280 #define allocator_wait(ca, cond) \ argument
284 if (cond) \
/linux-4.1.27/arch/xtensa/include/asm/
Dasmmacro.h64 .macro __loops ar, as, at, incr_log2, mask_log2, cond, ncond
75 loop\cond \at, 99f
/linux-4.1.27/drivers/net/fddi/skfp/
Dsrf.c187 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event() argument
196 if (code == SMT_COND_MAC_DUP_ADDR && cond) { in smt_srf_event()
211 if (*evc->evc_cond_state == cond) in smt_srf_event()
220 DB_SMT("SRF: condition is %s\n",cond ? "ON":"OFF",0) ; in smt_srf_event()
221 if (cond) { in smt_srf_event()
Dsmt.c288 int cond ; in smt_event() local
311 cond = in smt_event()
317 if (cond != mib->fddiMACFrameErrorFlag) in smt_event()
319 INDEX_MAC,cond) ; in smt_event()
328 cond = in smt_event()
335 if (cond != mib->fddiMACNotCopiedFlag) in smt_event()
337 INDEX_MAC,cond) ; in smt_event()
358 cond = (phy->mib->fddiPORTEBError_Ct - in smt_event()
365 (int) (INDEX_PORT+ phy->np) ,cond) ; in smt_event()
817 int cond ; in update_dac() local
[all …]
Dcfm.c216 int cond ; in cfm() local
246 cond = FALSE ; in cfm()
254 cond = TRUE ; in cfm()
256 if (cond != smc->mib.fddiSMTPeerWrapFlag) in cfm()
257 smt_srf_event(smc,SMT_COND_SMT_PEER_WRAP,0,cond) ; in cfm()
Dpcmplc.c1083 int cond ; in lem_evaluate() local
1141 cond = (mib->fddiPORTLer_Estimate <= mib->fddiPORTLer_Alarm) ? in lem_evaluate()
1144 smt_ler_alarm_check(smc,phy,cond) ; in lem_evaluate()
1146 if (cond != mib->fddiPORTLerFlag) { in lem_evaluate()
1148 (int) (INDEX_PORT+ phy->np) ,cond) ; in lem_evaluate()
/linux-4.1.27/include/trace/
Ddefine_trace.h30 #define TRACE_EVENT_CONDITION(name, proto, args, cond, tstruct, assign, print) \ argument
56 #define DEFINE_EVENT_CONDITION(template, name, proto, args, cond) \ argument
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_marker.c123 u64 cond = (u64) us * NSEC_PER_USEC; in vmw_lag_lt() local
125 return vmw_fifo_lag(queue) <= cond; in vmw_lag_lt()
/linux-4.1.27/arch/arm64/net/
Dbpf_jit.h41 #define A64_COND_BRANCH(cond, offset) \ argument
42 aarch64_insn_gen_cond_branch_imm(0, offset, cond)
49 #define A64_B_(cond, imm19) A64_COND_BRANCH(cond, (imm19) << 2) argument
/linux-4.1.27/arch/cris/boot/compressed/
Dmisc.c77 # define Assert(cond, msg) do { \ argument
78 if (!(cond)) \
99 # define Assert(cond, msg) argument
/linux-4.1.27/include/sound/
Dpcm.h226 unsigned int cond; member
1002 unsigned int cond,
1006 unsigned int cond,
1010 unsigned int cond,
1014 unsigned int cond,
1018 unsigned int cond,
1022 unsigned int cond,
1026 unsigned int cond,
1031 unsigned int cond,
Dcore.h361 #define snd_BUG_ON(cond) WARN_ON((cond)) argument
/linux-4.1.27/arch/powerpc/net/
Dbpf_jit.h231 #define PPC_BCC_SHORT(cond, dest) EMIT(PPC_INST_BRANCH_COND | \ argument
232 (((cond) & 0x3ff) << 16) | \
281 #define PPC_BCC(cond, dest) do { \ argument
283 PPC_BCC_SHORT(cond, dest); \
287 PPC_BCC_SHORT(cond ^ COND_CMP_TRUE, (ctx->idx+2)*4); \
/linux-4.1.27/arch/mn10300/boot/compressed/
Dmisc.c106 # define Assert(cond, msg) { if (!(cond)) error(msg); } argument
113 # define Assert(cond, msg) argument
/linux-4.1.27/arch/x86/tools/
Dtest_get_len.c25 #define unlikely(cond) (cond) argument
Dinsn_sanity.c31 #define unlikely(cond) (cond) argument
/linux-4.1.27/arch/mips/math-emu/
Dcp1emu.c417 insn.mm_fp4_format.cond | MM_MIPS32_COND_FC; in microMIPS32_to_MIPS32()
978 unsigned int cond, cbit; in cop1Emulate() local
1191 cond = likely = 0; in cop1Emulate()
1195 cond = 1; in cop1Emulate()
1199 cond = 1; in cop1Emulate()
1212 cond = ctx->fcr31 & cbit; in cop1Emulate()
1221 cond = !cond; in cop1Emulate()
1232 if (cond) { in cop1Emulate()
1367 cond = fpucondbit[MIPSInst_RT(ir) >> 2]; in cop1Emulate()
1368 if (((ctx->fcr31 & cond) != 0) == ((MIPSInst_RT(ir) & 1) != 0)) in cop1Emulate()
[all …]
/linux-4.1.27/net/netfilter/
Dxt_dccp.c30 #define DCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument
31 || (!!((invflag) & (option)) ^ (cond)))
Dxt_sctp.c20 #define SCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument
21 || (!!((invflag) & (option)) ^ (cond)))
Dnf_conntrack_h323_asn1.c27 #define IFTHEN(cond, act) if(cond){act;} argument
35 #define IFTHEN(cond, act) argument
/linux-4.1.27/include/linux/power/
Dsmartreflex.h182 #define sr_test_cond_timeout(cond, timeout, index) \ argument
185 if (cond) \
/linux-4.1.27/arch/arm/mach-omap2/
Dcommon.h214 #define omap_test_timeout(cond, timeout, index) \ argument
217 if (cond) \
Dprcm-common.h444 #define omap_test_timeout(cond, timeout, index) \ argument
447 if (cond) \
/linux-4.1.27/security/apparmor/include/
Dfile.h171 const char *name, struct path_cond *cond,
175 int flags, u32 request, struct path_cond *cond);
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss.h240 #define iss_poll_condition_timeout(cond, timeout, min_ival, max_ival) \ argument
246 while (!(__cond = (cond))) { \
/linux-4.1.27/net/wireless/
Dcore.h482 #define CFG80211_DEV_WARN_ON(cond) WARN_ON(cond) argument
489 #define CFG80211_DEV_WARN_ON(cond) ({bool __r = (cond); __r; }) argument
/linux-4.1.27/sound/core/
Dpcm_lib.c1138 int snd_pcm_hw_rule_add(struct snd_pcm_runtime *runtime, unsigned int cond, in snd_pcm_hw_rule_add() argument
1165 c->cond = cond; in snd_pcm_hw_rule_add()
1297 unsigned int cond, in snd_pcm_hw_constraint_list() argument
1301 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_list()
1329 unsigned int cond, in snd_pcm_hw_constraint_ranges() argument
1333 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_ranges()
1364 unsigned int cond, in snd_pcm_hw_constraint_ratnums() argument
1368 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_ratnums()
1399 unsigned int cond, in snd_pcm_hw_constraint_ratdens() argument
1403 return snd_pcm_hw_rule_add(runtime, cond, var, in snd_pcm_hw_constraint_ratdens()
[all …]
Dpcm_native.c363 if (r->cond && !(r->cond & params->flags)) in snd_pcm_hw_refine()
/linux-4.1.27/scripts/
Dcheckpatch.pl2798 my ($stat, $cond, $line_nr_next, $remain_next, $off_next,
2803 ($stat, $cond, $line_nr_next, $remain_next, $off_next) =
2806 $cond =~ s/\n./\n /g;
2949 ($stat, $cond, $line_nr_next, $remain_next, $off_next) =
2952 my ($s, $c) = ($stat, $cond);
4091 ($stat, $cond, $line_nr_next, $remain_next, $off_next) =
4112 defined($stat) && defined($cond) &&
4114 my ($s, $c) = ($stat, $cond);
4490 my ($cond, $block) = @{$chunk};
4493 my ($whitespace) = ($cond =~ /^((?:\s*\n[+-])*\s*)/s);
[all …]
Dasn1_compiler.c1380 const char *cond, *act; in render_element() local
1398 cond = (e->flags & ELEMENT_CONDITIONAL || in render_element()
1403 render_opcode(out, "ASN1_OP_%sMATCH_ANY%s,", cond, act); in render_element()
1420 cond, in render_element()
1433 cond, act, in render_element()
/linux-4.1.27/arch/sh/kernel/cpu/sh5/
Dunwind.c239 int cond; in sh64_unwind_inner() local
268 cond = ((pc >= __MEMORY_START) && (fp >= __MEMORY_START) && in sh64_unwind_inner()
/linux-4.1.27/arch/ia64/include/asm/
Dparavirt_patch.h31 br.cond.sptk.many 2f ; \
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
Dphy.c291 u32 cond = condition; in _rtl88e_check_condition() local
296 cond = condition & 0xFF; in _rtl88e_check_condition()
297 if ((_board & cond) == 0 && cond != 0x1F) in _rtl88e_check_condition()
300 cond = condition & 0xFF00; in _rtl88e_check_condition()
301 cond = cond >> 8; in _rtl88e_check_condition()
302 if ((_interface & cond) == 0 && cond != 0x07) in _rtl88e_check_condition()
305 cond = condition & 0xFF0000; in _rtl88e_check_condition()
306 cond = cond >> 16; in _rtl88e_check_condition()
307 if ((_platform & cond) == 0 && cond != 0x0F) in _rtl88e_check_condition()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
Dphy.c163 u32 cond = condition; in _rtl8723be_check_condition() local
168 cond = condition & 0xFF; in _rtl8723be_check_condition()
169 if ((_board & cond) == 0 && cond != 0x1F) in _rtl8723be_check_condition()
172 cond = condition & 0xFF00; in _rtl8723be_check_condition()
173 cond = cond >> 8; in _rtl8723be_check_condition()
174 if ((_interface & cond) == 0 && cond != 0x07) in _rtl8723be_check_condition()
177 cond = condition & 0xFF0000; in _rtl8723be_check_condition()
178 cond = cond >> 16; in _rtl8723be_check_condition()
179 if ((_platform & cond) == 0 && cond != 0x0F) in _rtl8723be_check_condition()
/linux-4.1.27/drivers/usb/gadget/function/
Du_serial.c821 int cond; in gs_writes_finished() local
825 cond = (p->port_usb == NULL) || !gs_buf_data_avail(&p->port_write_buf); in gs_writes_finished()
828 return cond; in gs_writes_finished()
1065 int cond; in gs_closed() local
1068 cond = (port->port.count == 0) && !port->openclose; in gs_closed()
1070 return cond; in gs_closed()
/linux-4.1.27/drivers/hid/usbhid/
Dhid-pidff.c417 struct ff_condition_effect *cond = &effect->u.condition[i]; in pidff_needs_set_condition() local
420 ret |= cond->center != old_cond->center || in pidff_needs_set_condition()
421 cond->right_coeff != old_cond->right_coeff || in pidff_needs_set_condition()
422 cond->left_coeff != old_cond->left_coeff || in pidff_needs_set_condition()
423 cond->right_saturation != old_cond->right_saturation || in pidff_needs_set_condition()
424 cond->left_saturation != old_cond->left_saturation || in pidff_needs_set_condition()
425 cond->deadband != old_cond->deadband; in pidff_needs_set_condition()
/linux-4.1.27/arch/arm64/kernel/
Dinsn.c537 enum aarch64_insn_condition cond) in aarch64_insn_gen_cond_branch_imm() argument
546 BUG_ON(cond < AARCH64_INSN_COND_EQ || cond > AARCH64_INSN_COND_AL); in aarch64_insn_gen_cond_branch_imm()
547 insn |= cond; in aarch64_insn_gen_cond_branch_imm()
/linux-4.1.27/net/dccp/
Ddccp.h30 #define DCCP_BUG_ON(cond) do { if (unlikely((cond) != 0)) \ argument
32 __stringify(cond)); \
/linux-4.1.27/kernel/rcu/
Dtree.h402 #define rcu_wait(cond) \ argument
406 if (cond) \
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
Dphy.c289 u32 cond = condition; in _check_condition() local
294 cond = condition & 0xFF; in _check_condition()
295 if ((_board != cond) && (cond != 0xFF)) in _check_condition()
298 cond = condition & 0xFF00; in _check_condition()
299 cond = cond >> 8; in _check_condition()
300 if ((_interface & cond) == 0 && cond != 0x07) in _check_condition()
303 cond = condition & 0xFF0000; in _check_condition()
304 cond = cond >> 16; in _check_condition()
305 if ((_platform & cond) == 0 && cond != 0x0F) in _check_condition()
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dselftest.h582 #define lst_wait_until(cond, lock, fmt, ...) \ argument
585 while (!(cond)) { \
/linux-4.1.27/arch/mips/kernel/
Dmips-r2-to-r6-emul.c200 u32 cond; in movf_func() local
203 cond = fpucondbit[MIPSInst_RT(ir) >> 2]; in movf_func()
205 if (((csr & cond) == 0) && MIPSInst_RD(ir)) in movf_func()
223 u32 cond; in movt_func() local
226 cond = fpucondbit[MIPSInst_RT(ir) >> 2]; in movt_func()
228 if (((csr & cond) != 0) && MIPSInst_RD(ir)) in movt_func()
/linux-4.1.27/fs/reiserfs/
Dreiserfs.h908 #define __RASSERT(cond, scond, format, args...) \ argument
910 if (!(cond)) \
911 reiserfs_panic(NULL, "assertion failure", "(" #cond ") at " \
916 #define RASSERT(cond, format, args...) __RASSERT(cond, #cond, format, ##args) argument
919 #define RFALSE(cond, format, args...) __RASSERT(!(cond), "!(" #cond ")", format, ##args) argument
921 #define RFALSE( cond, format, args... ) do {;} while( 0 ) argument
/linux-4.1.27/drivers/macintosh/
Dvia-cuda.c249 #define WAIT_FOR(cond, what) \ argument
252 for (x = 1000; !(cond); --x) { \
/linux-4.1.27/tools/usb/
Dffs-test.c101 #define die_on(cond, ...) do { \ argument
102 if (cond) \
/linux-4.1.27/sound/isa/wavefront/
Dwavefront_synth.c119 #define DPRINT(cond, ...) \ argument
120 if ((dev->debug & (cond)) == (cond)) { \
124 #define DPRINT(cond, args...) argument
/linux-4.1.27/drivers/i2c/busses/
Di2c-designware-core.c198 i2c_dw_scl_hcnt(u32 ic_clk, u32 tSYMBOL, u32 tf, int cond, int offset) in i2c_dw_scl_hcnt() argument
205 if (cond) in i2c_dw_scl_hcnt()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dphy.c671 u32 cond = condition; in _rtl8821ae_check_condition() local
676 cond = condition & 0xFF; in _rtl8821ae_check_condition()
677 if ((_board != cond) && cond != 0xFF) in _rtl8821ae_check_condition()
680 cond = condition & 0xFF00; in _rtl8821ae_check_condition()
681 cond = cond >> 8; in _rtl8821ae_check_condition()
682 if ((_interface & cond) == 0 && cond != 0x07) in _rtl8821ae_check_condition()
685 cond = condition & 0xFF0000; in _rtl8821ae_check_condition()
686 cond = cond >> 16; in _rtl8821ae_check_condition()
687 if ((_platform & cond) == 0 && cond != 0x0F) in _rtl8821ae_check_condition()
/linux-4.1.27/arch/arm64/include/asm/
Dinsn.h298 enum aarch64_insn_condition cond);
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c64 # define bug_on(cond) assert(!(cond)) argument
/linux-4.1.27/drivers/net/fddi/skfp/h/
Dcmtdef.h627 void smt_srf_event(struct s_smc *smc, int code, int index, int cond);
630 #define smt_srf_event(smc,code,index,cond) argument
/linux-4.1.27/fs/logfs/
Dlogfs.h47 #define log_cond(cond, fmt, arg...) do { \ argument
48 if (cond) \
/linux-4.1.27/tools/perf/Documentation/
Dperf-record.txt214 - cond: conditional branches
217 The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.
/linux-4.1.27/arch/mips/net/
Dbpf_jit.c511 static inline void emit_bcond(int cond, unsigned int reg1, unsigned int reg2, in emit_bcond() argument
517 switch (cond) { in emit_bcond()
529 __func__, cond); in emit_bcond()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Drxon.c862 #define CHK(cond) \ in iwl_full_rxon_required() argument
863 if ((cond)) { \ in iwl_full_rxon_required()
864 IWL_DEBUG_INFO(priv, "need full RXON - " #cond "\n"); \ in iwl_full_rxon_required()
/linux-4.1.27/mm/
Dpercpu.c1543 #define PCPU_SETUP_BUG_ON(cond) do { \ in pcpu_setup_first_chunk() argument
1544 if (unlikely(cond)) { \ in pcpu_setup_first_chunk()
1545 pr_emerg("PERCPU: failed to initialize, %s", #cond); \ in pcpu_setup_first_chunk()
/linux-4.1.27/scripts/mod/
Dfile2alias.c112 #define ADD(str, sep, cond, field) \ argument
115 if (cond) \
/linux-4.1.27/arch/mips/include/uapi/asm/
Dinst.h708 __BITFIELD_FIELD(unsigned int cond : 4,
/linux-4.1.27/kernel/trace/
Dftrace.c43 #define FTRACE_WARN_ON(cond) \ argument
45 int ___r = cond; \
51 #define FTRACE_WARN_ON_ONCE(cond) \ argument
53 int ___r = cond; \
Dring_buffer.c694 #define RB_WARN_ON(b, cond) \ argument
696 int _____ret = unlikely(cond); \
/linux-4.1.27/drivers/staging/octeon-usb/
Docteon-hcd.c397 #define CVMX_WAIT_FOR_FIELD32(address, _union, cond, timeout_usec) \ argument
407 if (cond) { \
/linux-4.1.27/drivers/usb/atm/
Dueagle-atm.c590 #define uea_wait(sc, cond, timeo) \ argument
593 (cond) || kthread_should_stop(), timeo); \
/linux-4.1.27/drivers/net/wireless/iwlegacy/
Dcommon.c3788 #define CHK(cond) \ in il_full_rxon_required() argument
3789 if ((cond)) { \ in il_full_rxon_required()
3790 D_INFO("need full RXON - " #cond "\n"); \ in il_full_rxon_required()
/linux-4.1.27/Documentation/networking/
Dfilter.txt657 While the original design has constructs such as "if (cond) jump_true;
659 "if (cond) jump_true; /* else fall-through */".