Searched refs:priority (Results 1 - 25 of 82) sorted by relevance

1234

/systemd/src/journal/
H A Djournald-console.h24 void server_forward_console(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred);
H A Djournald-wall.h24 void server_forward_wall(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred);
H A Djournald-rate-limit.h28 int journal_rate_limit_test(JournalRateLimit *r, const char *id, int priority, uint64_t available);
H A Djournald-syslog.h24 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 Djournald-kmsg.h27 void server_forward_kmsg(Server *s, int priority, const char *identifier, const char *message, const struct ucred *ucred);
H A Djournald-kmsg.c43 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 Djournald-wall.c30 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 Djournald-syslog.c119 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 Djournal-send.c82 _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 Djournald-stream.c73 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 Djournald-native.c93 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 Djournald-console.c53 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 Dsyslog-util.h32 int syslog_parse_priority(const char **p, int *priority, bool with_facility);
H A Dsyslog-util.c28 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 Dlog-generator.py19 PRIORITY={priority}
37 priority = 3 variable
58 priority=priority, variable
/systemd/src/network/
H A Dnetworkd-route.h39 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 Dnetworkd-route.c119 (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 Dsd-journal.h38 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 Dsd-ipv4acd.h43 int sd_ipv4acd_attach_event(sd_ipv4acd *ll, sd_event *event, int priority);
H A Dsd-ipv4ll.h42 int sd_ipv4ll_attach_event(sd_ipv4ll *ll, sd_event *event, int priority);
/systemd/src/libsystemd/sd-device/
H A Ddevice-private.h33 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 Ddbus-swap.c46 p = s->parameters_proc_swaps.priority;
48 p = s->parameters_fragment.priority;
/systemd/src/udev/
H A Dudev-builtin-kmod.c62 _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 Dlibudev-device-private.c179 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 Dlibudev-util.c105 int util_log_priority(const char *priority) argument
110 prio = strtoul(priority, &endptr, 10);
118 return log_level_from_string(priority);

Completed in 64 milliseconds

1234