Lines Matching refs:offset
163 void __trace_probe_log_err(int offset, int err_type) in __trace_probe_log_err() argument
188 offset = 0; in __trace_probe_log_err()
202 trace_probe_err_text, err_type, pos + offset); in __trace_probe_log_err()
208 int traceprobe_split_symbol_offset(char *symbol, long *offset) in traceprobe_split_symbol_offset() argument
213 if (!offset) in traceprobe_split_symbol_offset()
218 ret = kstrtol(tmp, 0, offset); in traceprobe_split_symbol_offset()
223 *offset = 0; in traceprobe_split_symbol_offset()
230 char *buf, int offset) in traceprobe_parse_event_name() argument
238 trace_probe_log_err(offset, NO_GROUP_NAME); in traceprobe_parse_event_name()
242 trace_probe_log_err(offset, GROUP_TOO_LONG); in traceprobe_parse_event_name()
247 trace_probe_log_err(offset, BAD_GROUP_NAME); in traceprobe_parse_event_name()
252 offset += slash - event + 1; in traceprobe_parse_event_name()
257 trace_probe_log_err(offset, NO_EVENT_NAME); in traceprobe_parse_event_name()
260 trace_probe_log_err(offset, EVENT_TOO_LONG); in traceprobe_parse_event_name()
264 trace_probe_log_err(offset, BAD_EVENT_NAME); in traceprobe_parse_event_name()
361 long offset = 0; in parse_probe_arg() local
396 ret = kstrtol(arg + 2, 0, &offset); in parse_probe_arg()
403 code->immediate = (unsigned long)offset; // imm64? in parse_probe_arg()
429 code->offset = offset; in parse_probe_arg()
447 ret = kstrtol(arg, 0, &offset); in parse_probe_arg()
478 code->offset = offset; in parse_probe_arg()
544 struct probe_arg *parg, unsigned int flags, int offset) in traceprobe_parse_probe_arg_body() argument
552 trace_probe_log_err(offset, ARG_TOO_LONG); in traceprobe_parse_probe_arg_body()
555 trace_probe_log_err(offset, NO_ARG_BODY); in traceprobe_parse_probe_arg_body()
571 offset += t2 + strlen(t2) - arg; in traceprobe_parse_probe_arg_body()
572 trace_probe_log_err(offset, in traceprobe_parse_probe_arg_body()
576 trace_probe_log_err(offset + t3 + 1 - arg, in traceprobe_parse_probe_arg_body()
582 trace_probe_log_err(offset + t2 - arg, in traceprobe_parse_probe_arg_body()
587 trace_probe_log_err(offset + t2 - arg, in traceprobe_parse_probe_arg_body()
606 trace_probe_log_err(offset + (t ? (t - arg) : 0), BAD_TYPE); in traceprobe_parse_probe_arg_body()
609 parg->offset = *size; in traceprobe_parse_probe_arg_body()
627 flags, offset); in traceprobe_parse_probe_arg_body()
637 trace_probe_log_err(offset + (t ? (t - arg) : 0), in traceprobe_parse_probe_arg_body()
652 trace_probe_log_err(offset, TOO_MANY_OPS); in traceprobe_parse_probe_arg_body()
674 trace_probe_log_err(offset, TOO_MANY_OPS); in traceprobe_parse_probe_arg_body()
686 trace_probe_log_err(offset + t - arg, BAD_BITFIELD); in traceprobe_parse_probe_arg_body()
695 trace_probe_log_err(offset + (t ? (t - arg) : 0), in traceprobe_parse_probe_arg_body()
702 trace_probe_log_err(offset, TOO_MANY_OPS); in traceprobe_parse_probe_arg_body()
808 long offset; in traceprobe_update_arg() local
822 &offset); in traceprobe_update_arg()
832 code[1].immediate += offset; in traceprobe_update_arg()
921 size_t offset, struct trace_probe *tp) in traceprobe_define_arg_fields() argument
936 offset + parg->offset, size, in traceprobe_define_arg_fields()