Searched refs:snprintf_ok (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/udev/ |
D | udev-builtin-net_id.c | 314 if (!snprintf_ok(path, sizeof path, "%s/%08"PRIx64, slots, function_id)) in parse_hotplug_slot_from_function_id() 409 if (!snprintf_ok(slots, sizeof slots, "%s/slots", syspath)) in dev_pci_slot() 444 if (snprintf_ok(str, sizeof str, "%s/%s/address", slots, de->d_name) && in dev_pci_slot() 812 if (!snprintf_ok(names->ccw_busid, sizeof(names->ccw_busid), "c%s", bus_id)) in names_ccw() 878 …if (!snprintf_ok(names->netdevsim_path, sizeof(names->netdevsim_path), "i%un%s", addr, info->phys_… in names_netdevsim() 1040 if (snprintf_ok(str, sizeof str, "%s%s", prefix, names.ccw_busid)) in builtin_net_id() 1049 if (snprintf_ok(str, sizeof str, "%s%s", prefix, names.vio_slot)) in builtin_net_id() 1058 if (snprintf_ok(str, sizeof str, "%s%s", prefix, names.platform_path)) in builtin_net_id() 1067 if (snprintf_ok(str, sizeof str, "%s%s", prefix, names.netdevsim_path)) in builtin_net_id() 1077 if (snprintf_ok(str, sizeof str, "%s%s", prefix, names.xen_slot)) in builtin_net_id() [all …]
|
/systemd-251/src/basic/ |
D | stdio-util.h | 12 #define snprintf_ok(buf, len, fmt, ...) \ macro 21 …assert_message_se(snprintf_ok(buf, ELEMENTSOF(buf), fmt, __VA_ARGS__), "xsprintf: " #buf "[] must …
|
D | format-util.c | 20 assert(snprintf_ok(buf, IF_NAMESIZE, "%%%d", ifindex)); in format_ifname_full() 22 assert(snprintf_ok(buf, IF_NAMESIZE, "%d", ifindex)); in format_ifname_full()
|
D | devnum-util.h | 48 … return ASSERT_PTR(snprintf_ok(buf, DEVNUM_STR_MAX, DEVNUM_FORMAT_STR, DEVNUM_FORMAT_VAL(d))); in format_devnum()
|
D | fd-util.h | 121 assert_se(snprintf_ok(buf, PROC_FD_PATH_MAX, "/proc/self/fd/%i", fd)); in format_proc_fd_path()
|
/systemd-251/src/libsystemd/sd-bus/ |
D | bus-match.c | 994 return snprintf_ok(buf, l, "arg%i", t - BUS_MATCH_ARG); in bus_match_node_type_to_string() 997 return snprintf_ok(buf, l, "arg%ipath", t - BUS_MATCH_ARG_PATH); in bus_match_node_type_to_string() 1000 return snprintf_ok(buf, l, "arg%inamespace", t - BUS_MATCH_ARG_NAMESPACE); in bus_match_node_type_to_string() 1003 return snprintf_ok(buf, l, "arg%ihas", t - BUS_MATCH_ARG_HAS); in bus_match_node_type_to_string()
|