• Home
  • Raw
  • Download

Lines Matching refs:field

39 	struct ftrace_event_field *field;  in parse_field()  local
60 field = trace_find_event_field(call, field_name); in parse_field()
62 if (!field) in parse_field()
65 *pf = field; in parse_field()
79 if (is_string_field(field)) in parse_field()
94 if (field->is_signed) in parse_field()
108 if (!is_string_field(field)) in parse_field()
140 struct ftrace_event_field *field; in trace_get_entry_size() local
145 list_for_each_entry(field, head, link) { in trace_get_entry_size()
146 if (field->size + field->offset > size) in trace_get_entry_size()
147 size = field->size + field->offset; in trace_get_entry_size()
156 struct ftrace_event_field *field; in trace_alloc_entry() local
166 list_for_each_entry(field, head, link) { in trace_alloc_entry()
167 if (!is_string_field(field)) in trace_alloc_entry()
169 if (field->filter_type == FILTER_STATIC_STRING) in trace_alloc_entry()
171 if (field->filter_type == FILTER_DYN_STRING) { in trace_alloc_entry()
175 str_item = (u32 *)(entry + field->offset); in trace_alloc_entry()
180 paddr = (char **)(entry + field->offset); in trace_alloc_entry()
194 struct ftrace_event_field *field; in parse_entry() local
210 while ((len = parse_field(str, call, &field, &val)) > 0) { in parse_entry()
211 if (is_function_field(field)) in parse_entry()
214 if (is_string_field(field)) { in parse_entry()
217 if (field->filter_type == FILTER_STATIC_STRING) { in parse_entry()
218 strlcpy(entry + field->offset, addr, field->size); in parse_entry()
219 } else if (field->filter_type == FILTER_DYN_STRING) { in parse_entry()
233 str_item = (u32 *)(entry + field->offset); in parse_entry()
238 paddr = (char **)(entry + field->offset); in parse_entry()
242 switch (field->size) { in parse_entry()
246 memcpy(entry + field->offset, &tmp, 1); in parse_entry()
252 memcpy(entry + field->offset, &tmp, 2); in parse_entry()
258 memcpy(entry + field->offset, &tmp, 4); in parse_entry()
262 memcpy(entry + field->offset, &val, 8); in parse_entry()