addrlen 381 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_bind(int fd, struct sockaddr __user *addr, int addrlen) addrlen 384 arch/arm/kernel/sys_oabi-compat.c if (addrlen == 112 && addrlen 387 arch/arm/kernel/sys_oabi-compat.c addrlen = 110; addrlen 388 arch/arm/kernel/sys_oabi-compat.c return sys_bind(fd, addr, addrlen); addrlen 391 arch/arm/kernel/sys_oabi-compat.c asmlinkage long sys_oabi_connect(int fd, struct sockaddr __user *addr, int addrlen) addrlen 394 arch/arm/kernel/sys_oabi-compat.c if (addrlen == 112 && addrlen 397 arch/arm/kernel/sys_oabi-compat.c addrlen = 110; addrlen 398 arch/arm/kernel/sys_oabi-compat.c return sys_connect(fd, addr, addrlen); addrlen 404 arch/arm/kernel/sys_oabi-compat.c int addrlen) addrlen 407 arch/arm/kernel/sys_oabi-compat.c if (addrlen == 112 && addrlen 410 arch/arm/kernel/sys_oabi-compat.c addrlen = 110; addrlen 411 arch/arm/kernel/sys_oabi-compat.c return sys_sendto(fd, buff, len, flags, addr, addrlen); addrlen 70 drivers/i2c/busses/i2c-xgene-slimpro.c #define SLIMPRO_IIC_ENCODE_MSG(dev, chip, op, proto, addrlen, datalen) \ addrlen 78 drivers/i2c/busses/i2c-xgene-slimpro.c ((addrlen << SLIMPRO_IIC_ADDRLEN_SHIFT) & SLIMPRO_IIC_ADDRLEN_MASK) | \ addrlen 244 drivers/i2c/busses/i2c-xgene-slimpro.c u32 addr, u32 addrlen, u32 protocol, addrlen 250 drivers/i2c/busses/i2c-xgene-slimpro.c SLIMPRO_IIC_READ, protocol, addrlen, readlen); addrlen 258 drivers/i2c/busses/i2c-xgene-slimpro.c u32 addr, u32 addrlen, u32 protocol, u32 writelen, addrlen 264 drivers/i2c/busses/i2c-xgene-slimpro.c SLIMPRO_IIC_WRITE, protocol, addrlen, writelen); addrlen 272 drivers/i2c/busses/i2c-xgene-slimpro.c u32 addrlen, u32 protocol, u32 readlen, addrlen 287 drivers/i2c/busses/i2c-xgene-slimpro.c protocol, addrlen, readlen); addrlen 304 drivers/i2c/busses/i2c-xgene-slimpro.c u32 addr, u32 addrlen, u32 protocol, u32 writelen, addrlen 321 drivers/i2c/busses/i2c-xgene-slimpro.c protocol, addrlen, writelen); addrlen 31 drivers/misc/eeprom/at25.c unsigned addrlen; addrlen 85 drivers/misc/eeprom/at25.c if (offset >= (1U << (at25->addrlen * 8))) addrlen 90 drivers/misc/eeprom/at25.c switch (at25->addrlen) { addrlen 106 drivers/misc/eeprom/at25.c t[0].len = at25->addrlen + 1; addrlen 148 drivers/misc/eeprom/at25.c bounce = kmalloc(buf_size + at25->addrlen + 1, GFP_KERNEL); addrlen 173 drivers/misc/eeprom/at25.c if (offset >= (1U << (at25->addrlen * 8))) addrlen 178 drivers/misc/eeprom/at25.c switch (at25->addrlen) { addrlen 196 drivers/misc/eeprom/at25.c segment + at25->addrlen + 1); addrlen 309 drivers/misc/eeprom/at25.c int addrlen; addrlen 321 drivers/misc/eeprom/at25.c addrlen = 1; addrlen 323 drivers/misc/eeprom/at25.c addrlen = 2; addrlen 325 drivers/misc/eeprom/at25.c addrlen = 3; addrlen 349 drivers/misc/eeprom/at25.c at25->addrlen = addrlen; addrlen 44 drivers/misc/eeprom/eeprom_93xx46.c int addrlen; addrlen 80 drivers/misc/eeprom/eeprom_93xx46.c u16 cmd_addr = OP_READ << edev->addrlen; addrlen 84 drivers/misc/eeprom/eeprom_93xx46.c if (edev->addrlen == 7) { addrlen 141 drivers/misc/eeprom/eeprom_93xx46.c cmd_addr = OP_START << edev->addrlen; addrlen 142 drivers/misc/eeprom/eeprom_93xx46.c if (edev->addrlen == 7) { addrlen 194 drivers/misc/eeprom/eeprom_93xx46.c cmd_addr = OP_WRITE << edev->addrlen; addrlen 196 drivers/misc/eeprom/eeprom_93xx46.c if (edev->addrlen == 7) { addrlen 242 drivers/misc/eeprom/eeprom_93xx46.c if (edev->addrlen == 6) { addrlen 284 drivers/misc/eeprom/eeprom_93xx46.c cmd_addr = OP_START << edev->addrlen; addrlen 285 drivers/misc/eeprom/eeprom_93xx46.c if (edev->addrlen == 7) { addrlen 444 drivers/misc/eeprom/eeprom_93xx46.c edev->addrlen = 7; addrlen 446 drivers/misc/eeprom/eeprom_93xx46.c edev->addrlen = 6; addrlen 947 drivers/scsi/esas2r/esas2r_disc.c u16 addrlen; addrlen 957 drivers/scsi/esas2r/esas2r_disc.c addrlen = le16_to_cpu(hi->data.get_dev_addr.addr_len); addrlen 960 drivers/scsi/esas2r/esas2r_disc.c if (addrlen == sizeof(u64)) addrlen 963 drivers/scsi/esas2r/esas2r_disc.c addrlen); addrlen 973 drivers/scsi/esas2r/esas2r_disc.c if (HIBYTE(addrlen) == 0) { addrlen 156 drivers/spi/spi-bcm-qspi.c unsigned int addrlen; addrlen 347 drivers/spi/spi-bcm-qspi.c int addrlen = op->addr.nbytes; addrlen 351 drivers/spi/spi-bcm-qspi.c width, addrlen, hp); addrlen 353 drivers/spi/spi-bcm-qspi.c if (addrlen == BSPI_ADDRLEN_4BYTES) addrlen 360 drivers/spi/spi-bcm-qspi.c if (addrlen == BSPI_ADDRLEN_3BYTES) addrlen 391 drivers/spi/spi-bcm-qspi.c int addrlen = op->addr.nbytes; addrlen 395 drivers/spi/spi-bcm-qspi.c width, addrlen, hp); addrlen 417 drivers/spi/spi-bcm-qspi.c if (addrlen == BSPI_ADDRLEN_4BYTES) addrlen 437 drivers/spi/spi-bcm-qspi.c int addrlen = op->addr.nbytes; addrlen 460 drivers/spi/spi-bcm-qspi.c width, addrlen, hp); addrlen 462 drivers/spi/spi-bcm-qspi.c qspi->xfer_mode.addrlen != addrlen || addrlen 465 drivers/spi/spi-bcm-qspi.c qspi->xfer_mode.addrlen = addrlen; addrlen 471 drivers/spi/spi-bcm-qspi.c qspi->xfer_mode.addrlen, addrlen 1357 drivers/spi/spi-bcm-qspi.c qspi->xfer_mode.addrlen = -1; addrlen 64 fs/lockd/clntlock.c host = nlmclnt_lookup_host(nlm_init->address, nlm_init->addrlen, addrlen 166 fs/nfs/client.c memcpy(&clp->cl_addr, cl_init->addr, cl_init->addrlen); addrlen 167 fs/nfs/client.c clp->cl_addrlen = cl_init->addrlen; addrlen 555 fs/nfs/client.c .addrlen = clp->cl_addrlen, addrlen 659 fs/nfs/client.c .addrlen = data->nfs_server.addrlen, addrlen 713 fs/nfs/client.c if (data->mount_server.addrlen) { addrlen 715 fs/nfs/client.c data->mount_server.addrlen); addrlen 716 fs/nfs/client.c server->mountd_addrlen = data->mount_server.addrlen; addrlen 68 fs/nfs/dns_resolve.c size_t addrlen; addrlen 82 fs/nfs/dns_resolve.c memcpy(&new->addr, &key->addr, key->addrlen); addrlen 83 fs/nfs/dns_resolve.c new->addrlen = key->addrlen; addrlen 102 fs/nfs/dns_resolve.c new->addrlen = 0; addrlen 130 fs/nfs/dns_resolve.c item->addrlen = 0; addrlen 245 fs/nfs/dns_resolve.c key.addrlen = rpc_pton(cd->net, buf1, len, addrlen 268 fs/nfs/dns_resolve.c if (key.addrlen == 0) addrlen 356 fs/nfs/dns_resolve.c if (salen >= item->addrlen) { addrlen 357 fs/nfs/dns_resolve.c memcpy(sa, &item->addr, item->addrlen); addrlen 358 fs/nfs/dns_resolve.c ret = item->addrlen; addrlen 42 fs/nfs/internal.h size_t addrlen; addrlen 72 fs/nfs/internal.h size_t addrlen; addrlen 104 fs/nfs/internal.h size_t addrlen; addrlen 113 fs/nfs/internal.h size_t addrlen; addrlen 88 fs/nfs/nfs3client.c .addrlen = ds_addrlen, addrlen 861 fs/nfs/nfs4client.c const size_t addrlen, addrlen 870 fs/nfs/nfs4client.c .addrlen = addrlen, addrlen 933 fs/nfs/nfs4client.c .addrlen = ds_addrlen, addrlen 1080 fs/nfs/nfs4client.c data->nfs_server.addrlen, addrlen 1170 fs/nfs/nfs4client.c data->addrlen, addrlen 1184 fs/nfs/nfs4client.c data->addrlen, addrlen 1262 fs/nfs/nfs4client.c .addrlen = salen, addrlen 269 fs/nfs/nfs4namespace.c mountdata->addrlen = nfs_parse_server_name(buf->data, buf->len, addrlen 271 fs/nfs/nfs4namespace.c if (mountdata->addrlen == 0) addrlen 623 fs/nfs/pnfs_nfs.c .addrlen = da->da_addrlen, addrlen 674 fs/nfs/pnfs_nfs.c .addrlen = da->da_addrlen, addrlen 1537 fs/nfs/super.c mnt->nfs_server.addrlen = addrlen 1543 fs/nfs/super.c if (mnt->nfs_server.addrlen == 0) addrlen 1559 fs/nfs/super.c mnt->mount_server.addrlen = addrlen 1565 fs/nfs/super.c if (mnt->mount_server.addrlen == 0) addrlen 1670 fs/nfs/super.c if (mnt->mount_server.addrlen) { addrlen 1802 fs/nfs/super.c args->nfs_server.addrlen); addrlen 1803 fs/nfs/super.c args->mount_server.addrlen = args->nfs_server.addrlen; addrlen 1805 fs/nfs/super.c request.salen = args->mount_server.addrlen; addrlen 2073 fs/nfs/super.c args->nfs_server.addrlen = sizeof(data->addr); addrlen 2265 fs/nfs/super.c data->nfs_server.addrlen != nfss->nfs_client->cl_addrlen || addrlen 2312 fs/nfs/super.c data->nfs_server.addrlen = nfss->nfs_client->cl_addrlen; addrlen 2317 fs/nfs/super.c data->nfs_server.addrlen); addrlen 2858 fs/nfs/super.c args->nfs_server.addrlen = data->host_addrlen; addrlen 27 fs/omfs/bitmap.c int addrlen, int bit, int max) addrlen 32 fs/omfs/bitmap.c for (; addrlen > 0; addrlen--, addr++) { addrlen 767 include/linux/compat.h int __user *addrlen); addrlen 43 include/linux/lockd/bind.h size_t addrlen; addrlen 1712 include/linux/lsm_hooks.h int addrlen); addrlen 1714 include/linux/lsm_hooks.h int addrlen); addrlen 1756 include/linux/lsm_hooks.h struct sockaddr *address, int addrlen); addrlen 298 include/linux/net.h int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen); addrlen 301 include/linux/net.h int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, addrlen 1285 include/linux/security.h int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen); addrlen 1286 include/linux/security.h int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen); addrlen 1324 include/linux/security.h struct sockaddr *address, int addrlen); addrlen 1364 include/linux/security.h int addrlen) addrlen 1371 include/linux/security.h int addrlen) addrlen 1534 include/linux/security.h int addrlen) addrlen 398 include/linux/socket.h extern int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen); addrlen 400 include/linux/socket.h int addrlen); addrlen 377 include/linux/sunrpc/svc.h size_t addrlen; addrlen 192 include/linux/sunrpc/xprt.h size_t addrlen; /* size of server address */ addrlen 320 include/linux/sunrpc/xprt.h size_t addrlen; addrlen 742 include/net/ipv6.h static inline int __ipv6_addr_diff32(const void *token1, const void *token2, int addrlen) addrlen 747 include/net/ipv6.h addrlen >>= 2; addrlen 749 include/net/ipv6.h for (i = 0; i < addrlen; i++) { addrlen 771 include/net/ipv6.h return addrlen << 5; addrlen 775 include/net/ipv6.h static inline int __ipv6_addr_diff64(const void *token1, const void *token2, int addrlen) addrlen 780 include/net/ipv6.h addrlen >>= 3; addrlen 782 include/net/ipv6.h for (i = 0; i < addrlen; i++) { addrlen 788 include/net/ipv6.h return addrlen << 6; addrlen 792 include/net/ipv6.h static inline int __ipv6_addr_diff(const void *token1, const void *token2, int addrlen) addrlen 795 include/net/ipv6.h if (__builtin_constant_p(addrlen) && !(addrlen & 7)) addrlen 796 include/net/ipv6.h return __ipv6_addr_diff64(token1, token2, addrlen); addrlen 798 include/net/ipv6.h return __ipv6_addr_diff32(token1, token2, addrlen); addrlen 683 net/compat.c int __user *addrlen) addrlen 686 net/compat.c addrlen); addrlen 696 net/compat.c int __user *, addrlen) addrlen 698 net/compat.c return __compat_sys_recvfrom(fd, buf, len, flags, addr, addrlen); addrlen 899 net/decnet/af_decnet.c static int __dn_connect(struct sock *sk, struct sockaddr_dn *addr, int addrlen, long *timeo, int flags) addrlen 928 net/decnet/af_decnet.c if (addr == NULL || addrlen != sizeof(struct sockaddr_dn)) addrlen 967 net/decnet/af_decnet.c static int dn_connect(struct socket *sock, struct sockaddr *uaddr, int addrlen, int flags) addrlen 975 net/decnet/af_decnet.c err = __dn_connect(sk, addr, addrlen, &timeo, 0); addrlen 981 net/decnet/af_decnet.c static inline int dn_check_state(struct sock *sk, struct sockaddr_dn *addr, int addrlen, long *timeo, int flags) addrlen 994 net/decnet/af_decnet.c return __dn_connect(sk, addr, addrlen, timeo, flags); addrlen 319 net/llc/af_llc.c static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) addrlen 328 net/llc/af_llc.c if (unlikely(!sock_flag(sk, SOCK_ZAPPED) || addrlen != sizeof(*addr))) addrlen 451 net/llc/af_llc.c int addrlen, int flags) addrlen 459 net/llc/af_llc.c if (unlikely(addrlen != sizeof(*addr))) addrlen 95 net/rds/tcp_connect.c int addrlen; addrlen 135 net/rds/tcp_connect.c addrlen = sizeof(sin6); addrlen 141 net/rds/tcp_connect.c addrlen = sizeof(sin); addrlen 144 net/rds/tcp_connect.c ret = sock->ops->bind(sock, addr, addrlen); addrlen 158 net/rds/tcp_connect.c addrlen = sizeof(sin6); addrlen 164 net/rds/tcp_connect.c addrlen = sizeof(sin); addrlen 172 net/rds/tcp_connect.c ret = sock->ops->connect(sock, addr, addrlen, O_NONBLOCK); addrlen 75 net/sctp/diag.c int addrlen = sizeof(struct sockaddr_storage); addrlen 83 net/sctp/diag.c attr = nla_reserve(skb, INET_DIAG_LOCALS, addrlen * addrcnt); addrlen 90 net/sctp/diag.c memset(info + sizeof(laddr->a), 0, addrlen - sizeof(laddr->a)); addrlen 91 net/sctp/diag.c info += addrlen; addrlen 100 net/sctp/diag.c int addrlen = sizeof(struct sockaddr_storage); addrlen 106 net/sctp/diag.c addrlen * asoc->peer.transport_count); addrlen 115 net/sctp/diag.c addrlen - sizeof(from->ipaddr)); addrlen 116 net/sctp/diag.c info += addrlen; addrlen 231 net/sctp/diag.c int addrlen = sizeof(struct sockaddr_storage); addrlen 240 net/sctp/diag.c + nla_total_size(addrlen * asoc->peer.transport_count) addrlen 241 net/sctp/diag.c + nla_total_size(addrlen * addrcnt) addrlen 806 net/sctp/ipv6.c char *msgname, int *addrlen) addrlen 834 net/sctp/ipv6.c *addrlen = sctp_v6_addr_to_user(sctp_sk(asoc->base.sk), addr); addrlen 2767 net/sctp/sm_make_chunk.c int addrlen; addrlen 2770 net/sctp/sm_make_chunk.c addrlen = af->to_addr_param(addr, &addrparam); addrlen 2771 net/sctp/sm_make_chunk.c if (!addrlen) addrlen 2773 net/sctp/sm_make_chunk.c length += addrlen; addrlen 2786 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, addrlen, &addrparam); addrlen 2910 net/sctp/sm_make_chunk.c int addrlen; addrlen 2912 net/sctp/sm_make_chunk.c addrlen = af->to_addr_param(addr, &addrparam); addrlen 2913 net/sctp/sm_make_chunk.c if (!addrlen) addrlen 2915 net/sctp/sm_make_chunk.c len += addrlen; addrlen 2927 net/sctp/sm_make_chunk.c sctp_addto_chunk(retval, addrlen, &addrparam); addrlen 6172 net/sctp/socket.c int addrlen; addrlen 6193 net/sctp/socket.c addrlen = sctp_get_pf_specific(sk->sk_family) addrlen 6195 net/sctp/socket.c if (space_left < addrlen) addrlen 6197 net/sctp/socket.c if (copy_to_user(to, &temp, addrlen)) addrlen 6199 net/sctp/socket.c to += addrlen; addrlen 6201 net/sctp/socket.c space_left -= addrlen; addrlen 6219 net/sctp/socket.c int addrlen; addrlen 6238 net/sctp/socket.c addrlen = sctp_get_pf_specific(sk->sk_family) addrlen 6241 net/sctp/socket.c if (space_left < addrlen) { addrlen 6245 net/sctp/socket.c memcpy(to, &temp, addrlen); addrlen 6247 net/sctp/socket.c to += addrlen; addrlen 6249 net/sctp/socket.c space_left -= addrlen; addrlen 6250 net/sctp/socket.c *bytes_copied += addrlen; addrlen 6269 net/sctp/socket.c int addrlen; addrlen 6328 net/sctp/socket.c addrlen = sctp_get_pf_specific(sk->sk_family) addrlen 6330 net/sctp/socket.c if (space_left < addrlen) { addrlen 6334 net/sctp/socket.c memcpy(buf, &temp, addrlen); addrlen 6335 net/sctp/socket.c buf += addrlen; addrlen 6336 net/sctp/socket.c bytes_copied += addrlen; addrlen 6338 net/sctp/socket.c space_left -= addrlen; addrlen 1633 net/socket.c int __sys_bind(int fd, struct sockaddr __user *umyaddr, int addrlen) addrlen 1641 net/socket.c err = move_addr_to_kernel(umyaddr, addrlen, &address); addrlen 1645 net/socket.c addrlen); addrlen 1649 net/socket.c &address, addrlen); addrlen 1656 net/socket.c SYSCALL_DEFINE3(bind, int, fd, struct sockaddr __user *, umyaddr, int, addrlen) addrlen 1658 net/socket.c return __sys_bind(fd, umyaddr, addrlen); addrlen 1810 net/socket.c int __sys_connect(int fd, struct sockaddr __user *uservaddr, int addrlen) addrlen 1819 net/socket.c err = move_addr_to_kernel(uservaddr, addrlen, &address); addrlen 1824 net/socket.c security_socket_connect(sock, (struct sockaddr *)&address, addrlen); addrlen 1828 net/socket.c err = sock->ops->connect(sock, (struct sockaddr *)&address, addrlen, addrlen 1837 net/socket.c int, addrlen) addrlen 1839 net/socket.c return __sys_connect(fd, uservaddr, addrlen); addrlen 3577 net/socket.c int kernel_bind(struct socket *sock, struct sockaddr *addr, int addrlen) addrlen 3579 net/socket.c return sock->ops->bind(sock, addr, addrlen); addrlen 3646 net/socket.c int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen, addrlen 3649 net/socket.c return sock->ops->connect(sock, addr, addrlen, flags); addrlen 526 net/sunrpc/clnt.c .addrlen = args->addrsize, addrlen 1280 net/sunrpc/clnt.c bytes = xprt->addrlen; addrlen 1448 net/sunrpc/clnt.c salen = xprt->addrlen; addrlen 1194 net/sunrpc/svc_xprt.c dr->addrlen = rqstp->rq_addrlen; addrlen 1228 net/sunrpc/svc_xprt.c memcpy(&rqstp->rq_addr, &dr->addr, dr->addrlen); addrlen 1229 net/sunrpc/svc_xprt.c rqstp->rq_addrlen = dr->addrlen; addrlen 288 net/sunrpc/xprtrdma/svc_rdma_backchannel.c if (args->addrlen > sizeof(xprt->addr)) { addrlen 312 net/sunrpc/xprtrdma/svc_rdma_backchannel.c memcpy(&xprt->addr, args->dstaddr, args->addrlen); addrlen 313 net/sunrpc/xprtrdma/svc_rdma_backchannel.c xprt->addrlen = args->addrlen; addrlen 319 net/sunrpc/xprtrdma/transport.c if (args->addrlen > sizeof(xprt->addr)) addrlen 344 net/sunrpc/xprtrdma/transport.c xprt->addrlen = args->addrlen; addrlen 345 net/sunrpc/xprtrdma/transport.c memcpy(&xprt->addr, sap, xprt->addrlen); addrlen 813 net/sunrpc/xprtsock.c static int xs_sendpages(struct socket *sock, struct sockaddr *addr, int addrlen, struct xdr_buf *xdr, unsigned int base, rpc_fraghdr rm, int *sent_p) addrlen 817 net/sunrpc/xprtsock.c .msg_namelen = addrlen, addrlen 1042 net/sunrpc/xprtsock.c status = xs_sendpages(transport->sock, xs_addr(xprt), xprt->addrlen, addrlen 1803 net/sunrpc/xprtsock.c memcpy(&myaddr, &transport->srcaddr, transport->xprt.addrlen); addrlen 1807 net/sunrpc/xprtsock.c transport->xprt.addrlen); addrlen 1961 net/sunrpc/xprtsock.c return kernel_connect(sock, xs_addr(xprt), xprt->addrlen, 0); addrlen 2330 net/sunrpc/xprtsock.c ret = kernel_connect(sock, xs_addr(xprt), xprt->addrlen, O_NONBLOCK); addrlen 2860 net/sunrpc/xprtsock.c if (args->addrlen > sizeof(xprt->addr)) { addrlen 2875 net/sunrpc/xprtsock.c memcpy(&xprt->addr, args->dstaddr, args->addrlen); addrlen 2876 net/sunrpc/xprtsock.c xprt->addrlen = args->addrlen; addrlen 2878 net/sunrpc/xprtsock.c memcpy(&new->srcaddr, args->srcaddr, args->addrlen); addrlen 172 samples/bpf/map_perf_test_kern.c int addrlen, ret; addrlen 177 samples/bpf/map_perf_test_kern.c addrlen = (int)PT_REGS_PARM3(ctx); addrlen 179 samples/bpf/map_perf_test_kern.c if (addrlen != sizeof(*in6)) addrlen 108 samples/bpf/test_map_in_map_kern.c int addrlen, ret, inline_ret, ret_key = 0; addrlen 114 samples/bpf/test_map_in_map_kern.c addrlen = (int)PT_REGS_PARM3(ctx); addrlen 116 samples/bpf/test_map_in_map_kern.c if (addrlen != sizeof(*in6)) addrlen 137 security/apparmor/include/audit.h int addrlen; addrlen 857 security/apparmor/lsm.c struct sockaddr *address, int addrlen) addrlen 865 security/apparmor/lsm.c bind_perm(sock, address, addrlen), addrlen 873 security/apparmor/lsm.c struct sockaddr *address, int addrlen) addrlen 881 security/apparmor/lsm.c connect_perm(sock, address, addrlen), addrlen 1991 security/security.c int security_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) addrlen 1993 security/security.c return call_int_hook(socket_bind, 0, sock, address, addrlen); addrlen 1996 security/security.c int security_socket_connect(struct socket *sock, struct sockaddr *address, int addrlen) addrlen 1998 security/security.c return call_int_hook(socket_connect, 0, sock, address, addrlen); addrlen 2182 security/security.c struct sockaddr *address, int addrlen) addrlen 2185 security/security.c address, addrlen); addrlen 4568 security/selinux/hooks.c static int selinux_socket_bind(struct socket *sock, struct sockaddr *address, int addrlen) addrlen 4597 security/selinux/hooks.c if (addrlen < offsetofend(struct sockaddr, sa_family)) addrlen 4603 security/selinux/hooks.c if (addrlen < sizeof(struct sockaddr_in)) addrlen 4618 security/selinux/hooks.c if (addrlen < SIN6_LEN_RFC2133) addrlen 4703 security/selinux/hooks.c struct sockaddr *address, int addrlen) addrlen 4712 security/selinux/hooks.c if (addrlen < offsetofend(struct sockaddr, sa_family)) addrlen 4743 security/selinux/hooks.c if (addrlen < sizeof(struct sockaddr_in)) addrlen 4749 security/selinux/hooks.c if (addrlen < SIN6_LEN_RFC2133) addrlen 4794 security/selinux/hooks.c struct sockaddr *address, int addrlen) addrlen 4799 security/selinux/hooks.c err = selinux_socket_connect_helper(sock, address, addrlen); addrlen 5266 security/selinux/hooks.c int addrlen) addrlen 5280 security/selinux/hooks.c while (walk_size < addrlen) { addrlen 5281 security/selinux/hooks.c if (walk_size + sizeof(sa_family_t) > addrlen) addrlen 5297 security/selinux/hooks.c if (walk_size + len > addrlen) addrlen 294 security/selinux/include/security.h u16 domain, void *addr, u32 addrlen, addrlen 2462 security/selinux/ss/services.c u32 addrlen, addrlen 2480 security/selinux/ss/services.c if (addrlen != sizeof(u32)) addrlen 2496 security/selinux/ss/services.c if (addrlen != sizeof(u64) * 2) addrlen 2803 security/smack/smack_lsm.c int addrlen) addrlen 2806 security/smack/smack_lsm.c if (addrlen < SIN6_LEN_RFC2133 || addrlen 2826 security/smack/smack_lsm.c int addrlen) addrlen 2835 security/smack/smack_lsm.c if (addrlen < offsetofend(struct sockaddr, sa_family)) addrlen 2841 security/smack/smack_lsm.c if (addrlen < SIN6_LEN_RFC2133) addrlen 2856 security/smack/smack_lsm.c if (sap->sa_family != AF_INET || addrlen < sizeof(struct sockaddr_in)) addrlen 33 tools/lib/bpf/netlink.c socklen_t addrlen; addrlen 54 tools/lib/bpf/netlink.c addrlen = sizeof(sa); addrlen 55 tools/lib/bpf/netlink.c if (getsockname(sock, (struct sockaddr *)&sa, &addrlen) < 0) { addrlen 60 tools/lib/bpf/netlink.c if (addrlen != sizeof(sa)) { addrlen 117 tools/perf/examples/bpf/augmented_syscalls.c unsigned long addrlen = sizeof(augmented_args.addr); \ addrlen 123 tools/perf/examples/bpf/augmented_syscalls.c probe_read(&augmented_args.addr, addrlen, args->addr_ptr); \ addrlen 127 tools/perf/examples/bpf/augmented_syscalls.c sizeof(augmented_args) - sizeof(augmented_args.addr) + addrlen);\ addrlen 141 tools/perf/examples/bpf/augmented_syscalls.c unsigned long addrlen; addrlen 151 tools/perf/examples/bpf/augmented_syscalls.c unsigned long addrlen; addrlen 22 tools/perf/ui/browsers/map.c u8 addrlen; addrlen 34 tools/perf/ui/browsers/map.c mb->addrlen, sym->start, mb->addrlen, sym->end, addrlen 37 tools/perf/ui/browsers/map.c width = browser->width - ((mb->addrlen * 2) + 4); addrlen 132 tools/perf/ui/browsers/map.c mb.addrlen = snprintf(tmp, sizeof(tmp), "%" PRIx64, maxaddr); addrlen 1440 tools/testing/selftests/bpf/test_maps.c socklen_t optlen, addrlen; addrlen 1454 tools/testing/selftests/bpf/test_maps.c addrlen = sizeof(s6); addrlen 1488 tools/testing/selftests/bpf/test_maps.c &addrlen); addrlen 234 tools/testing/selftests/bpf/test_select_reuseport.c socklen_t addrlen; addrlen 237 tools/testing/selftests/bpf/test_select_reuseport.c addrlen = sizeof(cli_sa); addrlen 239 tools/testing/selftests/bpf/test_select_reuseport.c &addrlen); addrlen 583 tools/testing/selftests/bpf/test_select_reuseport.c socklen_t addrlen; addrlen 589 tools/testing/selftests/bpf/test_select_reuseport.c addrlen = sizeof(srv_sa); addrlen 614 tools/testing/selftests/bpf/test_select_reuseport.c err = bind(sk_fds[i], (struct sockaddr *)&srv_sa, addrlen); addrlen 631 tools/testing/selftests/bpf/test_select_reuseport.c socklen_t addrlen = sizeof(srv_sa); addrlen 634 tools/testing/selftests/bpf/test_select_reuseport.c &addrlen); addrlen 312 tools/testing/selftests/bpf/test_sock_fields.c socklen_t addrlen; addrlen 315 tools/testing/selftests/bpf/test_sock_fields.c addrlen = sizeof(struct sockaddr_in6); addrlen 330 tools/testing/selftests/bpf/test_sock_fields.c err = getsockname(listen_fd, (struct sockaddr *)&srv_sa6, &addrlen); addrlen 344 tools/testing/selftests/bpf/test_sock_fields.c err = getsockname(cli_fd, (struct sockaddr *)&cli_sa6, &addrlen); addrlen 356 tools/testing/selftests/bpf/test_sock_fields.c err = connect(cli_fd, (struct sockaddr *)&srv_sa6, addrlen); addrlen 26 tools/testing/selftests/net/reuseaddr_conflict.c int addrlen; addrlen 45 tools/testing/selftests/net/reuseaddr_conflict.c addrlen = sizeof(addr6); addrlen 48 tools/testing/selftests/net/reuseaddr_conflict.c addrlen = sizeof(addr4); addrlen 68 tools/testing/selftests/net/reuseaddr_conflict.c if (bind(fd, addr, addrlen) < 0) { addrlen 63 tools/testing/selftests/net/tcp_inq.c socklen_t addrlen = sizeof(addr); addrlen 71 tools/testing/selftests/net/tcp_inq.c fd = accept(server_fd, (struct sockaddr *)&addr, &addrlen); addrlen 282 tools/testing/selftests/net/tcp_mmap.c socklen_t addrlen = sizeof(addr); addrlen 286 tools/testing/selftests/net/tcp_mmap.c fd = accept(fdlisten, (struct sockaddr *)&addr, &addrlen);