Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/tools/testing/selftests/net/
Dreuseport_addr_any.c31 const char *addr_str) in build_rcv_fd() argument
43 if (!addr_str) in build_rcv_fd()
45 else if (!inet_pton(family, addr_str, &addr4.sin_addr.s_addr)) in build_rcv_fd()
46 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd()
53 if (!addr_str) in build_rcv_fd()
55 else if (!inet_pton(family, addr_str, &addr6.sin6_addr)) in build_rcv_fd()
56 error(1, errno, "inet_pton failed: %s", addr_str); in build_rcv_fd()
218 const char *addr_str) in run_one_test() argument
231 build_rcv_fd(fam_rcv, proto, rcv_fds + 4, 1, addr_str); in run_one_test()
/Linux-v5.4/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-v5.4/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-v5.4/net/wimax/
Dstack.c433 size_t wimax_addr_scnprint(char *addr_str, size_t addr_str_size, in wimax_addr_scnprint() argument
439 total += scnprintf(addr_str + total, addr_str_size - total, in wimax_addr_scnprint()
469 char addr_str[32]; in wimax_dev_add() local
489 wimax_addr_scnprint(addr_str, sizeof(addr_str), in wimax_dev_add()
492 net_dev->name, addr_str); in wimax_dev_add()
/Linux-v5.4/fs/nfsd/
Dnfs4layouts.c610 char addr_str[INET6_ADDRSTRLEN]; in nfsd4_cb_layout_fail() local
621 rpc_ntop((struct sockaddr *)&clp->cl_addr, addr_str, sizeof(addr_str)); in nfsd4_cb_layout_fail()
625 " Fencing..\n", addr_str); in nfsd4_cb_layout_fail()
628 argv[1] = addr_str; in nfsd4_cb_layout_fail()
636 addr_str, error); in nfsd4_cb_layout_fail()
Dnfs4state.c2962 char addr_str[INET6_ADDRSTRLEN]; in nfsd4_exchange_id() local
2968 rpc_ntop(sa, addr_str, sizeof(addr_str)); in nfsd4_exchange_id()
2972 addr_str, exid->flags, exid->spa_how); in nfsd4_exchange_id()
3818 char addr_str[INET6_ADDRSTRLEN]; in nfsd4_setclientid() local
3819 rpc_ntop((struct sockaddr *) &conf->cl_addr, addr_str, in nfsd4_setclientid()
3820 sizeof(addr_str)); in nfsd4_setclientid()
3822 "at %s\n", addr_str); in nfsd4_setclientid()
5462 char addr_str[INET6_ADDRSTRLEN]; in nfsd4_validate_stateid() local
5463 rpc_ntop((struct sockaddr *)&cl->cl_addr, addr_str, in nfsd4_validate_stateid()
5464 sizeof(addr_str)); in nfsd4_validate_stateid()
[all …]
/Linux-v5.4/drivers/s390/net/
Dqeth_l3_sys.c432 char addr_str[40]; in qeth_l3_dev_ipato_add_show() local
448 qeth_l3_ipaddr_to_string(proto, ipatoe->addr, addr_str); in qeth_l3_dev_ipato_add_show()
450 "%s/%i\n", addr_str, ipatoe->mask_bits); in qeth_l3_dev_ipato_add_show()
677 char addr_str[40]; in qeth_l3_dev_ip_add_show() local
697 addr_str); in qeth_l3_dev_ip_add_show()
699 addr_str); in qeth_l3_dev_ip_add_show()
/Linux-v5.4/net/tipc/
Dbearer.c105 char addr_str[MAX_ADDR_STR]; in tipc_media_addr_printf() local
111 if (m && !m->addr2str(a, addr_str, sizeof(addr_str))) in tipc_media_addr_printf()
112 ret = scnprintf(buf, len, "%s(%s)", m->name, addr_str); in tipc_media_addr_printf()
/Linux-v5.4/drivers/infiniband/ulp/srpt/
Dib_srpt.c3601 char addr_str[64]; in srpt_create_rdma_id() local
3603 snprintf(addr_str, sizeof(addr_str), "%pISp", listen_addr); in srpt_create_rdma_id()
3605 addr_str, ret); in srpt_create_rdma_id()
/Linux-v5.4/net/ceph/
Dmessenger.c184 static char addr_str[ADDR_STR_COUNT][MAX_ADDR_STR_LEN]; variable
198 s = addr_str[i]; in ceph_pr_addr()