Home
last modified time | relevance | path

Searched defs:cond (Results 1 – 108 of 108) 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
25 #define VM_BUG_ON_VMA(cond, vma) \ argument
32 #define VM_BUG_ON_MM(cond, mm) \ argument
39 #define VM_WARN_ON(cond) WARN_ON(cond) argument
40 #define VM_WARN_ON_ONCE(cond) WARN_ON_ONCE(cond) argument
41 #define VM_WARN_ONCE(cond, format...) WARN_ONCE(cond, format) argument
43 #define VM_BUG_ON(cond) BUILD_BUG_ON_INVALID(cond) argument
44 #define VM_BUG_ON_PAGE(cond, page) VM_BUG_ON(cond) argument
45 #define VM_BUG_ON_VMA(cond, vma) VM_BUG_ON(cond) argument
[all …]
Diopoll.h43 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
78 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
96 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
99 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
102 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
105 #define readw_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
108 #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
111 #define readl_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
114 #define readq_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
117 #define readq_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
[all …]
Dtracepoint.h128 #define __DO_TRACE(tp, proto, args, cond, prercu, postrcu) \ argument
151 #define __DECLARE_TRACE_RCU(name, proto, args, cond, data_proto, data_args) \ argument
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
240 #define __DECLARE_TRACE(name, proto, args, cond, data_proto, data_args) \ argument
342 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
468 args, cond) \ argument
477 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
Dbug.h20 #define BUILD_BUG_ON_MSG(cond, msg) (0) argument
50 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg) argument
Dseqno-fence.h98 enum seqno_fence_condition cond, in seqno_fence_init()
Dcompiler.h143 #define if(cond, ...) __trace_if( (cond , ## __VA_ARGS__) ) argument
144 #define __trace_if(cond) \ argument
Dnetfilter.h216 int (*okfn)(struct sock *, struct sk_buff *), bool cond) in NF_HOOK_COND()
332 #define NF_HOOK_COND(pf, hook, sk, skb, indev, outdev, okfn, cond) (okfn)(sk, skb) argument
Dkernel.h201 #define might_sleep_if(cond) do { if (cond) might_sleep(); } while (0) argument
Dintel-iommu.h228 #define IOMMU_WAIT_OP(iommu, offset, op, cond, sts) \ argument
/linux-4.1.27/security/apparmor/
Dfile.c195 struct path_cond *cond) in compute_perms()
239 const char *name, struct path_cond *cond, in aa_str_perms()
279 int flags, u32 request, struct path_cond *cond) in aa_path_perm()
353 struct path_cond cond = { in aa_path_link() local
451 struct path_cond cond = { in aa_file_perm() local
Dlsm.c163 struct path_cond *cond) in common_perm()
187 struct path_cond *cond) in common_perm_dir_dentry()
207 struct path_cond cond = { d_backing_inode(dentry)->i_uid, in common_perm_mnt_dentry() local
227 struct path_cond cond = { }; in common_perm_rm() local
251 struct path_cond cond = { current_fsuid(), mode }; in common_perm_create() local
284 struct path_cond cond = { d_backing_inode(path->dentry)->i_uid, in apparmor_path_truncate() local
330 struct path_cond cond = { d_backing_inode(old_dentry)->i_uid, in apparmor_path_rename() local
357 struct path_cond cond = { d_backing_inode(path->dentry)->i_uid, in apparmor_path_chown() local
398 struct path_cond cond = { inode->i_uid, inode->i_mode }; in apparmor_file_open() local
Ddomain.c101 struct path_cond cond = { }; in change_profile_perms() local
345 struct path_cond cond = { in apparmor_bprm_set_creds() local
/linux-4.1.27/include/media/
Dv4l2-device.h136 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument
143 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument
155 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument
168 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument
/linux-4.1.27/arch/arm64/kvm/
Demulate.c72 int cond; in kvm_condition_valid32() local
119 unsigned long itbits, cond; in kvm_adjust_itstate() local
/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()
323 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32()
335 static void emit_load_be16(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be16()
359 static void emit_load_be32(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be32()
367 static void emit_load_be16(u8 cond, u8 r_res, u8 r_addr, struct jit_ctx *ctx) in emit_load_be16()
414 static inline void emit_err_ret(u8 cond, struct jit_ctx *ctx) in emit_err_ret()
/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
47 # define dev_dbg_f_cond(dev, cond, fmt, args...) do { (void)(dev); } while (0) argument
/linux-4.1.27/fs/jfs/
Djfs_lock.h35 #define __SLEEP_COND(wq, cond, lock_cmd, unlock_cmd) \ argument
Djfs_logmgr.c129 #define LCACHE_SLEEP_COND(wq, cond, flags) \ argument
/linux-4.1.27/arch/parisc/math-emu/
Dsfcmp.c50 unsigned int cond, unsigned int *status) in sgl_fcmp()
Ddfcmp.c51 unsigned int cond, unsigned int *status) in dbl_fcmp()
/linux-4.1.27/tools/perf/tests/
Dtests.h4 #define TEST_ASSERT_VAL(text, cond) \ argument
/linux-4.1.27/drivers/gpu/host1x/hw/
Dhost1x02_hardware.h59 unsigned cond, unsigned indx) 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()
Dhost1x01_hardware.h59 unsigned cond, unsigned indx) 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()
Dhost1x04_hardware.h59 unsigned cond, unsigned indx) 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()
/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/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/kvm/
Demulate.c171 unsigned long cpsr, cond, insn; in kvm_condition_valid() local
220 unsigned long itbits, cond; in kvm_adjust_itstate() local
/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/arch/arm/include/asm/
Dspinlock.h26 #define WFE(cond) __ALT_SMP_ASM( \ argument
33 #define WFE(cond) __ALT_SMP_ASM("wfe" cond, "nop") argument
/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/drivers/staging/rtl8723au/hal/
DHalHWImg8723A_MAC.c23 u32 cond = Condition; in CheckCondition() local
DHalHWImg8723A_RF.c23 u32 cond = Condition; in CheckCondition() local
DHalHWImg8723A_BB.c23 u32 cond = Condition; in CheckCondition() local
/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/sound/pci/asihpi/
Dhpidebug.h98 #define compile_time_assert(cond, msg) \ argument
Dhpi_internal.h91 #define compile_time_assert(cond, msg) \ argument
/linux-4.1.27/arch/cris/boot/compressed/
Dmisc.c77 # define Assert(cond, msg) do { \ argument
99 # define Assert(cond, msg) 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()
1297 unsigned int cond, in snd_pcm_hw_constraint_list()
1329 unsigned int cond, in snd_pcm_hw_constraint_ranges()
1364 unsigned int cond, in snd_pcm_hw_constraint_ratnums()
1399 unsigned int cond, in snd_pcm_hw_constraint_ratdens()
1443 unsigned int cond, in snd_pcm_hw_constraint_msbits()
1473 unsigned int cond, in snd_pcm_hw_constraint_step()
1505 unsigned int cond, in snd_pcm_hw_constraint_pow2()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
Dvmwgfx_marker.c123 u64 cond = (u64) us * NSEC_PER_USEC; in vmw_lag_lt() local
/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/net/netfilter/
Dxt_sctp.c20 #define SCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument
Dxt_dccp.c30 #define DCCHECK(cond, option, flag, invflag) (!((flag) & (option)) \ argument
Dnf_conntrack_h323_asn1.c27 #define IFTHEN(cond, act) if(cond){act;} argument
35 #define IFTHEN(cond, act) argument
/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()
486 init_io_condition_met(struct nvbios_init *init, u8 cond) in init_io_condition_met()
503 init_io_flag_condition_met(struct nvbios_init *init, u8 cond) in init_io_flag_condition_met()
772 u8 cond = nv_ro08(bios, init->offset + 1); in init_io_flag_condition() local
790 u8 cond = nv_ro08(bios, init->offset + 1); in init_dp_condition() local
1226 u8 cond = nv_ro08(bios, init->offset + 1); in init_condition_time() local
1735 u8 cond = nv_ro08(bios, init->offset + 1); in init_condition() local
1752 u8 cond = nv_ro08(bios, init->offset + 1); in init_io_condition() local
/linux-4.1.27/drivers/staging/rtl8188eu/hal/
Drf_cfg.c31 u32 cond = condition; in check_condition() local
/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_defs.h113 #define CSIO_ASSERT(cond) BUG_ON(!(cond)) argument
/linux-4.1.27/arch/sh/kernel/cpu/sh5/
Dunwind.c239 int cond; in sh64_unwind_inner() local
/linux-4.1.27/arch/arm/mach-omap2/
Dcommon.h214 #define omap_test_timeout(cond, timeout, index) \ argument
Dprcm-common.h444 #define omap_test_timeout(cond, timeout, index) \ argument
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_private.h60 #define LASSERTF(cond, fmt, ...) \ argument
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/net/fddi/skfp/
Dcfm.c216 int cond ; in cfm() local
Dsrf.c187 void smt_srf_event(struct s_smc *smc, int code, int index, int cond) in smt_srf_event()
Dsmt.c288 int cond ; in smt_event() local
817 int cond ; in update_dac() local
Dpcmplc.c1083 int cond ; in lem_evaluate() local
/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/fs/ocfs2/cluster/
Dmasklog.h208 #define mlog_bug_on_msg(cond, fmt, args...) do { \ argument
/linux-4.1.27/arch/mips/math-emu/
Dcp1emu.c978 unsigned int cond, cbit; in cop1Emulate() local
1651 unsigned cond; in fpu_emu() local
/linux-4.1.27/net/irda/irnet/
Dirnet.h369 #define DABORT(cond, ret, dbg, args...) \ argument
375 #define DASSERT(cond, ret, dbg, args...) \ argument
/linux-4.1.27/arch/mips/kernel/
Dmips-r2-to-r6-emul.c200 u32 cond; in movf_func() local
223 u32 cond; in movt_func() local
/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/drivers/staging/lustre/lustre/libcfs/
Dtracefile.h321 #define __LASSERT(cond) \ argument
Dhash.c1492 cfs_hash_cond_arg_t *cond = data; in cfs_hash_cond_del_locked() local
/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()
614 enum pl330_cond cond, u8 peri) in _emit_LDP()
654 enum pl330_cond cond; member
663 enum pl330_cond cond = arg->cond; in _emit_LPEND() local
761 static inline u32 _emit_ST(unsigned dry_run, u8 buf[], enum pl330_cond cond) in _emit_ST()
780 enum pl330_cond cond, u8 peri) in _emit_STP()
834 enum pl330_cond cond, u8 peri) in _emit_WFP()
/linux-4.1.27/drivers/phy/
Dphy-qcom-ufs-i.h27 #define readl_poll_timeout(addr, val, cond, sleep_us, timeout_us) \ argument
/linux-4.1.27/drivers/macintosh/
Dvia-cuda.c249 #define WAIT_FOR(cond, what) \ argument
/linux-4.1.27/security/tomoyo/
Dgc.c270 struct tomoyo_condition *cond = container_of(element, typeof(*cond), in tomoyo_del_condition() local
Dcondition.c745 const struct tomoyo_condition *cond) in tomoyo_condition()
Dcommon.c1201 const struct tomoyo_condition *cond) in tomoyo_print_condition()
Dcommon.h670 struct tomoyo_condition *cond; /* Maybe NULL. */ member
1179 static inline void tomoyo_put_condition(struct tomoyo_condition *cond) in tomoyo_put_condition()
/linux-4.1.27/drivers/usb/gadget/function/
Du_serial.c821 int cond; in gs_writes_finished() local
1065 int cond; in gs_closed() local
/linux-4.1.27/drivers/md/bcache/
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
Dbcache.h796 #define btree_bug_on(cond, b, ...) \ argument
802 #define cache_bug_on(cond, c, ...) \ argument
808 #define cache_set_err_on(cond, c, ...) \ argument
/linux-4.1.27/net/ipv4/
Dinet_diag.c489 const struct inet_diag_hostcond *cond; in inet_diag_bc_run() local
597 struct inet_diag_hostcond *cond; in valid_hostcond() local
/linux-4.1.27/sound/isa/wavefront/
Dwavefront_synth.c119 #define DPRINT(cond, ...) \ argument
124 #define DPRINT(cond, args...) argument
/linux-4.1.27/drivers/staging/media/omap4iss/
Diss.h240 #define iss_poll_condition_timeout(cond, timeout, min_ival, max_ival) \ argument
/linux-4.1.27/arch/arm64/net/
Dbpf_jit.h41 #define A64_COND_BRANCH(cond, offset) \ argument
49 #define A64_B_(cond, imm19) A64_COND_BRANCH(cond, (imm19) << 2) argument
/linux-4.1.27/arch/powerpc/net/
Dbpf_jit.h231 #define PPC_BCC_SHORT(cond, dest) EMIT(PPC_INST_BRANCH_COND | \ argument
281 #define PPC_BCC(cond, dest) do { \ argument
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
Drxon.c862 #define CHK(cond) \ in iwl_full_rxon_required() 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()
/linux-4.1.27/tools/usb/
Dffs-test.c101 #define die_on(cond, ...) do { \ argument
/linux-4.1.27/tools/testing/selftests/net/
Dpsock_tpacket.c64 # define bug_on(cond) assert(!(cond)) argument
/linux-4.1.27/net/dccp/
Ddccp.h30 #define DCCP_BUG_ON(cond) do { if (unlikely((cond) != 0)) \ argument
/linux-4.1.27/include/linux/power/
Dsmartreflex.h182 #define sr_test_cond_timeout(cond, timeout, index) \ argument
/linux-4.1.27/arch/arm64/kernel/
Dinsn.c537 enum aarch64_insn_condition cond) in aarch64_insn_gen_cond_branch_imm()
/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
/linux-4.1.27/include/sound/
Dcore.h361 #define snd_BUG_ON(cond) WARN_ON((cond)) argument
Dpcm.h226 unsigned int cond; member
/linux-4.1.27/scripts/
Dasn1_compiler.c1380 const char *cond, *act; in render_element() local
/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()
/linux-4.1.27/scripts/mod/
Dfile2alias.c112 #define ADD(str, sep, cond, field) \ argument
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/
Dselftest.h582 #define lst_wait_until(cond, lock, fmt, ...) \ argument
/linux-4.1.27/kernel/rcu/
Dtree.h402 #define rcu_wait(cond) \ argument
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/
Dphy.c163 u32 cond = condition; in _rtl8723be_check_condition() local
/linux-4.1.27/mm/
Dpercpu.c1543 #define PCPU_SETUP_BUG_ON(cond) do { \ in pcpu_setup_first_chunk() argument
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/
Dphy.c291 u32 cond = condition; in _rtl88e_check_condition() local
/linux-4.1.27/fs/logfs/
Dlogfs.h47 #define log_cond(cond, fmt, arg...) do { \ argument
/linux-4.1.27/fs/reiserfs/
Dreiserfs.h908 #define __RASSERT(cond, scond, format, args...) \ argument
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/staging/octeon-usb/
Docteon-hcd.c397 #define CVMX_WAIT_FOR_FIELD32(address, _union, cond, timeout_usec) \ argument
/linux-4.1.27/drivers/net/fddi/skfp/h/
Dcmtdef.h630 #define smt_srf_event(smc,code,index,cond) argument
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/
Dphy.c289 u32 cond = condition; in _check_condition() local
/linux-4.1.27/kernel/trace/
Dftrace.c43 #define FTRACE_WARN_ON(cond) \ argument
51 #define FTRACE_WARN_ON_ONCE(cond) \ argument
Dring_buffer.c694 #define RB_WARN_ON(b, cond) \ argument
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/
Dphy.c671 u32 cond = condition; in _rtl8821ae_check_condition() local
/linux-4.1.27/drivers/usb/atm/
Dueagle-atm.c590 #define uea_wait(sc, cond, timeo) \ argument
/linux-4.1.27/drivers/net/wireless/iwlegacy/
Dcommon.c3788 #define CHK(cond) \ in il_full_rxon_required() argument