Home
last modified time | relevance | path

Searched refs:filename (Results 1 – 25 of 186) sorted by relevance

12345678

/systemd-251/src/core/
Dload-fragment.c235 const char *filename, in config_parse_unit_deps() argument
248 assert(filename); in config_parse_unit_deps()
262 … log_syntax(unit, LOG_WARNING, filename, line, r, "Invalid syntax, ignoring: %s", rvalue); in config_parse_unit_deps()
268 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to resolve unit specifiers in '%s', ignor… in config_parse_unit_deps()
274 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to determine if '%s' is a recursive depen… in config_parse_unit_deps()
278 log_syntax(unit, LOG_DEBUG, filename, line, 0, in config_parse_unit_deps()
286 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to add dependency on %s, ignoring: %m", k… in config_parse_unit_deps()
292 const char *filename, in config_parse_obsolete_unit_deps() argument
302 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_obsolete_unit_deps()
305 …return config_parse_unit_deps(unit, filename, line, section, section_line, lvalue, ltype, rvalue, … in config_parse_obsolete_unit_deps()
[all …]
/systemd-251/src/shared/
Dconf-parser.c122 const char *filename, in next_assignment() argument
138 assert(filename); 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()
166 const char *filename, in parse_line() argument
180 assert(filename); 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()
[all …]
Dnetif-sriov.c35 static int sr_iov_new_static(OrderedHashmap **sr_iov_by_section, const char *filename, unsigned sec… in sr_iov_new_static() argument
42 assert(filename); in sr_iov_new_static()
46 r = config_section_new(filename, section_line, &n); in sr_iov_new_static()
307 sr_iov->section->filename, sr_iov->section->line); in sr_iov_section_verify()
313 sr_iov->section->filename, sr_iov->section->line); in sr_iov_section_verify()
335 dup->section->filename, sr_iov->section->line, in sr_iov_drop_invalid_sections()
351 const char *filename, in config_parse_sr_iov_uint32() argument
366 assert(filename); in config_parse_sr_iov_uint32()
371 r = sr_iov_new_static(sr_iov_by_section, filename, section_line, &sr_iov); in config_parse_sr_iov_uint32()
391 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_sr_iov_uint32()
[all …]
/systemd-251/src/network/
Dnetworkd-dhcp-common.c87 network->filename); in network_adjust_dhcp()
95 "Disabling DHCPv6 client.", network->filename); in network_adjust_dhcp()
268 const char *filename, in config_parse_dhcp() argument
280 assert(filename); in config_parse_dhcp()
297 log_syntax(unit, LOG_WARNING, filename, line, s, in config_parse_dhcp()
302 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_dhcp()
313 const char *filename, in config_parse_dhcp_or_ra_route_metric() argument
327 assert(filename); in config_parse_dhcp_or_ra_route_metric()
335 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_dhcp_or_ra_route_metric()
365 const char *filename, in config_parse_dhcp_use_dns() argument
[all …]
Dnetworkd-network.c61 assert(network->filename); in network_resolve_netdev_one()
71 network->filename, name); in network_resolve_netdev_one()
77 network->filename, name); in network_resolve_netdev_one()
93 network->filename, name, kind_string); in network_resolve_netdev_one()
116 network->filename, (const char *) name); in network_resolve_stacked_netdevs()
129 assert(network->filename); in network_verify()
135 network->filename); in network_verify()
141 network->filename); in network_verify()
146 network->filename); in network_verify()
149 network->filename); in network_verify()
[all …]
Dnetworkd-radv.c37 "Disabling IPv6PrefixDelegation=.", network->filename); in network_adjust_radv()
83 static int prefix_new_static(Network *network, const char *filename, unsigned section_line, Prefix … in prefix_new_static() argument
90 assert(filename); in prefix_new_static()
93 r = config_section_new(filename, section_line, &n); in prefix_new_static()
141 static int route_prefix_new_static(Network *network, const char *filename, unsigned section_line, R… in route_prefix_new_static() argument
148 assert(filename); in route_prefix_new_static()
151 r = config_section_new(filename, section_line, &n); in route_prefix_new_static()
705 p->section->filename, p->section->line); in prefix_section_verify()
711 p->section->filename, p->prefixlen, p->section->line); in prefix_section_verify()
720 p->section->filename, p->prefixlen, p->section->line, in prefix_section_verify()
[all …]
Dnetworkd-bridge-fdb.c46 const char *filename, in bridge_fdb_new_static() argument
56 assert(filename); in bridge_fdb_new_static()
59 r = config_section_new(filename, section_line, &n); in bridge_fdb_new_static()
274 const char *filename, in config_parse_fdb_hwaddr() argument
288 assert(filename); in config_parse_fdb_hwaddr()
294 r = bridge_fdb_new_static(network, filename, section_line, &fdb); in config_parse_fdb_hwaddr()
300 …log_syntax(unit, LOG_WARNING, filename, line, r, "Not a valid MAC address, ignoring assignment: %s… in config_parse_fdb_hwaddr()
311 const char *filename, in config_parse_fdb_vlan_id() argument
325 assert(filename); in config_parse_fdb_vlan_id()
331 r = bridge_fdb_new_static(network, filename, section_line, &fdb); in config_parse_fdb_vlan_id()
[all …]
Dnetworkd-dhcp-server-static-lease.c37 static int lease_new_static(Network *network, const char *filename, unsigned section_line, DHCPStat… in lease_new_static() argument
43 assert(filename); in lease_new_static()
47 r = config_section_new(filename, section_line, &n); in lease_new_static()
79 … static_lease->section->filename, static_lease->section->line); in static_lease_verify()
87 … static_lease->section->filename, static_lease->section->line); in static_lease_verify()
106 const char *filename, in config_parse_dhcp_static_lease_address() argument
121 assert(filename); in config_parse_dhcp_static_lease_address()
126 r = lease_new_static(network, filename, section_line, &lease); in config_parse_dhcp_static_lease_address()
138 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_dhcp_static_lease_address()
143 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_dhcp_static_lease_address()
[all …]
Dnetworkd-can.c142 const char *filename, in config_parse_can_bitrate() argument
156 assert(filename); in config_parse_can_bitrate()
163 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_can_bitrate()
170 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_can_bitrate()
182 const char *filename, in config_parse_can_time_quanta() argument
195 assert(filename); in config_parse_can_time_quanta()
202 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_can_time_quanta()
209 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_can_time_quanta()
220 const char *filename, in config_parse_can_restart_usec() argument
233 assert(filename); in config_parse_can_restart_usec()
[all …]
Dnetworkd-route.c49 static int route_new_static(Network *network, const char *filename, unsigned section_line, Route **… in route_new_static() argument
56 assert(filename); in route_new_static()
59 r = config_section_new(filename, section_line, &n); in route_new_static()
1896 r = route_new_static(network, network->filename, section_line, &n); in network_add_ipv4ll_route()
1929 r = route_new_static(network, network->filename, section_line, &n); in network_add_default_route_on_device()
1944 const char *filename, in config_parse_gateway() argument
1958 assert(filename); in config_parse_gateway()
1966 r = route_new_static(network, filename, line, &n); in config_parse_gateway()
1970 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_gateway()
1975 r = route_new_static(network, filename, section_line, &n); in config_parse_gateway()
[all …]
/systemd-251/src/nspawn/
Dnspawn-settings.c242 const char *filename, in config_parse_expose_port() argument
255 assert(filename); in config_parse_expose_port()
261 …log_syntax(unit, LOG_WARNING, filename, line, r, "Duplicate port specification, ignoring: %s", rva… in config_parse_expose_port()
263 … log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse host port %s: %m", rvalue); in config_parse_expose_port()
270 const char *filename, in config_parse_capability() argument
283 assert(filename); in config_parse_capability()
294 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to extract capability string, ignoring: %… in config_parse_capability()
305 …log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse capability, ignoring: %s", word); in config_parse_capability()
319 const char *filename, in config_parse_pivot_root() argument
332 assert(filename); in config_parse_pivot_root()
[all …]
/systemd-251/src/network/tc/
Dcake.c130 const char *filename, in config_parse_cake_bandwidth() argument
146 assert(filename); in config_parse_cake_bandwidth()
151 r = qdisc_new_static(QDISC_KIND_CAKE, network, filename, section_line, &qdisc); in config_parse_cake_bandwidth()
155 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_cake_bandwidth()
171 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_cake_bandwidth()
185 const char *filename, in config_parse_cake_overhead() argument
201 assert(filename); in config_parse_cake_overhead()
206 r = qdisc_new_static(QDISC_KIND_CAKE, network, filename, section_line, &qdisc); in config_parse_cake_overhead()
210 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_cake_overhead()
225 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_cake_overhead()
[all …]
Dfq.c107 const char *filename, in config_parse_fair_queueing_u32() argument
123 assert(filename); in config_parse_fair_queueing_u32()
128 r = qdisc_new_static(QDISC_KIND_FQ, network, filename, section_line, &qdisc); in config_parse_fair_queueing_u32()
132 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_fair_queueing_u32()
159 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_fair_queueing_u32()
172 const char *filename, in config_parse_fair_queueing_size() argument
189 assert(filename); in config_parse_fair_queueing_size()
194 r = qdisc_new_static(QDISC_KIND_FQ, network, filename, section_line, &qdisc); in config_parse_fair_queueing_size()
198 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_fair_queueing_size()
221 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_fair_queueing_size()
[all …]
Dets.c81 const char *filename, in config_parse_ets_u8() argument
97 assert(filename); in config_parse_ets_u8()
102 r = qdisc_new_static(QDISC_KIND_ETS, network, filename, section_line, &qdisc); in config_parse_ets_u8()
106 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_ets_u8()
128 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_ets_u8()
134 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_ets_u8()
148 const char *filename, in config_parse_ets_quanta() argument
163 assert(filename); in config_parse_ets_quanta()
168 r = qdisc_new_static(QDISC_KIND_ETS, network, filename, section_line, &qdisc); in config_parse_ets_quanta()
172 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_ets_quanta()
[all …]
Dfq-codel.c99 const char *filename, in config_parse_fair_queueing_controlled_delay_u32() argument
115 assert(filename); in config_parse_fair_queueing_controlled_delay_u32()
120 r = qdisc_new_static(QDISC_KIND_FQ_CODEL, network, filename, section_line, &qdisc); in config_parse_fair_queueing_controlled_delay_u32()
124 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_fair_queueing_controlled_delay_u32()
147 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_fair_queueing_controlled_delay_u32()
160 const char *filename, in config_parse_fair_queueing_controlled_delay_usec() argument
176 assert(filename); in config_parse_fair_queueing_controlled_delay_usec()
181 r = qdisc_new_static(QDISC_KIND_FQ_CODEL, network, filename, section_line, &qdisc); in config_parse_fair_queueing_controlled_delay_usec()
185 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_fair_queueing_controlled_delay_usec()
213 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_fair_queueing_controlled_delay_usec()
[all …]
Dhtb.c50 const char *filename, in config_parse_hierarchy_token_bucket_default_class() argument
65 assert(filename); in config_parse_hierarchy_token_bucket_default_class()
70 r = qdisc_new_static(QDISC_KIND_HTB, network, filename, section_line, &qdisc); in config_parse_hierarchy_token_bucket_default_class()
74 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_hierarchy_token_bucket_default_class()
90 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_hierarchy_token_bucket_default_class()
103 const char *filename, in config_parse_hierarchy_token_bucket_u32() argument
118 assert(filename); in config_parse_hierarchy_token_bucket_u32()
123 r = qdisc_new_static(QDISC_KIND_HTB, network, filename, section_line, &qdisc); in config_parse_hierarchy_token_bucket_u32()
127 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_hierarchy_token_bucket_u32()
143 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_hierarchy_token_bucket_u32()
[all …]
Dtbf.c115 const char *filename, in config_parse_token_bucket_filter_size() argument
131 assert(filename); in config_parse_token_bucket_filter_size()
136 r = qdisc_new_static(QDISC_KIND_TBF, network, filename, section_line, &qdisc); in config_parse_token_bucket_filter_size()
140 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_token_bucket_filter_size()
165 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_token_bucket_filter_size()
189 const char *filename, in config_parse_token_bucket_filter_rate() argument
205 assert(filename); in config_parse_token_bucket_filter_rate()
210 r = qdisc_new_static(QDISC_KIND_TBF, network, filename, section_line, &qdisc); in config_parse_token_bucket_filter_rate()
214 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_token_bucket_filter_rate()
236 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_token_bucket_filter_rate()
[all …]
Dcodel.c79 const char *filename, in config_parse_controlled_delay_u32() argument
94 assert(filename); in config_parse_controlled_delay_u32()
99 r = qdisc_new_static(QDISC_KIND_CODEL, network, filename, section_line, &qdisc); in config_parse_controlled_delay_u32()
103 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_controlled_delay_u32()
119 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_controlled_delay_u32()
132 const char *filename, in config_parse_controlled_delay_usec() argument
148 assert(filename); in config_parse_controlled_delay_usec()
153 r = qdisc_new_static(QDISC_KIND_CODEL, network, filename, section_line, &qdisc); in config_parse_controlled_delay_usec()
157 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_controlled_delay_usec()
185 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_controlled_delay_usec()
[all …]
Dnetem.c53 const char *filename, in config_parse_network_emulator_delay() argument
69 assert(filename); in config_parse_network_emulator_delay()
74 r = qdisc_new_static(QDISC_KIND_NETEM, network, filename, section_line, &qdisc); in config_parse_network_emulator_delay()
78 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_network_emulator_delay()
97 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_network_emulator_delay()
115 const char *filename, in config_parse_network_emulator_rate() argument
131 assert(filename); in config_parse_network_emulator_rate()
136 r = qdisc_new_static(QDISC_KIND_NETEM, network, filename, section_line, &qdisc); in config_parse_network_emulator_rate()
140 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_network_emulator_rate()
159 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_network_emulator_rate()
[all …]
/systemd-251/src/network/netdev/
Dmacsec.c54 static int macsec_receive_association_new_static(MACsec *s, const char *filename, unsigned section_… in macsec_receive_association_new_static() argument
61 assert(filename); in macsec_receive_association_new_static()
64 r = config_section_new(filename, section_line, &n); in macsec_receive_association_new_static()
131 static int macsec_receive_channel_new_static(MACsec *s, const char *filename, unsigned section_line… in macsec_receive_channel_new_static() argument
138 assert(filename); in macsec_receive_channel_new_static()
141 r = config_section_new(filename, section_line, &n); in macsec_receive_channel_new_static()
181 static int macsec_transmit_association_new_static(MACsec *s, const char *filename, unsigned section… in macsec_transmit_association_new_static() argument
188 assert(filename); in macsec_transmit_association_new_static()
191 r = config_section_new(filename, section_line, &n); in macsec_transmit_association_new_static()
534 const char *filename, in config_parse_macsec_port() argument
[all …]
Dwireguard.c70 static int wireguard_peer_new_static(Wireguard *w, const char *filename, unsigned section_line, Wir… in wireguard_peer_new_static() argument
77 assert(filename); in wireguard_peer_new_static()
80 r = config_section_new(filename, section_line, &n); in wireguard_peer_new_static()
455 const char *filename, in config_parse_wireguard_listen_port() argument
478 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_wireguard_listen_port()
490 const char *filename, in wireguard_decode_key_and_warn() argument
500 assert(filename); in wireguard_decode_key_and_warn()
509 (void) warn_file_is_world_accessible(filename, NULL, unit, line); in wireguard_decode_key_and_warn()
515 log_syntax(unit, LOG_WARNING, filename, line, r, in wireguard_decode_key_and_warn()
520 log_syntax(unit, LOG_WARNING, filename, line, 0, in wireguard_decode_key_and_warn()
[all …]
Dgeneve.c103 const char *filename, in config_parse_geneve_vni() argument
117 assert(filename); in config_parse_geneve_vni()
124 … log_syntax(unit, LOG_WARNING, filename, line, r, "Failed to parse Geneve VNI '%s'.", rvalue); in config_parse_geneve_vni()
129 … log_syntax(unit, LOG_WARNING, filename, line, 0, "Geneve VNI out is of range '%s'.", rvalue); in config_parse_geneve_vni()
140 const char *filename, in config_parse_geneve_address() argument
154 assert(filename); in config_parse_geneve_address()
161 …log_syntax(unit, LOG_WARNING, filename, line, r, "geneve '%s' address is invalid, ignoring assignm… in config_parse_geneve_address()
167 …log_syntax(unit, LOG_WARNING, filename, line, 0, "geneve invalid multicast '%s' address, ignoring … in config_parse_geneve_address()
179 const char *filename, in config_parse_geneve_flow_label() argument
193 assert(filename); in config_parse_geneve_flow_label()
[all …]
Dl2tp-tunnel.c57 static int l2tp_session_new_static(L2tpTunnel *t, const char *filename, unsigned section_line, L2tp… in l2tp_session_new_static() argument
64 assert(filename); in l2tp_session_new_static()
67 r = config_section_new(filename, section_line, &n); in l2tp_session_new_static()
475 const char *filename, in config_parse_l2tp_tunnel_local_address() argument
492 assert(filename); in config_parse_l2tp_tunnel_local_address()
513 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_l2tp_tunnel_local_address()
520 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_l2tp_tunnel_local_address()
545 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_l2tp_tunnel_local_address()
551 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_l2tp_tunnel_local_address()
557 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_l2tp_tunnel_local_address()
[all …]
/systemd-251/src/basic/
Dunit-file.c72 int unit_validate_alias_symlink_or_warn(int log_level, const char *filename, const char *target) { in unit_validate_alias_symlink_or_warn() argument
89 src = basename(filename); in unit_validate_alias_symlink_or_warn()
97 "%s: not a valid unit name \"%s\": %m", filename, src); in unit_validate_alias_symlink_or_warn()
105 filename); in unit_validate_alias_symlink_or_warn()
111 filename, unit_type_to_string(src_unit_type)); in unit_validate_alias_symlink_or_warn()
118 filename, src, dst); in unit_validate_alias_symlink_or_warn()
124 filename, dst); in unit_validate_alias_symlink_or_warn()
130 filename, dst); in unit_validate_alias_symlink_or_warn()
138 filename, dst); in unit_validate_alias_symlink_or_warn()
145 filename, dst); in unit_validate_alias_symlink_or_warn()
[all …]
/systemd-251/src/resolve/
Dresolved-conf.c131 const char *filename, in config_parse_dns_servers() argument
144 assert(filename); in config_parse_dns_servers()
156 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_dns_servers()
174 const char *filename, in config_parse_search_domains() argument
187 assert(filename); in config_parse_search_domains()
199 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_search_domains()
214 const char *filename, in config_parse_dnssd_service_name() argument
240 assert(filename); in config_parse_dnssd_service_name()
252 log_syntax(unit, LOG_WARNING, filename, line, r, in config_parse_dnssd_service_name()
258 log_syntax(unit, LOG_WARNING, filename, line, 0, in config_parse_dnssd_service_name()
[all …]

12345678