Home
last modified time | relevance | path

Searched defs:cond (Results 1 – 25 of 212) sorted by relevance

123456789

/linux-6.6.21/include/linux/ !
Dmmdebug.h19 #define VM_BUG_ON(cond) BUG_ON(cond) argument
20 #define VM_BUG_ON_PAGE(cond, page) \ argument
27 #define VM_BUG_ON_FOLIO(cond, folio) \ argument
34 #define VM_BUG_ON_VMA(cond, vma) \ argument
41 #define VM_BUG_ON_MM(cond, mm) \ argument
48 #define VM_WARN_ON_ONCE_PAGE(cond, page) ({ \ argument
59 #define VM_WARN_ON_FOLIO(cond, folio) ({ \ argument
68 #define VM_WARN_ON_ONCE_FOLIO(cond, folio) ({ \ argument
79 #define VM_WARN_ON_ONCE_MM(cond, mm) ({ \ argument
91 #define VM_WARN_ON(cond) (void)WARN_ON(cond) argument
[all …]
Diopoll.h36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
84 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \ argument
134 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
154 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
157 #define readb_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
160 #define readb_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
163 #define readw_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
166 #define readw_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
169 #define readl_poll_timeout(addr, val, cond, delay_us, timeout_us) \ argument
172 #define readl_poll_timeout_atomic(addr, val, cond, delay_us, timeout_us) \ argument
[all …]
Drculist.h51 #define __list_check_rcu(dummy, cond, extra...) \ argument
58 #define __list_check_srcu(cond) \ argument
64 #define __list_check_rcu(dummy, cond, extra...) \ argument
67 #define __list_check_srcu(cond) ({ }) argument
389 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument
408 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument
704 #define hlist_for_each_entry_rcu(pos, head, member, cond...) \ argument
725 #define hlist_for_each_entry_srcu(pos, head, member, cond) \ argument
Dtracepoint.h195 #define __DO_TRACE(name, args, cond, rcuidle) \ argument
228 #define __DECLARE_TRACE_RCU(name, proto, args, cond) \ argument
237 #define __DECLARE_TRACE_RCU(name, proto, args, cond) argument
251 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument
354 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument
436 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
561 args, cond) \ argument
570 #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ argument
574 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
Dcompiler.h55 #define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) ) argument
57 #define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) : __trace_if_value(cond)) argument
59 #define __trace_if_value(cond) ({ \ argument
Dbug.h18 #define MAYBE_BUILD_BUG_ON(cond) (0) argument
21 #define MAYBE_BUILD_BUG_ON(cond) \ argument
/linux-6.6.21/tools/testing/selftests/nolibc/ !
Dnolibc-test.c165 #define EXPECT_ZR(cond, expr) \ argument
179 #define EXPECT_NZ(cond, expr, val) \ argument
193 #define EXPECT_EQ(cond, expr, val) \ argument
207 #define EXPECT_NE(cond, expr, val) \ argument
221 #define EXPECT_GE(cond, expr, val) \ argument
235 #define EXPECT_GT(cond, expr, val) \ argument
249 #define EXPECT_LE(cond, expr, val) \ argument
263 #define EXPECT_LT(cond, expr, val) \ argument
277 #define EXPECT_SYSZR(cond, expr) \ argument
297 #define EXPECT_SYSEQ(cond, expr, val) \ argument
[all …]
/linux-6.6.21/tools/perf/arch/sparc/annotate/ !
Dinstructions.c3 static int is_branch_cond(const char *cond) in is_branch_cond()
63 static int is_branch_reg_cond(const char *cond) in is_branch_reg_cond()
88 static int is_branch_float_cond(const char *cond) in is_branch_float_cond()
140 const char *cond = name + 1; in sparc__associate_instruction_ops() local
/linux-6.6.21/arch/parisc/include/asm/ !
Dalternative.h26 u16 cond; /* see ALT_COND_XXX */ member
36 #define ALTERNATIVE(cond, replacement) "!0:" \ argument
47 #define ALTERNATIVE(from, to, cond, replacement)\ argument
56 #define ALTERNATIVE_CODE(from, num_instructions, cond, new_instr_ptr)\ argument
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvif/ !
Dtimer.h22 #define nvif_nsec(d,n,cond...) ({ \ argument
33 #define nvif_usec(d,u,cond...) nvif_nsec((d), (u) * 1000, ##cond) argument
34 #define nvif_msec(d,m,cond...) nvif_usec((d), (m) * 1000, ##cond) argument
/linux-6.6.21/security/apparmor/ !
Dfile.c163 const char **name, struct path_cond *cond, u32 request) in path_name()
194 aa_state_t state, struct path_cond *cond) in aa_lookup_fperms()
218 const char *name, struct path_cond *cond, in aa_str_perms()
230 u32 request, struct path_cond *cond, int flags, in __aa_path_perm()
252 struct path_cond *cond, int flags, in profile_path_perm()
285 struct path_cond *cond) in aa_path_perm()
330 struct path_cond *cond) in profile_path_link()
439 struct path_cond cond = { in aa_path_link() local
493 struct path_cond cond = { in __file_path_perm() local
/linux-6.6.21/tools/perf/util/ !
Dmutex.h77 struct cond { struct
78 pthread_cond_t cond; argument
/linux-6.6.21/arch/loongarch/net/ !
Dbpf_jit.h175 static inline int invert_jmp_cond(u8 cond) in invert_jmp_cond()
203 static inline void cond_jmp_offset(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in cond_jmp_offset()
251 static inline void cond_jmp_offs26(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in cond_jmp_offs26()
264 static inline int emit_cond_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in emit_cond_jmp()
296 static inline int emit_tailcall_jmp(struct jit_ctx *ctx, u8 cond, enum loongarch_gpr rj, in emit_tailcall_jmp()
/linux-6.6.21/tools/testing/radix-tree/linux/ !
Drcupdate.h8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) argument
9 #define rcu_dereference_check(p, cond) rcu_dereference(p) argument
/linux-6.6.21/tools/bootconfig/include/linux/ !
Dbootconfig.h18 #define WARN_ON(cond) \ argument
22 #define unlikely(cond) (cond) argument
/linux-6.6.21/arch/x86/include/asm/ !
Dparavirt_types.h439 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \ argument
457 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \ argument
466 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \ argument
475 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument
484 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \ argument
493 #define PVOP_ALT_CALL0(rettype, op, alt, cond) \ argument
495 #define PVOP_ALT_VCALL0(op, alt, cond) \ argument
502 #define PVOP_ALT_CALLEE0(rettype, op, alt, cond) \ argument
504 #define PVOP_ALT_VCALLEE0(op, alt, cond) \ argument
512 #define PVOP_ALT_VCALL1(op, arg1, alt, cond) \ argument
[all …]
/linux-6.6.21/arch/arm64/kvm/hyp/ !
Daarch32.c51 int cond; in kvm_condition_valid32() local
98 unsigned long itbits, cond; in kvm_adjust_itstate() local
/linux-6.6.21/drivers/gpu/drm/amd/pm/powerplay/inc/ !
Dpp_debug.h37 #define PP_ASSERT_WITH_CODE(cond, msg, code) \ argument
45 #define PP_ASSERT(cond, msg) \ argument
/linux-6.6.21/arch/arm/lib/ !
Dmemcpy.S29 .macro ldr1b ptr reg cond=al abort
41 .macro str1b ptr reg cond=al abort
Dcopy_to_user.S48 .macro ldr1b ptr reg cond=al abort
89 .macro str1b ptr reg cond=al abort
Dcopy_from_user.S76 .macro ldr1b ptr reg cond=al abort
90 .macro str1b ptr reg cond=al abort
/linux-6.6.21/include/media/ !
Dv4l2-device.h292 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument
317 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument
349 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument
384 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument
/linux-6.6.21/drivers/gpu/drm/nouveau/include/nvkm/subdev/ !
Dtimer.h52 #define nvkm_nsec(d,n,cond...) ({ \ argument
66 #define nvkm_usec(d, u, cond...) nvkm_nsec((d), (u) * 1000ULL, ##cond) argument
67 #define nvkm_msec(d, m, cond...) nvkm_usec((d), (m) * 1000ULL, ##cond) argument
/linux-6.6.21/fs/unicode/ !
Dutf8-selftest.c23 #define _test(cond, func, line, fmt, ...) do { \ argument
33 #define test_f(cond, fmt, ...) _test(cond, __func__, __LINE__, fmt, ##__VA_ARGS__) argument
34 #define test(cond) _test(cond, __func__, __LINE__, "") argument
/linux-6.6.21/tools/include/linux/ !
Drefcount.h45 #define REFCOUNT_WARN(cond, str) (void)(cond) argument
48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) argument

123456789