Home
last modified time | relevance | path

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

1234

/linux-6.3-rc2/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-6.3-rc2/drivers/scsi/qla2xxx/
A Dqla_gs.c1620 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1641 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1653 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1665 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1690 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1702 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1714 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1727 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1749 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
1773 alen += FDMI_ATTR_ALIGNMENT(alen); in qla2x00_hba_attributes()
[all …]
/linux-6.3-rc2/crypto/
A Dtestmgr.h15596 .alen = 8,
15626 .alen = 0,
22082 .alen = 8,
22117 .alen = 8,
22154 .alen = 8,
22189 .alen = 8,
22206 .alen = 0,
22362 .alen = 0,
22374 .alen = 0,
22498 .alen = 0,
[all …]
/linux-6.3-rc2/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.c313 int alen; in tcp_md5_remote() local
320 alen = sizeof(sin); in tcp_md5_remote()
326 alen = sizeof(sin6); in tcp_md5_remote()
961 m.msg_namelen = alen; in send_msg_cmsg()
1043 .msg_namelen = alen, in socket_read_dgram()
1397 socklen_t alen; in bind_socket() local
1407 alen = sizeof(serv_addr); in bind_socket()
1414 alen = sizeof(serv6_addr); in bind_socket()
1746 int alen; in do_client() local
1783 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-6.3-rc2/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-6.3-rc2/drivers/net/mdio/
A Dmdio-mvusb.c35 int err, alen; in mvusb_mdio_read() local
40 mvusb->buf, 6, &alen, 100); in mvusb_mdio_read()
45 &mvusb->buf[MVUSB_CMD_VAL], 2, &alen, 100); in mvusb_mdio_read()
55 int alen; in mvusb_mdio_write() local
61 mvusb->buf, 8, &alen, 100); in mvusb_mdio_write()
/linux-6.3-rc2/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-6.3-rc2/lib/crypto/
A Daesgcm.c556 int alen; member
589 .alen = 20,
648 .alen = 20,
663 .alen = 20,
696 aesgcm_tv[i].assoc, aesgcm_tv[i].alen, in libaesgcm_init()
705 aesgcm_tv[i].alen, aesgcm_tv[i].iv, tagbuf); in libaesgcm_init()
713 aesgcm_tv[i].alen, aesgcm_tv[i].iv, tagbuf) in libaesgcm_init()
/linux-6.3-rc2/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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
A Dipsec_rxtx.c48 unsigned int alen = crypto_aead_authsize(x->data); in mlx5e_ipsec_remove_trailer() local
55 ret = skb_copy_bits(skb, skb->len - alen - 2, &plen, 1); in mlx5e_ipsec_remove_trailer()
59 trailer_len = alen + plen + 2; in mlx5e_ipsec_remove_trailer()
198 unsigned int blksize, clen, alen, plen; in mlx5e_ipsec_set_state() local
205 alen = crypto_aead_authsize(aead); in mlx5e_ipsec_set_state()
209 tailen = plen + alen; in mlx5e_ipsec_set_state()
/linux-6.3-rc2/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-6.3-rc2/fs/ntfs3/
A Dattrib.c203 *alen = vcn - vcn0; in attr_allocate_clusters()
236 CLST len, alen; in attr_make_nonresident() local
271 alen = 0; in attr_make_nonresident()
422 alen = 0; in attr_set_size()
570 alen = to_allocate; in attr_set_size()
586 done += alen; in attr_set_size()
587 vcn += alen; in attr_set_size()
831 vcn -= alen; in attr_set_size()
1048 end = vcn + alen; in attr_data_get_block()
2038 if (evcn1 >= alen) in attr_collapse_range()
[all …]
/linux-6.3-rc2/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-6.3-rc2/tools/lib/bpf/
A Dnlattr.c167 int hlen, alen; in libbpf_nla_dump_errormsg() local
181 alen = (void *)nlh + nlh->nlmsg_len - (void *)attr; in libbpf_nla_dump_errormsg()
183 if (libbpf_nla_parse(tb, NLMSGERR_ATTR_MAX, attr, alen, in libbpf_nla_dump_errormsg()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/net/ipv4/
A Desp4.c535 int alen; in esp_output_tail() local
557 alen = crypto_aead_authsize(aead); in esp_output_tail()
580 assoclen + ivlen + esp->clen + alen); in esp_output_tail()
656 int alen; in esp_output() local
670 alen = crypto_aead_authsize(aead); in esp_output()
684 esp.tailen = esp.tfclen + esp.plen + alen; in esp_output()
708 int alen, hlen, elen; in esp_remove_trailer() local
714 alen = crypto_aead_authsize(aead); in esp_remove_trailer()
723 if (padlen + 2 + alen >= elen) { in esp_remove_trailer()
725 padlen + 2, elen - alen); in esp_remove_trailer()
[all …]
/linux-6.3-rc2/net/ipv6/
A Desp6.c572 int alen; in esp6_output_tail() local
594 alen = crypto_aead_authsize(aead); in esp6_output_tail()
617 assoclen + ivlen + esp->clen + alen); in esp6_output_tail()
694 int alen; in esp6_output() local
708 alen = crypto_aead_authsize(aead); in esp6_output()
722 esp.tailen = esp.tfclen + esp.plen + alen; in esp6_output()
746 int alen, hlen, elen; in esp_remove_trailer() local
752 alen = crypto_aead_authsize(aead); in esp_remove_trailer()
761 if (padlen + 2 + alen >= elen) { in esp_remove_trailer()
763 padlen + 2, elen - alen); in esp_remove_trailer()
[all …]
/linux-6.3-rc2/drivers/usb/serial/
A Dwhiteheat.c222 int alen; in whiteheat_attach() local
246 &alen, COMMAND_TIMEOUT_MS); in whiteheat_attach()
251 } else if (alen != 2) { in whiteheat_attach()
253 serial->type->description, alen); in whiteheat_attach()
262 sizeof(*hw_info) + 1, &alen, COMMAND_TIMEOUT_MS); in whiteheat_attach()
267 } else if (alen != sizeof(*hw_info) + 1) { in whiteheat_attach()
269 serial->type->description, alen); in whiteheat_attach()
/linux-6.3-rc2/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()

Completed in 153 milliseconds

1234