Home
last modified time | relevance | path

Searched refs:totallen (Results 1 – 20 of 20) sorted by relevance

/kernel/liteos_a/fs/vfs/operation/
Dvfs_writev.c41 static int iov_trans_to_buf(char *buf, ssize_t totallen, const struct iovec *iov, int iovcnt) in iov_trans_to_buf() argument
56 if (totallen == 0) { in iov_trans_to_buf()
60 bytestowrite = (totallen < bytestowrite) ? totallen : bytestowrite; in iov_trans_to_buf()
73 totallen -= bytestowrite; in iov_trans_to_buf()
86 size_t totallen; in vfs_writev() local
104 totallen = buflen * sizeof(char); in vfs_writev()
106 buf = (char *)LOS_VMalloc(totallen); in vfs_writev()
108 buf = (char *)malloc(totallen); in vfs_writev()
114 ret = iov_trans_to_buf(buf, totallen, iov, iovcnt); in vfs_writev()
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/
Dsfi.c76 int totallen; in sfi_parse_mtmr() local
83 totallen = sfi_mtimer_num * sizeof(*pentry); in sfi_parse_mtmr()
84 memcpy(sfi_mtimer_array, pentry, totallen); in sfi_parse_mtmr()
89 for (totallen = 0; totallen < sfi_mtimer_num; totallen++, pentry++) { in sfi_parse_mtmr()
91 totallen, (u32)pentry->phys_addr, in sfi_parse_mtmr()
148 int totallen; in sfi_parse_mrtc() local
155 totallen = sfi_mrtc_num * sizeof(*pentry); in sfi_parse_mrtc()
156 memcpy(sfi_mrtc_array, pentry, totallen); in sfi_parse_mrtc()
161 for (totallen = 0; totallen < sfi_mrtc_num; totallen++, pentry++) { in sfi_parse_mrtc()
163 totallen, (u32)pentry->phys_addr, pentry->irq); in sfi_parse_mrtc()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dfw.c427 u32 totallen = 0, len = 0, tx_desclen = 0; in _rtl92s_fill_h2c_cmd() local
437 if (h2cbufferlen < totallen + len + tx_desclen) in _rtl92s_fill_h2c_cmd()
442 memset((ph2c_buffer + totallen + tx_desclen), 0, len); in _rtl92s_fill_h2c_cmd()
445 le32p_replace_bits((__le32 *)(ph2c_buffer + totallen + in _rtl92s_fill_h2c_cmd()
450 le32p_replace_bits((__le32 *)(ph2c_buffer + totallen + in _rtl92s_fill_h2c_cmd()
456 le32p_replace_bits((__le32 *)(ph2c_buffer + totallen + in _rtl92s_fill_h2c_cmd()
462 memcpy((ph2c_buffer + totallen + tx_desclen + in _rtl92s_fill_h2c_cmd()
472 pre_continueoffset = totallen; in _rtl92s_fill_h2c_cmd()
474 totallen += len; in _rtl92s_fill_h2c_cmd()
477 return totallen; in _rtl92s_fill_h2c_cmd()
[all …]
/kernel/linux/linux-5.10/drivers/usb/storage/
Djumpshot.c161 unsigned int totallen, alloclen; in jumpshot_read_data() local
174 totallen = sectors * info->ssize; in jumpshot_read_data()
180 alloclen = min(totallen, 65536u); in jumpshot_read_data()
188 len = min(totallen, alloclen); in jumpshot_read_data()
218 totallen -= len; in jumpshot_read_data()
219 } while (totallen > 0); in jumpshot_read_data()
238 unsigned int totallen, alloclen; in jumpshot_write_data() local
251 totallen = sectors * info->ssize; in jumpshot_write_data()
257 alloclen = min(totallen, 65536u); in jumpshot_write_data()
266 len = min(totallen, alloclen); in jumpshot_write_data()
[all …]
Ddatafab.c143 unsigned int totallen, alloclen; in datafab_read_data() local
162 totallen = sectors * info->ssize; in datafab_read_data()
168 alloclen = min(totallen, 65536u); in datafab_read_data()
177 len = min(totallen, alloclen); in datafab_read_data()
206 totallen -= len; in datafab_read_data()
207 } while (totallen > 0); in datafab_read_data()
227 unsigned int totallen, alloclen; in datafab_write_data() local
246 totallen = sectors * info->ssize; in datafab_write_data()
252 alloclen = min(totallen, 65536u); in datafab_write_data()
261 len = min(totallen, alloclen); in datafab_write_data()
[all …]
Dshuttle_usbat.c1124 unsigned int totallen, alloclen; in usbat_flash_read_data() local
1143 totallen = sectors * info->ssize; in usbat_flash_read_data()
1151 alloclen = min(totallen, 65536u); in usbat_flash_read_data()
1161 len = min(totallen, alloclen); in usbat_flash_read_data()
1184 totallen -= len; in usbat_flash_read_data()
1185 } while (totallen > 0); in usbat_flash_read_data()
1215 unsigned int totallen, alloclen; in usbat_flash_write_data() local
1234 totallen = sectors * info->ssize; in usbat_flash_write_data()
1242 alloclen = min(totallen, 65536u); in usbat_flash_write_data()
1252 len = min(totallen, alloclen); in usbat_flash_write_data()
[all …]
/kernel/linux/linux-5.10/drivers/cpufreq/
Dsfi-cpufreq.c27 int totallen; in sfi_parse_freq() local
38 totallen = num_freq_table_entries * sizeof(*pentry); in sfi_parse_freq()
40 sfi_cpufreq_array = kmemdup(pentry, totallen, GFP_KERNEL); in sfi_parse_freq()
/kernel/linux/linux-5.10/drivers/mtd/parsers/
Dparser_imagetag.c69 unsigned int rootfslen, kernellen, sparelen, totallen; in bcm963xx_parse_imagetag_partitions() local
110 if (kstrtouint(buf->total_length, 10, &totallen)) { in bcm963xx_parse_imagetag_partitions()
130 spareaddr = roundup(totallen, master->erasesize); in bcm963xx_parse_imagetag_partitions()
/kernel/linux/linux-5.10/drivers/crypto/qce/
Dcommon.c143 u32 totallen, u32 offset) in qce_setup_regs_ahash() argument
309 u32 totallen, u32 offset) in qce_setup_regs_skcipher() argument
378 qce_write(qce, REG_SEG_SIZE, totallen); in qce_setup_regs_skcipher()
390 int qce_start(struct crypto_async_request *async_req, u32 type, u32 totallen, in qce_start() argument
396 return qce_setup_regs_skcipher(async_req, totallen, offset); in qce_start()
400 return qce_setup_regs_ahash(async_req, totallen, offset); in qce_start()
Dcommon.h97 int qce_start(struct crypto_async_request *async_req, u32 type, u32 totallen,
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dpmac_pfunc.h82 int (*rmw_i2c)(PMF_STD_ARGS, u32 masklen, u32 valuelen, u32 totallen,
88 u32 totallen, const u8 *maskdata, const u8 *valuedata);
94 u32 totallen, const u8 *maskdata,
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
Dlow_i2c.c1313 u32 totallen, const u8 *maskdata, in pmac_i2c_do_rmw() argument
1319 totallen > inst->bytes || valuelen > masklen) in pmac_i2c_do_rmw()
1325 inst->scratch, totallen); in pmac_i2c_do_rmw()
1354 u32 valuelen, u32 totallen, const u8 *maskdata, in pmac_i2c_do_rmw_sub() argument
1360 totallen > inst->bytes || valuelen > masklen) in pmac_i2c_do_rmw_sub()
1366 subaddr, inst->scratch, totallen); in pmac_i2c_do_rmw_sub()
/kernel/linux/linux-5.10/fs/nfs/blocklayout/
Dblocklayout.h165 u16 totallen; /* length of entire message, including hdr itself */ member
Drpc_pipefs.c83 bl_msg->totallen = b->simple.len; in bl_resolve_deviceid()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_attr_leaf.c1679 int totallen; in xfs_attr3_leaf_rebalance() local
1726 &count, &totallen); in xfs_attr3_leaf_rebalance()
1739 space = ichdr1.usedbytes - totallen; in xfs_attr3_leaf_rebalance()
1768 space = totallen - ichdr1.usedbytes; in xfs_attr3_leaf_rebalance()
1871 int totallen = 0; in xfs_attr3_leaf_figure_balance() local
1895 tmp = totallen + sizeof(*entry) + in xfs_attr3_leaf_figure_balance()
1900 totallen = tmp; in xfs_attr3_leaf_figure_balance()
1916 tmp = totallen + sizeof(*entry) + xfs_attr_leaf_entsize(leaf1, in xfs_attr3_leaf_figure_balance()
1921 totallen = tmp; in xfs_attr3_leaf_figure_balance()
1929 totallen -= count * sizeof(*entry); in xfs_attr3_leaf_figure_balance()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
Di40iw_puda.h92 u32 totallen; /* machlen+iphlen+tcphlen+datalen */ member
Di40iw_puda.c453 info.len = buf->totallen; in i40iw_puda_send_buf()
1088 txbuf->totallen = buf->hdrlen + fpdu_len; in i40iw_ieq_compl_pfpdu()
1216 txbuf->mem.va, txbuf->totallen); in i40iw_ieq_handle_partial()
1301 txbuf->totallen = buf->hdrlen + length; in i40iw_ieq_process_buf()
Di40iw_utils.c1446 buf->totallen = pkt_len + buf->maclen; in i40iw_puda_get_tcpip_info()
1448 if (info->payload_len < buf->totallen) { in i40iw_puda_get_tcpip_info()
1450 info->payload_len, buf->totallen); in i40iw_puda_get_tcpip_info()
Di40iw_cm.c418 sqbuf->totallen = packetsize + eth_hlen; in i40iw_form_cm_frame()
3145 rbuf->totallen); in i40iw_receive_ilq()
/kernel/linux/linux-5.10/net/sctp/
Dsm_make_chunk.c2826 int totallen = 0, i; in sctp_make_asconf_update_ip() local
2838 totallen += paramlen; in sctp_make_asconf_update_ip()
2839 totallen += addr_param_len; in sctp_make_asconf_update_ip()
2844 totallen += paramlen; in sctp_make_asconf_update_ip()
2845 totallen += addr_param_len; in sctp_make_asconf_update_ip()
2850 __func__, totallen); in sctp_make_asconf_update_ip()
2855 retval = sctp_make_asconf(asoc, laddr, totallen); in sctp_make_asconf_update_ip()