Home
last modified time | relevance | path

Searched refs:var (Results 1 – 4 of 4) sorted by relevance

/kernel/trace/
Dtrace.h283 #define FTRACE_CMP_TYPE(var, type) \ argument
284 __builtin_types_compatible_p(typeof(var), type *)
287 #define IF_ASSIGN(var, entry, etype, id) \ argument
288 if (FTRACE_CMP_TYPE(var, etype)) { \
289 var = (typeof(var))(entry); \
310 #define trace_assign_type(var, ent) \ argument
312 IF_ASSIGN(var, ent, struct ftrace_entry, TRACE_FN); \
313 IF_ASSIGN(var, ent, struct ctx_switch_entry, 0); \
314 IF_ASSIGN(var, ent, struct stack_entry, TRACE_STACK); \
315 IF_ASSIGN(var, ent, struct userstack_entry, TRACE_USER_STACK);\
[all …]
/kernel/locking/
Dpercpu-rwsem.c110 #define per_cpu_sum(var) \ argument
112 typeof(var) __sum = 0; \
116 __sum += per_cpu(var, cpu); \
/kernel/sched/
Dstats.h34 # define schedstat_set(var, val) do { var = (val); } while (0) argument
47 # define schedstat_set(var, val) do { } while (0) argument
Dfair.c2866 typeof(*ptr) res, var = READ_ONCE(*ptr); \
2868 res = var + val; \
2870 if (val < 0 && res > var) \
3154 typeof(*ptr) res, var = READ_ONCE(*ptr); \
3155 res = var - val; \
3156 if (res > var) \