Lines Matching refs:priority
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, r;
134 r = safe_atoi(p, &priority);
135 if (r < 0 || priority < 0 || priority > 999)
138 if (s->forward_to_kmsg && (priority & LOG_FACMASK) != LOG_KERN)
280 if (asprintf(&syslog_priority, "PRIORITY=%i", priority & LOG_PRIMASK) >= 0)
283 if (asprintf(&syslog_facility, "SYSLOG_FACILITY=%i", LOG_FAC(priority)) >= 0)
286 if ((priority & LOG_FACMASK) == LOG_KERN)
312 server_dispatch_message(s, iovec, n, ELEMENTSOF(iovec), NULL, NULL, NULL, 0, NULL, priority, 0);
426 log_error_errno(r, "Failed to adjust priority of kmsg event source: %m");