Lines Matching refs:line

123                 unsigned line,  in next_assignment()  argument
139 assert(line > 0); in next_assignment()
151 return func(unit, filename, line, section, section_line, in next_assignment()
157 log_syntax(unit, LOG_WARNING, filename, line, 0, in next_assignment()
167 unsigned line, in parse_line() argument
181 assert(line > 0); in parse_line()
193 return log_syntax_invalid_utf8(unit, LOG_WARNING, filename, line, l); in parse_line()
203 …return log_syntax(unit, LOG_ERR, filename, line, SYNTHETIC_ERRNO(EBADMSG), "Invalid section header… in parse_line()
210 …return log_syntax(unit, LOG_ERR, filename, line, SYNTHETIC_ERRNO(EBADMSG), "Bad characters in sect… in parse_line()
226 … log_syntax(unit, LOG_WARNING, filename, line, 0, "Unknown section '%s'. Ignoring.", n); in parse_line()
233 *section_line = line; in parse_line()
242 … log_syntax(unit, LOG_WARNING, filename, line, 0, "Assignment outside of section. Ignoring."); in parse_line()
249 return log_syntax(unit, LOG_WARNING, filename, line, 0, in parse_line()
252 return log_syntax(unit, LOG_WARNING, filename, line, 0, in parse_line()
260 line, in parse_line()
285 unsigned line = 0, section_line = 0; in config_parse() local
334 log_error_errno(r, "%s:%u: Line too long", filename, line); in config_parse()
340 … log_error_errno(r, "%s:%u: Error while reading configuration file: %m", filename, line); in config_parse()
345 line++; in config_parse()
365 … log_error("%s:%u: Continuation line too long", filename, line); in config_parse()
403 line, in config_parse()
415 … log_warning_errno(r, "%s:%u: Failed to parse file: %m", filename, line); in config_parse()
425 ++line, in config_parse()
437 … log_warning_errno(r, "%s:%u: Failed to parse file: %m", filename, line); in config_parse()
717 siphash24_compress(&c->line, sizeof(c->line), state); in config_section_hash_func()
727 return CMP(x->line, y->line); in config_section_compare_func()
732 int config_section_new(const char *filename, unsigned line, ConfigSection **s) { in config_section_new() argument
740 cs->line = line; in config_section_new()
753 if (n < cs->line) in hashmap_find_free_section_line()
754 n = cs->line; in hashmap_find_free_section_line()
780 unsigned line, in config_parse_iec_size() argument
802 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse size value '%s', ignoring: %m", … in config_parse_iec_size()
813 unsigned line, in config_parse_si_uint64() argument
832 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse size value '%s', ignoring: %m", … in config_parse_si_uint64()
840 unsigned line, in config_parse_iec_uint64() argument
859 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse size value, ignoring: %s", rvalu… in config_parse_iec_uint64()
867 unsigned line, in config_parse_iec_uint64_infinity() argument
886 …return config_parse_iec_uint64(unit, filename, line, section, section_line, lvalue, ltype, rvalue,… in config_parse_iec_uint64_infinity()
892 unsigned line, in config_parse_bool() argument
912 log_syntax(unit, fatal ? LOG_ERR : LOG_WARNING, filename, line, k, in config_parse_bool()
925 unsigned line, in config_parse_id128() argument
943 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse 128bit ID/UUID, ignoring: %s", r… in config_parse_id128()
948 … log_syntax(unit, LOG_WARNING, filename, line, 0, "128bit ID/UUID is all 0, ignoring: %s", rvalue); in config_parse_id128()
959 unsigned line, in config_parse_tristate() argument
985 log_syntax(unit, LOG_WARNING, filename, line, k, in config_parse_tristate()
997 unsigned line, in config_parse_string() argument
1021 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_string()
1030 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_string()
1041 unsigned line, in config_parse_dns_name() argument
1064 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_dns_name()
1069 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_dns_name()
1080 unsigned line, in config_parse_hostname() argument
1101 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_hostname()
1106 return config_parse_dns_name(unit, filename, line, section, section_line, in config_parse_hostname()
1113 unsigned line, in config_parse_path() argument
1139 …fy_and_warn(n, PATH_CHECK_ABSOLUTE | (fatal ? PATH_CHECK_FATAL : 0), unit, filename, line, lvalue); in config_parse_path()
1150 unsigned line, in config_parse_strv() argument
1181 … log_syntax(unit, LOG_WARNING, filename, line, r, "Invalid syntax, ignoring: %s", rvalue); in config_parse_strv()
1194 unsigned line, in config_parse_warn_compat() argument
1208 log_syntax(unit, LOG_DEBUG, filename, line, 0, in config_parse_warn_compat()
1213 log_syntax(unit, LOG_INFO, filename, line, 0, in config_parse_warn_compat()
1218 log_syntax(unit, LOG_INFO, filename, line, 0, in config_parse_warn_compat()
1229 unsigned line, in config_parse_log_facility() argument
1247 …log_syntax(unit, LOG_WARNING, filename, line, x, "Failed to parse log facility, ignoring: %s", rva… in config_parse_log_facility()
1259 unsigned line, in config_parse_log_level() argument
1277 …log_syntax(unit, LOG_WARNING, filename, line, x, "Failed to parse log level, ignoring: %s", rvalue… in config_parse_log_level()
1292 unsigned line, in config_parse_signal() argument
1310 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse signal name, ignoring: %s", rval… in config_parse_signal()
1321 unsigned line, in config_parse_personality() argument
1342 …log_syntax(unit, LOG_WARNING, filename, line, 0, "Failed to parse personality, ignoring: %s", rval… in config_parse_personality()
1354 unsigned line, in config_parse_ifname() argument
1377 …log_syntax(unit, LOG_WARNING, filename, line, 0, "Interface name is not valid or too long, ignorin… in config_parse_ifname()
1391 unsigned line, in config_parse_ifnames() argument
1421 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_ifnames()
1430 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_ifnames()
1451 unsigned line, in config_parse_ip_port() argument
1476 … log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse port '%s'.", rvalue); in config_parse_ip_port()
1488 unsigned line, in config_parse_mtu() argument
1505 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_mtu()
1512 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_mtu()
1523 unsigned line, in config_parse_rlimit() argument
1540 …log_syntax(unit, LOG_WARNING, filename, line, r, "Soft resource limit chosen higher than hard limi… in config_parse_rlimit()
1544 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse resource value, ignoring: %s", r… in config_parse_rlimit()
1562 unsigned line, in config_parse_permille() argument
1581 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_permille()
1594 unsigned line, in config_parse_vlanprotocol() argument
1618 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_vlanprotocol()
1629 unsigned line, in config_parse_hw_addr() argument
1653 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_hw_addr()
1665 unsigned line, in config_parse_hw_addrs() argument
1698 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_hw_addrs()
1709 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_hw_addrs()
1723 unsigned line, in config_parse_ether_addr() argument
1752 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_ether_addr()
1765 unsigned line, in config_parse_ether_addrs() argument
1798 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_ether_addrs()
1809 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_ether_addrs()
1823 unsigned line, in config_parse_in_addr_non_null() argument
1854 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_in_addr_non_null()
1860 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_in_addr_non_null()