Lines Matching refs:string
21 #include <linux/string.h>
56 char *string;
1084 * counts arguments in format string for sprintf view
1086 static inline int debug_count_numargs(char *string)
1090 while (*string) {
1091 if (*string++ == '%')
1100 debug_entry_t *__debug_sprintf_event(debug_info_t *id, int level, char *string, ...)
1110 numargs = debug_count_numargs(string);
1120 va_start(ap, string);
1121 curr_event->string = string;
1135 debug_entry_t *__debug_sprintf_exception(debug_info_t *id, int level, char *string, ...)
1146 numargs = debug_count_numargs(string);
1156 va_start(ap, string);
1157 curr_event->string = string;
1268 /* got the string, now strip linefeed. */
1537 /* no args, we use only the string */
1538 strcpy(out_buf, curr_event->string);
1539 rc = strlen(curr_event->string);
1543 /* number of arguments used for sprintf (without the format string) */
1551 rc = sprintf(out_buf, curr_event->string, curr_event->args[index[0]],