• Home
  • Raw
  • Download

Lines Matching refs:entry

21 	void *entry;  in trace_inject_entry()  local
24 entry = trace_event_buffer_reserve(&fbuffer, file, len); in trace_inject_entry()
25 if (entry) { in trace_inject_entry()
26 memcpy(entry, rec, len); in trace_inject_entry()
158 void *entry = NULL; in trace_alloc_entry() local
161 entry = kzalloc(entry_size + 1, GFP_KERNEL); in trace_alloc_entry()
162 if (!entry) 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()
186 return entry; in trace_alloc_entry()
196 void *entry = NULL; in parse_entry() local
201 entry = trace_alloc_entry(call, &entry_size); in parse_entry()
202 *pentry = entry; in parse_entry()
203 if (!entry) in parse_entry()
207 tracing_generic_entry_update(entry, call->event.type, irq_flags, in parse_entry()
218 strlcpy(entry + field->offset, addr, field->size); in parse_entry()
225 *pentry = krealloc(entry, entry_size, GFP_KERNEL); in parse_entry()
227 kfree(entry); in parse_entry()
230 entry = *pentry; in parse_entry()
232 strlcpy(entry + (entry_size - str_len), addr, str_len); in parse_entry()
233 str_item = (u32 *)(entry + field->offset); in parse_entry()
238 paddr = (char **)(entry + field->offset); 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()
285 void *entry = NULL; in event_inject_write() local
300 size = parse_entry(buf, call, &entry); in event_inject_write()
304 err = trace_inject_entry(file, entry, size); in event_inject_write()
308 kfree(entry); in event_inject_write()