/openbmc/linux/arch/um/drivers/ |
H A D | vde_kern.c | 73 char *remain, *port_str = NULL, *mode_str = NULL, *last; in vde_setup() local 82 remain = split_if_spec(str, &init->vde_switch, mac_out, &port_str, in vde_setup() 89 if (port_str != NULL) { in vde_setup() 90 init->port = simple_strtoul(port_str, &last, 10); in vde_setup() 91 if ((*last != '\0') || (last == port_str)) { in vde_setup() 93 port_str); in vde_setup()
|
H A D | umcast_kern.c | 73 char *port_str = NULL, *ttl_str = NULL, *remain; in mcast_setup() local 81 remain = split_if_spec(str, mac_out, &init->addr, &port_str, &ttl_str, in mcast_setup() 89 if (port_str != NULL) { in mcast_setup() 90 init->lport = simple_strtoul(port_str, &last, 10); in mcast_setup() 91 if ((*last != '\0') || (last == port_str)) { in mcast_setup() 93 port_str); in mcast_setup()
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | cma_configfs.c | 220 char port_str[11]; in make_cma_ports() local 223 snprintf(port_str, sizeof(port_str), "%u", i + 1); in make_cma_ports() 226 port_str, in make_cma_ports()
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_configfs.c | 161 char *str, *str2, *ip_str, *port_str; in lio_target_call_addnptotpg() local 186 port_str = strstr(str2, ":"); in lio_target_call_addnptotpg() 187 if (!port_str) { in lio_target_call_addnptotpg() 192 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg() 193 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg() 196 port_str = strstr(ip_str, ":"); in lio_target_call_addnptotpg() 197 if (!port_str) { in lio_target_call_addnptotpg() 202 *port_str = '\0'; /* Terminate string for IP */ in lio_target_call_addnptotpg() 203 port_str++; /* Skip over ":" */ in lio_target_call_addnptotpg() 207 port_str, &sockaddr); in lio_target_call_addnptotpg()
|
/openbmc/linux/samples/pktgen/ |
H A D | functions.sh | 311 local port_str=$1 316 IFS="-" read -ra port_list <<< $port_str
|
/openbmc/linux/samples/bpf/ |
H A D | xdp_tx_iptunnel_user.c | 113 static int parse_ports(const char *port_str, int *min_port, int *max_port) in parse_ports() argument 143 port_str, MAX_IPTNL_ENTRIES); in parse_ports()
|
/openbmc/linux/drivers/infiniband/ulp/rtrs/ |
H A D | rtrs.c | 458 char port_str[8]; in rtrs_str_to_sockaddr() local 462 snprintf(port_str, sizeof(port_str), "%u", port); in rtrs_str_to_sockaddr() 465 cpy, port_str, dst) : -ENOMEM; in rtrs_str_to_sockaddr()
|
/openbmc/qemu/block/ |
H A D | ssh.c | 185 char *port_str; in parse_uri() local 220 port_str = g_strdup_printf("%d", port > 0 ? port : 22); in parse_uri() 221 qdict_put_str(options, "server.port", port_str); in parse_uri() 222 g_free(port_str); in parse_uri()
|
H A D | nbd.c | 1575 char *port_str; in nbd_parse_uri() local 1585 port_str = g_strdup_printf("%d", uri_port > 0 ? uri_port in nbd_parse_uri() 1587 qdict_put_str(options, "server.port", port_str); in nbd_parse_uri() 1588 g_free(port_str); in nbd_parse_uri()
|
/openbmc/qemu/migration/ |
H A D | rdma.c | 923 char port_str[16]; in qemu_rdma_resolve_host() local 946 snprintf(port_str, 16, "%d", rdma->port); in qemu_rdma_resolve_host() 947 port_str[15] = '\0'; in qemu_rdma_resolve_host() 949 ret = rdma_getaddrinfo(rdma->host, port_str, NULL, &res); in qemu_rdma_resolve_host() 2619 char port_str[16]; in qemu_rdma_dest_init() local 2647 snprintf(port_str, 16, "%d", rdma->port); in qemu_rdma_dest_init() 2648 port_str[15] = '\0'; in qemu_rdma_dest_init() 2650 ret = rdma_getaddrinfo(rdma->host, port_str, NULL, &res); in qemu_rdma_dest_init()
|
/openbmc/linux/drivers/infiniband/ulp/srp/ |
H A D | ib_srp.c | 3295 char *port_str; in srp_parse_in() local 3300 port_str = strrchr(addr, ':'); in srp_parse_in() 3301 if (port_str && strchr(port_str, ']')) in srp_parse_in() 3302 port_str = NULL; in srp_parse_in() 3303 if (port_str) in srp_parse_in() 3304 *port_str++ = '\0'; in srp_parse_in() 3306 *has_port = port_str != NULL; in srp_parse_in() 3307 ret = inet_pton_with_scope(net, AF_INET, addr, port_str, sa); in srp_parse_in() 3313 port_str, sa); in srp_parse_in()
|
/openbmc/linux/net/tipc/ |
H A D | netlink_compat.c | 897 char port_str[27]; in tipc_nl_compat_name_table_dump() local 953 sprintf(port_str, "<%u.%u.%u:%u>", tipc_zone(node), tipc_cluster(node), in tipc_nl_compat_name_table_dump() 955 tipc_tlv_sprintf(msg->rep, "%-26s ", port_str); in tipc_nl_compat_name_table_dump()
|