Lines Matching defs:fmt
235 * @len: Buffer size needed for @fmt and @args.
236 * @fmt: The printf()'s format string.
237 * @args: va_list structure for @fmt.
244 char *tomoyo_init_log(struct tomoyo_request_info *r, int len, const char *fmt,
290 vsnprintf(buf + pos, len - pos, fmt, args);
359 * @len: Buffer size needed for @fmt and @args.
360 * @fmt: The printf()'s format string.
361 * @args: va_list structure for @fmt.
365 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt,
375 buf = tomoyo_init_log(r, len, fmt, args);
415 * @fmt: The printf()'s format string, followed by parameters.
419 void tomoyo_write_log(struct tomoyo_request_info *r, const char *fmt, ...)
424 va_start(args, fmt);
425 len = vsnprintf((char *) &len, 1, fmt, args) + 1;
427 va_start(args, fmt);
428 tomoyo_write_log2(r, len, fmt, args);