Lines Matching refs:var
283 #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);\
316 IF_ASSIGN(var, ent, struct print_entry, TRACE_PRINT); \
317 IF_ASSIGN(var, ent, struct bprint_entry, TRACE_BPRINT); \
318 IF_ASSIGN(var, ent, struct bputs_entry, TRACE_BPUTS); \
319 IF_ASSIGN(var, ent, struct trace_mmiotrace_rw, \
321 IF_ASSIGN(var, ent, struct trace_mmiotrace_map, \
323 IF_ASSIGN(var, ent, struct trace_branch, TRACE_BRANCH); \
324 IF_ASSIGN(var, ent, struct ftrace_graph_ent_entry, \
326 IF_ASSIGN(var, ent, struct ftrace_graph_ret_entry, \