/linux/drivers/scsi/arm/ |
A D | cumana_1.c | 47 unsigned long *laddr; in cumanascsi_pwrite() local 54 laddr = (unsigned long *)addr; in cumanascsi_pwrite() 77 addr = (unsigned char *)laddr; in cumanascsi_pwrite() 114 unsigned long *laddr; in cumanascsi_pread() local 121 laddr = (unsigned long *)addr; in cumanascsi_pread() 130 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 131 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 132 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 133 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() 134 *laddr++ = readw(dma) | (readw(dma) << 16); in cumanascsi_pread() [all …]
|
/linux/net/llc/ |
A 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() 351 const struct llc_addr *laddr, in llc_mcast_match() argument 358 llc->laddr.lsap == laddr->lsap && in llc_mcast_match() 390 const struct llc_addr *laddr, in llc_sap_mcast() argument 423 struct llc_addr laddr; in llc_sap_handler() local 425 llc_pdu_decode_da(skb, laddr.mac); in llc_sap_handler() [all …]
|
A 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 516 struct llc_addr *laddr) in llc_lookup_established() argument 533 llc->laddr.lsap == laddr->lsap && in llc_listener_match() 534 ether_addr_equal(llc->laddr.mac, laddr->mac); in llc_listener_match() 538 struct llc_addr *laddr) in __llc_lookup_listener() argument 584 struct llc_addr *laddr) in llc_lookup_listener() argument 597 struct llc_addr *laddr) in __llc_lookup() argument [all …]
|
A 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()
|
A 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 …]
|
A D | af_llc.c | 211 llc->laddr.lsap, llc->daddr.lsap); in llc_ui_release() 299 llc->laddr.lsap = llc_ui_autoport(); in llc_ui_autobind() 300 if (!llc->laddr.lsap) in llc_ui_autobind() 382 struct llc_addr laddr, daddr; in llc_ui_bind() local 385 memset(&laddr, 0, sizeof(laddr)); in llc_ui_bind() 392 laddr.lsap = addr->sllc_sap; in llc_ui_bind() 400 llc->laddr.lsap = addr->sllc_sap; in llc_ui_bind() 684 llc_sk(sk)->laddr.lsap); in llc_ui_accept() 699 llc_sk(sk)->laddr.lsap); in llc_ui_accept() 921 llc->laddr.lsap, llc->daddr.lsap); in llc_ui_sendmsg() [all …]
|
/linux/net/sctp/ |
A D | bind_addr.c | 311 struct sctp_sockaddr_entry *laddr; in sctp_bind_addr_match() local 316 if (!laddr->valid) in sctp_bind_addr_match() 341 laddr->valid && laddr2->valid) { in sctp_bind_addrs_check() 364 struct sctp_sockaddr_entry *laddr; in sctp_bind_addr_conflict() local 381 if (!laddr->valid) in sctp_bind_addr_conflict() 397 struct sctp_sockaddr_entry *laddr; in sctp_bind_addr_state() local 405 if (!laddr->valid) in sctp_bind_addr_state() 407 if (af->cmp_addr(&laddr->a, addr)) in sctp_bind_addr_state() 408 return laddr->state; in sctp_bind_addr_state() 422 struct sctp_sockaddr_entry *laddr; in sctp_find_unmatch_addr() local [all …]
|
A D | diag.c | 30 union sctp_addr laddr, paddr; in inet_diag_msg_sctpasoc_fill() local 74 struct sctp_sockaddr_entry *laddr; in inet_diag_msg_sctpladdrs_fill() local 89 memcpy(info, &laddr->a, sizeof(laddr->a)); in inet_diag_msg_sctpladdrs_fill() 90 memset(info + sizeof(laddr->a), 0, addrlen - sizeof(laddr->a)); in inet_diag_msg_sctpladdrs_fill() 233 struct sctp_sockaddr_entry *laddr; in inet_assoc_attr_size() local 431 union sctp_addr laddr, paddr; in sctp_diag_dump_one() local 440 laddr.v4.sin_port = req->id.idiag_sport; in sctp_diag_dump_one() 442 laddr.v4.sin_family = AF_INET; in sctp_diag_dump_one() 450 sizeof(laddr.v6.sin6_addr)); in sctp_diag_dump_one() 451 laddr.v6.sin6_family = AF_INET6; in sctp_diag_dump_one() [all …]
|
A D | input.c | 52 const union sctp_addr *laddr, 56 const union sctp_addr *laddr, 855 const union sctp_addr *laddr, in __sctp_rcv_lookup_endpoint() argument 865 lport = laddr->v4.sin_port; in __sctp_rcv_lookup_endpoint() 1001 const union sctp_addr *laddr, in sctp_addrs_lookup_transport() argument 1009 .lport = laddr->v4.sin_port, in sctp_addrs_lookup_transport() 1090 const union sctp_addr *laddr, in sctp_has_association() argument 1187 const union sctp_addr *laddr, in __sctp_rcv_asconf_lookup() argument 1266 net, ch, laddr, in __sctp_rcv_walk_lookup() 1345 &laddr->v4.sin_addr, ntohs(laddr->v4.sin_port), in __sctp_rcv_lookup() [all …]
|
/linux/tools/testing/selftests/net/ |
A 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()
|
A 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 …]
|
A 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/net/netfilter/ |
A D | xt_TPROXY.c | 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() 80 &laddr, ntohs(lport), skb->mark); in tproxy_tg4() 97 return tproxy_tg4(xt_net(par), skb, tgi->laddr, tgi->lport, in tproxy_tg4_v0() 106 return tproxy_tg4(xt_net(par), skb, tgi->laddr.ip, tgi->lport, in tproxy_tg4_v1() 119 const struct in6_addr *laddr; in tproxy_tg6_v1() local 145 laddr = nf_tproxy_laddr6(skb, &tgi->laddr.in6, &iph->daddr); in tproxy_tg6_v1() 154 &tgi->laddr.in6, in tproxy_tg6_v1() 162 tproto, &iph->saddr, laddr, in tproxy_tg6_v1() [all …]
|
/linux/net/ipv4/netfilter/ |
A 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/drivers/infiniband/hw/irdma/ |
A D | trace_cm.h | 24 __dynamic_array(u32, laddr, 4) 31 memcpy(__get_dynamic_array(laddr), 46 __dynamic_array(u32, laddr, 4) 54 memcpy(__get_dynamic_array(laddr), 74 __dynamic_array(u32, laddr, 4) 81 memcpy(__get_dynamic_array(laddr), 153 __dynamic_array(u32, laddr, 4) 217 __dynamic_array(u32, laddr, 4) 233 memcpy(__get_dynamic_array(laddr), 293 __dynamic_array(u32, laddr, 4) [all …]
|
/linux/include/trace/events/ |
A D | mctp.h | 31 __field(__u8, laddr) 36 __entry->laddr = key->local_addr; 40 __entry->laddr, 51 __field(__u8, laddr) 57 __entry->laddr = key->local_addr; 62 __entry->laddr,
|
/linux/arch/mips/jazz/ |
A D | jazzdma.c | 98 unsigned long laddr, flags; in vdma_alloc() local 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() 204 i - (laddr >> 12), laddr); in vdma_free() 239 unsigned long vdma_log2phys(unsigned long laddr) in vdma_log2phys() argument [all …]
|
/linux/net/ipv6/netfilter/ |
A 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/include/net/ |
A 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/net/rds/ |
A D | connection.c | 65 lhash = (__force u32)laddr->s6_addr32[3]; in rds_conn_bucket() 84 const struct in6_addr *laddr, in rds_conn_lookup() argument 103 laddr, faddr); in rds_conn_lookup() 161 const struct in6_addr *laddr, in __rds_conn_create() argument 180 ipv6_addr_equal(laddr, faddr) && in __rds_conn_create() 206 conn->c_laddr = *laddr; in __rds_conn_create() 207 conn->c_isv6 = !ipv6_addr_v4mapped(laddr); in __rds_conn_create() 286 conn, laddr, faddr, in __rds_conn_create() 348 const struct in6_addr *laddr, in rds_conn_create() argument 358 const struct in6_addr *laddr, in rds_conn_create_outgoing() argument [all …]
|
/linux/drivers/slimbus/ |
A D | core.c | 326 ida_simple_remove(&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/drivers/block/rsxx/ |
A D | dma.c | 17 unsigned int laddr; /* Logical address */ member 280 dma->cmd, dma->laddr, hw_st); in rsxx_handle_dma_error() 328 dma->cmd, dma->laddr, hw_st); in rsxx_handle_dma_error() 456 cpu_to_le32(dma->laddr); in rsxx_issue_dmas() 538 ctrl->id, dma->laddr, tag, status, count, in rsxx_dma_done() 599 unsigned int laddr, in rsxx_queue_discard() argument 610 dma->laddr = laddr; in rsxx_queue_discard() 631 unsigned int laddr, in rsxx_queue_dma() argument 644 dma->laddr = laddr; in rsxx_queue_dma() 673 unsigned int laddr; in rsxx_dma_queue_bio() local [all …]
|
/linux/drivers/infiniband/hw/qedr/ |
A D | qedr_iw_cm.c | 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() 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() 663 struct sockaddr_in *laddr; in qedr_iw_create_listen() local 668 laddr = (struct sockaddr_in *)&cm_id->m_local_addr; in qedr_iw_create_listen() [all …]
|
/linux/arch/powerpc/platforms/ |
A D | fsl_uli1575.c | 321 u32 laddr[3]; in hpcd_final_uli5288() local 332 laddr[0] = (hose->first_busno << 16) | (PCI_DEVFN(31, 0) << 8); in hpcd_final_uli5288() 333 laddr[1] = laddr[2] = 0; in hpcd_final_uli5288() 334 of_irq_parse_raw(laddr, &oirq); in hpcd_final_uli5288()
|
/linux/net/ipv6/ |
A D | ip6_vti.c | 98 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup() 107 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_tnl_lookup() 141 const struct in6_addr *local = &p->laddr; in vti6_tnl_bucket() 259 const struct in6_addr *local = &p->laddr; in vti6_locate() 267 if (ipv6_addr_equal(local, &t->parms.laddr) && in vti6_locate() 668 p->flags |= ip6_tnl_get_cap(t, &p->laddr, &p->raddr); in vti6_link_config() 684 &p->raddr, &p->laddr, in vti6_link_config() 716 t->parms.laddr = p->laddr; in vti6_tnl_change() 746 p->laddr = u->laddr; in vti6_parm_from_user() 759 u->laddr = p->laddr; in vti6_parm_to_user() [all …]
|