Home
last modified time | relevance | path

Searched refs:clen (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/crypto/
Dtestmgr.h115 unsigned int clen; member
14576 .clen = 8 + 16,
14595 .clen = 53 + 16,
14627 .clen = 16 + 20,
14660 .clen = 32 + 20,
14692 .clen = 48 + 20,
14733 .clen = 64 + 20,
14779 .clen = 80 + 20,
14821 .clen = 64 + 20,
14864 .clen = 64 + 20,
[all …]
/kernel/linux/linux-5.10/fs/ocfs2/
Dreservations.c284 unsigned int clen, char *disk_bitmap) in ocfs2_resmap_restart() argument
292 resmap->m_bitmap_len = clen; in ocfs2_resmap_restart()
467 unsigned int cstart, clen; in __ocfs2_resv_find_window() local
488 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
490 &cstart, &clen); in __ocfs2_resv_find_window()
496 BUG_ON(goal == 0 && clen == 0); in __ocfs2_resv_find_window()
498 if (clen == 0) in __ocfs2_resv_find_window()
502 resv->r_len = clen; in __ocfs2_resv_find_window()
541 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
543 &cstart, &clen); in __ocfs2_resv_find_window()
[all …]
Dreservations.h103 unsigned int clen, char *disk_bitmap);
130 int *cstart, int *clen);
149 u32 cstart, u32 clen);
Dextent_map.c870 u32 cpos, cend, clen, hole_size; in ocfs2_seek_data_hole_offset() local
896 clen = 0; in ocfs2_seek_data_hole_offset()
912 clen = hole_size; in ocfs2_seek_data_hole_offset()
915 clen = le16_to_cpu(rec.e_leaf_clusters) - in ocfs2_seek_data_hole_offset()
928 cpos += clen; in ocfs2_seek_data_hole_offset()
934 extlen = clen; in ocfs2_seek_data_hole_offset()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Dvsprintf.c245 size_t len, clen; in utf16s_utf8nlen() local
247 for (len = 0; len < maxlen && *s16; len += clen) { in utf16s_utf8nlen()
251 clen = 1 + (c0 >= 0x80) + (c0 >= 0x800); in utf16s_utf8nlen()
252 if (len + clen > maxlen) in utf16s_utf8nlen()
261 if (len + clen == maxlen) in utf16s_utf8nlen()
265 ++clen; in utf16s_utf8nlen()
511 size_t clen; in vsnprintf() local
519 clen = 1 + (c32 >= 0x800) + (c32 >= 0x10000); in vsnprintf()
521 len -= clen; in vsnprintf()
526 pos += clen; in vsnprintf()
[all …]
Defi-stub-helper.c50 size_t clen, i; in utf8_to_utf32() local
57 for (clen = 0; cx & 0x80; ++clen) in utf8_to_utf32()
65 if (clen < 2 || clen > 4) in utf8_to_utf32()
68 c32 = cx >> clen--; in utf8_to_utf32()
69 for (i = 0; i < clen; ++i) { in utf8_to_utf32()
84 clen != (c32 >= 0x80) + (c32 >= 0x800) + (c32 >= 0x10000)) in utf8_to_utf32()
86 *s8 += clen; in utf8_to_utf32()
/kernel/linux/linux-5.10/mm/
Dearly_ioremap.c256 unsigned long slop, clen; in copy_from_early_mem() local
261 clen = size; in copy_from_early_mem()
262 if (clen > MAX_MAP_CHUNK - slop) in copy_from_early_mem()
263 clen = MAX_MAP_CHUNK - slop; in copy_from_early_mem()
264 p = early_memremap(src & PAGE_MASK, clen + slop); in copy_from_early_mem()
265 memcpy(dest, p + slop, clen); in copy_from_early_mem()
266 early_memunmap(p, clen + slop); in copy_from_early_mem()
267 dest += clen; in copy_from_early_mem()
268 src += clen; in copy_from_early_mem()
269 size -= clen; in copy_from_early_mem()
/kernel/linux/linux-5.10/fs/ubifs/
Dcrypto.c58 unsigned int clen = le16_to_cpu(dn->compr_size); in ubifs_decrypt() local
61 if (clen <= 0 || clen > UBIFS_BLOCK_SIZE || clen > dlen) { in ubifs_decrypt()
62 ubifs_err(c, "bad compr_size: %i", clen); in ubifs_decrypt()
74 *out_len = clen; in ubifs_decrypt()
/kernel/linux/linux-5.10/fs/f2fs/
Dcompress.c185 cc->clen = lzo1x_worst_compress(PAGE_SIZE << cc->log_cluster_size); in lzo_init_compress_ctx()
200 &cc->clen, cc->private); in lzo_compress_pages()
213 ret = lzo1x_decompress_safe(dic->cbuf->cdata, dic->clen, in lzo_decompress_pages()
253 cc->clen = cc->rlen - PAGE_SIZE - COMPRESS_HEADER_SIZE; in lz4_init_compress_ctx()
268 cc->clen, cc->private); in lz4_compress_pages()
272 cc->clen = len; in lz4_compress_pages()
281 dic->clen, dic->rlen); in lz4_decompress_pages()
337 cc->clen = cc->rlen - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_init_compress_ctx()
388 cc->clen = outbuf.pos; in zstd_compress_pages()
438 inbuf.size = dic->clen; in zstd_decompress_pages()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
Dtables.c605 phys_addr_t slop, clen; in acpi_table_upgrade() local
612 clen = size; in acpi_table_upgrade()
613 if (clen > MAP_CHUNK_SIZE - slop) in acpi_table_upgrade()
614 clen = MAP_CHUNK_SIZE - slop; in acpi_table_upgrade()
616 clen + slop); in acpi_table_upgrade()
617 memcpy(dest_p + slop, src_p, clen); in acpi_table_upgrade()
618 early_memunmap(dest_p, clen + slop); in acpi_table_upgrade()
619 src_p += clen; in acpi_table_upgrade()
620 dest_addr += clen; in acpi_table_upgrade()
621 size -= clen; in acpi_table_upgrade()
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/
Ddeclance.c332 unsigned short clen; in cp_to_buf() local
339 clen = len >> 1; in cp_to_buf()
343 while (clen--) { in cp_to_buf()
348 clen = len & 1; in cp_to_buf()
351 while (clen--) { in cp_to_buf()
358 clen = len >> 4; in cp_to_buf()
361 while (clen--) { in cp_to_buf()
376 clen = len & 15; in cp_to_buf()
379 while (clen--) { in cp_to_buf()
391 unsigned short clen; in cp_from_buf() local
[all …]
/kernel/linux/linux-5.10/drivers/crypto/
Domap-aes-gcm.c45 int alen, clen, i, ret = 0, nsg; in omap_aes_gcm_done_task() local
49 clen = ALIGN(dd->total, AES_BLOCK_SIZE); in omap_aes_gcm_done_task()
73 omap_crypto_cleanup(&dd->in_sgl[nsg], NULL, 0, clen, in omap_aes_gcm_done_task()
91 int alen, clen, cryptlen, assoclen, ret; in omap_aes_gcm_copy_buffers() local
108 clen = ALIGN(cryptlen, 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()
169 dd->out_sg_len = sg_nents_for_len(dd->out_sg, clen); in omap_aes_gcm_copy_buffers()
Dmxs-dcp.c315 unsigned int i, len, clen, tlen = 0; in mxs_dcp_aes_block_crypt() local
344 clen = out_off - actx->fill; in mxs_dcp_aes_block_crypt()
346 clen = len; in mxs_dcp_aes_block_crypt()
348 memcpy(in_buf + actx->fill, src_buf, clen); in mxs_dcp_aes_block_crypt()
349 len -= clen; in mxs_dcp_aes_block_crypt()
350 src_buf += clen; in mxs_dcp_aes_block_crypt()
351 actx->fill += clen; in mxs_dcp_aes_block_crypt()
629 unsigned int i, len, clen, oft = 0; in dcp_sha_req_to_buf() local
641 clen = DCP_BUF_SZ - actx->fill; in dcp_sha_req_to_buf()
643 clen = len; in dcp_sha_req_to_buf()
[all …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dvio.c299 int err, tlen, clen; in vio_create_one() local
320 compat = mdesc_get_property(hp, mp, "device-type", &clen); in vio_create_one()
322 clen = 0; in vio_create_one()
323 } else if (clen > VIO_MAX_COMPAT_LEN) { in vio_create_one()
325 clen, type); in vio_create_one()
338 memcpy(vdev->compat, compat, clen); in vio_create_one()
341 vdev->compat_len = clen; in vio_create_one()
/kernel/linux/linux-5.10/drivers/tty/
Dn_gsm.c1016 u32 modem, int clen) in gsm_process_modem() argument
1027 if (clen == 2) in gsm_process_modem()
1077 static void gsm_control_modem(struct gsm_mux *gsm, const u8 *data, int clen) in gsm_control_modem() argument
1083 int len = clen; in gsm_control_modem()
1119 gsm_process_modem(tty, dlci, modem, clen); in gsm_control_modem()
1124 gsm_control_reply(gsm, CMD_MSC, data, clen); in gsm_control_modem()
1138 static void gsm_control_rls(struct gsm_mux *gsm, const u8 *data, int clen) in gsm_control_rls() argument
1143 int len = clen; in gsm_control_rls()
1175 gsm_control_reply(gsm, CMD_RLS, data, clen); in gsm_control_rls()
1193 const u8 *data, int clen) in gsm_control_message() argument
[all …]
/kernel/linux/linux-5.10/net/mac80211/
Dscan.c65 int clen, srlen; in ieee80211_update_bss_from_elems() local
98 clen = IEEE80211_MAX_SUPP_RATES; in ieee80211_update_bss_from_elems()
99 if (clen > elems->supp_rates_len) in ieee80211_update_bss_from_elems()
100 clen = elems->supp_rates_len; in ieee80211_update_bss_from_elems()
101 memcpy(bss->supp_rates, elems->supp_rates, clen); in ieee80211_update_bss_from_elems()
102 srlen += clen; in ieee80211_update_bss_from_elems()
105 clen = IEEE80211_MAX_SUPP_RATES - srlen; in ieee80211_update_bss_from_elems()
106 if (clen > elems->ext_supp_rates_len) in ieee80211_update_bss_from_elems()
107 clen = elems->ext_supp_rates_len; in ieee80211_update_bss_from_elems()
109 clen); in ieee80211_update_bss_from_elems()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/carl9170/
Drx.c877 unsigned int tlen, wlen = 0, clen = 0; in carl9170_rx_stream() local
886 clen = le16_to_cpu(rx_stream->length); in carl9170_rx_stream()
887 wlen = ALIGN(clen, 4); in carl9170_rx_stream()
963 ar->rx_failover_missing = clen - tlen; in carl9170_rx_stream()
966 __carl9170_rx(ar, rx_stream->payload, clen); in carl9170_rx_stream()
985 "data:%d, rx:%d, pending:%d ]\n", clen, wlen, tlen, in carl9170_rx_stream()
/kernel/linux/linux-5.10/include/linux/netfilter/
Dnf_conntrack_sip.h66 unsigned int clen; member
78 .clen = (__cname) ? sizeof(__cname) - 1 : 0, \
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_hw.c325 struct prestera_msg_cmd *cmd, size_t clen, in __prestera_cmd_ret() argument
334 err = dev->send_req(dev, cmd, clen, ret, rlen, waitms); in __prestera_cmd_ret()
348 struct prestera_msg_cmd *cmd, size_t clen, in prestera_cmd_ret() argument
351 return __prestera_cmd_ret(sw, type, cmd, clen, ret, rlen, 0); in prestera_cmd_ret()
356 struct prestera_msg_cmd *cmd, size_t clen, in prestera_cmd_ret_wait() argument
360 return __prestera_cmd_ret(sw, type, cmd, clen, ret, rlen, waitms); in prestera_cmd_ret_wait()
365 struct prestera_msg_cmd *cmd, size_t clen) in prestera_cmd() argument
369 return prestera_cmd_ret(sw, type, cmd, clen, &resp.ret, sizeof(resp)); in prestera_cmd()
/kernel/linux/linux-5.10/drivers/scsi/
Dgdth_ioctl.h89 u32 clen; /* SCSI cmd. length(6,10,12) */ member
108 u32 clen; /* SCSI cmd. length(6,..,16) */ member
/kernel/linux/linux-5.10/drivers/macintosh/
Dsmu.c918 unsigned int clen = min(len, chunk); in smu_read_datablock() local
930 params[6] = clen; in smu_read_datablock()
938 if (cmd.reply_len != clen) { in smu_read_datablock()
941 cmd.reply_len, clen); in smu_read_datablock()
944 len -= clen; in smu_read_datablock()
945 addr += clen; in smu_read_datablock()
946 dest += clen; in smu_read_datablock()
/kernel/linux/linux-5.10/include/net/
Desp.h38 int clen; member
/kernel/linux/linux-5.10/drivers/scsi/fcoe/
Dfcoe_transport.c313 unsigned long off, len, clen; in fcoe_fc_crc() local
324 clen = min(len, PAGE_SIZE - (off & ~PAGE_MASK)); in fcoe_fc_crc()
327 crc = crc32(crc, data + (off & ~PAGE_MASK), clen); in fcoe_fc_crc()
329 off += clen; in fcoe_fc_crc()
330 len -= clen; in fcoe_fc_crc()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
Ddfs.c340 int clen = datalen - 3; in ath9k_dfs_process_phyerr() local
341 pe.chirp = ath9k_check_chirping(sc, data, clen, is_ctl, is_ext); in ath9k_dfs_process_phyerr()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec_rxtx.c250 unsigned int blksize, clen, alen, plen; in mlx5e_ipsec_set_state() local
260 clen = ALIGN(skb->len + 2, blksize); in mlx5e_ipsec_set_state()
261 plen = max_t(u32, clen - skb->len, 4); in mlx5e_ipsec_set_state()

12