/systemd/src/shared/ |
H A D | dropin.h | 27 int drop_in_file(const char *dir, const char *unit, unsigned level, 30 int write_drop_in(const char *dir, const char *unit, unsigned level, 33 int write_drop_in_format(const char *dir, const char *unit, unsigned level,
|
H A D | dropin.c | 42 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);
|
/systemd/src/basic/ |
H A D | log.h | 50 void log_set_max_level(int level); 79 int level, 87 int level, 96 int level, 106 int level, 117 int level, 140 int level, 166 /* Logging with level */ 167 #define log_full_errno(level, error, ...) \ 169 int _level = (level), _ [all...] |
H A D | syslog-util.h | 30 bool log_level_is_valid(int level);
|
H A D | log.c | 317 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...] |
H A D | exit-status.c | 27 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 D | syslog-util.c | 112 bool log_level_is_valid(int level) { argument 113 return level >= 0 && level <= LOG_DEBUG;
|
H A D | exit-status.h | 96 const char* exit_status_to_string(ExitStatus status, ExitStatusLevel level) _const_;
|
H A D | btrfs-util.h | 113 int btrfs_qgroupid_make(uint64_t level, uint64_t id, uint64_t *ret); 114 int btrfs_qgroupid_split(uint64_t qgroupid, uint64_t *level, uint64_t *id);
|
H A D | btrfs-ctree.h | 51 uint8_t level; member in struct:btrfs_root_item
|
H A D | btrfs-util.c | 683 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...] |
/systemd/src/resolve/ |
H A D | resolved-dns-server.h | 112 void dns_server_packet_received(DnsServer *s, int protocol, DnsServerFeatureLevel level, usec_t rtt, size_t size); 113 void dns_server_packet_lost(DnsServer *s, int protocol, DnsServerFeatureLevel level, usec_t usec); 114 void dns_server_packet_failed(DnsServer *s, DnsServerFeatureLevel level); 115 void dns_server_packet_truncated(DnsServer *s, DnsServerFeatureLevel level); 116 void dns_server_packet_rrsig_missing(DnsServer *s, DnsServerFeatureLevel level); 117 void dns_server_packet_bad_opt(DnsServer *s, DnsServerFeatureLevel level); 121 int dns_server_adjust_opt(DnsServer *server, DnsPacket *packet, DnsServerFeatureLevel level);
|
H A D | resolved-dns-server.c | 228 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/test/TEST-04-JOURNAL/ |
H A D | test-journal.sh | 12 printf $'\n\n\n' | systemd-cat -t "$ID" --level-prefix false 19 printf $'<5>\n<6>\n<7>\n' | systemd-cat -t "$ID" --level-prefix true 27 printf $'<5>Trailing spaces \t \n' | systemd-cat -t "$ID" --level-prefix true 34 printf $'Trailing spaces \t \n' | systemd-cat -t "$ID" --level-prefix false 42 printf $'<5> \t Leading spaces\n' | systemd-cat -t "$ID" --level-prefix true 49 printf $' \t Leading spaces\n' | systemd-cat -t "$ID" --level-prefix false
|
/systemd/src/journal-remote/ |
H A D | microhttpd-util.c | 109 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/libsystemd/sd-bus/ |
H A D | bus-dump.c | 36 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 D | bus-match.h | 91 void bus_match_dump(struct bus_match_node *node, unsigned level);
|
H A D | bus-match.c | 1149 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/network/ |
H A D | networkd-link.h | 182 #define log_link_full(link, level, error, ...) \ 185 _l ? log_object_internal(level, error, __FILE__, __LINE__, __func__, "INTERFACE=", _l->ifname, ##__VA_ARGS__) : \ 186 log_internal(level, error, __FILE__, __LINE__, __func__, ##__VA_ARGS__); \
|
H A D | networkd-netdev.h | 211 #define log_netdev_full(netdev, level, error, ...) \ 214 _n ? log_object_internal(level, error, __FILE__, __LINE__, __func__, "INTERFACE=", _n->ifname, ##__VA_ARGS__) : \ 215 log_internal(level, error, __FILE__, __LINE__, __func__, ##__VA_ARGS__); \
|
/systemd/src/core/ |
H A D | mount-setup.c | 342 if (_unlikely_(ftwbuf->level == 0)) 349 if (_unlikely_(ftwbuf->level == 1 &&
|
H A D | unit.h | 122 /* Updated whenever the low-level state changes */ 125 /* Updated whenever the (high-level) active state enters or leaves the active or inactive states */ 610 #define log_unit_full(unit, level, error, ...) \ 613 _u ? log_object_internal(level, error, __FILE__, __LINE__, __func__, _u->manager->unit_log_field, _u->id, ##__VA_ARGS__) : \ 614 log_internal(level, error, __FILE__, __LINE__, __func__, ##__VA_ARGS__); \
|
H A D | dbus-execute.c | 924 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/analyze/ |
H A D | analyze.c | 756 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/libsystemd-network/ |
H A D | sd-ipv4acd.c | 54 #define log_ipv4acd_full(ll, level, error, fmt, ...) log_internal(level, error, __FILE__, __LINE__, __func__, "ACD: " fmt, ##__VA_ARGS__)
|