Home
last modified time | relevance | path

Searched refs:strna (Results 1 – 25 of 162) sorted by relevance

1234567

/systemd-251/src/network/
Dnetworkd-wifi.c80 strna(nl80211_cmd_to_string(cmd)), cmd); in manager_genl_process_nl80211_config()
87 strna(nl80211_cmd_to_string(cmd)), cmd); in manager_genl_process_nl80211_config()
94 strna(nl80211_cmd_to_string(cmd)), cmd, ifindex); in manager_genl_process_nl80211_config()
101 strna(nl80211_cmd_to_string(cmd)), cmd); in manager_genl_process_nl80211_config()
107 strna(nl80211_cmd_to_string(cmd)), cmd, ifname); in manager_genl_process_nl80211_config()
114 strna(nl80211_cmd_to_string(cmd)), cmd); in manager_genl_process_nl80211_config()
121 strna(nl80211_cmd_to_string(cmd)), cmd); in manager_genl_process_nl80211_config()
135 strna(nl80211_cmd_to_string(cmd)), cmd, in manager_genl_process_nl80211_config()
136 strna(nl80211_iftype_to_string(wlan_iftype)), strna(ssid)); in manager_genl_process_nl80211_config()
195 strna(nl80211_cmd_to_string(cmd)), cmd); in manager_genl_process_nl80211_mlme()
[all …]
Dnetworkd-ndisc.c335 strna(buffer)); in ndisc_router_process_default()
430 … log_link_debug(link, "Prefix is longer than 64, ignoring autonomous prefix %s.", strna(buf)); in ndisc_router_process_autonomous_prefix()
565 … log_link_debug(link, "Prefix '%s' is not in allow list, ignoring", strna(b)); in ndisc_router_process_prefix()
567 … log_link_debug(link, "Prefix '%s' is in deny list, ignoring", strna(b)); in ndisc_router_process_prefix()
630 … log_link_debug(link, "Route prefix '%s' is not in allow list, ignoring", strna(buf)); in ndisc_router_process_route()
632 … log_link_debug(link, "Route prefix '%s' is in deny list, ignoring", strna(buf)); in ndisc_router_process_route()
646 …g_link_debug(link, "Advertised route gateway %s is local to the link, ignoring route", strna(buf)); in ndisc_router_process_route()
993 … log_link_debug(link, "Router '%s' is not in allow list, ignoring", strna(buf)); in ndisc_router_handler()
995 … log_link_debug(link, "Router '%s' is in deny list, ignoring", strna(buf)); in ndisc_router_handler()
Dnetworkd-dhcp-prefix-delegation.c375 strna(buffer), in log_dhcp_pd_address()
549 strna(buf)); in dhcp_pd_assign_subnet_prefix()
557 strna(buf)); in dhcp_pd_assign_subnet_prefix()
563 strna(buf)); in dhcp_pd_assign_subnet_prefix()
565 log_link_debug(link, "Assigned prefix %s", strna(buf)); in dhcp_pd_assign_subnet_prefix()
713 strna(buf)); in dhcp_request_unreachable_route()
742 strna(buf)); in dhcp_request_unreachable_route()
796 strna(buf), in dhcp_pd_prefix_add()
803 … return log_link_error_errno(link, r, "Failed to store DHCP delegated prefix %s: %m", strna(buf)); in dhcp_pd_prefix_add()
976 ipv4masklen, strna(buf), IPV4_ADDRESS_FMT_VAL(*br_addresses)); in dhcp4_pd_prefix_acquired()
/systemd-251/src/resolve/
Dtest-dnssec.c60 log_info("DS1: %s", strna(dns_resource_record_to_string(ds1))); in TEST()
72 log_info("DS2: %s", strna(dns_resource_record_to_string(ds2))); in TEST()
84 log_info("DNSKEY: %s", strna(dns_resource_record_to_string(dnskey))); in TEST()
126 log_info("DNSKEY: %s", strna(dns_resource_record_to_string(dnskey))); in TEST()
138 log_info("DS: %s", strna(dns_resource_record_to_string(ds))); in TEST()
147 log_info("MX: %s", strna(dns_resource_record_to_string(mx))); in TEST()
165 log_info("RRSIG: %s", strna(dns_resource_record_to_string(rrsig))); in TEST()
218 log_info("DNSKEY: %s", strna(dns_resource_record_to_string(dnskey))); in TEST()
230 log_info("DS: %s", strna(dns_resource_record_to_string(ds))); in TEST()
239 log_info("MX: %s", strna(dns_resource_record_to_string(mx))); in TEST()
[all …]
Dresolved-dns-server.c229 strna(dns_server_string_full(s))); in dns_server_verified()
360 …nsaction feature level fixed an RCODE error, downgrading server %s too.", strna(dns_server_string_… in dns_server_packet_rcode_downgrade()
450 strna(dns_server_string_full(s))); in dns_server_possible_feature_level()
587 … dns_server_feature_level_to_string(p), strna(dns_server_string_full(s))); in dns_server_possible_feature_level()
730 strna(dns_server_string_full(server))), in dns_server_warn_downgrade()
731 "DNS_SERVER=%s", strna(dns_server_string_full(server)), in dns_server_warn_downgrade()
856 …"Switching to %s DNS server %s.", dns_server_type_to_string(s->type), strna(dns_server_string_full… in manager_set_dns_server()
1005 fputs(strna(dns_server_string_full(s)), f); in dns_server_dump()
1019 fputs(strna(dns_server_feature_level_to_string(s->verified_feature_level)), f); in dns_server_dump()
1023 fputs(strna(dns_server_feature_level_to_string(s->possible_feature_level)), f); in dns_server_dump()
[all …]
/systemd-251/src/libsystemd/sd-event/
Devent-util.c35 strna((*s)->description ?: description)); in event_reset_time()
43 …g_errno(r, "sd-event: Failed to get clock id of event source \"%s\": %m", strna((*s)->description … in event_reset_time()
49 strna((*s)->description ? : description), in event_reset_time()
54 …ebug_errno(r, "sd-event: Failed to set time for event source \"%s\": %m", strna((*s)->description … in event_reset_time()
58 …_errno(r, "sd-event: Failed to set accuracy for event source \"%s\": %m", strna((*s)->description … in event_reset_time()
66 … log_debug_errno(r, "sd-event: Failed to enable event source \"%s\": %m", strna((*s)->description … in event_reset_time()
70 …return log_debug_errno(r, "sd-event: Failed to create timer event \"%s\": %m", strna(description)); in event_reset_time()
77 …_errno(r, "sd-event: Failed to set priority for event source \"%s\": %m", strna((*s)->description … in event_reset_time()
/systemd-251/src/shared/
Duser-record.c208 …json_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not a string.", strna(name)); in json_dispatch_realm()
213 …n_log(variant, flags, r, "Failed to check if JSON field '%s' is a valid DNS domain.", strna(name)); in json_dispatch_realm()
215 …ariant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not a valid DNS domain.", strna(name)); in json_dispatch_realm()
234 …json_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not a string.", strna(name)); in json_dispatch_gecos()
243 …C_ERRNO(EINVAL), "JSON field '%s' is not a valid GECOS compatible string, mangling.", strna(name)); in json_dispatch_gecos()
265 …json_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not a string.", strna(name)); in json_dispatch_nice()
269 …ariant, flags, SYNTHETIC_ERRNO(ERANGE), "JSON field '%s' is not a valid nice level.", strna(name)); in json_dispatch_nice()
308 …son_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not an object.", strna(name)); in json_dispatch_rlimits()
369 …json_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not a string.", strna(name)); in json_dispatch_filename_or_path()
373 …THETIC_ERRNO(EINVAL), "JSON field '%s' is not a valid file name or normalized path.", strna(name)); in json_dispatch_filename_or_path()
[all …]
Dextension-release.c76 … name, strna(extension_release_sysext_level), strna(host_os_release_sysext_level)); in extension_release_validate()
85 name, strna(host_os_release_version_id)); in extension_release_validate()
91 … name, strna(extension_release_version_id), strna(host_os_release_version_id)); in extension_release_validate()
Dbus-wait-for-jobs.c238 log_error("Job for %s canceled.", strna(d->name)); in check_wait_response()
240 log_error("Job for %s timed out.", strna(d->name)); in check_wait_response()
242 … log_error("A dependency job for %s failed. See 'journalctl -xe' for details.", strna(d->name)); in check_wait_response()
244 log_error("%s is not active, cannot reload.", strna(d->name)); in check_wait_response()
246 log_error("Assertion failed on job for %s.", strna(d->name)); in check_wait_response()
248 … log_error("Operation on or unit type of %s not supported on this system.", strna(d->name)); in check_wait_response()
250 log_error("Queued job for %s was garbage collected.", strna(d->name)); in check_wait_response()
252 … log_error("Unit %s was started already once and can't be started again.", strna(d->name)); in check_wait_response()
Dgroup-record.c71 …son_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not an object.", strna(name)); in dispatch_binding()
102 …json_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not an array.", strna(name)); in dispatch_per_machine()
109 …riant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not an array of objects.", strna(name)); in dispatch_per_machine()
157 …son_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not an object.", strna(name)); in dispatch_status()
/systemd-251/src/libsystemd/sd-bus/
Dbus-internal.c331 strna(sd_bus_message_get_sender(m)), in bus_maybe_reply_error()
332 strna(sd_bus_message_get_destination(m)), in bus_maybe_reply_error()
333 strna(sd_bus_message_get_path(m)), in bus_maybe_reply_error()
334 strna(sd_bus_message_get_interface(m)), in bus_maybe_reply_error()
335 strna(sd_bus_message_get_member(m)), in bus_maybe_reply_error()
338 strna(m->root_container.signature), in bus_maybe_reply_error()
339 strna(m->error.name), in bus_maybe_reply_error()
340 strna(m->error.message), in bus_maybe_reply_error()
Dbus-dump.c90 … fprintf(f, " Timestamp=\"%s\"\n", strna(FORMAT_TIMESTAMP_STYLE(ts, TIMESTAMP_US_UTC))); in sd_bus_message_dump()
110 ansi_highlight_red(), strna(m->error.name), ansi_normal(), in sd_bus_message_dump()
111 ansi_highlight_red(), strna(m->error.message), ansi_normal()); in sd_bus_message_dump()
312 fprintf(f, "%s", strna(capability_to_name(i))); in dump_capabilities()
367 fprintf(f, "%sTTY=%s%s%s", prefix, color, strna(c->tty), suffix); in bus_creds_dump()
409 fprintf(f, "%sExe=%s%s%s", prefix, color, strna(c->exe), suffix); in bus_creds_dump()
441 fprintf(f, "%sUnit=%s%s%s", prefix, color, strna(s), suffix); in bus_creds_dump()
445 fprintf(f, "%sSlice=%s%s%s", prefix, color, strna(s), suffix); in bus_creds_dump()
449 fprintf(f, "%sUserUnit=%s%s%s", prefix, color, strna(s), suffix); in bus_creds_dump()
453 fprintf(f, "%sUserSlice=%s%s%s", prefix, color, strna(s), suffix); in bus_creds_dump()
[all …]
/systemd-251/src/test/
Dtest-tmpfile-util.c15 …log_info_errno(r, "%s+%s → %s vs. %s (%i/%m vs. %i/%s)", p, strna(extra), strna(s), strna(expect),… in test_tempfn_random_one()
58 …log_info_errno(r, "%s+%s → %s vs. %s (%i/%m vs. %i/%s)", p, strna(extra), strna(s), strna(expect),… in test_tempfn_xxxxxx_one()
Dtest-btrfs.c35 log_info("referenced: %s", strna(FORMAT_BYTES(quota.referenced))); in main()
36 log_info("exclusive: %s", strna(FORMAT_BYTES(quota.exclusive))); in main()
37 log_info("referenced_max: %s", strna(FORMAT_BYTES(quota.referenced_max))); in main()
38 log_info("exclusive_max: %s", strna(FORMAT_BYTES(quota.exclusive_max))); in main()
Dtest-fileio.c114 log_info("one=[%s]", strna(one)); in TEST()
115 log_info("two=[%s]", strna(two)); in TEST()
116 log_info("three=[%s]", strna(three)); in TEST()
117 log_info("four=[%s]", strna(four)); in TEST()
118 log_info("five=[%s]", strna(five)); in TEST()
119 log_info("six=[%s]", strna(six)); in TEST()
120 log_info("seven=[%s]", strna(seven)); in TEST()
121 log_info("eight=[%s]", strna(eight)); in TEST()
122 log_info("export nine=[%s]", strna(nine)); in TEST()
123 log_info("ten=[%s]", strna(nine)); in TEST()
[all …]
/systemd-251/coccinelle/
Dstrempty.cocci56 position p : script:python() { p[0].current_element != "strna" };
61 + strna(s)
64 + strna(s)
68 position p : script:python() { p[0].current_element != "strna" };
73 + s = strna(s);
/systemd-251/src/libsystemd-network/
Dsd-radv.c612 strna(addr_p), strna(addr_cur)); in sd_radv_add_prefix()
627 strna(addr_p), in sd_radv_add_prefix()
637 log_radv(ra, "Added prefix %s", strna(addr_p)); in sd_radv_add_prefix()
650 strna(addr_p)); in sd_radv_add_prefix()
652 … log_radv(ra, "Sent Router Advertisement for added/updated prefix %s.", strna(addr_p)); in sd_radv_add_prefix()
713 strna(addr_p), strna(addr_cur)); in sd_radv_add_route_prefix()
728 strna(addr_p), in sd_radv_add_route_prefix()
737 log_radv(ra, "Added route prefix %s", strna(addr_p)); in sd_radv_add_route_prefix()
750 strna(addr_p)); in sd_radv_add_route_prefix()
752 log_radv(ra, "Sent Router Advertisement for added route prefix %s.", strna(addr_p)); in sd_radv_add_route_prefix()
Dtest-ipv4ll-manual.c32 log_info("bound %s", strna(address)); in ll_handler()
35 log_info("conflict on %s", strna(address)); in ll_handler()
38 log_error("the client was stopped with address %s", strna(address)); in ll_handler()
/systemd-251/src/systemctl/
Dsystemctl-show.c338 printf("%s%s%s %s", active_on, special_glyph(glyph), active_off, strna(i->id)); in print_status_info()
360 on, strna(i->load_state), off, i->load_error); in print_status_info()
366 on, strna(i->load_state), off, in print_status_info()
374 on, strna(i->load_state), off, path); in print_status_info()
377 on, strna(i->load_state), off); in print_status_info()
421 active_on, strna(i->active_state), ss, active_off); in print_status_info()
424 active_on, strna(i->active_state), active_off); in print_status_info()
583 printf(" Process: "PID_FMT" %s=%s ", p->pid, p->name, strna(argv)); in print_status_info()
1009 … bus_print_property_valuef(name, expected_value, flags, "%s", strna(mpol_to_string(i))); in print_property()
1261 strna(FORMAT_TIMESPAN(v, 0)), in print_property()
[all …]
Dsystemctl-logind.c173 who, (pid_t) pid, strna(comm), strna(user), why); in logind_check_inhibitors()
203 …log_warning("User %s is logged in on %s.", strna(user), isempty(tty) ? (isempty(seat) ? strna(serv… in logind_check_inhibitors()
Dsystemctl-list-machines.c198 mname = strjoin(strna(m->name), " (host)"); in output_machines_list()
203 TABLE_STRING, m->is_host ? mname : strna(m->name), in output_machines_list()
204 TABLE_STRING, strna(m->state), in output_machines_list()
/systemd-251/src/libsystemd/sd-resolve/
Dtest-resolve.c37 printf("canonical name: %s\n", strna(ai->ai_canonname)); in getaddrinfo_handler()
50 printf("Host: %s — Serv: %s\n", strna(host), strna(serv)); in getnameinfo_handler()
/systemd-251/src/core/
Dunit-serialize.c662 prefix, strna(u->instance), in unit_dump()
665 prefix, strna(FORMAT_TIMESTAMP(u->state_change_timestamp.realtime)), in unit_dump()
666 prefix, strna(FORMAT_TIMESTAMP(u->inactive_exit_timestamp.realtime)), in unit_dump()
667 prefix, strna(FORMAT_TIMESTAMP(u->active_enter_timestamp.realtime)), in unit_dump()
668 prefix, strna(FORMAT_TIMESTAMP(u->active_exit_timestamp.realtime)), in unit_dump()
669 prefix, strna(FORMAT_TIMESTAMP(u->inactive_enter_timestamp.realtime)), in unit_dump()
690 prefix, strna(unit_slice_name(u)), in unit_dump()
691 prefix, strna(u->cgroup_path), in unit_dump()
781 prefix, strna(FORMAT_TIMESTAMP(u->condition_timestamp.realtime)), in unit_dump()
788 prefix, strna(FORMAT_TIMESTAMP(u->assert_timestamp.realtime)), in unit_dump()
/systemd-251/src/nss-resolve/
Dnss-resolve.c104 …on_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not an integer.", strna(name)); in json_dispatch_ifindex()
108 … SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is out of bounds for an interface index.", strna(name)); in json_dispatch_ifindex()
122 …on_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not an integer.", strna(name)); in json_dispatch_family()
126 …og(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not a valid family.", strna(name)); in json_dispatch_family()
169 …json_log(variant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is not an array.", strna(name)); in json_dispatch_address()
173 …iant, flags, SYNTHETIC_ERRNO(EINVAL), "JSON field '%s' is array of unexpected size.", strna(name)); in json_dispatch_address()
179 …ags, SYNTHETIC_ERRNO(EINVAL), "Element %zu of JSON field '%s' is not an integer.", k, strna(name)); in json_dispatch_address()
183 … SYNTHETIC_ERRNO(EINVAL), "Element %zu of JSON field '%s' is out of range 0…255.", k, strna(name)); in json_dispatch_address()
/systemd-251/src/basic/
Dchase-symlinks.c44strna(n1), strna(user_a), special_glyph(SPECIAL_GLYPH_ARROW_RIGHT), strna(n2), strna(user_b), path… in log_unsafe_transition()
57 strna(n1), path); in log_autofs_mount_point()

1234567