Home
last modified time | relevance | path

Searched refs:alen (Results 1 – 25 of 78) sorted by relevance

1234

/linux/ipc/
A Dmsgutil.c50 size_t alen; in alloc_msg() local
52 alen = min(len, DATALEN_MSG); in alloc_msg()
60 len -= alen; in alloc_msg()
74 len -= alen; in alloc_msg()
89 size_t alen; in load_msg() local
95 alen = min(len, DATALEN_MSG); in load_msg()
100 len -= alen; in load_msg()
122 size_t alen; in copy_msg() local
134 len -= alen; in copy_msg()
152 size_t alen; in store_msg() local
[all …]
/linux/crypto/
A Dtestmgr.h19551 .alen = 8,
19586 .alen = 8,
19623 .alen = 8,
19658 .alen = 8,
19675 .alen = 0,
19831 .alen = 0,
19843 .alen = 0,
19967 .alen = 0,
19980 .alen = 0,
20884 .alen = 0,
[all …]
/linux/drivers/scsi/qla2xxx/
A Dqla_gs.c1621 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1642 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1654 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1666 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1691 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1703 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1715 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1728 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1750 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1774 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
[all …]
/linux/tools/testing/selftests/net/
A Dip_defrag.c204 socklen_t alen, bool ipv6) in send_udp_frags() argument
248 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags()
259 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags()
264 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags()
269 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags()
278 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags()
281 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags()
326 send_fragment(fd_raw, addr, alen, offset, ipv6); in send_udp_frags()
357 if (bind(fd_rx_udp, addr, alen)) in run_test()
376 send_udp_frags(fd_tx_raw, addr, alen, ipv6); in run_test()
[all …]
A Dnettest.c308 int alen; in tcp_md5_remote() local
315 alen = sizeof(sin); in tcp_md5_remote()
321 alen = sizeof(sin6); in tcp_md5_remote()
903 m.msg_namelen = alen; in send_msg_cmsg()
980 .msg_namelen = alen, in socket_read_dgram()
1331 socklen_t alen; in bind_socket() local
1341 alen = sizeof(serv_addr); in bind_socket()
1348 alen = sizeof(serv6_addr); in bind_socket()
1671 int alen; in do_client() local
1708 alen = sizeof(sin); in do_client()
[all …]
A Dudpgso.c369 int fd, ret, alen, off = 0; in set_route_mtu() local
387 rt->rtm_dst_len = alen << 3; in set_route_mtu()
395 rta->rta_len = RTA_LENGTH(alen); in set_route_mtu()
397 memcpy(RTA_DATA(rta), &addr4, alen); in set_route_mtu()
399 memcpy(RTA_DATA(rta), &addr6, alen); in set_route_mtu()
466 msg.msg_namelen = alen; in send_one()
506 struct sockaddr *addr, socklen_t alen) in run_one() argument
567 run_one(test, fdt, fdr, addr, alen); in run_all()
580 if (bind(fdr, addr, alen)) in run_test()
596 run_all(fdt, fdr, addr, alen); in run_test()
[all …]
A Dso_txtime.c284 static int setup_tx(struct sockaddr *addr, socklen_t alen) in setup_tx() argument
292 if (connect(fd, addr, alen)) in setup_tx()
304 static int setup_rx(struct sockaddr *addr, socklen_t alen) in setup_rx() argument
313 if (bind(fd, addr, alen)) in setup_rx()
322 static void do_test_tx(struct sockaddr *addr, socklen_t alen) in do_test_tx() argument
330 fdt = setup_tx(addr, alen); in do_test_tx()
344 static void do_test_rx(struct sockaddr *addr, socklen_t alen) in do_test_rx() argument
348 fdr = setup_rx(addr, alen); in do_test_rx()
/linux/drivers/media/pci/ngene/
A Dngene-dvb.c257 u32 alen; in tsout_exchange() local
259 alen = dvb_ringbuffer_avail(&dev->tsout_rbuf); in tsout_exchange()
260 alen -= alen % 188; in tsout_exchange()
262 if (alen < len) in tsout_exchange()
263 FillTSBuffer(buf + alen, len - alen, flags); in tsout_exchange()
265 alen = len; in tsout_exchange()
266 dvb_ringbuffer_read(&dev->tsout_rbuf, buf, alen); in tsout_exchange()
268 swap_buffer((u32 *)buf, alen); in tsout_exchange()
/linux/drivers/net/mdio/
A Dmdio-mvusb.c35 int err, alen; in mvusb_mdio_read() local
43 mvusb->buf, 6, &alen, 100); in mvusb_mdio_read()
48 &mvusb->buf[MVUSB_CMD_VAL], 2, &alen, 100); in mvusb_mdio_read()
58 int alen; in mvusb_mdio_write() local
67 mvusb->buf, 8, &alen, 100); in mvusb_mdio_write()
/linux/drivers/spi/
A Dspi-falcon.c105 unsigned int len, alen, dumlen; in falcon_sflash_xfer() local
175 alen = 0; in falcon_sflash_xfer()
178 if (alen < 3) { in falcon_sflash_xfer()
180 alen++; in falcon_sflash_xfer()
194 priv->sfcmd |= (alen << SFCMD_ALEN_OFFSET) | in falcon_sflash_xfer()
196 if (alen > 0) in falcon_sflash_xfer()
201 alen, val, dumlen); in falcon_sflash_xfer()
/linux/fs/ubifs/
A Dlpt_commit.c223 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
224 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
267 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
287 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
302 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
303 upd_ltab(c, lnum, c->leb_size - alen, alen - offs); in layout_cnodes()
304 dbg_chk_lpt_sz(c, 4, alen - offs); in layout_cnodes()
305 err = dbg_chk_lpt_sz(c, 3, alen); in layout_cnodes()
407 alen); in write_cnodes()
512 alen = ALIGN(wlen, c->min_io_size); in write_cnodes()
[all …]
A Dlpt.c703 set_ltab(c, lnum, c->leb_size - alen, alen - len); in ubifs_create_dflt_lpt()
704 memset(p, 0xff, alen - len); in ubifs_create_dflt_lpt()
737 alen - len); in ubifs_create_dflt_lpt()
738 memset(p, 0xff, alen - len); in ubifs_create_dflt_lpt()
784 set_ltab(c, lnum, c->leb_size - alen, alen - len); in ubifs_create_dflt_lpt()
785 memset(p, 0xff, alen - len); in ubifs_create_dflt_lpt()
809 set_ltab(c, lnum, c->leb_size - alen, alen - len); in ubifs_create_dflt_lpt()
810 memset(p, 0xff, alen - len); in ubifs_create_dflt_lpt()
823 alen = ALIGN(len, c->min_io_size); in ubifs_create_dflt_lpt()
824 set_ltab(c, lnum, c->leb_size - alen, alen - len); in ubifs_create_dflt_lpt()
[all …]
/linux/drivers/net/wireless/intersil/p54/
A Dp54usb.c398 int alen; in p54u_write() local
419 int alen, err; in p54u_read() local
430 read, sizeof(*read), &alen, 1000); in p54u_read()
435 reg, sizeof(*reg), &alen, 1000); in p54u_read()
446 int alen; in p54u_bulk_msg() local
448 data, len, &alen, 2000); in p54u_bulk_msg()
500 int err, alen; in p54u_upload_firmware_3887() local
610 if (alen > 0 && buf[0] == 'g') in p54u_upload_firmware_3887()
630 int err, alen; in p54u_upload_firmware_net2280() local
832 buf, sizeof(__le32), &alen, 1000); in p54u_upload_firmware_net2280()
[all …]
/linux/fs/ntfs3/
A Dattrib.c210 *alen = vcn - vcn0; in attr_allocate_clusters()
243 CLST len, alen; in attr_make_nonresident() local
278 alen = 0; in attr_make_nonresident()
557 alen = to_allocate; in attr_set_size()
573 done += alen; in attr_set_size()
574 vcn += alen; in attr_set_size()
576 to_allocate -= alen; in attr_set_size()
674 alen = 0; in attr_set_size()
1850 if (evcn1 >= alen) in attr_collapse_range()
1872 if (evcn1 >= alen) in attr_collapse_range()
[all …]
/linux/drivers/scsi/bfa/
A Dbfi.h862 struct bfi_alen_s alen; member
897 struct bfi_alen_s alen; member
915 struct bfi_alen_s alen; member
934 struct bfi_alen_s alen; member
1036 struct bfi_alen_s alen; /* 12 bytes */ member
1197 struct bfi_alen_s alen; member
1207 struct bfi_alen_s alen; member
1220 struct bfi_alen_s alen; member
1232 struct bfi_alen_s alen; member
1294 struct bfi_alen_s alen; member
[all …]
/linux/tools/lib/bpf/
A Dnlattr.c167 int hlen, alen; in libbpf_nla_dump_errormsg() local
181 alen = nlh->nlmsg_len - hlen; in libbpf_nla_dump_errormsg()
183 if (libbpf_nla_parse(tb, NLMSGERR_ATTR_MAX, attr, alen, in libbpf_nla_dump_errormsg()
/linux/drivers/crypto/
A Domap-aes-gcm.c45 int alen, clen, i, ret = 0, nsg; in omap_aes_gcm_done_task() local
48 alen = ALIGN(dd->assoc_len, AES_BLOCK_SIZE); in omap_aes_gcm_done_task()
70 omap_crypto_cleanup(&dd->in_sgl[0], NULL, 0, alen, in omap_aes_gcm_done_task()
91 int alen, clen, cryptlen, assoclen, ret; in omap_aes_gcm_copy_buffers() local
107 alen = ALIGN(assoclen, AES_BLOCK_SIZE); in omap_aes_gcm_copy_buffers()
168 dd->in_sg_len = sg_nents_for_len(dd->in_sg, alen + clen); in omap_aes_gcm_copy_buffers()
/linux/net/netfilter/
A Dnft_nat.c169 unsigned int alen, plen; in nft_nat_init() local
198 alen = sizeof_field(struct nf_nat_range, min_addr.ip); in nft_nat_init()
201 alen = sizeof_field(struct nf_nat_range, min_addr.ip6); in nft_nat_init()
212 &priv->sreg_addr_min, alen); in nft_nat_init()
219 alen); in nft_nat_init()
A Dnft_tproxy.c196 unsigned int alen = 0; in nft_tproxy_init() local
228 alen = sizeof_field(union nf_inet_addr, in); in nft_tproxy_init()
235 alen = sizeof_field(union nf_inet_addr, in6); in nft_tproxy_init()
258 &priv->sreg_addr, alen); in nft_tproxy_init()
/linux/net/ipv6/
A Desp6.c568 int alen; in esp6_output_tail() local
590 alen = crypto_aead_authsize(aead); in esp6_output_tail()
613 assoclen + ivlen + esp->clen + alen); in esp6_output_tail()
690 int alen; in esp6_output() local
704 alen = crypto_aead_authsize(aead); in esp6_output()
718 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_output()
743 int alen, hlen, elen; in esp_remove_trailer() local
749 alen = crypto_aead_authsize(aead); in esp_remove_trailer()
763 if (padlen + 2 + alen >= elen) { in esp_remove_trailer()
765 padlen + 2, elen - alen); in esp_remove_trailer()
[all …]
/linux/net/ipv4/
A Desp4.c532 int alen; in esp_output_tail() local
554 alen = crypto_aead_authsize(aead); in esp_output_tail()
577 assoclen + ivlen + esp->clen + alen); in esp_output_tail()
653 int alen; in esp_output() local
667 alen = crypto_aead_authsize(aead); in esp_output()
681 esp.tailen = esp.tfclen + esp.plen + alen; in esp_output()
706 int alen, hlen, elen; in esp_remove_trailer() local
712 alen = crypto_aead_authsize(aead); in esp_remove_trailer()
726 if (padlen + 2 + alen >= elen) { in esp_remove_trailer()
728 padlen + 2, elen - alen); in esp_remove_trailer()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec_rxtx.c111 unsigned int alen = crypto_aead_authsize(x->data); in mlx5e_ipsec_remove_trailer() local
118 ret = skb_copy_bits(skb, skb->len - alen - 2, &plen, 1); in mlx5e_ipsec_remove_trailer()
122 trailer_len = alen + plen + 2; in mlx5e_ipsec_remove_trailer()
286 unsigned int blksize, clen, alen, plen; in mlx5e_ipsec_set_state() local
294 alen = crypto_aead_authsize(aead); in mlx5e_ipsec_set_state()
298 tailen = plen + alen; in mlx5e_ipsec_set_state()
/linux/drivers/usb/serial/
A Dwhiteheat.c225 int alen; in whiteheat_attach() local
249 &alen, COMMAND_TIMEOUT_MS); in whiteheat_attach()
254 } else if (alen != 2) { in whiteheat_attach()
256 serial->type->description, alen); in whiteheat_attach()
265 sizeof(*hw_info) + 1, &alen, COMMAND_TIMEOUT_MS); in whiteheat_attach()
270 } else if (alen != sizeof(*hw_info) + 1) { in whiteheat_attach()
272 serial->type->description, alen); in whiteheat_attach()
/linux/drivers/media/usb/gspca/
A Dstk014.c92 int alen, ret; in rcv_val() local
109 &alen, in rcv_val()
123 int alen, ret; in snd_val() local
152 &alen, in snd_val()
/linux/fs/fat/
A Dnamei_vfat.c159 unsigned int alen, blen; in vfat_cmpi() local
162 alen = vfat_striptail_len(name); in vfat_cmpi()
164 if (alen == blen) { in vfat_cmpi()
165 if (nls_strnicmp(t, name->name, str, alen) == 0) in vfat_cmpi()
177 unsigned int alen, blen; in vfat_cmp() local
180 alen = vfat_striptail_len(name); in vfat_cmp()
182 if (alen == blen) { in vfat_cmp()
183 if (strncmp(name->name, str, alen) == 0) in vfat_cmp()

Completed in 85 milliseconds

1234