Lines Matching refs:syslog
40 #include <linux/syslog.h>
411 * the standard userspace syslog level and syslog facility. The usual kernel
413 * syslog facility, by default LOG_USER. The origin of every message can be
467 /* the next printk record to read by syslog(READ) or /proc/kmsg */
762 * Extract and skip the syslog prefix <[0-9]*>. Coming from userspace
1347 static size_t info_print_prefix(const struct printk_info *info, bool syslog,
1352 if (syslog)
1385 static size_t record_print_text(struct printk_record *r, bool syslog,
1405 prefix_len = info_print_prefix(r->info, syslog, time, prefix);
1488 bool syslog, bool time)
1493 prefix_len = info_print_prefix(info, syslog, time, prefix);
1511 bool syslog, bool time)
1522 len += get_record_print_text_size(&info, line_count, syslog, time);
1541 len -= get_record_print_text_size(&info, line_count, syslog, time);
1824 SYSCALL_DEFINE3(syslog, int, type, char __user *, buf, int, len)
2222 * The sprintf needs to come first since the syslog prefix might be
2475 if (!strcmp(str, "syslog"))
4137 * @syslog: include the "<4>" prefixes
4151 bool kmsg_dump_get_line(struct kmsg_dump_iter *iter, bool syslog,
4170 l = record_print_text(&r, syslog, printk_time);
4176 l = get_record_print_text_size(&info, line_count, syslog,
4193 * @syslog: include the "<4>" prefixes
4209 bool kmsg_dump_get_buffer(struct kmsg_dump_iter *iter, bool syslog,
4245 size - 1, syslog, time);
4259 len += record_print_text(&r, syslog, time);