/systemd/src/journal/ |
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-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
|
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-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-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-rate-limit.c | 209 int journal_rate_limit_test(JournalRateLimit *r, const char *id, int priority, uint64_t available) { argument 244 p = &g->pools[priority_map[priority]];
|
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 | 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...] |
/systemd/src/basic/ |
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/core/ |
H A D | kmod-setup.c | 35 int priority, 33 systemd_kmod_log( void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) argument
|
H A D | swap.h | 48 int priority; member in struct:SwapParameters
|
H A D | socket.h | 135 int priority; member in struct:Socket
|
H A D | swap.c | 123 s->parameters_proc_swaps.priority = s->parameters_fragment.priority = -1; 353 int priority, 417 p->priority = priority; 593 prefix, p->priority, 738 int priority = -1; local 740 r = fstab_find_pri(s->parameters_fragment.options, &priority); 742 log_warning_errno(r, "Failed to parse swap priority \"%s\", ignoring: %m", s->parameters_fragment.options); 743 else if (r == 1 && s->parameters_fragment.priority > 349 swap_setup_unit( Manager *m, const char *what, const char *what_proc_swaps, int priority, bool set_flags) argument [all...] |
/systemd/src/journal-remote/ |
H A D | log-generator.py | 19 PRIORITY={priority} 37 priority = 3 variable 58 priority=priority, variable
|
/systemd/src/libudev/ |
H A D | libudev.c | 51 int priority, const char *file, int line, const char *fn, 227 int priority, const char *file, int line, const char *fn, 246 * @priority: the new log priority 251 _public_ void udev_set_log_priority(struct udev *udev, int priority) { argument 252 log_set_max_level(priority); 225 udev_set_log_fn(struct udev *udev, void (*log_fn)(struct udev *udev, int priority, const char *file, int line, const char *fn, const char *format, va_list args)) argument
|
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);
|
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);
|
/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/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);
|
H A D | udev-node.c | 128 /* find device node of device with highest priority */ 132 int priority = 0; local 136 priority = udev_device_get_devlink_priority(dev); 166 if (target == NULL || udev_device_get_devlink_priority(dev_db) > priority) { 167 log_debug("'%s' claims priority %i for '%s'", 169 priority = udev_device_get_devlink_priority(dev_db);
|
H A D | udev-ctrl.c | 292 int udev_ctrl_send_set_log_level(struct udev_ctrl *uctrl, int priority, int timeout) { argument 293 return ctrl_send(uctrl, UDEV_CTRL_SET_LOG_LEVEL, priority, NULL, timeout);
|
/systemd/src/libsystemd-network/ |
H A D | sd-ipv4ll.c | 163 int sd_ipv4ll_attach_event(sd_ipv4ll *ll, sd_event *event, int priority) { argument 168 r = sd_ipv4acd_attach_event(ll->acd, event, priority);
|
/systemd/src/modules-load/ |
H A D | modules-load.c | 41 static void systemd_kmod_log(void *data, int priority, const char *file, int line, argument 45 log_internalv(priority, 0, file, line, fn, format, args);
|
/systemd/src/libsystemd/sd-netlink/ |
H A D | sd-netlink.c | 777 int sd_netlink_attach_event(sd_netlink *rtnl, sd_event *event, int priority) { argument 798 r = sd_event_source_set_priority(rtnl->io_event_source, priority); 814 r = sd_event_source_set_priority(rtnl->time_event_source, priority);
|