Searched refs:cond (Results 26 - 50 of 274) sorted by relevance

1234567891011

/linux-master/arch/arm/include/asm/
H A Dassembler.h137 .macro asm_trace_hardirqs_on, cond=al, save=1 variable
146 bl\cond trace_hardirqs_on
198 asm_trace_hardirqs_on cond=eq variable
470 .macro usraccoff, instr, reg, ptr, inc, off, cond, abort, t=TUSER() variable
473 \instr\()b\t\cond\().w \reg, [\ptr, #\off]
475 \instr\t\cond\().w \reg, [\ptr, #\off]
486 .macro usracc, instr, reg, ptr, inc, cond, rept, abort variable
489 .ifnc \cond,al
491 itt \cond
493 ittt \cond
500 usraccoff \\instr, \\reg, \\ptr, \\inc, 0, \\cond, \\abort variable
502 usraccoff \\instr, \\reg, \\ptr, \\inc, \\inc, \\cond, \\abort variable
530 .macro strusr, reg, ptr, inc, cond=al, rept=1, abort=9001f variable
531 usracc str, \\reg, \\ptr, \\inc, \\cond, \\rept, \\abort variable
534 .macro ldrusr, reg, ptr, inc, cond=al, rept=1, abort=9001f variable
535 usracc ldr, \\reg, \\ptr, \\inc, \\cond, \\rept, \\abort variable
[all...]
H A Dvfpmacros.h12 .macro VFPFMRX, rd, sysreg, cond
13 vmrs\cond \rd, \sysreg
16 .macro VFPFMXR, sysreg, rd, cond
17 vmsr\cond \sysreg, \rd
21 .macro VFPFMRX, rd, sysreg, cond
22 MRC\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMRX \rd, \sysreg
25 .macro VFPFMXR, sysreg, rd, cond
26 MCR\cond p10, 7, \rd, \sysreg, cr0, 0 @ FMXR \sysreg, \rd
H A Dspinlock.h29 #define WFE(cond) __ALT_SMP_ASM( \
30 "it " cond "\n\t" \
31 "wfe" cond ".n", \
36 #define WFE(cond) __ALT_SMP_ASM("wfe" cond, "nop")
/linux-master/arch/x86/include/asm/
H A Dparavirt_types.h406 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \
413 alt, cond) \
425 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \
426 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op, alt, cond, \
434 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \
435 ____PVOP_ALT_CALL(PVOP_RETVAL(rettype), op.func, alt, cond, \
443 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \
444 (void)____PVOP_ALT_CALL(, op, alt, cond, \
452 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \
453 (void)____PVOP_ALT_CALL(, op.func, alt, cond, \
[all...]
/linux-master/tools/lib/perf/include/internal/
H A Dtests.h47 #define __T(text, cond) \
49 if (!(cond)) { \
/linux-master/include/linux/
H A Dbuild_bug.h39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
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 Dtracepoint.h195 #define __DO_TRACE(name, args, cond, rcuidle) \
199 if (!(cond)) \
229 #define __DECLARE_TRACE_RCU(name, proto, args, cond) \
235 TP_CONDITION(cond), 1); \
238 #define __DECLARE_TRACE_RCU(name, proto, args, cond)
252 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \
261 TP_CONDITION(cond), 0); \
262 if (IS_ENABLED(CONFIG_LOCKDEP) && (cond)) { \
268 PARAMS(cond)) \
356 #define __DECLARE_TRACE(name, proto, args, cond, data_prot
[all...]
H A Dcontext_tracking.h89 #define CT_WARN_ON(cond) WARN_ON(context_tracking_enabled() && (cond))
102 #define CT_WARN_ON(cond) do { } while (0)
H A Drculist.h51 #define __list_check_rcu(dummy, cond, extra...) \
54 RCU_LOCKDEP_WARN(!(cond) && !rcu_read_lock_any_held(), \
58 #define __list_check_srcu(cond) \
60 RCU_LOCKDEP_WARN(!(cond), \
64 #define __list_check_rcu(dummy, cond, extra...) \
67 #define __list_check_srcu(cond) ({ })
383 * @cond: optional lockdep expression if called from non-RCU protection.
389 #define list_for_each_entry_rcu(pos, head, member, cond...) \
390 for (__list_check_rcu(dummy, ## cond, 0), \
400 * @cond
[all...]
/linux-master/tools/include/linux/
H A Dbuild_bug.h39 #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
H A Dkernel.h63 #define BUG_ON(cond) do { if (cond) {} } while (0)
65 #define BUG_ON(cond) assert(!(cond))
/linux-master/kernel/locking/
H A Dlock_events.h37 static inline void __lockevent_inc(enum lock_events event, bool cond) argument
39 if (cond)
/linux-master/arch/arm/lib/
H A Dmemcpy.S29 .macro ldr1b ptr reg cond=al abort
30 ldrb\cond \reg, [\ptr], #1
41 .macro str1b ptr reg cond=al abort
42 strb\cond \reg, [\ptr], #1
/linux-master/drivers/gpu/host1x/hw/
H A Dopcodes.h43 unsigned cond, unsigned indx)
45 return host1x_uclass_incr_syncpt_cond_f(cond)
97 static inline u32 host1x_opcode_imm_incr_syncpt(unsigned cond, unsigned indx) argument
100 host1x_class_host_incr_syncpt(cond, indx));
42 host1x_class_host_incr_syncpt( unsigned cond, unsigned indx) argument
/linux-master/arch/arm/boot/compressed/
H A Ddecompress.c16 # define Assert(cond,msg) {if(!(cond)) error(msg);}
23 # define Assert(cond,msg)
/linux-master/arch/loongarch/net/
H A Dbpf_jit.h175 static inline int invert_jmp_cond(u8 cond) argument
177 switch (cond) {
203 static inline void cond_jmp_offset(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, argument
206 switch (cond) {
251 static inline void cond_jmp_offs26(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, argument
254 cond = invert_jmp_cond(cond);
255 cond_jmp_offset(ctx, cond, rj, rd, 2);
264 static inline int emit_cond_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, argument
279 cond_jmp_offs26(ctx, cond, r
296 emit_tailcall_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, enum loongarch_gpr rd, int jmp_offset) argument
[all...]
/linux-master/drivers/net/wireless/zydas/zd1211rw/
H A Dzd_def.h27 # define dev_dbg_f_cond(dev, cond, fmt, args...) ({ \
28 bool __cond = !!(cond); \
35 # define dev_dbg_f_cond(dev, cond, fmt, args...) do { (void)(dev); } while (0)
/linux-master/security/apparmor/
H A Dfile.c163 const char **name, struct path_cond *cond, u32 request)
175 NULL, NULL, cond->uid, info, error));
187 * @cond: conditions to consider (NOT NULL)
194 aa_state_t state, struct path_cond *cond)
201 if (uid_eq(current_fsuid(), cond->uid))
212 * @cond: conditions to consider for permission set computation (NOT NULL)
218 const char *name, struct path_cond *cond,
223 *perms = *(aa_lookup_fperms(file_rules, state, cond));
230 u32 request, struct path_cond *cond, int flags,
240 name, cond, perm
160 path_name(const char *op, const struct cred *subj_cred, struct aa_label *label, const struct path *path, int flags, char *buffer, const char **name, struct path_cond *cond, u32 request) argument
193 aa_lookup_fperms(struct aa_policydb *file_rules, aa_state_t state, struct path_cond *cond) argument
217 aa_str_perms(struct aa_policydb *file_rules, aa_state_t start, const char *name, struct path_cond *cond, struct aa_perms *perms) argument
228 __aa_path_perm(const char *op, const struct cred *subj_cred, struct aa_profile *profile, const char *name, u32 request, struct path_cond *cond, int flags, struct aa_perms *perms) argument
249 profile_path_perm(const char *op, const struct cred *subj_cred, struct aa_profile *profile, const struct path *path, char *buffer, u32 request, struct path_cond *cond, int flags, struct aa_perms *perms) argument
282 aa_path_perm(const char *op, const struct cred *subj_cred, struct aa_label *label, const struct path *path, int flags, u32 request, struct path_cond *cond) argument
326 profile_path_link(const struct cred *subj_cred, struct aa_profile *profile, const struct path *link, char *buffer, const struct path *target, char *buffer2, struct path_cond *cond) argument
439 struct path_cond cond = { local
493 struct path_cond cond = { local
[all...]
/linux-master/lib/zstd/common/
H A Derror_private.h101 #define RETURN_ERROR_IF(cond, err, ...) \
102 if (cond) { \
104 __FILE__, __LINE__, ERR_QUOTE(cond), ERR_QUOTE(ERROR(err))); \
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Drunq.h25 #define nvkm_runq_foreach_cond(runq,fifo,cond) nvkm_list_foreach(runq, &(fifo)->runqs, head, (cond))
/linux-master/sound/pci/asihpi/
H A Dhpidebug.h86 #define compile_time_assert(cond, msg) \
87 typedef char msg[(cond) ? 1 : -1]
/linux-master/tools/perf/util/
H A Dtop.h57 struct cond cond; member in struct:perf_top::__anon347
/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/include/media/
H A Dv4l2-device.h280 * @cond: condition to be match
283 * @f: operation function that will be called if @cond matches.
293 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \
296 if ((cond) && (sd)->ops->o && (sd)->ops->o->f) \
305 * @cond: condition to be match
308 * @f: operation function that will be called if @cond matches.
318 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \
322 __v4l2_device_call_subdevs_p(v4l2_dev, __sd, cond, o, \
333 * @cond: condition to be match
336 * @f: operation function that will be called if @cond matche
[all...]

Completed in 427 milliseconds

1234567891011