Lines Matching refs:pos
168 int i, len = 0, pos = 0; in __trace_probe_log_err() local
176 pos = len; in __trace_probe_log_err()
189 pos = len; in __trace_probe_log_err()
204 trace_probe_err_text, err_type, pos + offset); in __trace_probe_log_err()
889 #define LEN_OR_ZERO (len ? len - pos : 0)
895 int pos = 0; in __set_print_fmt() local
916 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", fmt); in __set_print_fmt()
920 pos += snprintf(buf + pos, LEN_OR_ZERO, " %s=", parg->name); in __set_print_fmt()
922 pos += snprintf(buf + pos, LEN_OR_ZERO, "{%s", in __set_print_fmt()
925 pos += snprintf(buf + pos, LEN_OR_ZERO, ",%s", in __set_print_fmt()
927 pos += snprintf(buf + pos, LEN_OR_ZERO, "}"); in __set_print_fmt()
929 pos += snprintf(buf + pos, LEN_OR_ZERO, "%s", in __set_print_fmt()
933 pos += snprintf(buf + pos, LEN_OR_ZERO, "\"%s", arg); in __set_print_fmt()
943 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
950 pos += snprintf(buf + pos, LEN_OR_ZERO, in __set_print_fmt()
956 return pos; in __set_print_fmt()