| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_cli.c | 1507 snprintf(out, out_size, MSG_ARG_INVALID, in cmd_cryptodev() 1512 snprintf(out, out_size, MSG_ARG_INVALID, in cmd_cryptodev() 1524 snprintf(out, out_size, MSG_ARG_INVALID, in cmd_cryptodev() 1530 snprintf(out, out_size, MSG_ARG_INVALID, in cmd_cryptodev() 1543 snprintf(out, out_size, MSG_ARG_INVALID, in cmd_cryptodev() 1925 snprintf(out, out_size, MSG_ARG_INVALID, in cmd_table_action_profile() 1937 snprintf(out, out_size, MSG_ARG_INVALID, in cmd_table_action_profile() 2159 snprintf(out, out_size, MSG_ARG_INVALID, in cmd_table_action_profile() 2168 snprintf(out, out_size, MSG_ARG_INVALID, in cmd_table_action_profile() 3770 snprintf(out, out_size, MSG_ARG_MISMATCH, in parse_match() [all …]
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | cli.c | 272 snprintf(out, out_size, in print_link_info() 6038 snprintf(out, out_size, in cmd_help() 6111 snprintf(out, out_size, "\n%s\n", in cmd_help() 6183 snprintf(out, out_size, "\n%s\n", in cmd_help() 6191 snprintf(out, out_size, "\n%s\n", in cmd_help() 6199 snprintf(out, out_size, "\n%s\n", in cmd_help() 6207 snprintf(out, out_size, "\n%s\n", in cmd_help() 6215 snprintf(out, out_size, "\n%s\n", in cmd_help() 6229 snprintf(out, out_size, "\n%s\n", in cmd_help() 6235 snprintf(out, out_size, "\n%s\n", in cmd_help() [all …]
|
| /f-stack/dpdk/examples/pipeline/ |
| H A D | cli.c | 374 snprintf(out, out_size, in print_link_info() 902 snprintf(out, out_size, in cmd_pipeline_table_update() 932 snprintf(out, out_size, in cmd_pipeline_table_update() 961 snprintf(out, out_size, in cmd_pipeline_table_update() 1043 snprintf(out, out_size, "\tPort %u:" in cmd_pipeline_stats() 1180 snprintf(out, out_size, in cmd_help() 1215 snprintf(out, out_size, "\n%s\n", in cmd_help() 1221 snprintf(out, out_size, "\n%s\n", in cmd_help() 1237 snprintf(out, out_size, "\n%s\n", in cmd_help() 1252 snprintf(out, out_size, "\n%s\n", in cmd_help() [all …]
|
| /f-stack/freebsd/netpfil/ipfw/ |
| H A D | ip_fw_log.c | 86 #undef snprintf 87 #define snprintf sprintf macro 204 snprintf(SNPARGS(action2, 0), "Tee %d", in ipfw_log() 237 snprintf(SNPARGS(action2, len), ":%d", in ipfw_log() 289 snprintf(SNPARGS(proto, 0), "MAC"); in ipfw_log() 314 snprintf(src, sizeof(src), "[%s]", in ipfw_log() 316 snprintf(dst, sizeof(dst), "[%s]", in ipfw_log() 361 len = snprintf(SNPARGS(proto, 0), in ipfw_log() 373 len = snprintf(SNPARGS(proto, 0), in ipfw_log() 392 snprintf(SNPARGS(fragment, 0), in ipfw_log() [all …]
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_filesystem.h | 41 snprintf(buffer, sizeof(buffer), "%s/%s", rte_eal_get_runtime_dir(), in eal_runtime_config_path() 53 snprintf(buffer, sizeof(buffer), "%s/%s", rte_eal_get_runtime_dir(), in eal_mp_socket_path() 61 snprintf(buffer, buflen, FBARRAY_NAME_FMT, rte_eal_get_runtime_dir(), in eal_get_fbarray_path() 73 snprintf(buffer, sizeof(buffer), "%s/%s", rte_eal_get_runtime_dir(), in eal_hugepage_info_path() 85 snprintf(buffer, sizeof(buffer), "%s/%s", rte_eal_get_runtime_dir(), in eal_hugepage_data_path() 95 snprintf(buffer, buflen, HUGEFILE_FMT, hugedir, in eal_get_hugefile_path()
|
| H A D | eal_common_hexdump.c | 25 out = snprintf(line, LINE_LEN, "%08X:", ofs); in rte_hexdump() 28 snprintf(line + out, LINE_LEN - out, in rte_hexdump() 37 out += snprintf(line + out, LINE_LEN - out, " | "); in rte_hexdump() 44 out += snprintf(line + out, LINE_LEN - out, "%c", c); in rte_hexdump() 69 out += snprintf(line + out, LINE_LEN - out, "%02x%s", in rte_memdump()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_nicenum.c | 72 snprintf(buf, buflen, "%llu", (u_longlong_t)num); in zfs_nicenum_format() 75 snprintf(buf, buflen, "%llu", (u_longlong_t)num); in zfs_nicenum_format() 78 snprintf(buf, buflen, "%s", "-"); in zfs_nicenum_format() 91 (void) snprintf(buf, buflen, "-"); in zfs_nicenum_format() 98 (void) snprintf(buf, buflen, "%llu%s", (u_longlong_t)n, u); in zfs_nicenum_format() 124 if (snprintf(buf, buflen, "%d%s", in zfs_nicenum_format() 129 if (snprintf(buf, buflen, "%.*f%s", i, in zfs_nicenum_format()
|
| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline_parse_ipaddr.c | 111 snprintf(dstbuf, size, "IPv4"); in cmdline_get_help_ipaddr() 114 snprintf(dstbuf, size, "IPv6"); in cmdline_get_help_ipaddr() 117 snprintf(dstbuf, size, "IPv4/IPv6"); in cmdline_get_help_ipaddr() 120 snprintf(dstbuf, size, "IPv4 network"); in cmdline_get_help_ipaddr() 123 snprintf(dstbuf, size, "IPv6 network"); in cmdline_get_help_ipaddr() 126 snprintf(dstbuf, size, "IPv4/IPv6 network"); in cmdline_get_help_ipaddr() 129 snprintf(dstbuf, size, "IPaddr (bad flags)"); in cmdline_get_help_ipaddr()
|
| /f-stack/dpdk/drivers/net/octeontx2/ |
| H A D | otx2_ethdev_debug.c | 547 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() 551 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() 555 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() 559 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() 563 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() 567 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() 571 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() 576 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() 580 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() 584 snprintf(regstr[k++], NIX_REG_NAME_SZ, in prepare_nix_tm_reg_dump() [all …]
|
| /f-stack/dpdk/lib/librte_mbuf/ |
| H A D | rte_mbuf_ptype.c | 129 ret = snprintf(buf, buflen, "UNKNOWN"); in rte_get_ptype_name() 138 ret = snprintf(buf, buflen, "%s ", in rte_get_ptype_name() 148 ret = snprintf(buf, buflen, "%s ", in rte_get_ptype_name() 158 ret = snprintf(buf, buflen, "%s ", in rte_get_ptype_name() 168 ret = snprintf(buf, buflen, "%s ", in rte_get_ptype_name() 178 ret = snprintf(buf, buflen, "%s ", in rte_get_ptype_name() 188 ret = snprintf(buf, buflen, "%s ", in rte_get_ptype_name() 198 ret = snprintf(buf, buflen, "%s ", in rte_get_ptype_name()
|
| /f-stack/freebsd/contrib/ngatm/netnatm/msg/ |
| H A D | traffic.c | 95 snprintf(ebuf, ebufsiz, "bad ATC=%#02x for BCOB-A", in uni_classify_traffic() 125 snprintf(ebuf, ebufsiz, "bad ATC=%#02x for BCOB-C", in uni_classify_traffic() 173 snprintf(ebuf, ebufsiz, "bad ATC=%#02x for BCOB-X", in uni_classify_traffic() 180 snprintf(ebuf, ebufsiz, "unsupported bearer class tVP"); in uni_classify_traffic() 184 snprintf(ebuf, ebufsiz, "bad bearer class %#02x", in uni_classify_traffic() 200 snprintf(ebuf, ebufsiz, "illegal BE for " C); \ in uni_classify_traffic() 206 snprintf(ebuf, ebufsiz, "illegal forward tag in " C); \ in uni_classify_traffic() 212 snprintf(ebuf, ebufsiz, "illegal backward tag in " C); \ in uni_classify_traffic() 217 snprintf(ebuf, ebufsiz, "bad forward CRs for " C); \ in uni_classify_traffic() 222 snprintf(ebuf, ebufsiz, "bad backward CRs for " C); \ in uni_classify_traffic() [all …]
|
| /f-stack/dpdk/drivers/bus/vmbus/linux/ |
| H A D | vmbus_bus.c | 125 snprintf(dirname, sizeof(dirname), in vmbus_get_uio_dev() 144 snprintf(dstbuf, buflen, "%s/uio%u", dirname, uio_num); in vmbus_get_uio_dev() 186 snprintf(dirname, sizeof(dirname), in rte_vmbus_map_device() 189 snprintf(filename, sizeof(filename), in rte_vmbus_map_device() 204 snprintf(filename, sizeof(filename), in rte_vmbus_map_device() 254 snprintf(dirname, sizeof(dirname), "%s/%s", in vmbus_scan_one() 258 snprintf(filename, sizeof(filename), "%s/class_id", dirname); in vmbus_scan_one() 269 snprintf(filename, sizeof(filename), "%s/device_id", dirname); in vmbus_scan_one() 274 snprintf(filename, sizeof(filename), "%s/id", dirname); in vmbus_scan_one() 280 snprintf(filename, sizeof(filename), "%s/monitor_id", dirname); in vmbus_scan_one() [all …]
|
| /f-stack/dpdk/app/test/ |
| H A D | test_cryptodev_blockcipher.c | 108 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() 121 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() 130 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() 155 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() 192 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() 241 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() 377 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() 491 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() 504 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() 613 snprintf(test_msg, BLOCKCIPHER_TEST_MSG_LEN, in test_blockcipher_one_case() [all …]
|
| H A D | test_func_reentrancy.c | 93 snprintf(ring_name, sizeof(ring_name), in ring_clean() 120 snprintf(ring_name, sizeof(ring_name), "fr_test_%d_%d", lcore_self, i); in ring_create_lookup() 153 snprintf(mempool_name, sizeof(mempool_name), "fr_test_%d_%d", in mempool_clean() 184 snprintf(mempool_name, sizeof(mempool_name), "fr_test_%d_%d", lcore_self, i); in mempool_create_lookup() 212 snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_id, i); in hash_clean() 247 snprintf(hash_name, sizeof(hash_name), "fr_test_%d_%d", lcore_self, i); in hash_create_free() 276 snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_id, i); in fbk_clean() 311 snprintf(fbk_name, sizeof(fbk_name), "fr_test_%d_%d", lcore_self, i); in fbk_create_free() 342 snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_id, i); in lpm_clean() 373 snprintf(lpm_name, sizeof(lpm_name), "fr_test_%d_%d", lcore_self, i); in lpm_create_free()
|
| /f-stack/dpdk/lib/librte_telemetry/ |
| H A D | telemetry.c | 144 return snprintf(out_buf, buf_len, "null"); in container_to_json() 178 used = snprintf(out_buf, sizeof(out_buf), "{\"%.*s\":null}", in output_json() 304 snprintf(info_str, sizeof(info_str), in client_handler() 347 snprintf(telemetry_log_error, in socket_listener() 372 snprintf(path, sizeof(path), "%s/dpdk_telemetry.v%d", in get_socket_path() 391 snprintf(telemetry_log_error, sizeof(telemetry_log_error), in create_socket() 401 snprintf(telemetry_log_error, sizeof(telemetry_log_error), in create_socket() 409 snprintf(telemetry_log_error, sizeof(telemetry_log_error), in create_socket() 429 snprintf(telemetry_log_error, sizeof(telemetry_log_error), in telemetry_legacy_init() 438 snprintf(telemetry_log_error, sizeof(telemetry_log_error), in telemetry_legacy_init() [all …]
|
| /f-stack/tools/libxo/xo/ |
| H A D | xo.c | 146 rc = snprintf(buf, bufsiz, fmt, w1, w2, value); in formatter() 148 rc = snprintf(buf, bufsiz, fmt, w1, value); in formatter() 150 rc = snprintf(buf, bufsiz, fmt, value); in formatter() 155 rc = snprintf(buf, bufsiz, fmt, w1, w2, value); in formatter() 157 rc = snprintf(buf, bufsiz, fmt, w1, value); in formatter() 159 rc = snprintf(buf, bufsiz, fmt, value); in formatter() 164 rc = snprintf(buf, bufsiz, fmt, w1, w2, value); in formatter() 166 rc = snprintf(buf, bufsiz, fmt, w1, value); in formatter() 168 rc = snprintf(buf, bufsiz, fmt, value); in formatter() 175 rc = snprintf(buf, bufsiz, fmt, w1, value); in formatter() [all …]
|
| /f-stack/dpdk/drivers/bus/pci/linux/ |
| H A D | pci_uio.c | 88 snprintf(filename, sizeof(filename), "%s/dev", sysfs_uio_path); in pci_mknod_uio_dev() 107 snprintf(filename, sizeof(filename), "/dev/uio%u", uio_num); in pci_mknod_uio_dev() 138 snprintf(dirname, sizeof(dirname), in pci_get_uio_dev() 145 snprintf(dirname, sizeof(dirname), in pci_get_uio_dev() 171 snprintf(dstbuf, buflen, "%s/uio%u", dirname, uio_num); in pci_get_uio_dev() 179 snprintf(dstbuf, buflen, "%s/uio:uio%u", dirname, uio_num); in pci_get_uio_dev() 233 snprintf(devname, sizeof(devname), "/dev/uio%u", uio_num); in pci_uio_alloc_resource() 243 snprintf(cfgname, sizeof(cfgname), in pci_uio_alloc_resource() 312 snprintf(devname, sizeof(devname), in pci_uio_map_resource_by_index() 327 snprintf(devname, sizeof(devname), in pci_uio_map_resource_by_index() [all …]
|
| H A D | pci.c | 234 snprintf(filename, sizeof(filename), "%s/vendor", dirname); in pci_scan_one() 242 snprintf(filename, sizeof(filename), "%s/device", dirname); in pci_scan_one() 250 snprintf(filename, sizeof(filename), "%s/subsystem_vendor", in pci_scan_one() 259 snprintf(filename, sizeof(filename), "%s/subsystem_device", in pci_scan_one() 268 snprintf(filename, sizeof(filename), "%s/class", in pci_scan_one() 285 snprintf(filename, sizeof(filename), in pci_scan_one() 293 snprintf(filename, sizeof(filename), "%s/numa_node", in pci_scan_one() 316 snprintf(filename, sizeof(filename), "%s/driver", dirname); in pci_scan_one() 484 snprintf(dirname, sizeof(dirname), "%s/%s", in rte_pci_scan() 509 snprintf(filename, sizeof(filename), in pci_device_iommu_support_va() [all …]
|
| /f-stack/tools/ngctl/ |
| H A D | mkpeer.c | 74 snprintf(mkp.type, sizeof(mkp.type), "%s", av[1]); in MkPeerCmd() 75 snprintf(mkp.ourhook, sizeof(mkp.ourhook), "%s", av[2]); in MkPeerCmd() 76 snprintf(mkp.peerhook, sizeof(mkp.peerhook), "%s", av[3]); in MkPeerCmd()
|
| H A D | connect.c | 74 snprintf(con.path, sizeof(con.path), "%s", av[1]); in ConnectCmd() 75 snprintf(con.ourhook, sizeof(con.ourhook), "%s", av[2]); in ConnectCmd() 76 snprintf(con.peerhook, sizeof(con.peerhook), "%s", av[3]); in ConnectCmd()
|
| /f-stack/dpdk/lib/librte_eal/linux/ |
| H A D | eal_lcore.c | 30 int len = snprintf(path, sizeof(path), SYS_CPU_DIR in eal_cpu_detected() 55 snprintf(path, sizeof(path), "%s/node%u/cpu%u", NUMA_NODE_PATH, in eal_cpu_socket_id() 70 int len = snprintf(path, sizeof(path), SYS_CPU_DIR "/%s", lcore_id, CORE_ID_FILE); in eal_cpu_core_id()
|
| /f-stack/tools/libutil/ |
| H A D | uucplock.c | 74 (void)snprintf(lcktmpname, sizeof(lcktmpname), _PATH_UUCPLOCK LOCKTMP, in uu_lock() 76 (void)snprintf(lckname, sizeof(lckname), _PATH_UUCPLOCK LOCKFMT, in uu_lock() 133 snprintf(lckname, sizeof(lckname), _PATH_UUCPLOCK LOCKFMT, tty_name); in uu_lock_txfr() 153 (void)snprintf(tbuf, sizeof(tbuf), _PATH_UUCPLOCK LOCKFMT, tty_name); in uu_unlock() 194 (void)snprintf(errbuf, sizeof(errbuf), fmt, strerror(errno)); in uu_lockerr()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/ |
| H A D | libzfs_pool_os.c | 108 (void) snprintf(diskname, sizeof (diskname), "%s%s", DISK_ROOT, in read_efi_label() 204 snprintf(label_name, label_size, "zfs-%016llx", (u_longlong_t)id); in zpool_label_name() 223 (void) snprintf(errbuf, sizeof (errbuf), in zpool_label_disk() 242 (void) snprintf(path, sizeof (path), "%s/%s", DISK_ROOT, name); in zpool_label_disk() 320 (void) snprintf(path, sizeof (path), "%s/%s", DISK_ROOT, name); in zpool_label_disk() 332 (void) snprintf(path, sizeof (path), "%s/%s", DISK_ROOT, name); in zpool_label_disk()
|
| /f-stack/tools/libnetgraph/ |
| H A D | debug.c | 333 snprintf(buf, sizeof(buf), "%04x: ", count); in _NgDebugBytes() 336 snprintf(buf + strlen(buf), in _NgDebugBytes() 339 snprintf(buf + strlen(buf), in _NgDebugBytes() 341 snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), " "); in _NgDebugBytes() 347 snprintf(buf + strlen(buf), in _NgDebugBytes() 351 snprintf(buf + strlen(buf), in _NgDebugBytes()
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | vdev_raidz_math.c | 291 off = snprintf(buf, size, "%-17s", "implementation"); in raidz_math_kstat_headers() 294 off += snprintf(buf + off, size - off, "%-16s", in raidz_math_kstat_headers() 298 off += snprintf(buf + off, size - off, "%-16s", in raidz_math_kstat_headers() 301 (void) snprintf(buf + off, size - off, "\n"); in raidz_math_kstat_headers() 317 off += snprintf(buf + off, size - off, "%-17s", "fastest"); in raidz_math_kstat_data() 321 off += snprintf(buf + off, size - off, "%-16s", in raidz_math_kstat_data() 326 off += snprintf(buf + off, size - off, "%-16s", in raidz_math_kstat_data() 332 off += snprintf(buf + off, size - off, "%-17s", in raidz_math_kstat_data() 336 off += snprintf(buf + off, size - off, "%-16llu", in raidz_math_kstat_data() 340 off += snprintf(buf + off, size - off, "%-16llu", in raidz_math_kstat_data() [all …]
|