Searched defs:level (Results 1 - 15 of 15) sorted by relevance

/systemd/src/basic/
H A Dsyslog-util.c112 bool log_level_is_valid(int level) { argument
113 return level >= 0 && level <= LOG_DEBUG;
H A Dexit-status.c27 const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) { argument
42 if (level == EXIT_STATUS_SYSTEMD || level == EXIT_STATUS_LSB) {
158 if (level == EXIT_STATUS_LSB) {
H A Dbtrfs-ctree.h51 uint8_t level; member in struct:btrfs_root_item
H A Dbtrfs-util.c683 uint64_t level, lowest = (uint64_t) -1, lowest_qgroupid = 0; local
705 r = btrfs_qgroupid_split(subvol_id, &level, NULL);
708 if (level != 0) /* Input must be a leaf qgroup */
718 r = btrfs_qgroupid_split(qgroups[i], &level, &id);
725 if (lowest == (uint64_t) -1 || level < lowest) {
727 lowest = level;
732 /* No suitable higher-level qgroup found, let's return
752 * lowest level, that shares the id part with the specified
998 int btrfs_qgroupid_make(uint64_t level, uint64_t id, uint64_t *ret) { argument
1001 if (level >
1011 btrfs_qgroupid_split(uint64_t qgroupid, uint64_t *level, uint64_t *id) argument
1943 uint64_t level; local
[all...]
H A Dlog.c317 void log_set_max_level(int level) { argument
318 assert((level & LOG_PRIMASK) == level);
320 log_max_level = level;
328 int level,
346 sprintf(prefix, "<%i>", level);
350 highlight = LOG_PRI(level) <= LOG_ERR && show_color;
388 int level,
411 xsprintf(header_priority, "<%i>", level);
451 int level,
327 write_to_console( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument
387 write_to_syslog( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument
450 write_to_kmsg( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument
482 log_do_header( char *header, size_t size, int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object) argument
521 write_to_journal( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *buffer) argument
554 log_dispatch( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, char *buffer) argument
634 log_dump_internal( int level, int error, const char *file, int line, const char *func, char *buffer) argument
655 log_internalv( int level, int error, const char *file, int line, const char *func, const char *format, va_list ap) argument
682 log_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) argument
700 log_object_internalv( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *format, va_list ap) argument
744 log_object_internal( int level, int error, const char *file, int line, const char *func, const char *object_field, const char *object, const char *format, ...) argument
764 log_assert( int level, const char *text, const char *file, int line, const char *func, const char *format) argument
852 log_struct_internal( int level, int error, const char *file, int line, const char *func, const char *format, ...) argument
1096 log_received_signal(int level, const struct signalfd_siginfo *si) argument
1117 log_syntax_internal( const char *unit, int level, const char *config_file, unsigned config_line, int error, const char *file, int line, const char *func, const char *format, ...) argument
[all...]
/systemd/src/shared/
H A Ddropin.c42 int drop_in_file(const char *dir, const char *unit, unsigned level, argument
55 sprintf(prefix, "%u", level);
79 int write_drop_in(const char *dir, const char *unit, unsigned level, argument
90 r = drop_in_file(dir, unit, level, name, &p, &q);
98 int write_drop_in_format(const char *dir, const char *unit, unsigned level, argument
116 return write_drop_in(dir, unit, level, name, p);
H A Dbus-util.c1566 int level; local
1568 level = log_level_from_string(eq);
1569 if (level < 0) {
1574 r = sd_bus_message_append(m, "v", "i", level);
/systemd/src/journal-remote/
H A Dmicrohttpd-util.c109 int level; member in struct:__anon111
124 static void log_func_gnutls(int level, const char *message) { argument
127 if (0 <= level && level < (int) ELEMENTSOF(gnutls_log_map)) {
128 if (gnutls_log_map[level].enabled)
129 log_internal(gnutls_log_map[level].level, 0, NULL, 0, NULL, "gnutls %d/%s: %s", level, gnutls_log_map[level].names[1], message);
131 log_debug("Received GNUTLS message with unknown level
[all...]
/systemd/src/core/
H A Ddbus-execute.c924 int level; local
926 r = sd_bus_message_read(message, "i", &level);
930 if (!log_level_is_valid(level))
931 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Log level value out of range");
934 c->syslog_priority = (c->syslog_priority & LOG_FACMASK) | level;
935 unit_write_drop_in_private_format(u, mode, name, "SyslogLevel=%i\n", level);
/systemd/src/cryptsetup/
H A Dcryptsetup.c240 static void log_glue(int level, const char *msg, void *usrptr) { argument
/systemd/src/libsystemd/sd-bus/
H A Dbus-dump.c36 static char *indent(unsigned level, unsigned flags) { argument
42 if (flags & BUS_MESSAGE_DUMP_SUBTREE_ONLY && level > 0)
43 level -= 1;
48 p = new(char, n + level*8 + 1);
57 memset(p + i, ' ', level*8);
58 p[i + level*8] = 0;
64 unsigned level = 1; local
166 if (level <= 1)
173 level--;
175 prefix = indent(level, flag
[all...]
H A Dbus-match.c1149 void bus_match_dump(struct bus_match_node *node, unsigned level) { argument
1157 pfx = strrep(" ", level);
1176 bus_match_dump(c, level + 1);
1180 bus_match_dump(c, level + 1);
/systemd/src/resolve/
H A Dresolved-dns-server.c228 static void dns_server_verified(DnsServer *s, DnsServerFeatureLevel level) { argument
231 if (s->verified_feature_level > level)
234 if (s->verified_feature_level != level) {
235 log_debug("Verified we get a response at feature level %s from DNS server %s.",
236 dns_server_feature_level_to_string(level),
238 s->verified_feature_level = level;
244 void dns_server_packet_received(DnsServer *s, int protocol, DnsServerFeatureLevel level, usec_t rtt, size_t size) { argument
248 if (s->possible_feature_level == level)
252 if (s->packet_rrsig_missing && level >= DNS_SERVER_FEATURE_LEVEL_DO)
253 level
287 dns_server_packet_lost(DnsServer *s, int protocol, DnsServerFeatureLevel level, usec_t usec) argument
304 dns_server_packet_failed(DnsServer *s, DnsServerFeatureLevel level) argument
315 dns_server_packet_truncated(DnsServer *s, DnsServerFeatureLevel level) argument
326 dns_server_packet_rrsig_missing(DnsServer *s, DnsServerFeatureLevel level) argument
339 dns_server_packet_bad_opt(DnsServer *s, DnsServerFeatureLevel level) argument
492 dns_server_adjust_opt(DnsServer *server, DnsPacket *packet, DnsServerFeatureLevel level) argument
[all...]
/systemd/src/analyze/
H A Danalyze.c756 static int list_dependencies_print(const char *name, unsigned int level, unsigned int branches, argument
761 for (i = level; i != 0; i--)
813 static int list_dependencies_one(sd_bus *bus, const char *name, unsigned int level, char ***units, argument
870 r = list_dependencies_print(*c, level, branches, to_print == 0, times, boot);
875 r = list_dependencies_print("...", level + 1, (branches << 1) | (to_print ? 1 : 0),
882 r = list_dependencies_one(bus, *c, level + 1, units,
1311 " set-log-level LEVEL Set logging threshold for manager\n"
1477 else if (streq(argv[optind], "set-log-level"))
/systemd/src/systemctl/
H A Dsystemctl.c500 "ACTIVE = The high-level unit activation state, i.e. generalization of SUB.\n"
501 "SUB = The low-level unit activation state, values depend on unit type.");
1461 static int list_dependencies_print(const char *name, int level, unsigned int branches, bool last) { argument
1469 for (i = level - 1; i >= 0; i--) {
1606 int level,
1631 r = list_dependencies_print("...", level + 1, (branches << 1) | (c[1] == NULL ? 0 : 1), 1);
1649 r = list_dependencies_print(*c, level, branches, c[1] == NULL);
1654 r = list_dependencies_one(bus, *c, level + 1, units, (branches << 1) | (c[1] == NULL ? 0 : 1));
3155 /* On all other errors, try low-level operation */
3423 * print_property() for a low-level propert
1603 list_dependencies_one( sd_bus *bus, const char *name, int level, char ***units, unsigned int branches) argument
[all...]

Completed in 862 milliseconds