| /f-stack/dpdk/lib/librte_cmdline/ |
| H A D | cmdline_parse_ipaddr.c | 99 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_ipaddr() argument 104 if (!tk || !dstbuf) in cmdline_get_help_ipaddr() 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()
|
| H A D | cmdline_parse_string.c | 163 char *dstbuf, unsigned int size) in cmdline_complete_get_elt_string() argument 170 if (!tk || !dstbuf || idx < 0) in cmdline_complete_get_elt_string() 188 memcpy(dstbuf, s, len); in cmdline_complete_get_elt_string() 189 dstbuf[len] = '\0'; in cmdline_complete_get_elt_string() 194 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf, in cmdline_get_help_string() argument 201 if (!tk || !dstbuf) in cmdline_get_help_string() 211 snprintf(dstbuf, size, ANYSTRINGS_HELP); in cmdline_get_help_string() 213 snprintf(dstbuf, size, CHOICESTRING_HELP); in cmdline_get_help_string() 215 snprintf(dstbuf, size, FIXEDSTRING_HELP); in cmdline_get_help_string() 217 snprintf(dstbuf, size, ANYSTRING_HELP); in cmdline_get_help_string()
|
| H A D | cmdline_parse_string.h | 42 char *dstbuf, unsigned int size); 43 int cmdline_get_help_string(cmdline_parse_token_hdr_t *tk, char *dstbuf,
|
| H A D | cmdline_parse_etheraddr.c | 62 char *dstbuf, unsigned int size) in cmdline_get_help_etheraddr() argument 66 ret = snprintf(dstbuf, size, "Ethernet address"); in cmdline_get_help_etheraddr()
|
| H A D | cmdline_parse_portlist.c | 112 char *dstbuf, unsigned int size) in cmdline_get_help_portlist() argument 115 ret = snprintf(dstbuf, size, "range of ports as 3,4-6,8-19,20"); in cmdline_get_help_portlist()
|
| H A D | cmdline_parse_num.c | 320 cmdline_get_help_num(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size) in cmdline_get_help_num() argument 334 ret = strlcpy(dstbuf, num_help[nd.type], size); in cmdline_get_help_num() 337 dstbuf[size-1] = '\0'; in cmdline_get_help_num()
|
| H A D | cmdline_parse_etheraddr.h | 25 int cmdline_get_help_etheraddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
|
| H A D | cmdline_parse_portlist.h | 35 char *dstbuf, unsigned int size);
|
| H A D | cmdline_parse_num.h | 42 char *dstbuf, unsigned int size);
|
| H A D | cmdline.c | 42 char *dstbuf, unsigned int dstsize, in cmdline_complete_buffer() argument 46 return cmdline_complete(cl, buf, state, dstbuf, dstsize); in cmdline_complete_buffer()
|
| H A D | cmdline_parse_ipaddr.h | 45 int cmdline_get_help_ipaddr(cmdline_parse_token_hdr_t *tk, char *dstbuf,
|
| H A D | cmdline_rdline.h | 60 char *dstbuf, unsigned int dstsize,
|
| /f-stack/dpdk/examples/cmdline/ |
| H A D | parse_obj_list.c | 81 int idx, char *dstbuf, unsigned int size) in complete_get_elt_obj_list() argument 100 if (dstbuf) in complete_get_elt_obj_list() 101 strlcpy(dstbuf, o->name, size); in complete_get_elt_obj_list() 108 char *dstbuf, unsigned int size) in get_help_obj_list() argument 110 snprintf(dstbuf, size, "Obj-List"); in get_help_obj_list()
|
| H A D | parse_obj_list.h | 44 char *dstbuf, unsigned int size); 45 int get_help_obj_list(cmdline_parse_token_hdr_t *tk, char *dstbuf, unsigned int size);
|
| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | blkptr.c | 143 uint8_t dstbuf[BPE_PAYLOAD_SIZE]; in decode_embedded_bp() local 144 decode_embedded_bp_compressed(bp, dstbuf); in decode_embedded_bp() 146 dstbuf, buf, psize, buflen, NULL)); in decode_embedded_bp()
|
| /f-stack/dpdk/drivers/bus/pci/linux/ |
| H A D | pci_uio.c | 126 pci_get_uio_dev(struct rte_pci_device *dev, char *dstbuf, in pci_get_uio_dev() argument 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() 191 pci_mknod_uio_dev(dstbuf, uio_num) < 0) in pci_get_uio_dev()
|
| /f-stack/freebsd/netinet/ |
| H A D | ip_icmp.c | 427 char dstbuf[INET_ADDRSTRLEN]; in icmp_input() local 431 inet_ntoa_r(ip->ip_dst, dstbuf), icmplen); in icmp_input() 690 char dstbuf[INET_ADDRSTRLEN]; in icmp_input() local 694 inet_ntoa_r(icp->icmp_ip.ip_dst, dstbuf), in icmp_input() 1009 char dstbuf[INET_ADDRSTRLEN]; in icmp_send() local 1013 inet_ntoa_r(ip->ip_dst, dstbuf), in icmp_send()
|
| H A D | ip_options.c | 204 char dstbuf[INET_ADDRSTRLEN]; in ip_dooptions() local 215 inet_ntoa_r(ip->ip_dst, dstbuf)); in ip_dooptions()
|
| /f-stack/dpdk/drivers/bus/vmbus/linux/ |
| H A D | vmbus_bus.c | 117 char *dstbuf, size_t buflen) in vmbus_get_uio_dev() argument 144 snprintf(dstbuf, buflen, "%s/uio%u", dirname, uio_num); in vmbus_get_uio_dev()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_cmdline_lib.c | 37 __rte_unused char *dstbuf, in complete_buffer() argument
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zio_crypt.c | 1930 uint8_t *srcbuf, *dstbuf; in zio_do_crypt_data() local 1934 dstbuf = cipherbuf; in zio_do_crypt_data() 1937 dstbuf = plainbuf; in zio_do_crypt_data() 1941 dstbuf, NULL, 0, iv, mac, ckey, key->zk_crypt, datalen); in zio_do_crypt_data()
|