Lines Matching refs:var
296 #define FTRACE_CMP_TYPE(var, type) \ argument
297 __builtin_types_compatible_p(typeof(var), type *)
300 #define IF_ASSIGN(var, entry, etype, id) \ argument
301 if (FTRACE_CMP_TYPE(var, etype)) { \
302 var = (typeof(var))(entry); \
323 #define trace_assign_type(var, ent) \ argument
325 IF_ASSIGN(var, ent, struct ftrace_entry, TRACE_FN); \
326 IF_ASSIGN(var, ent, struct ctx_switch_entry, 0); \
327 IF_ASSIGN(var, ent, struct stack_entry, TRACE_STACK); \
328 IF_ASSIGN(var, ent, struct userstack_entry, TRACE_USER_STACK);\
329 IF_ASSIGN(var, ent, struct print_entry, TRACE_PRINT); \
330 IF_ASSIGN(var, ent, struct bprint_entry, TRACE_BPRINT); \
331 IF_ASSIGN(var, ent, struct bputs_entry, TRACE_BPUTS); \
332 IF_ASSIGN(var, ent, struct hwlat_entry, TRACE_HWLAT); \
333 IF_ASSIGN(var, ent, struct trace_mmiotrace_rw, \
335 IF_ASSIGN(var, ent, struct trace_mmiotrace_map, \
337 IF_ASSIGN(var, ent, struct trace_branch, TRACE_BRANCH); \
338 IF_ASSIGN(var, ent, struct ftrace_graph_ent_entry, \
340 IF_ASSIGN(var, ent, struct ftrace_graph_ret_entry, \