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);
360 * @len: Buffer size needed for @fmt and @args.
361 * @fmt: The printf()'s format string.
362 * @args: va_list structure for @fmt.
366 void tomoyo_write_log2(struct tomoyo_request_info *r, int len, const char *fmt,
376 buf = tomoyo_init_log(r, len, fmt, args);
416 * @fmt: The printf()'s format string, followed by parameters.
420 void tomoyo_write_log(struct tomoyo_request_info *r, const char *fmt, ...)
425 va_start(args, fmt);
426 len = vsnprintf(NULL, 0, fmt, args) + 1;
428 va_start(args, fmt);
429 tomoyo_write_log2(r, len, fmt, args);