/systemd/src/journal/ |
H A D | journald-console.h | 24 void server_forward_console(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred);
|
H A D | journald-wall.h | 24 void server_forward_wall(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred);
|
H A D | journald-rate-limit.h | 28 int journal_rate_limit_test(JournalRateLimit *r, const char *id, int priority, uint64_t available);
|
H A D | journald-syslog.h | 24 int syslog_fixup_facility(int priority) _const_; 28 void server_forward_syslog(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred, const struct timeval *tv);
|
H A D | journald-kmsg.h | 27 void server_forward_kmsg(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred);
|
H A D | journald-kmsg.c | 43 int priority, 49 char header_priority[DECIMAL_STR_MAX(priority) + 3], 55 assert(priority >= 0); 56 assert(priority <= 999); 59 if (_unlikely_(LOG_PRI(priority) > s->max_level_kmsg)) 67 priority = syslog_fixup_facility(priority); 69 /* First: priority field */ 70 xsprintf(header_priority, "<%i>", priority); 115 int priority, local 41 server_forward_kmsg( Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred) argument [all...] |
H A D | journald-wall.c | 30 int priority, 42 if (LOG_PRI(priority) > s->max_level_wall) 28 server_forward_wall( Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred) argument
|
H A D | journald-syslog.c | 119 static void forward_syslog_raw(Server *s, int priority, const char *buffer, const struct ucred *ucred, const struct timeval *tv) { argument 125 if (LOG_PRI(priority) > s->max_level_syslog) 132 void server_forward_syslog(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred, const struct timeval *tv) { argument 134 char header_priority[DECIMAL_STR_MAX(priority) + 3], header_time[64], 142 assert(priority >= 0); 143 assert(priority <= 999); 146 if (LOG_PRI(priority) > s->max_level_syslog) 149 /* First: priority field */ 150 xsprintf(header_priority, "<%i>", priority); 188 int syslog_fixup_facility(int priority) { argument 331 int priority = LOG_USER | LOG_INFO; local [all...] |
H A D | journal-send.c | 82 _public_ int sd_journal_print(int priority, const char *format, ...) { argument 87 r = sd_journal_printv(priority, format, ap); 93 _public_ int sd_journal_printv(int priority, const char *format, va_list ap) { argument 101 assert_return(priority >= 0, -EINVAL); 102 assert_return(priority <= 7, -EINVAL); 105 xsprintf(p, "PRIORITY=%i", priority & LOG_PRIMASK); 394 _public_ int sd_journal_stream_fd(const char *identifier, int priority, int level_prefix) { argument 404 assert_return(priority >= 0, -EINVAL); 405 assert_return(priority <= 7, -EINVAL); 429 header[l++] = '0' + priority; 449 sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) argument 460 sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) argument [all...] |
H A D | journald-stream.c | 73 int priority; member in struct:StdoutStream 167 s->priority, 230 int priority; local 240 priority = s->priority; 243 syslog_parse_priority(&p, &priority, false); 249 server_forward_syslog(s->server, syslog_fixup_facility(priority), s->identifier, p, &s->ucred, NULL); 252 server_forward_kmsg(s->server, priority, s->identifier, p, &s->ucred); 255 server_forward_console(s->server, priority, s->identifier, p, &s->ucred); 258 server_forward_wall(s->server, priority, 559 *priority = NULL, local [all...] |
H A D | journald-native.c | 93 int priority = LOG_INFO; local 122 server_dispatch_message(s, iovec, n, m, ucred, tv, label, label_len, NULL, priority, object_pid); 124 priority = LOG_INFO; 164 /* We need to determine the priority 170 priority = (priority & LOG_FACMASK) | (p[9] - '0'); 175 priority = (priority & LOG_PRIMASK) | ((p[16] - '0') << 3); 181 priority = (priority [all...] |
H A D | journald-console.c | 53 int priority, 69 if (LOG_PRI(priority) > s->max_level_console) 51 server_forward_console( Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred) argument
|
/systemd/src/basic/ |
H A D | syslog-util.h | 32 int syslog_parse_priority(const char **p, int *priority, bool with_facility);
|
H A D | syslog-util.c | 28 int syslog_parse_priority(const char **p, int *priority, bool with_facility) { argument 34 assert(priority); 62 *priority = a*100 + b*10 + c; 64 *priority = (*priority & LOG_FACMASK) | c;
|
/systemd/src/journal-remote/ |
H A D | log-generator.py | 19 PRIORITY={priority} 37 priority = 3 variable 58 priority=priority, variable
|
/systemd/src/network/ |
H A D | networkd-route.h | 39 uint32_t priority; /* note that ip(8) calls this 'metric' */ member in struct:Route 61 int route_get(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret); 62 int route_add(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret); 63 int route_add_foreign(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret);
|
H A D | networkd-route.c | 119 (dst_prefix,dst_prefixlen,tos,priority,table) */ 123 siphash24_compress(&route->priority, sizeof(route->priority), state); 154 if (a->priority < b->priority) 156 if (a->priority > b->priority) 181 uint32_t priority, 188 .priority = priority, 176 route_get(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument 213 route_add_internal(Link *link, Set **routes, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument 256 route_add_foreign(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument 266 route_add(Link *link, int family, union in_addr_union *dst, unsigned char dst_prefixlen, unsigned char tos, uint32_t priority, unsigned char table, Route **ret) argument [all...] |
/systemd/src/systemd/ |
H A D | sd-journal.h | 38 int sd_journal_print(int priority, const char *format, ...) _sd_printf_(2, 3); 39 int sd_journal_printv(int priority, const char *format, va_list ap) _sd_printf_(2, 0); 45 int sd_journal_print_with_location(int priority, const char *file, const char *line, const char *func, const char *format, ...) _sd_printf_(5, 6); 46 int sd_journal_printv_with_location(int priority, const char *file, const char *line, const char *func, const char *format, va_list ap) _sd_printf_(5, 0); 54 #define sd_journal_print(priority, ...) sd_journal_print_with_location(priority, "CODE_FILE=" __FILE__, "CODE_LINE=" _SD_STRINGIFY(__LINE__), __func__, __VA_ARGS__) 55 #define sd_journal_printv(priority, format, ap) sd_journal_printv_with_location(priority, "CODE_FILE=" __FILE__, "CODE_LINE=" _SD_STRINGIFY(__LINE__), __func__, format, ap) 62 int sd_journal_stream_fd(const char *identifier, int priority, int level_prefix);
|
H A D | sd-ipv4acd.h | 43 int sd_ipv4acd_attach_event(sd_ipv4acd *ll, sd_event *event, int priority);
|
H A D | sd-ipv4ll.h | 42 int sd_ipv4ll_attach_event(sd_ipv4ll *ll, sd_event *event, int priority);
|
/systemd/src/libsystemd/sd-device/ |
H A D | device-private.h | 33 int device_get_devlink_priority(sd_device *device, int *priority); 43 void device_set_devlink_priority(sd_device *device, int priority);
|
/systemd/src/core/ |
H A D | dbus-swap.c | 46 p = s->parameters_proc_swaps.priority; 48 p = s->parameters_fragment.priority;
|
/systemd/src/udev/ |
H A D | udev-builtin-kmod.c | 62 _printf_(6,0) static void udev_kmod_log(void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) { argument 63 log_internalv(priority, 0, file, line, fn, format, args);
|
/systemd/src/libudev/ |
H A D | libudev-device-private.c | 179 int priority, r; local 183 r = device_get_devlink_priority(udev_device->device, &priority); 187 return priority; 339 int udev_device_set_devlink_priority(struct udev_device *udev_device, int priority) { argument 342 device_set_devlink_priority(udev_device->device, priority);
|
H A D | libudev-util.c | 105 int util_log_priority(const char *priority) argument 110 prio = strtoul(priority, &endptr, 10); 118 return log_level_from_string(priority);
|