Home
last modified time | relevance | path

Searched refs:addr_str (Results 1 – 14 of 14) sorted by relevance

/Linux-v6.1/drivers/staging/rtl8192u/
Dr8180_93cx6.c108 short addr_str[8]; in eprom_read() local
122 addr_str[7] = addr & 1; in eprom_read()
123 addr_str[6] = addr & BIT(1); in eprom_read()
124 addr_str[5] = addr & BIT(2); in eprom_read()
125 addr_str[4] = addr & BIT(3); in eprom_read()
126 addr_str[3] = addr & BIT(4); in eprom_read()
127 addr_str[2] = addr & BIT(5); in eprom_read()
128 addr_str[1] = addr & BIT(6); in eprom_read()
129 addr_str[0] = addr & BIT(7); in eprom_read()
132 addr_str[5] = addr & 1; in eprom_read()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/
Dnetwork_helpers.c121 const char *addr_str, __u16 port, int timeout_ms) in start_server_proto() argument
126 if (make_sockaddr(family, addr_str, port, &addr, &addrlen)) in start_server_proto()
133 int start_server(int family, int type, const char *addr_str, __u16 port, in start_server() argument
136 return start_server_proto(family, type, 0, addr_str, port, timeout_ms); in start_server()
139 int start_mptcp_server(int family, const char *addr_str, __u16 port, in start_mptcp_server() argument
142 return start_server_proto(family, SOCK_STREAM, IPPROTO_MPTCP, addr_str, in start_mptcp_server()
146 int *start_reuseport_server(int family, int type, const char *addr_str, in start_reuseport_server() argument
157 if (make_sockaddr(family, addr_str, port, &addr, &addrlen)) in start_reuseport_server()
342 int make_sockaddr(int family, const char *addr_str, __u16 port, in make_sockaddr() argument
351 if (addr_str && in make_sockaddr()
[all …]
Dnetwork_helpers.h47 int *start_reuseport_server(int family, int type, const char *addr_str,
56 int make_sockaddr(int family, const char *addr_str, __u16 port,
/Linux-v6.1/tools/testing/selftests/net/
Dreuseport_addr_any.c35 const char *addr_str) in build_rcv_fd() argument
47 if (!addr_str) in build_rcv_fd()
49 else if (!inet_pton(family, addr_str, &addr4.sin_addr.s_addr)) in build_rcv_fd()
50 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd()
57 if (!addr_str) in build_rcv_fd()
59 else if (!inet_pton(family, addr_str, &addr6.sin6_addr)) in build_rcv_fd()
60 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd()
222 const char *addr_str) in run_one_test() argument
235 build_rcv_fd(fam_rcv, proto, rcv_fds + 4, 1, addr_str); in run_one_test()
Dipsec.c378 char addr_str[IPV4_STR_SZ] = {}; in ip4_addr_set() local
380 strncpy(addr_str, inet_ntoa(addr), IPV4_STR_SZ - 1); in ip4_addr_set()
382 printk("ip addr set %s", addr_str); in ip4_addr_set()
/Linux-v6.1/arch/arm/mach-orion5x/
Dtsx09-common.c80 static int __init qnap_tsx09_check_mac_addr(const char *addr_str) in qnap_tsx09_check_mac_addr() argument
91 if (addr_str[(i * 3) + 2] != ((i < 5) ? ':' : '\n')) in qnap_tsx09_check_mac_addr()
94 byte = qnap_tsx09_parse_hex_byte(addr_str + (i * 3)); in qnap_tsx09_check_mac_addr()
/Linux-v6.1/tools/perf/util/
Dtrace-event-parse.c130 char *addr_str; in parse_ftrace_printk() local
135 addr_str = strtok_r(line, ":", &fmt); in parse_ftrace_printk()
136 if (!addr_str) { in parse_ftrace_printk()
140 addr = strtoull(addr_str, NULL, 16); in parse_ftrace_printk()
/Linux-v6.1/drivers/net/wireless/silabs/wfx/
Dtraces.h245 __array(u8, addr_str, 10)
254 snprintf(__entry->addr_str, 10, "/%08x", addr);
256 __entry->addr_str[0] = 0;
260 __entry->addr_str,
286 __array(u8, addr_str, 10)
293 snprintf(__entry->addr_str, 10, "/%08x", addr);
295 __entry->addr_str[0] = 0;
299 __entry->addr_str,
/Linux-v6.1/drivers/s390/net/
Dqeth_l3_sys.c374 char addr_str[40]; in qeth_l3_dev_ipato_add_show() local
381 addr_str); in qeth_l3_dev_ipato_add_show()
392 "%s/%i\n", addr_str, ipatoe->mask_bits); in qeth_l3_dev_ipato_add_show()
595 char addr_str[40]; in qeth_l3_dev_ip_add_show() local
602 addr_str); in qeth_l3_dev_ip_add_show()
611 addr_str); in qeth_l3_dev_ip_add_show()
/Linux-v6.1/fs/nfsd/
Dnfs4layouts.c611 char addr_str[INET6_ADDRSTRLEN]; in nfsd4_cb_layout_fail() local
622 rpc_ntop((struct sockaddr *)&clp->cl_addr, addr_str, sizeof(addr_str)); in nfsd4_cb_layout_fail()
626 " Fencing..\n", addr_str); in nfsd4_cb_layout_fail()
629 argv[1] = addr_str; in nfsd4_cb_layout_fail()
637 addr_str, error); in nfsd4_cb_layout_fail()
Dnfs4state.c3225 char addr_str[INET6_ADDRSTRLEN]; in nfsd4_exchange_id() local
3231 rpc_ntop(sa, addr_str, sizeof(addr_str)); in nfsd4_exchange_id()
3235 addr_str, exid->flags, exid->spa_how); in nfsd4_exchange_id()
/Linux-v6.1/net/tipc/
Dbearer.c111 char addr_str[MAX_ADDR_STR]; in tipc_media_addr_printf() local
117 if (m && !m->addr2str(a, addr_str, sizeof(addr_str))) in tipc_media_addr_printf()
118 ret = scnprintf(buf, len, "%s(%s)", m->name, addr_str); in tipc_media_addr_printf()
/Linux-v6.1/drivers/infiniband/ulp/srpt/
Dib_srpt.c3662 char addr_str[64]; in srpt_create_rdma_id() local
3664 snprintf(addr_str, sizeof(addr_str), "%pISp", listen_addr); in srpt_create_rdma_id()
3666 addr_str, ret); in srpt_create_rdma_id()
/Linux-v6.1/net/ceph/
Dmessenger.c158 static char addr_str[ADDR_STR_COUNT][MAX_ADDR_STR_LEN]; variable
172 s = addr_str[i]; in ceph_pr_addr()