/linux-6.1.9/drivers/scsi/arm/ |
D | cumana_1.c | 47 unsigned long *laddr; in cumanascsi_pwrite() local 54 laddr = (unsigned long *)addr; in cumanascsi_pwrite() 64 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite() 65 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite() 66 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite() 67 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite() 68 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite() 69 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite() 70 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite() 71 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite() [all …]
|
/linux-6.1.9/net/llc/ |
D | llc_sap.c | 236 ev->saddr.lsap = sap->laddr.lsap; in llc_build_and_send_test_pkt() 262 ev->saddr.lsap = sap->laddr.lsap; in llc_build_and_send_xid_pkt() 296 const struct llc_addr *laddr, in llc_dgram_match() argument 302 llc->laddr.lsap == laddr->lsap && in llc_dgram_match() 303 ether_addr_equal(llc->laddr.mac, laddr->mac); in llc_dgram_match() 315 const struct llc_addr *laddr) in llc_lookup_dgram() argument 319 int slot = llc_sk_laddr_hashfn(sap, laddr); in llc_lookup_dgram() 325 if (llc_dgram_match(sap, laddr, rc)) { in llc_lookup_dgram() 330 !llc_dgram_match(sap, laddr, rc))) { in llc_lookup_dgram() 351 const struct llc_addr *laddr, in llc_mcast_match() argument [all …]
|
D | llc_conn.c | 455 const struct llc_addr *laddr, in llc_estab_match() argument 460 return llc->laddr.lsap == laddr->lsap && in llc_estab_match() 462 ether_addr_equal(llc->laddr.mac, laddr->mac) && in llc_estab_match() 479 struct llc_addr *laddr) in __llc_lookup_established() argument 483 int slot = llc_sk_laddr_hashfn(sap, laddr); in __llc_lookup_established() 489 if (llc_estab_match(sap, daddr, laddr, rc)) { in __llc_lookup_established() 494 !llc_estab_match(sap, daddr, laddr, rc))) { in __llc_lookup_established() 516 struct llc_addr *laddr) in llc_lookup_established() argument 521 sk = __llc_lookup_established(sap, daddr, laddr); in llc_lookup_established() 527 const struct llc_addr *laddr, in llc_listener_match() argument [all …]
|
D | llc_if.c | 86 struct llc_addr laddr, daddr; in llc_establish_connection() local 91 laddr.lsap = llc->sap->laddr.lsap; in llc_establish_connection() 94 memcpy(laddr.mac, lmac, sizeof(laddr.mac)); in llc_establish_connection() 95 existing = llc_lookup_established(llc->sap, &daddr, &laddr); in llc_establish_connection()
|
D | llc_c_ac.c | 207 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, in llc_conn_ac_send_disc_cmd_p_set_x() 234 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, in llc_conn_ac_send_dm_rsp_f_set_p() 258 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, in llc_conn_ac_send_dm_rsp_f_set_1() 291 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, in llc_conn_ac_send_frmr_rsp_f_set_x() 318 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, in llc_conn_ac_resend_frmr_rsp_f_set_0() 348 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, in llc_conn_ac_resend_frmr_rsp_f_set_p() 370 llc_pdu_header_init(skb, LLC_PDU_TYPE_I, sap->laddr.lsap, in llc_conn_ac_send_i_cmd_p_set_1() 388 llc_pdu_header_init(skb, LLC_PDU_TYPE_I, sap->laddr.lsap, in llc_conn_ac_send_i_cmd_p_set_0() 406 llc_pdu_header_init(skb, LLC_PDU_TYPE_I, sap->laddr.lsap, in llc_conn_ac_send_i_xxx_x_set_0() 439 llc_pdu_header_init(nskb, LLC_PDU_TYPE_U, sap->laddr.lsap, in llc_conn_ac_resend_i_xxx_x_set_0_or_send_rr() [all …]
|
D | af_llc.c | 211 llc->laddr.lsap, llc->daddr.lsap); in llc_ui_release() 300 llc->laddr.lsap = llc_ui_autoport(); in llc_ui_autobind() 301 if (!llc->laddr.lsap) in llc_ui_autobind() 304 sap = llc_sap_open(llc->laddr.lsap, NULL); in llc_ui_autobind() 313 memcpy(llc->laddr.mac, llc->dev->dev_addr, IFHWADDRLEN); in llc_ui_autobind() 393 struct llc_addr laddr, daddr; in llc_ui_bind() local 396 memset(&laddr, 0, sizeof(laddr)); in llc_ui_bind() 402 memcpy(laddr.mac, addr->sllc_mac, IFHWADDRLEN); in llc_ui_bind() 403 laddr.lsap = addr->sllc_sap; in llc_ui_bind() 405 ask = llc_lookup_established(sap, &daddr, &laddr); in llc_ui_bind() [all …]
|
/linux-6.1.9/net/sctp/ |
D | bind_addr.c | 317 struct sctp_sockaddr_entry *laddr; in sctp_bind_addr_match() local 321 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_bind_addr_match() 322 if (!laddr->valid) in sctp_bind_addr_match() 324 if (opt->pf->cmp_addr(&laddr->a, addr, opt)) { in sctp_bind_addr_match() 339 struct sctp_sockaddr_entry *laddr, *laddr2; in sctp_bind_addrs_check() local 344 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_bind_addrs_check() 346 if (sp->pf->af->cmp_addr(&laddr->a, &laddr2->a) && in sctp_bind_addrs_check() 347 laddr->valid && laddr2->valid) { in sctp_bind_addrs_check() 370 struct sctp_sockaddr_entry *laddr; in sctp_bind_addr_conflict() local 386 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_bind_addr_conflict() [all …]
|
D | diag.c | 30 union sctp_addr laddr, paddr; in inet_diag_msg_sctpasoc_fill() local 34 laddr = list_entry(asoc->base.bind_addr.address_list.next, in inet_diag_msg_sctpasoc_fill() 47 *(struct in6_addr *)r->id.idiag_src = laddr.v6.sin6_addr; in inet_diag_msg_sctpasoc_fill() 55 r->id.idiag_src[0] = laddr.v4.sin_addr.s_addr; in inet_diag_msg_sctpasoc_fill() 70 struct sctp_sockaddr_entry *laddr; in inet_diag_msg_sctpladdrs_fill() local 76 list_for_each_entry_rcu(laddr, address_list, list) in inet_diag_msg_sctpladdrs_fill() 84 list_for_each_entry_rcu(laddr, address_list, list) { in inet_diag_msg_sctpladdrs_fill() 85 memcpy(info, &laddr->a, sizeof(laddr->a)); in inet_diag_msg_sctpladdrs_fill() 86 memset(info + sizeof(laddr->a), 0, addrlen - sizeof(laddr->a)); in inet_diag_msg_sctpladdrs_fill() 230 struct sctp_sockaddr_entry *laddr; in inet_assoc_attr_size() local [all …]
|
D | input.c | 52 const union sctp_addr *laddr, 56 const union sctp_addr *laddr, 852 const union sctp_addr *laddr, in __sctp_rcv_lookup_endpoint() argument 861 lport = laddr->v4.sin_port; in __sctp_rcv_lookup_endpoint() 866 if (sctp_endpoint_is_match(ep, net, laddr)) in __sctp_rcv_lookup_endpoint() 996 const union sctp_addr *laddr, in sctp_addrs_lookup_transport() argument 1004 .lport = laddr->v4.sin_port, in sctp_addrs_lookup_transport() 1015 laddr, sctp_sk(t->asoc->base.sk))) in sctp_addrs_lookup_transport() 1070 const union sctp_addr *laddr, in sctp_lookup_association() argument 1077 asoc = __sctp_lookup_association(net, laddr, paddr, transportp); in sctp_lookup_association() [all …]
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | fin_ack_lat.c | 31 struct sockaddr_in addr, laddr; in client() local 32 socklen_t len = sizeof(laddr); in client() 75 if (getsockname(sock, (struct sockaddr *)&laddr, &len) == -1) in client() 78 ntohs(laddr.sin_port), lat, in client() 115 struct sockaddr_in laddr; in main() local 116 socklen_t len = sizeof(laddr); in main() 140 if (getsockname(sock, (struct sockaddr *)&laddr, &len) == -1) in main() 143 fprintf(stderr, "server port: %d\n", ntohs(laddr.sin_port)); in main() 146 client(ntohs(laddr.sin_port)); in main() 148 server(sock, laddr); in main()
|
D | psock_snd.c | 172 struct sockaddr_ll laddr = {0}; in do_bind() local 174 laddr.sll_family = AF_PACKET; in do_bind() 175 laddr.sll_protocol = htons(ETH_P_IP); in do_bind() 176 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_bind() 177 if (!laddr.sll_ifindex) in do_bind() 180 if (bind(fd, (void *)&laddr, sizeof(laddr))) in do_bind() 200 struct sockaddr_ll laddr = {0}; in do_send() local 202 laddr.sll_protocol = htons(ETH_P_IP); in do_send() 203 laddr.sll_ifindex = if_nametoindex(cfg_ifname); in do_send() 204 if (!laddr.sll_ifindex) in do_send() [all …]
|
D | txring_overwrite.c | 88 struct sockaddr_ll laddr = {}; in setup_tx() local 96 laddr.sll_family = AF_PACKET; in setup_tx() 97 laddr.sll_protocol = htons(0); in setup_tx() 98 laddr.sll_ifindex = if_nametoindex("lo"); in setup_tx() 99 if (!laddr.sll_ifindex) in setup_tx() 102 if (bind(fdt, (void *)&laddr, sizeof(laddr))) in setup_tx()
|
/linux-6.1.9/net/netfilter/ |
D | xt_TPROXY.c | 36 tproxy_tg4(struct net *net, struct sk_buff *skb, __be32 laddr, __be16 lport, in tproxy_tg4() argument 56 laddr = nf_tproxy_laddr4(skb, laddr, iph->daddr); in tproxy_tg4() 63 sk = nf_tproxy_handle_time_wait4(net, skb, laddr, lport, sk); in tproxy_tg4() 68 iph->saddr, laddr, in tproxy_tg4() 89 return tproxy_tg4(xt_net(par), skb, tgi->laddr, tgi->lport, in tproxy_tg4_v0() 98 return tproxy_tg4(xt_net(par), skb, tgi->laddr.ip, tgi->lport, in tproxy_tg4_v1() 111 const struct in6_addr *laddr; in tproxy_tg6_v1() local 133 laddr = nf_tproxy_laddr6(skb, &tgi->laddr.in6, &iph->daddr); in tproxy_tg6_v1() 142 &tgi->laddr.in6, in tproxy_tg6_v1() 150 tproto, &iph->saddr, laddr, in tproxy_tg6_v1()
|
/linux-6.1.9/include/trace/events/ |
D | mctp.h | 33 __field(__u8, laddr) 38 __entry->laddr = key->local_addr; 42 __entry->laddr, 53 __field(__u8, laddr) 59 __entry->laddr = key->local_addr; 64 __entry->laddr,
|
/linux-6.1.9/net/ipv4/netfilter/ |
D | nf_tproxy_ipv4.c | 20 __be32 laddr, __be16 lport, struct sock *sk) in nf_tproxy_handle_time_wait4() argument 37 iph->saddr, laddr ? laddr : iph->daddr, in nf_tproxy_handle_time_wait4() 54 __be32 laddr; in nf_tproxy_laddr4() local 59 laddr = 0; in nf_tproxy_laddr4() 66 laddr = ifa->ifa_local; in nf_tproxy_laddr4() 70 return laddr ? laddr : daddr; in nf_tproxy_laddr4()
|
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | trace_cm.h | 24 __dynamic_array(u32, laddr, 4) 31 memcpy(__get_dynamic_array(laddr), 36 __print_ip_addr(__get_dynamic_array(laddr), 46 __dynamic_array(u32, laddr, 4) 54 memcpy(__get_dynamic_array(laddr), 60 __print_ip_addr(__get_dynamic_array(laddr), 74 __dynamic_array(u32, laddr, 4) 81 memcpy(__get_dynamic_array(laddr), 87 __print_ip_addr(__get_dynamic_array(laddr), 153 __dynamic_array(u32, laddr, 4) [all …]
|
/linux-6.1.9/arch/mips/jazz/ |
D | jazzdma.c | 98 unsigned long laddr, flags; in vdma_alloc() local 141 laddr = (first << 12) + (paddr & (VDMA_PAGESIZE - 1)); in vdma_alloc() 146 pgtbl[i].owner = laddr; in vdma_alloc() 157 pages, laddr); in vdma_alloc() 174 return laddr; in vdma_alloc() 184 int vdma_free(unsigned long laddr) in vdma_free() argument 188 i = laddr >> 12; in vdma_free() 190 if (pgtbl[i].owner != laddr) { in vdma_free() 193 laddr); in vdma_free() 197 while (i < VDMA_PGTBL_ENTRIES && pgtbl[i].owner == laddr) { in vdma_free() [all …]
|
/linux-6.1.9/net/ipv6/netfilter/ |
D | nf_tproxy_ipv6.c | 15 struct in6_addr *laddr; in nf_tproxy_laddr6() local 19 laddr = NULL; in nf_tproxy_laddr6() 28 laddr = &ifa->addr; in nf_tproxy_laddr6() 34 return laddr ? laddr : daddr; in nf_tproxy_laddr6() 41 const struct in6_addr *laddr, in nf_tproxy_handle_time_wait6() argument 61 nf_tproxy_laddr6(skb, laddr, &iph->daddr), in nf_tproxy_handle_time_wait6()
|
/linux-6.1.9/include/net/ |
D | llc.h | 63 struct llc_addr laddr; member 81 u32 llc_sk_laddr_hashfn(struct llc_sap *sap, const struct llc_addr *laddr) in llc_sk_laddr_hashfn() argument 83 return hash_32(jhash(laddr->mac, sizeof(laddr->mac), 0), in llc_sk_laddr_hashfn() 89 const struct llc_addr *laddr) in llc_sk_laddr_hash() argument 91 return &sap->sk_laddr_hash[llc_sk_laddr_hashfn(sap, laddr)]; in llc_sk_laddr_hash()
|
/linux-6.1.9/net/rds/ |
D | connection.c | 54 static struct hlist_head *rds_conn_bucket(const struct in6_addr *laddr, in rds_conn_bucket() argument 65 lhash = (__force u32)laddr->s6_addr32[3]; in rds_conn_bucket() 84 const struct in6_addr *laddr, in rds_conn_lookup() argument 93 ipv6_addr_equal(&conn->c_laddr, laddr) && in rds_conn_lookup() 103 laddr, faddr); in rds_conn_lookup() 161 const struct in6_addr *laddr, in __rds_conn_create() argument 169 struct hlist_head *head = rds_conn_bucket(laddr, faddr); in __rds_conn_create() 176 conn = rds_conn_lookup(net, head, laddr, faddr, trans, tos, dev_if); in __rds_conn_create() 180 ipv6_addr_equal(laddr, faddr) && in __rds_conn_create() 206 conn->c_laddr = *laddr; in __rds_conn_create() [all …]
|
/linux-6.1.9/drivers/slimbus/ |
D | core.c | 326 ida_free(&ctrl->laddr_ida, sbdev->laddr); in slim_report_absent() 430 u8 laddr; in slim_device_alloc_laddr() local 435 ret = ctrl->get_laddr(ctrl, &sbdev->e_addr, &laddr); in slim_device_alloc_laddr() 444 laddr = ret; in slim_device_alloc_laddr() 451 ret = ctrl->set_laddr(ctrl, &sbdev->e_addr, laddr); in slim_device_alloc_laddr() 458 sbdev->laddr = laddr; in slim_device_alloc_laddr() 465 laddr, sbdev->e_addr.manf_id, sbdev->e_addr.prod_code, in slim_device_alloc_laddr() 489 struct slim_eaddr *e_addr, u8 *laddr) in slim_device_report_present() argument 507 *laddr = sbdev->laddr; in slim_device_report_present()
|
/linux-6.1.9/net/mptcp/ |
D | pm_userspace.c | 252 struct nlattr *laddr = info->attrs[MPTCP_PM_ATTR_ADDR]; in mptcp_nl_cmd_sf_create() local 260 if (!laddr || !raddr || !token) { in mptcp_nl_cmd_sf_create() 278 err = mptcp_pm_parse_addr(laddr, info, &addr_l); in mptcp_nl_cmd_sf_create() 280 NL_SET_ERR_MSG_ATTR(info->extack, laddr, "error parsing local addr"); in mptcp_nl_cmd_sf_create() 285 NL_SET_ERR_MSG_ATTR(info->extack, laddr, "missing local addr id"); in mptcp_nl_cmd_sf_create() 367 struct nlattr *laddr = info->attrs[MPTCP_PM_ATTR_ADDR]; in mptcp_nl_cmd_sf_destroy() local 375 if (!laddr || !raddr || !token) { in mptcp_nl_cmd_sf_destroy() 393 err = mptcp_pm_parse_addr(laddr, info, &addr_l); in mptcp_nl_cmd_sf_destroy() 395 NL_SET_ERR_MSG_ATTR(info->extack, laddr, "error parsing local addr"); in mptcp_nl_cmd_sf_destroy()
|
/linux-6.1.9/drivers/infiniband/hw/qedr/ |
D | qedr_iw_cm.c | 46 struct sockaddr_in *laddr = (struct sockaddr_in *)&event->local_addr; in qedr_fill_sockaddr4() local 49 laddr->sin_family = AF_INET; in qedr_fill_sockaddr4() 52 laddr->sin_port = htons(cm_info->local_port); in qedr_fill_sockaddr4() 55 laddr->sin_addr.s_addr = htonl(cm_info->local_ip[0]); in qedr_fill_sockaddr4() 539 struct sockaddr_in *laddr; in qedr_iw_connect() local 546 laddr = (struct sockaddr_in *)&cm_id->m_local_addr; in qedr_iw_connect() 559 if (!laddr->sin_port || !raddr->sin_port) in qedr_iw_connect() 591 cm_info->local_ip[0] = ntohl(laddr->sin_addr.s_addr); in qedr_iw_connect() 593 cm_info->local_port = ntohs(laddr->sin_port); in qedr_iw_connect() 596 rc = qedr_addr4_resolve(dev, laddr, raddr, in qedr_iw_connect() [all …]
|
/linux-6.1.9/arch/powerpc/platforms/ |
D | fsl_uli1575.c | 322 u32 laddr[3]; in hpcd_final_uli5288() local 333 laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(31, 0) << 8); in hpcd_final_uli5288() 334 laddr[1] = laddr[2] = 0; in hpcd_final_uli5288() 335 of_irq_parse_raw(laddr, &oirq); in hpcd_final_uli5288()
|
/linux-6.1.9/include/uapi/linux/netfilter/ |
D | xt_TPROXY.h | 14 __be32 laddr; member 21 union nf_inet_addr laddr; member
|