Home
last modified time | relevance | path

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

12345678910

/linux/include/linux/
H A 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 …]
H A 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 …]
H A 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
392 #define list_for_each_entry_rcu(pos, head, member, cond...) \ argument
411 #define list_for_each_entry_srcu(pos, head, member, cond) \ argument
709 #define hlist_for_each_entry_rcu(pos, head, member, cond...) \ argument
730 #define hlist_for_each_entry_srcu(pos, head, member, cond) \ argument
H A Dtracepoint.h214 #define __DO_TRACE(name, args, cond, rcuidle) \ argument
248 #define __DECLARE_TRACE_RCU(name, proto, args, cond) \ argument
257 #define __DECLARE_TRACE_RCU(name, proto, args, cond) argument
271 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument
375 #define __DECLARE_TRACE(name, proto, args, cond, data_proto) \ argument
457 #define DECLARE_TRACE_CONDITION(name, proto, args, cond) \ argument
582 args, cond) \ argument
591 #define TRACE_EVENT_FN_COND(name, proto, args, cond, struct, \ argument
595 #define TRACE_EVENT_CONDITION(name, proto, args, cond, \ argument
H A Dbug.h18 #define MAYBE_BUILD_BUG_ON(cond) (0) argument
21 #define MAYBE_BUILD_BUG_ON(cond) \ argument
H A 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
/linux/fs/bcachefs/
H A Derror.h48 #define bch2_fs_inconsistent_on(cond, c, ...) \ argument
68 #define bch2_dev_inconsistent_on(cond, ca, ...) \ argument
88 #define bch2_trans_inconsistent_on(cond, trans, ...) \ argument
142 #define __fsck_err_on(cond, c, _flags, _err_type, ...) \ argument
152 #define need_fsck_err_on(cond, c, _err_type, ...) \ argument
161 #define mustfix_fsck_err_on(cond, c, _err_type, ...) \ argument
167 #define fsck_err_on(cond, c, _err_type, ...) \ argument
194 #define bkey_fsck_err_on(cond, ...) \ argument
213 #define bch2_fs_fatal_err_on(cond, c, ...) \ argument
233 #define bch2_dev_io_err_on(cond, ca, _type, ...) \ argument
[all …]
/linux/tools/testing/selftests/nolibc/
H A Dnolibc-test.c185 #define EXPECT_ZR(cond, expr) \ argument
199 #define EXPECT_NZ(cond, expr, val) \ argument
213 #define EXPECT_EQ(cond, expr, val) \ argument
227 #define EXPECT_NE(cond, expr, val) \ argument
241 #define EXPECT_GE(cond, expr, val) \ argument
255 #define EXPECT_GT(cond, expr, val) \ argument
269 #define EXPECT_LE(cond, expr, val) \ argument
283 #define EXPECT_LT(cond, expr, val) \ argument
297 #define EXPECT_SYSZR(cond, expr) \ argument
317 #define EXPECT_SYSEQ(cond, expr, val) \ argument
[all …]
/linux/tools/perf/arch/sparc/annotate/
H A 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/arch/parisc/include/asm/
H A 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/security/apparmor/
H A Dfile.c150 const char **name, struct path_cond *cond, u32 request) in path_name()
181 aa_state_t state, struct path_cond *cond) in aa_lookup_fperms()
205 const char *name, struct path_cond *cond, in aa_str_perms()
217 u32 request, struct path_cond *cond, int flags, in __aa_path_perm()
239 struct path_cond *cond, int flags, in profile_path_perm()
272 struct path_cond *cond) in aa_path_perm()
317 struct path_cond *cond) in profile_path_link()
426 struct path_cond cond = { in aa_path_link() local
480 struct path_cond cond = { in __file_path_perm() local
/linux/drivers/gpu/drm/nouveau/include/nvif/
H A 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/tools/perf/util/
H A Dmutex.h77 struct cond { struct
78 pthread_cond_t cond; member
/linux/arch/loongarch/net/
H A 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/arch/x86/include/asm/
H A Dparavirt_types.h406 #define ____PVOP_ALT_CALL(ret, op, alt, cond, call_clbr, \ argument
425 #define __PVOP_ALT_CALL(rettype, op, alt, cond, ...) \ argument
434 #define __PVOP_ALT_CALLEESAVE(rettype, op, alt, cond, ...) \ argument
443 #define __PVOP_ALT_VCALL(op, alt, cond, ...) \ argument
452 #define __PVOP_ALT_VCALLEESAVE(op, alt, cond, ...) \ argument
461 #define PVOP_ALT_CALL0(rettype, op, alt, cond) \ argument
463 #define PVOP_ALT_VCALL0(op, alt, cond) \ argument
470 #define PVOP_ALT_CALLEE0(rettype, op, alt, cond) \ argument
472 #define PVOP_ALT_VCALLEE0(op, alt, cond) \ argument
480 #define PVOP_ALT_VCALL1(op, arg1, alt, cond) \ argument
[all …]
/linux/tools/testing/shared/linux/
H A Drcupdate.h8 #define rcu_dereference_protected(p, cond) rcu_dereference(p) argument
9 #define rcu_dereference_check(p, cond) rcu_dereference(p) argument
/linux/tools/bootconfig/include/linux/
H A Dbootconfig.h18 #define WARN_ON(cond) \ argument
22 #define unlikely(cond) (cond) argument
/linux/include/media/
H A Dv4l2-device.h293 #define __v4l2_device_call_subdevs_p(v4l2_dev, sd, cond, o, f, args...) \ argument
318 #define __v4l2_device_call_subdevs(v4l2_dev, cond, o, f, args...) \ argument
350 #define __v4l2_device_call_subdevs_until_err_p(v4l2_dev, sd, cond, o, f, args...) \ argument
385 #define __v4l2_device_call_subdevs_until_err(v4l2_dev, cond, o, f, args...) \ argument
/linux/drivers/gpu/drm/amd/pm/powerplay/inc/
H A Dpp_debug.h37 #define PP_ASSERT_WITH_CODE(cond, msg, code) \ argument
45 #define PP_ASSERT(cond, msg) \ argument
/linux/arch/arm/lib/
H A Dmemcpy.S29 .macro ldr1b ptr reg cond=al abort
41 .macro str1b ptr reg cond=al abort
H A Dcopy_to_user.S48 .macro ldr1b ptr reg cond=al abort
89 .macro str1b ptr reg cond=al abort
H A Dcopy_from_user.S76 .macro ldr1b ptr reg cond=al abort
90 .macro str1b ptr reg cond=al abort
/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A 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/fs/unicode/
H A 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/tools/include/linux/
H A Drefcount.h45 #define REFCOUNT_WARN(cond, str) (void)(cond) argument
48 #define REFCOUNT_WARN(cond, str) BUG_ON(cond) argument

12345678910