Lines Matching refs:code
239 if (!strcmp(parg->code->data, field->name)) { in trace_eprobe_tp_arg_update()
240 kfree(parg->code->data); in trace_eprobe_tp_arg_update()
241 parg->code->data = field; in trace_eprobe_tp_arg_update()
250 if (strcmp(parg->code->data, "COMM") == 0 || in trace_eprobe_tp_arg_update()
251 strcmp(parg->code->data, "comm") == 0) { in trace_eprobe_tp_arg_update()
252 parg->code->op = FETCH_OP_COMM; in trace_eprobe_tp_arg_update()
256 kfree(parg->code->data); in trace_eprobe_tp_arg_update()
257 parg->code->data = NULL; in trace_eprobe_tp_arg_update()
323 static unsigned long get_event_field(struct fetch_insn *code, void *rec) in get_event_field() argument
325 struct ftrace_event_field *field = code->data; in get_event_field()
383 struct fetch_insn *code; in get_eprobe_size() local
392 code = arg->code; in get_eprobe_size()
394 switch (code->op) { in get_eprobe_size()
396 val = get_event_field(code, rec); in get_eprobe_size()
399 val = code->immediate; in get_eprobe_size()
405 val = (unsigned long)code->data; in get_eprobe_size()
408 code++; in get_eprobe_size()
413 code++; in get_eprobe_size()
414 len = process_fetch_insn_bottom(code, val, NULL, NULL); in get_eprobe_size()
427 process_fetch_insn(struct fetch_insn *code, void *rec, void *dest, in process_fetch_insn() argument
433 switch (code->op) { in process_fetch_insn()
435 val = get_event_field(code, rec); in process_fetch_insn()
438 val = code->immediate; in process_fetch_insn()
444 val = (unsigned long)code->data; in process_fetch_insn()
447 code++; in process_fetch_insn()
452 code++; in process_fetch_insn()
453 return process_fetch_insn_bottom(code, val, dest, base); in process_fetch_insn()
909 if (ep->tp.args[i].code->op == FETCH_OP_TP_ARG) { in trace_eprobe_tp_update_arg()