alen 527 arch/s390/include/asm/cpacf.h [aad] "+a" (r4), [alen] "+d" (r5) alen 221 arch/s390/kvm/gaccess.c u32 alen : 16; alen 417 arch/s390/kvm/gaccess.c if (alet.alen / 8 > ald.all) alen 420 arch/s390/kvm/gaccess.c if (0x7fffffff - ald.alo * 128 < alet.alen * 16) alen 423 arch/s390/kvm/gaccess.c rc = read_guest_real(vcpu, ald.alo * 128 + alet.alen * 16, &ale, alen 1903 crypto/testmgr.c input[0].iov_len = vec->alen; alen 1907 crypto/testmgr.c vec->alen + (enc ? vec->plen : alen 1909 crypto/testmgr.c vec->alen + (enc ? vec->clen : alen 1923 crypto/testmgr.c aead_request_set_ad(req, vec->alen); alen 1933 crypto/testmgr.c req->assoclen != vec->alen || alen 1945 crypto/testmgr.c if (req->assoclen != vec->alen) alen 1993 crypto/testmgr.c vec->alen, enc || !cfg->inplace); alen 2092 crypto/testmgr.c vec->alen = 0; alen 2094 crypto/testmgr.c vec->alen = generate_random_length(total_len); alen 2095 crypto/testmgr.c vec->plen = total_len - vec->alen; alen 2096 crypto/testmgr.c generate_random_bytes((u8 *)vec->assoc, vec->alen); alen 2112 crypto/testmgr.c if (vec->alen) alen 2113 crypto/testmgr.c sg_set_buf(&src[i++], vec->assoc, vec->alen); alen 2116 crypto/testmgr.c sg_init_one(&dst, vec->ctext, vec->alen + vec->clen); alen 2120 crypto/testmgr.c aead_request_set_ad(req, vec->alen); alen 2123 crypto/testmgr.c memmove((u8 *)vec->ctext, vec->ctext + vec->alen, vec->clen); alen 2127 crypto/testmgr.c vec->alen, vec->plen, authsize, vec->klen); alen 110 crypto/testmgr.h unsigned int alen; alen 13146 crypto/testmgr.h .alen = 16, alen 13174 crypto/testmgr.h .alen = 16, alen 13207 crypto/testmgr.h .alen = 16, alen 13239 crypto/testmgr.h .alen = 16, alen 13281 crypto/testmgr.h .alen = 24, alen 13327 crypto/testmgr.h .alen = 16, alen 13370 crypto/testmgr.h .alen = 16, alen 13462 crypto/testmgr.h .alen = 16, alen 13492 crypto/testmgr.h .alen = 16, alen 13527 crypto/testmgr.h .alen = 16, alen 13561 crypto/testmgr.h .alen = 16, alen 13605 crypto/testmgr.h .alen = 24, alen 13653 crypto/testmgr.h .alen = 16, alen 13698 crypto/testmgr.h .alen = 16, alen 13749 crypto/testmgr.h .alen = 16, alen 13787 crypto/testmgr.h .alen = 16, alen 13830 crypto/testmgr.h .alen = 16, alen 13872 crypto/testmgr.h .alen = 16, alen 13924 crypto/testmgr.h .alen = 24, alen 13980 crypto/testmgr.h .alen = 16, alen 14033 crypto/testmgr.h .alen = 16, alen 14081 crypto/testmgr.h .alen = 16, alen 14140 crypto/testmgr.h .alen = 16, alen 14200 crypto/testmgr.h .alen = 16, alen 14263 crypto/testmgr.h .alen = 16, alen 14330 crypto/testmgr.h .alen = 16, alen 14396 crypto/testmgr.h .alen = 16, alen 14457 crypto/testmgr.h .alen = 16, alen 14519 crypto/testmgr.h .alen = 16, alen 14584 crypto/testmgr.h .alen = 16, alen 14653 crypto/testmgr.h .alen = 16, alen 16884 crypto/testmgr.h .alen = 20, alen 17003 crypto/testmgr.h .alen = 20, alen 17034 crypto/testmgr.h .alen = 20, alen 17057 crypto/testmgr.h .alen = 16, alen 17073 crypto/testmgr.h .alen = 16, alen 17090 crypto/testmgr.h .alen = 16, alen 17107 crypto/testmgr.h .alen = 16, alen 17124 crypto/testmgr.h .alen = 16, alen 17147 crypto/testmgr.h .alen = 16, alen 17193 crypto/testmgr.h .alen = 20, alen 17240 crypto/testmgr.h .alen = 20, alen 17270 crypto/testmgr.h .alen = 16, alen 17300 crypto/testmgr.h .alen = 16, alen 17328 crypto/testmgr.h .alen = 16, alen 17358 crypto/testmgr.h .alen = 20, alen 17384 crypto/testmgr.h .alen = 20, alen 17407 crypto/testmgr.h .alen = 16, alen 17436 crypto/testmgr.h .alen = 20, alen 17467 crypto/testmgr.h .alen = 20, alen 17496 crypto/testmgr.h .alen = 20, alen 17531 crypto/testmgr.h .alen = 20, alen 17554 crypto/testmgr.h .alen = 16, alen 17572 crypto/testmgr.h .alen = 20, alen 17598 crypto/testmgr.h .alen = 20, alen 17626 crypto/testmgr.h .alen = 20, alen 17651 crypto/testmgr.h .alen = 20, alen 17671 crypto/testmgr.h .alen = 16, alen 17698 crypto/testmgr.h .alen = 16, alen 17729 crypto/testmgr.h .alen = 8, alen 17747 crypto/testmgr.h .alen = 12, alen 17764 crypto/testmgr.h .alen = 8, alen 17784 crypto/testmgr.h .alen = 12, alen 17801 crypto/testmgr.h .alen = 8, alen 17819 crypto/testmgr.h .alen = 12, alen 17836 crypto/testmgr.h .alen = 8, alen 17853 crypto/testmgr.h .alen = 0, alen 17876 crypto/testmgr.h .alen = 32, alen 17900 crypto/testmgr.h .alen = 32, alen 17915 crypto/testmgr.h .alen = 32, alen 17940 crypto/testmgr.h .alen = 32, alen 17964 crypto/testmgr.h .alen = 32, alen 17989 crypto/testmgr.h .alen = 32, alen 18009 crypto/testmgr.h .alen = 0, alen 18021 crypto/testmgr.h .alen = 0, alen 18036 crypto/testmgr.h .alen = 32, alen 18060 crypto/testmgr.h .alen = 32, alen 18084 crypto/testmgr.h .alen = 32, alen 18100 crypto/testmgr.h .alen = 32, alen 18123 crypto/testmgr.h .alen = 32, alen 18145 crypto/testmgr.h .alen = 0, alen 18158 crypto/testmgr.h .alen = 0, alen 18184 crypto/testmgr.h .alen = 32, alen 18216 crypto/testmgr.h .alen = 16, alen 18232 crypto/testmgr.h .alen = 16, alen 18249 crypto/testmgr.h .alen = 16, alen 18266 crypto/testmgr.h .alen = 16, alen 18283 crypto/testmgr.h .alen = 16, alen 18306 crypto/testmgr.h .alen = 16, alen 18352 crypto/testmgr.h .alen = 20, alen 18399 crypto/testmgr.h .alen = 20, alen 18429 crypto/testmgr.h .alen = 16, alen 18459 crypto/testmgr.h .alen = 16, alen 18487 crypto/testmgr.h .alen = 16, alen 18517 crypto/testmgr.h .alen = 20, alen 18543 crypto/testmgr.h .alen = 20, alen 18566 crypto/testmgr.h .alen = 16, alen 18595 crypto/testmgr.h .alen = 20, alen 18626 crypto/testmgr.h .alen = 20, alen 18655 crypto/testmgr.h .alen = 20, alen 18690 crypto/testmgr.h .alen = 20, alen 18713 crypto/testmgr.h .alen = 16, alen 18731 crypto/testmgr.h .alen = 20, alen 18757 crypto/testmgr.h .alen = 20, alen 18785 crypto/testmgr.h .alen = 20, alen 18810 crypto/testmgr.h .alen = 20, alen 18835 crypto/testmgr.h .alen = 12, alen 18880 crypto/testmgr.h .alen = 12, alen 18971 crypto/testmgr.h .alen = 20, alen 19062 crypto/testmgr.h .alen = 0, alen 19075 crypto/testmgr.h .alen = 0, alen 19089 crypto/testmgr.h .alen = 0, alen 19105 crypto/testmgr.h .alen = 0, alen 19121 crypto/testmgr.h .alen = 0, alen 19139 crypto/testmgr.h .alen = 0, alen 19159 crypto/testmgr.h .alen = 0, alen 19179 crypto/testmgr.h .alen = 1, alen 19193 crypto/testmgr.h .alen = 15, alen 19207 crypto/testmgr.h .alen = 16, alen 19222 crypto/testmgr.h .alen = 17, alen 19238 crypto/testmgr.h .alen = 31, alen 19254 crypto/testmgr.h .alen = 32, alen 19267 crypto/testmgr.h .alen = 1, alen 19282 crypto/testmgr.h .alen = 15, alen 19299 crypto/testmgr.h .alen = 16, alen 19317 crypto/testmgr.h .alen = 17, alen 19338 crypto/testmgr.h .alen = 31, alen 19361 crypto/testmgr.h .alen = 32, alen 19385 crypto/testmgr.h .alen = 33, alen 19423 crypto/testmgr.h .alen = 65, alen 19446 crypto/testmgr.h .alen = 16, alen 19463 crypto/testmgr.h .alen = 16, alen 19480 crypto/testmgr.h .alen = 16, alen 31308 crypto/testmgr.h .alen = 16, alen 31338 crypto/testmgr.h .alen = 16, alen 31373 crypto/testmgr.h .alen = 16, alen 31407 crypto/testmgr.h .alen = 16, alen 31451 crypto/testmgr.h .alen = 24, alen 31499 crypto/testmgr.h .alen = 16, alen 31544 crypto/testmgr.h .alen = 16, alen 805 drivers/base/property.c int alen) alen 807 drivers/base/property.c int ret = fwnode_property_read_u8_array(fwnode, name, addr, alen); alen 809 drivers/base/property.c if (ret == 0 && alen == ETH_ALEN && is_valid_ether_addr(addr)) alen 837 drivers/base/property.c void *fwnode_get_mac_address(struct fwnode_handle *fwnode, char *addr, int alen) alen 841 drivers/base/property.c res = fwnode_get_mac_addr(fwnode, "mac-address", addr, alen); alen 845 drivers/base/property.c res = fwnode_get_mac_addr(fwnode, "local-mac-address", addr, alen); alen 849 drivers/base/property.c return fwnode_get_mac_addr(fwnode, "address", addr, alen); alen 859 drivers/base/property.c void *device_get_mac_address(struct device *dev, char *addr, int alen) alen 861 drivers/base/property.c return fwnode_get_mac_address(dev_fwnode(dev), addr, alen); alen 42 drivers/crypto/omap-aes-gcm.c int alen, clen, i, ret = 0, nsg; alen 45 drivers/crypto/omap-aes-gcm.c alen = ALIGN(dd->assoc_len, AES_BLOCK_SIZE); alen 67 drivers/crypto/omap-aes-gcm.c omap_crypto_cleanup(&dd->in_sgl[0], NULL, 0, alen, alen 90 drivers/crypto/omap-aes-gcm.c int alen, clen, cryptlen, assoclen, ret; alen 106 drivers/crypto/omap-aes-gcm.c alen = ALIGN(assoclen, AES_BLOCK_SIZE); alen 158 drivers/crypto/omap-aes-gcm.c dd->in_sg_len = sg_nents_for_len(dd->in_sg, alen + clen); alen 1585 drivers/crypto/stm32/stm32-cryp.c u32 alen, cfg, *src; alen 1589 drivers/crypto/stm32/stm32-cryp.c alen = cryp->areq->assoclen; alen 1594 drivers/crypto/stm32/stm32-cryp.c d8[0] = (alen >> 8) & 0xFF; alen 1595 drivers/crypto/stm32/stm32-cryp.c d8[1] = alen & 0xFF; alen 1609 drivers/crypto/stm32/stm32-cryp.c d8[2] = alen & 0xFF000000; alen 1610 drivers/crypto/stm32/stm32-cryp.c d8[3] = alen & 0x00FF0000; alen 1615 drivers/crypto/stm32/stm32-cryp.c d8[0] = alen & 0x0000FF00; alen 1616 drivers/crypto/stm32/stm32-cryp.c d8[1] = alen & 0x000000FF; alen 1638 drivers/crypto/stm32/stm32-cryp.c if ((cryp->total_in_save - cryp->total_in) == alen) alen 1644 drivers/crypto/stm32/stm32-cryp.c if ((cryp->total_in_save - cryp->total_in) == alen) { alen 199 drivers/media/dvb-frontends/drxd_hard.c u8 adr, u8 *msg, int len, u8 *answ, int alen) alen 207 drivers/media/dvb-frontends/drxd_hard.c .buf = answ, .len = alen alen 261 drivers/media/dvb-frontends/drxk_hard.c u8 adr, u8 *msg, int len, u8 *answ, int alen) alen 268 drivers/media/dvb-frontends/drxk_hard.c .buf = answ, .len = alen} alen 287 drivers/media/dvb-frontends/drxk_hard.c for (i = 0; i < alen; i++) alen 305 drivers/media/dvb-frontends/stv6111.c u8 adr, u8 *msg, int len, u8 *answ, int alen) alen 310 drivers/media/dvb-frontends/stv6111.c .buf = answ, .len = alen } }; alen 257 drivers/media/pci/ngene/ngene-dvb.c u32 alen; alen 259 drivers/media/pci/ngene/ngene-dvb.c alen = dvb_ringbuffer_avail(&dev->tsout_rbuf); alen 260 drivers/media/pci/ngene/ngene-dvb.c alen -= alen % 188; alen 262 drivers/media/pci/ngene/ngene-dvb.c if (alen < len) alen 263 drivers/media/pci/ngene/ngene-dvb.c FillTSBuffer(buf + alen, len - alen, flags); alen 265 drivers/media/pci/ngene/ngene-dvb.c alen = len; alen 266 drivers/media/pci/ngene/ngene-dvb.c dvb_ringbuffer_read(&dev->tsout_rbuf, buf, alen); alen 268 drivers/media/pci/ngene/ngene-dvb.c swap_buffer((u32 *)buf, alen); alen 71 drivers/media/usb/gspca/mars.c int alen, ret; alen 80 drivers/media/usb/gspca/mars.c &alen, alen 92 drivers/media/usb/gspca/stk014.c int alen, ret; alen 109 drivers/media/usb/gspca/stk014.c &alen, alen 123 drivers/media/usb/gspca/stk014.c int alen, ret; alen 152 drivers/media/usb/gspca/stk014.c &alen, alen 4686 drivers/media/usb/gspca/topro.c int ret, alen; alen 4709 drivers/media/usb/gspca/topro.c &alen, alen 4725 drivers/media/usb/gspca/topro.c &alen, alen 2544 drivers/net/bonding/bond_main.c unsigned int alen; alen 2555 drivers/net/bonding/bond_main.c alen = arp_hdr_len(bond->dev); alen 2560 drivers/net/bonding/bond_main.c if (alen > skb_headlen(skb)) { alen 2561 drivers/net/bonding/bond_main.c arp = kmalloc(alen, GFP_ATOMIC); alen 2564 drivers/net/bonding/bond_main.c if (skb_copy_bits(skb, 0, arp, alen) < 0) alen 3076 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_alen_set(&msg->alen, len, flash->dbuf_pa); alen 3105 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_alen_set(&msg->alen, len, flash->dbuf_pa); alen 3273 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_alen_set(&msg->alen, sizeof(struct bfa_flash_attr), flash->dbuf_pa); alen 63 drivers/net/ethernet/brocade/bna/bfa_ioc.h __bfa_alen_set(struct bfi_alen *alen, u32 len, u64 pa) alen 65 drivers/net/ethernet/brocade/bna/bfa_ioc.h alen->al_len = cpu_to_be32(len); alen 66 drivers/net/ethernet/brocade/bna/bfa_ioc.h bfa_dma_be_addr_set(alen->al_addr, pa); alen 489 drivers/net/ethernet/brocade/bna/bfi.h struct bfi_alen alen; alen 497 drivers/net/ethernet/brocade/bna/bfi.h struct bfi_alen alen; alen 516 drivers/net/ethernet/brocade/bna/bfi.h struct bfi_alen alen; alen 111 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c unsigned int alen = crypto_aead_authsize(x->data); alen 118 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c ret = skb_copy_bits(skb, skb->len - alen - 2, &plen, 1); alen 122 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_rxtx.c trailer_len = alen + plen + 2; alen 918 drivers/net/tun.c int err, alen, n, nexact; alen 929 drivers/net/tun.c alen = ETH_ALEN * uf.count; alen 930 drivers/net/tun.c addr = memdup_user(arg + sizeof(uf), alen); alen 398 drivers/net/wireless/intersil/p54/p54usb.c int alen; alen 409 drivers/net/wireless/intersil/p54/p54usb.c return usb_bulk_msg(priv->udev, ep, buf, sizeof(*buf), &alen, 1000); alen 419 drivers/net/wireless/intersil/p54/p54usb.c int alen, err; alen 430 drivers/net/wireless/intersil/p54/p54usb.c read, sizeof(*read), &alen, 1000); alen 435 drivers/net/wireless/intersil/p54/p54usb.c reg, sizeof(*reg), &alen, 1000); alen 446 drivers/net/wireless/intersil/p54/p54usb.c int alen; alen 448 drivers/net/wireless/intersil/p54/p54usb.c data, len, &alen, 2000); alen 500 drivers/net/wireless/intersil/p54/p54usb.c int err, alen; alen 578 drivers/net/wireless/intersil/p54/p54usb.c usb_rcvbulkpipe(priv->udev, P54U_PIPE_DATA), buf, 128, &alen, 1000))) { alen 579 drivers/net/wireless/intersil/p54/p54usb.c if (alen > 2 && !memcmp(buf, "OK", 2)) alen 582 drivers/net/wireless/intersil/p54/p54usb.c if (alen > 5 && !memcmp(buf, "ERROR", 5)) { alen 609 drivers/net/wireless/intersil/p54/p54usb.c usb_rcvbulkpipe(priv->udev, P54U_PIPE_DATA), buf, 128, &alen, 1000))) { alen 610 drivers/net/wireless/intersil/p54/p54usb.c if (alen > 0 && buf[0] == 'g') alen 630 drivers/net/wireless/intersil/p54/p54usb.c int err, alen; alen 832 drivers/net/wireless/intersil/p54/p54usb.c buf, sizeof(__le32), &alen, 1000); alen 833 drivers/net/wireless/intersil/p54/p54usb.c if (err || alen != sizeof(__le32)) alen 1255 drivers/net/wireless/intersil/prism54/isl_ioctl.c int alen, ret = 0; alen 1265 drivers/net/wireless/intersil/prism54/isl_ioctl.c alen = sizeof(*attach) + priv->wpa_ie_len; alen 1266 drivers/net/wireless/intersil/prism54/isl_ioctl.c attach = kzalloc(alen, GFP_KERNEL); alen 3787 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&req->alen, sizeof(struct sfp_mem_s), sfp->dbuf_pa); alen 4255 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&msg->alen, sizeof(struct bfa_flash_attr_s), alen 4284 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&msg->alen, len, flash->dbuf_pa); alen 4313 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&msg->alen, len, flash->dbuf_pa); alen 4832 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&fwping_req->alen, BFI_DIAG_DMA_BUF_SZ, alen 5353 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&msg->alen, sizeof(struct bfa_phy_attr_s), phy->dbuf_pa); alen 5383 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&msg->alen, len, phy->dbuf_pa); alen 5417 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&msg->alen, len, phy->dbuf_pa); alen 5436 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&msg->alen, sizeof(struct bfa_phy_stats_s), phy->dbuf_pa); alen 6239 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&msg->alen, len, fru->dbuf_pa); alen 6266 drivers/scsi/bfa/bfa_ioc.c bfa_alen_set(&msg->alen, len, fru->dbuf_pa); alen 188 drivers/scsi/bfa/bfa_ioc.h __bfa_alen_set(struct bfi_alen_s *alen, u32 len, u64 pa) alen 190 drivers/scsi/bfa/bfa_ioc.h alen->al_len = cpu_to_be32(len); alen 191 drivers/scsi/bfa/bfa_ioc.h bfa_dma_be_addr_set(alen->al_addr, pa); alen 5378 drivers/scsi/bfa/bfa_svc.c bfa_alen_set(&uf_bp_msg->alen, buf_len, ufm_pbs_pa(ufm, i)); alen 862 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 897 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 915 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 934 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 1036 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; /* 12 bytes */ alen 1197 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 1207 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 1220 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 1232 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 1294 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 1304 drivers/scsi/bfa/bfi.h struct bfi_alen_s alen; alen 387 drivers/scsi/bfa/bfi_ms.h struct bfi_alen_s alen; /* buffer address/len pair */ alen 1513 drivers/scsi/qla2xxx/qla_gs.c int rval, alen; alen 1556 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(QLA2XXX_MANUFACTURER); alen 1559 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1560 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1561 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1578 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.serial_num); alen 1579 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1580 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1581 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1591 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.model); alen 1592 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1593 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1594 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1604 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.model_desc); alen 1605 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1606 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1607 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1628 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.hw_version); alen 1629 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1630 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1631 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1641 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.driver_version); alen 1642 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1643 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1644 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1654 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.orom_version); alen 1655 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1656 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1657 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1667 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.fw_version); alen 1668 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1669 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1670 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1723 drivers/scsi/qla2xxx/qla_gs.c int rval, alen; alen 1865 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.os_dev_name); alen 1866 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1867 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1868 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1884 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.host_name); alen 1885 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1886 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1887 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1935 drivers/scsi/qla2xxx/qla_gs.c int rval, alen; alen 1981 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.manufacturer); alen 1982 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 1983 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 1984 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2001 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.serial_num); alen 2002 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2003 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2004 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2014 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.model); alen 2015 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2016 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2017 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2027 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.model_desc); alen 2028 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2029 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2030 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2051 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.hw_version); alen 2052 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2053 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2054 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2064 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.driver_version); alen 2065 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2066 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2067 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2077 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.orom_version); alen 2078 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2079 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2080 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2091 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.fw_version); alen 2092 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2093 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2094 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2111 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.os_version); alen 2112 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2113 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2114 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2135 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.sym_name); alen 2136 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2137 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2138 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2178 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.bios_name); alen 2179 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2180 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2181 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2191 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.vendor_identifier); alen 2192 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2193 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2194 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2296 drivers/scsi/qla2xxx/qla_gs.c int rval, alen; alen 2434 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(QLA2XXX_DRIVER_NAME); alen 2437 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2438 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2439 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2455 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.host_name); alen 2456 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2457 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2458 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 2488 drivers/scsi/qla2xxx/qla_gs.c alen = strlen(eiter->a.port_sym_name); alen 2489 drivers/scsi/qla2xxx/qla_gs.c alen += 4 - (alen & 3); alen 2490 drivers/scsi/qla2xxx/qla_gs.c eiter->len = cpu_to_be16(4 + alen); alen 2491 drivers/scsi/qla2xxx/qla_gs.c size += 4 + alen; alen 1701 drivers/scsi/scsi_debug.c int n, ret, alen, rlen; alen 1704 drivers/scsi/scsi_debug.c alen = get_unaligned_be32(cmd + 6); alen 1764 drivers/scsi/scsi_debug.c rlen = min(alen,n); alen 105 drivers/spi/spi-falcon.c unsigned int len, alen, dumlen; alen 175 drivers/spi/spi-falcon.c alen = 0; alen 178 drivers/spi/spi-falcon.c if (alen < 3) { alen 180 drivers/spi/spi-falcon.c alen++; alen 194 drivers/spi/spi-falcon.c priv->sfcmd |= (alen << SFCMD_ALEN_OFFSET) | alen 196 drivers/spi/spi-falcon.c if (alen > 0) alen 201 drivers/spi/spi-falcon.c alen, val, dumlen); alen 245 drivers/staging/exfat/exfat_super.c unsigned int alen, blen; alen 247 drivers/staging/exfat/exfat_super.c alen = exfat_striptail_len(name); alen 249 drivers/staging/exfat/exfat_super.c if (alen == blen) { alen 251 drivers/staging/exfat/exfat_super.c if (strncasecmp(name->name, str, alen) == 0) alen 254 drivers/staging/exfat/exfat_super.c if (nls_strnicmp(t, name->name, str, alen) == 0) alen 264 drivers/staging/exfat/exfat_super.c unsigned int alen, blen; alen 266 drivers/staging/exfat/exfat_super.c alen = exfat_striptail_len(name); alen 268 drivers/staging/exfat/exfat_super.c if (alen == blen) { alen 269 drivers/staging/exfat/exfat_super.c if (strncmp(name->name, str, alen) == 0) alen 226 drivers/usb/serial/whiteheat.c int alen; alen 250 drivers/usb/serial/whiteheat.c &alen, COMMAND_TIMEOUT_MS); alen 255 drivers/usb/serial/whiteheat.c } else if (alen != 2) { alen 257 drivers/usb/serial/whiteheat.c serial->type->description, alen); alen 266 drivers/usb/serial/whiteheat.c sizeof(*hw_info) + 1, &alen, COMMAND_TIMEOUT_MS); alen 271 drivers/usb/serial/whiteheat.c } else if (alen != sizeof(*hw_info) + 1) { alen 273 drivers/usb/serial/whiteheat.c serial->type->description, alen); alen 154 fs/cifs/netmisc.c int rc, alen, slen; alen 168 fs/cifs/netmisc.c alen = pct ? pct - src : len; alen 170 fs/cifs/netmisc.c rc = cifs_inet_pton(AF_INET6, src, alen, &s6->sin6_addr.s6_addr); alen 177 fs/cifs/netmisc.c slen = len - (alen + 1); alen 159 fs/fat/namei_vfat.c unsigned int alen, blen; alen 162 fs/fat/namei_vfat.c alen = vfat_striptail_len(name); alen 164 fs/fat/namei_vfat.c if (alen == blen) { alen 165 fs/fat/namei_vfat.c if (nls_strnicmp(t, name->name, str, alen) == 0) alen 177 fs/fat/namei_vfat.c unsigned int alen, blen; alen 180 fs/fat/namei_vfat.c alen = vfat_striptail_len(name); alen 182 fs/fat/namei_vfat.c if (alen == blen) { alen 183 fs/fat/namei_vfat.c if (strncmp(name->name, str, alen) == 0) alen 207 fs/isofs/inode.c int alen, blen; alen 210 fs/isofs/inode.c alen = name->len; alen 213 fs/isofs/inode.c while (alen && name->name[alen-1] == '.') alen 214 fs/isofs/inode.c alen--; alen 218 fs/isofs/inode.c if (alen == blen) { alen 220 fs/isofs/inode.c if (strncasecmp(name->name, str, alen) == 0) alen 223 fs/isofs/inode.c if (strncmp(name->name, str, alen) == 0) alen 602 fs/ubifs/lpt.c int lnum, err = 0, node_sz, iopos, i, j, cnt, len, alen, row; alen 702 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); alen 703 fs/ubifs/lpt.c set_ltab(c, lnum, c->leb_size - alen, alen - len); alen 704 fs/ubifs/lpt.c memset(p, 0xff, alen - len); alen 705 fs/ubifs/lpt.c err = ubifs_leb_change(c, lnum++, buf, alen); alen 735 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); alen 736 fs/ubifs/lpt.c set_ltab(c, lnum, c->leb_size - alen, alen 737 fs/ubifs/lpt.c alen - len); alen 738 fs/ubifs/lpt.c memset(p, 0xff, alen - len); alen 739 fs/ubifs/lpt.c err = ubifs_leb_change(c, lnum++, buf, alen); alen 783 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); alen 784 fs/ubifs/lpt.c set_ltab(c, lnum, c->leb_size - alen, alen - len); alen 785 fs/ubifs/lpt.c memset(p, 0xff, alen - len); alen 786 fs/ubifs/lpt.c err = ubifs_leb_change(c, lnum++, buf, alen); alen 808 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); alen 809 fs/ubifs/lpt.c set_ltab(c, lnum, c->leb_size - alen, alen - len); alen 810 fs/ubifs/lpt.c memset(p, 0xff, alen - len); alen 811 fs/ubifs/lpt.c err = ubifs_leb_change(c, lnum++, buf, alen); alen 823 fs/ubifs/lpt.c alen = ALIGN(len, c->min_io_size); alen 824 fs/ubifs/lpt.c set_ltab(c, lnum, c->leb_size - alen, alen - len); alen 830 fs/ubifs/lpt.c memset(p, 0xff, alen - len); alen 831 fs/ubifs/lpt.c err = ubifs_leb_change(c, lnum, buf, alen); alen 184 fs/ubifs/lpt_commit.c int lnum, offs, len, alen, done_lsave, done_ltab, err; alen 223 fs/ubifs/lpt_commit.c alen = ALIGN(offs, c->min_io_size); alen 224 fs/ubifs/lpt_commit.c upd_ltab(c, lnum, c->leb_size - alen, alen - offs); alen 266 fs/ubifs/lpt_commit.c alen = ALIGN(offs, c->min_io_size); alen 267 fs/ubifs/lpt_commit.c upd_ltab(c, lnum, c->leb_size - alen, alen - offs); alen 286 fs/ubifs/lpt_commit.c alen = ALIGN(offs, c->min_io_size); alen 287 fs/ubifs/lpt_commit.c upd_ltab(c, lnum, c->leb_size - alen, alen - offs); alen 302 fs/ubifs/lpt_commit.c alen = ALIGN(offs, c->min_io_size); alen 303 fs/ubifs/lpt_commit.c upd_ltab(c, lnum, c->leb_size - alen, alen - offs); alen 304 fs/ubifs/lpt_commit.c dbg_chk_lpt_sz(c, 4, alen - offs); alen 305 fs/ubifs/lpt_commit.c err = dbg_chk_lpt_sz(c, 3, alen); alen 362 fs/ubifs/lpt_commit.c int lnum, offs, len, from, err, wlen, alen, done_ltab, done_lsave; alen 404 fs/ubifs/lpt_commit.c alen = ALIGN(wlen, c->min_io_size); alen 405 fs/ubifs/lpt_commit.c memset(buf + offs, 0xff, alen - wlen); alen 407 fs/ubifs/lpt_commit.c alen); alen 463 fs/ubifs/lpt_commit.c alen = ALIGN(wlen, c->min_io_size); alen 464 fs/ubifs/lpt_commit.c memset(buf + offs, 0xff, alen - wlen); alen 465 fs/ubifs/lpt_commit.c err = ubifs_leb_write(c, lnum, buf + from, from, alen); alen 489 fs/ubifs/lpt_commit.c alen = ALIGN(wlen, c->min_io_size); alen 490 fs/ubifs/lpt_commit.c memset(buf + offs, 0xff, alen - wlen); alen 491 fs/ubifs/lpt_commit.c err = ubifs_leb_write(c, lnum, buf + from, from, alen); alen 512 fs/ubifs/lpt_commit.c alen = ALIGN(wlen, c->min_io_size); alen 513 fs/ubifs/lpt_commit.c memset(buf + offs, 0xff, alen - wlen); alen 514 fs/ubifs/lpt_commit.c err = ubifs_leb_write(c, lnum, buf + from, from, alen); alen 518 fs/ubifs/lpt_commit.c dbg_chk_lpt_sz(c, 4, alen - wlen); alen 124 fs/ubifs/tnc_commit.c const int alen = ALIGN(len, 8); alen 127 fs/ubifs/tnc_commit.c ubifs_assert(c, alen <= gap_remains); alen 132 fs/ubifs/tnc_commit.c gap_remains -= alen; alen 133 fs/ubifs/tnc_commit.c gap_pos += alen; alen 2173 fs/udf/inode.c int alen; alen 2186 fs/udf/inode.c alen = udf_file_entry_alloc_offset(inode) + alen 2192 fs/udf/inode.c alen = sizeof(struct allocExtDesc) + alen 2199 fs/udf/inode.c sad = udf_get_fileshortad(ptr, alen, &epos->offset, inc); alen 2209 fs/udf/inode.c lad = udf_get_filelongad(ptr, alen, &epos->offset, inc); alen 3927 fs/xfs/libxfs/xfs_bmap.c xfs_extlen_t alen; alen 3936 fs/xfs/libxfs/xfs_bmap.c alen = XFS_FILBLKS_MIN(len + prealloc, MAXEXTLEN); alen 3938 fs/xfs/libxfs/xfs_bmap.c alen = XFS_FILBLKS_MIN(alen, got->br_startoff - aoff); alen 3939 fs/xfs/libxfs/xfs_bmap.c if (prealloc && alen >= len) alen 3940 fs/xfs/libxfs/xfs_bmap.c prealloc = alen - len; alen 3951 fs/xfs/libxfs/xfs_bmap.c 1, 0, &aoff, &alen); alen 3960 fs/xfs/libxfs/xfs_bmap.c error = xfs_trans_reserve_quota_nblks(NULL, ip, (long)alen, 0, alen 3969 fs/xfs/libxfs/xfs_bmap.c indlen = (xfs_extlen_t)xfs_bmap_worst_indlen(ip, alen); alen 3972 fs/xfs/libxfs/xfs_bmap.c error = xfs_mod_fdblocks(mp, -((int64_t)alen), false); alen 3981 fs/xfs/libxfs/xfs_bmap.c ip->i_delayed_blks += alen; alen 3982 fs/xfs/libxfs/xfs_bmap.c xfs_mod_delalloc(ip->i_mount, alen + indlen); alen 3986 fs/xfs/libxfs/xfs_bmap.c got->br_blockcount = alen; alen 3998 fs/xfs/libxfs/xfs_bmap.c if (whichfork == XFS_COW_FORK && (prealloc || aoff < off || alen > len)) alen 4004 fs/xfs/libxfs/xfs_bmap.c xfs_mod_fdblocks(mp, alen, false); alen 4007 fs/xfs/libxfs/xfs_bmap.c xfs_trans_unreserve_quota_nblks(NULL, ip, (long)alen, 0, alen 334 include/linux/property.h void *device_get_mac_address(struct device *dev, char *addr, int alen); alen 338 include/linux/property.h char *addr, int alen); alen 50 ipc/msgutil.c size_t alen; alen 52 ipc/msgutil.c alen = min(len, DATALEN_MSG); alen 53 ipc/msgutil.c msg = kmalloc(sizeof(*msg) + alen, GFP_KERNEL_ACCOUNT); alen 60 ipc/msgutil.c len -= alen; alen 67 ipc/msgutil.c alen = min(len, DATALEN_SEG); alen 68 ipc/msgutil.c seg = kmalloc(sizeof(*seg) + alen, GFP_KERNEL_ACCOUNT); alen 74 ipc/msgutil.c len -= alen; alen 89 ipc/msgutil.c size_t alen; alen 95 ipc/msgutil.c alen = min(len, DATALEN_MSG); alen 96 ipc/msgutil.c if (copy_from_user(msg + 1, src, alen)) alen 100 ipc/msgutil.c len -= alen; alen 101 ipc/msgutil.c src = (char __user *)src + alen; alen 102 ipc/msgutil.c alen = min(len, DATALEN_SEG); alen 103 ipc/msgutil.c if (copy_from_user(seg + 1, src, alen)) alen 122 ipc/msgutil.c size_t alen; alen 127 ipc/msgutil.c alen = min(len, DATALEN_MSG); alen 128 ipc/msgutil.c memcpy(dst + 1, src + 1, alen); alen 134 ipc/msgutil.c len -= alen; alen 135 ipc/msgutil.c alen = min(len, DATALEN_SEG); alen 136 ipc/msgutil.c memcpy(dst_pseg + 1, src_pseg + 1, alen); alen 152 ipc/msgutil.c size_t alen; alen 155 ipc/msgutil.c alen = min(len, DATALEN_MSG); alen 156 ipc/msgutil.c if (copy_to_user(dest, msg + 1, alen)) alen 160 ipc/msgutil.c len -= alen; alen 161 ipc/msgutil.c dest = (char __user *)dest + alen; alen 162 ipc/msgutil.c alen = min(len, DATALEN_SEG); alen 163 ipc/msgutil.c if (copy_to_user(dest, seg + 1, alen)) alen 81 net/bluetooth/l2cap_sock.c static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) alen 90 net/bluetooth/l2cap_sock.c if (!addr || alen < offsetofend(struct sockaddr, sa_family) || alen 95 net/bluetooth/l2cap_sock.c len = min_t(unsigned int, sizeof(la), alen); alen 176 net/bluetooth/l2cap_sock.c int alen, int flags) alen 185 net/bluetooth/l2cap_sock.c if (!addr || alen < offsetofend(struct sockaddr, sa_family) || alen 190 net/bluetooth/l2cap_sock.c len = min_t(unsigned int, sizeof(la), alen); alen 384 net/bluetooth/rfcomm/sock.c static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) alen 393 net/bluetooth/rfcomm/sock.c if (alen < sizeof(struct sockaddr_rc) || alen 553 net/bluetooth/sco.c static int sco_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) alen 561 net/bluetooth/sco.c if (alen < sizeof(struct sockaddr_sco) || alen 368 net/ipv4/esp4.c int alen; alen 390 net/ipv4/esp4.c alen = crypto_aead_authsize(aead); alen 413 net/ipv4/esp4.c assoclen + ivlen + esp->clen + alen); alen 441 net/ipv4/esp4.c assoclen + ivlen + esp->clen + alen); alen 486 net/ipv4/esp4.c int alen; alen 500 net/ipv4/esp4.c alen = crypto_aead_authsize(aead); alen 514 net/ipv4/esp4.c esp.tailen = esp.tfclen + esp.plen + alen; alen 539 net/ipv4/esp4.c int alen, hlen, elen; alen 545 net/ipv4/esp4.c alen = crypto_aead_authsize(aead); alen 554 net/ipv4/esp4.c if (skb_copy_bits(skb, skb->len - alen - 2, nexthdr, 2)) alen 559 net/ipv4/esp4.c if (padlen + 2 + alen >= elen) { alen 561 net/ipv4/esp4.c padlen + 2, elen - alen); alen 565 net/ipv4/esp4.c trimlen = alen + padlen + 2; alen 207 net/ipv4/esp4_offload.c int alen; alen 235 net/ipv4/esp4_offload.c alen = crypto_aead_authsize(aead); alen 243 net/ipv4/esp4_offload.c esp.tailen = esp.tfclen + esp.plen + alen; alen 688 net/ipv4/fib_frontend.c int alen; alen 696 net/ipv4/fib_frontend.c alen = nla_len(nla) - offsetof(struct rtvia, rtvia_addr); alen 700 net/ipv4/fib_frontend.c if (alen != sizeof(__be32)) { alen 709 net/ipv4/fib_frontend.c if (alen != sizeof(struct in6_addr)) { alen 1617 net/ipv4/fib_semantics.c int alen = sizeof(struct in6_addr); alen 1621 net/ipv4/fib_semantics.c nla = nla_reserve(skb, RTA_VIA, alen + 2); alen 1627 net/ipv4/fib_semantics.c memcpy(via->rtvia_addr, &nhc->nhc_gw.ipv6, alen); alen 2793 net/ipv4/route.c int alen = sizeof(struct in6_addr); alen 2797 net/ipv4/route.c nla = nla_reserve(skb, RTA_VIA, alen + 2); alen 2803 net/ipv4/route.c memcpy(via->rtvia_addr, &rt->rt_gw6, alen); alen 310 net/ipv6/esp6.c int alen; alen 332 net/ipv6/esp6.c alen = crypto_aead_authsize(aead); alen 354 net/ipv6/esp6.c assoclen + ivlen + esp->clen + alen); alen 382 net/ipv6/esp6.c assoclen + ivlen + esp->clen + alen); alen 427 net/ipv6/esp6.c int alen; alen 441 net/ipv6/esp6.c alen = crypto_aead_authsize(aead); alen 455 net/ipv6/esp6.c esp.tailen = esp.tfclen + esp.plen + alen; alen 478 net/ipv6/esp6.c int alen, hlen, elen; alen 484 net/ipv6/esp6.c alen = crypto_aead_authsize(aead); alen 493 net/ipv6/esp6.c ret = skb_copy_bits(skb, skb->len - alen - 2, nexthdr, 2); alen 498 net/ipv6/esp6.c if (padlen + 2 + alen >= elen) { alen 500 net/ipv6/esp6.c padlen + 2, elen - alen); alen 504 net/ipv6/esp6.c trimlen = alen + padlen + 2; alen 240 net/ipv6/esp6_offload.c int alen; alen 266 net/ipv6/esp6_offload.c alen = crypto_aead_authsize(aead); alen 274 net/ipv6/esp6_offload.c esp.tailen = esp.tfclen + esp.plen + alen; alen 878 net/iucv/af_iucv.c int alen, int flags) alen 885 net/iucv/af_iucv.c if (alen < sizeof(struct sockaddr_iucv) || addr->sa_family != AF_IUCV) alen 722 net/mpls/af_mpls.c int alen; alen 729 net/mpls/af_mpls.c alen = nla_len(nla) - alen 731 net/mpls/af_mpls.c if (alen > MAX_VIA_ALEN) { alen 744 net/mpls/af_mpls.c if (alen != 4) alen 749 net/mpls/af_mpls.c if (alen != 16) alen 757 net/mpls/af_mpls.c memcpy(via_addr, via->rtvia_addr, alen); alen 758 net/mpls/af_mpls.c *via_alen = alen; alen 1656 net/mpls/af_mpls.c u8 table, const void *addr, int alen) alen 1665 net/mpls/af_mpls.c nla = nla_reserve(skb, RTA_VIA, alen + 2); alen 1674 net/mpls/af_mpls.c memcpy(via->rtvia_addr, addr, alen); alen 115 net/netfilter/nft_nat.c unsigned int alen, plen; alen 144 net/netfilter/nft_nat.c alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip); alen 147 net/netfilter/nft_nat.c alen = FIELD_SIZEOF(struct nf_nat_range, min_addr.ip6); alen 157 net/netfilter/nft_nat.c err = nft_validate_register_load(priv->sreg_addr_min, alen); alen 166 net/netfilter/nft_nat.c alen); alen 189 net/netfilter/nft_tproxy.c unsigned int alen = 0; alen 221 net/netfilter/nft_tproxy.c alen = FIELD_SIZEOF(union nf_inet_addr, in); alen 228 net/netfilter/nft_tproxy.c alen = FIELD_SIZEOF(union nf_inet_addr, in6); alen 251 net/netfilter/nft_tproxy.c err = nft_validate_register_load(priv->sreg_addr, alen); alen 1062 net/netlink/af_netlink.c int alen, int flags) alen 1069 net/netlink/af_netlink.c if (alen < sizeof(addr->sa_family)) alen 1081 net/netlink/af_netlink.c if (alen < sizeof(struct sockaddr_nl)) alen 59 net/nfc/llcp_sock.c static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) alen 68 net/nfc/llcp_sock.c if (!addr || alen < offsetofend(struct sockaddr, sa_family) || alen 75 net/nfc/llcp_sock.c len = min_t(unsigned int, sizeof(llcp_addr), alen); alen 139 net/nfc/llcp_sock.c int alen) alen 148 net/nfc/llcp_sock.c if (!addr || alen < offsetofend(struct sockaddr, sa_family) || alen 155 net/nfc/llcp_sock.c len = min_t(unsigned int, sizeof(llcp_addr), alen); alen 3511 net/packet/af_packet.c if (i->alen != dev->addr_len) alen 3523 net/packet/af_packet.c if (i->alen != dev->addr_len) alen 3578 net/packet/af_packet.c ml->alen == mreq->mr_alen && alen 3579 net/packet/af_packet.c memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { alen 3589 net/packet/af_packet.c i->alen = mreq->mr_alen; alen 3590 net/packet/af_packet.c memcpy(i->addr, mreq->mr_address, i->alen); alen 3591 net/packet/af_packet.c memset(i->addr + i->alen, 0, sizeof(i->addr) - i->alen); alen 3615 net/packet/af_packet.c ml->alen == mreq->mr_alen && alen 3616 net/packet/af_packet.c memcmp(ml->addr, mreq->mr_address, ml->alen) == 0) { alen 60 net/packet/diag.c dml->pdmc_alen = ml->alen; alen 12 net/packet/internal.h unsigned short alen; alen 822 net/smc/af_smc.c int alen, int flags) alen 831 net/smc/af_smc.c if (alen < sizeof(addr->sa_family)) alen 854 net/smc/af_smc.c rc = kernel_connect(smc->clcsock, addr, alen, flags); alen 1112 net/unix/af_unix.c int alen, int flags) alen 1122 net/unix/af_unix.c if (alen < offsetofend(struct sockaddr, sa_family)) alen 1126 net/unix/af_unix.c err = unix_mkname(sunaddr, alen, &hash); alen 1129 net/unix/af_unix.c alen = err; alen 1136 net/unix/af_unix.c other = unix_find_other(net, sunaddr, alen, sock->type, hash, &err); alen 1169 sound/soc/codecs/pcm512x.c int alen; alen 1181 sound/soc/codecs/pcm512x.c alen = PCM512x_ALEN_16; alen 1184 sound/soc/codecs/pcm512x.c alen = PCM512x_ALEN_20; alen 1187 sound/soc/codecs/pcm512x.c alen = PCM512x_ALEN_24; alen 1190 sound/soc/codecs/pcm512x.c alen = PCM512x_ALEN_32; alen 1233 sound/soc/codecs/pcm512x.c PCM512x_ALEN, alen); alen 166 tools/lib/bpf/nlattr.c int hlen, alen; alen 180 tools/lib/bpf/nlattr.c alen = nlh->nlmsg_len - hlen; alen 182 tools/lib/bpf/nlattr.c if (libbpf_nla_parse(tb, NLMSGERR_ATTR_MAX, attr, alen, alen 134 tools/testing/selftests/net/ip_defrag.c static void send_fragment(int fd_raw, struct sockaddr *addr, socklen_t alen, alen 194 tools/testing/selftests/net/ip_defrag.c res = sendto(fd_raw, ip_frame, frag_len, 0, addr, alen); alen 204 tools/testing/selftests/net/ip_defrag.c socklen_t alen, bool ipv6) alen 248 tools/testing/selftests/net/ip_defrag.c send_fragment(fd_raw, addr, alen, offset, ipv6); alen 259 tools/testing/selftests/net/ip_defrag.c send_fragment(fd_raw, addr, alen, offset, ipv6); alen 264 tools/testing/selftests/net/ip_defrag.c send_fragment(fd_raw, addr, alen, offset, ipv6); alen 269 tools/testing/selftests/net/ip_defrag.c send_fragment(fd_raw, addr, alen, offset, ipv6); alen 278 tools/testing/selftests/net/ip_defrag.c send_fragment(fd_raw, addr, alen, offset, ipv6); alen 281 tools/testing/selftests/net/ip_defrag.c send_fragment(fd_raw, addr, alen, offset, ipv6); alen 315 tools/testing/selftests/net/ip_defrag.c res = sendto(fd_raw, ip_frame, frag_len, 0, addr, alen); alen 326 tools/testing/selftests/net/ip_defrag.c send_fragment(fd_raw, addr, alen, offset, ipv6); alen 329 tools/testing/selftests/net/ip_defrag.c send_fragment(fd_raw, addr, alen, offset, ipv6); alen 334 tools/testing/selftests/net/ip_defrag.c static void run_test(struct sockaddr *addr, socklen_t alen, bool ipv6) alen 357 tools/testing/selftests/net/ip_defrag.c if (bind(fd_rx_udp, addr, alen)) alen 376 tools/testing/selftests/net/ip_defrag.c send_udp_frags(fd_tx_raw, addr, alen, ipv6); alen 387 tools/testing/selftests/net/ip_defrag.c send_udp_frags(fd_tx_raw, addr, alen, ipv6); alen 203 tools/testing/selftests/net/nettest.c static int tcp_md5sig(int sd, void *addr, socklen_t alen, const char *password) alen 210 tools/testing/selftests/net/nettest.c memcpy(&md5sig.tcpm_addr, addr, alen); alen 237 tools/testing/selftests/net/nettest.c int alen; alen 244 tools/testing/selftests/net/nettest.c alen = sizeof(sin); alen 250 tools/testing/selftests/net/nettest.c alen = sizeof(sin6); alen 257 tools/testing/selftests/net/nettest.c if (tcp_md5sig(sd, addr, alen, args->password)) alen 548 tools/testing/selftests/net/nettest.c socklen_t alen = sizeof(local_addr); alen 555 tools/testing/selftests/net/nettest.c if (getsockname(sd, sa, &alen) == 0) { alen 568 tools/testing/selftests/net/nettest.c if (getpeername(sd, sa, &alen) == 0) { alen 616 tools/testing/selftests/net/nettest.c static int send_msg_no_cmsg(int sd, void *addr, socklen_t alen) alen 621 tools/testing/selftests/net/nettest.c err = sendto(sd, msg, msglen, 0, addr, alen); alen 637 tools/testing/selftests/net/nettest.c static int send_msg_cmsg(int sd, void *addr, socklen_t alen, alen 651 tools/testing/selftests/net/nettest.c m.msg_namelen = alen; alen 699 tools/testing/selftests/net/nettest.c static int send_msg(int sd, void *addr, socklen_t alen, struct sock_args *args) alen 707 tools/testing/selftests/net/nettest.c if (send_msg_cmsg(sd, addr, alen, args->ifindex, args->version)) alen 710 tools/testing/selftests/net/nettest.c if (send_msg_no_cmsg(sd, addr, alen)) alen 724 tools/testing/selftests/net/nettest.c socklen_t alen = sizeof(addr); alen 728 tools/testing/selftests/net/nettest.c .msg_namelen = alen, alen 786 tools/testing/selftests/net/nettest.c if (send_msg_cmsg(sd, addr, alen, alen 800 tools/testing/selftests/net/nettest.c (void *) addr, alen) < 0) alen 873 tools/testing/selftests/net/nettest.c static int stdin_to_socket(int sd, int type, void *addr, socklen_t alen) alen 891 tools/testing/selftests/net/nettest.c err = sendto(sd, buf, len, 0, addr, alen); alen 920 tools/testing/selftests/net/nettest.c static int msg_loop(int client, int sd, void *addr, socklen_t alen, alen 936 tools/testing/selftests/net/nettest.c if (send_msg(sd, addr, alen, args)) alen 980 tools/testing/selftests/net/nettest.c if (stdin_to_socket(sd, args->type, addr, alen) <= 0) alen 997 tools/testing/selftests/net/nettest.c if (send_msg(sd, addr, alen, args)) { alen 1079 tools/testing/selftests/net/nettest.c socklen_t alen; alen 1089 tools/testing/selftests/net/nettest.c alen = sizeof(serv_addr); alen 1096 tools/testing/selftests/net/nettest.c alen = sizeof(serv6_addr); alen 1104 tools/testing/selftests/net/nettest.c if (bind(sd, addr, alen) < 0) { alen 1167 tools/testing/selftests/net/nettest.c socklen_t alen = sizeof(addr); alen 1190 tools/testing/selftests/net/nettest.c rc = msg_loop(0, lsd, (void *) addr, alen, args); alen 1222 tools/testing/selftests/net/nettest.c csd = accept(lsd, (void *) addr, &alen); alen 1237 tools/testing/selftests/net/nettest.c rc = msg_loop(0, csd, (void *) addr, alen, args); alen 1284 tools/testing/selftests/net/nettest.c static int connectsock(void *addr, socklen_t alen, struct sock_args *args) alen 1316 tools/testing/selftests/net/nettest.c if (args->password && tcp_md5sig(sd, addr, alen, args->password)) alen 1322 tools/testing/selftests/net/nettest.c if (connect(sd, addr, alen) < 0) { alen 1349 tools/testing/selftests/net/nettest.c int alen; alen 1366 tools/testing/selftests/net/nettest.c alen = sizeof(sin); alen 1373 tools/testing/selftests/net/nettest.c alen = sizeof(sin6); alen 1380 tools/testing/selftests/net/nettest.c sd = connectsock(addr, alen, args); alen 1394 tools/testing/selftests/net/nettest.c rc = msg_loop(1, sd, addr, alen, args); alen 136 tools/testing/selftests/net/psock_snd.c const int alen = sizeof(uint32_t); alen 145 tools/testing/selftests/net/psock_snd.c udph->check = build_ip_csum(header - (2 * alen), alen, alen 216 tools/testing/selftests/net/so_txtime.c static int setup_tx(struct sockaddr *addr, socklen_t alen) alen 224 tools/testing/selftests/net/so_txtime.c if (connect(fd, addr, alen)) alen 232 tools/testing/selftests/net/so_txtime.c static int setup_rx(struct sockaddr *addr, socklen_t alen) alen 241 tools/testing/selftests/net/so_txtime.c if (bind(fd, addr, alen)) alen 250 tools/testing/selftests/net/so_txtime.c static void do_test(struct sockaddr *addr, socklen_t alen) alen 258 tools/testing/selftests/net/so_txtime.c fdt = setup_tx(addr, alen); alen 259 tools/testing/selftests/net/so_txtime.c fdr = setup_rx(addr, alen); alen 369 tools/testing/selftests/net/udpgso.c int fd, ret, alen, off = 0; alen 371 tools/testing/selftests/net/udpgso.c alen = is_ipv4 ? sizeof(addr4) : sizeof(addr6); alen 387 tools/testing/selftests/net/udpgso.c rt->rtm_dst_len = alen << 3; alen 395 tools/testing/selftests/net/udpgso.c rta->rta_len = RTA_LENGTH(alen); alen 397 tools/testing/selftests/net/udpgso.c memcpy(RTA_DATA(rta), &addr4, alen); alen 399 tools/testing/selftests/net/udpgso.c memcpy(RTA_DATA(rta), &addr6, alen); alen 452 tools/testing/selftests/net/udpgso.c struct sockaddr *addr, socklen_t alen) alen 466 tools/testing/selftests/net/udpgso.c msg.msg_namelen = alen; alen 506 tools/testing/selftests/net/udpgso.c struct sockaddr *addr, socklen_t alen) alen 522 tools/testing/selftests/net/udpgso.c sent = send_one(fdt, test->tlen, test->gso_len, addr, alen); alen 557 tools/testing/selftests/net/udpgso.c static void run_all(int fdt, int fdr, struct sockaddr *addr, socklen_t alen) alen 567 tools/testing/selftests/net/udpgso.c run_one(test, fdt, fdr, addr, alen); alen 571 tools/testing/selftests/net/udpgso.c static void run_test(struct sockaddr *addr, socklen_t alen) alen 580 tools/testing/selftests/net/udpgso.c if (bind(fdr, addr, alen)) alen 596 tools/testing/selftests/net/udpgso.c run_all(fdt, fdr, addr, alen); alen 603 tools/testing/selftests/net/udpgso.c if (connect(fdt, addr, alen)) alen 320 tools/testing/selftests/networking/timestamping/txtimestamp.c static uint16_t get_udp_csum(const struct udphdr *udph, int alen) alen 329 tools/testing/selftests/networking/timestamping/txtimestamp.c csum_start -= alen * 2; alen 330 tools/testing/selftests/networking/timestamping/txtimestamp.c csum_len = ntohs(udph->len) + alen * 2; alen 697 tools/testing/selftests/networking/timestamping/txtimestamp.c static void do_listen(int family, void *addr, int alen) alen 707 tools/testing/selftests/networking/timestamping/txtimestamp.c if (bind(fd, addr, alen))