Lines Matching refs:field
83 struct ftrace_event_field *field; in __find_event_field() local
85 list_for_each_entry(field, head, link) { in __find_event_field()
86 if (!strcmp(field->name, name)) in __find_event_field()
87 return field; in __find_event_field()
96 struct ftrace_event_field *field; in trace_find_event_field() local
100 field = __find_event_field(head, name); in trace_find_event_field()
101 if (field) in trace_find_event_field()
102 return field; in trace_find_event_field()
104 field = __find_event_field(&ftrace_generic_fields, name); in trace_find_event_field()
105 if (field) in trace_find_event_field()
106 return field; in trace_find_event_field()
115 struct ftrace_event_field *field; in __trace_define_field() local
117 field = kmem_cache_alloc(field_cachep, GFP_TRACE); in __trace_define_field()
118 if (!field) in __trace_define_field()
121 field->name = name; in __trace_define_field()
122 field->type = type; in __trace_define_field()
125 field->filter_type = filter_assign_type(type); in __trace_define_field()
127 field->filter_type = filter_type; in __trace_define_field()
129 field->offset = offset; in __trace_define_field()
130 field->size = size; in __trace_define_field()
131 field->is_signed = is_signed; in __trace_define_field()
133 list_add(&field->link, head); in __trace_define_field()
196 struct ftrace_event_field *field, *next; in trace_destroy_fields() local
200 list_for_each_entry_safe(field, next, head, link) { in trace_destroy_fields()
201 list_del(&field->link); in trace_destroy_fields()
202 kmem_cache_free(field_cachep, field); in trace_destroy_fields()
1216 struct ftrace_event_field *field; in f_show() local
1236 field = list_entry(v, struct ftrace_event_field, link); in f_show()
1244 array_descriptor = strchr(field->type, '['); in f_show()
1246 if (!strncmp(field->type, "__data_loc", 10)) in f_show()
1251 field->type, field->name, field->offset, in f_show()
1252 field->size, !!field->is_signed); in f_show()
1255 (int)(array_descriptor - field->type), in f_show()
1256 field->type, field->name, in f_show()
1257 array_descriptor, field->offset, in f_show()
1258 field->size, !!field->is_signed); in f_show()