Searched refs:totallen (Results 1 - 17 of 17) sorted by relevance

/linux-4.1.27/arch/x86/platform/intel-mid/
H A Dsfi.c81 int totallen; sfi_parse_mtmr() local
88 totallen = sfi_mtimer_num * sizeof(*pentry); sfi_parse_mtmr()
89 memcpy(sfi_mtimer_array, pentry, totallen); sfi_parse_mtmr()
94 for (totallen = 0; totallen < sfi_mtimer_num; totallen++, pentry++) { sfi_parse_mtmr()
96 totallen, (u32)pentry->phys_addr, sfi_parse_mtmr()
156 int totallen; sfi_parse_mrtc() local
163 totallen = sfi_mrtc_num * sizeof(*pentry); sfi_parse_mrtc()
164 memcpy(sfi_mrtc_array, pentry, totallen); sfi_parse_mrtc()
169 for (totallen = 0; totallen < sfi_mrtc_num; totallen++, pentry++) { sfi_parse_mrtc()
171 totallen, (u32)pentry->phys_addr, pentry->irq); sfi_parse_mrtc()
/linux-4.1.27/drivers/cpufreq/
H A Dsfi-cpufreq.c35 int totallen; sfi_parse_freq() local
46 totallen = num_freq_table_entries * sizeof(*pentry); sfi_parse_freq()
48 sfi_cpufreq_array = kzalloc(totallen, GFP_KERNEL); sfi_parse_freq()
52 memcpy(sfi_cpufreq_array, pentry, totallen); sfi_parse_freq()
/linux-4.1.27/tools/perf/bench/
H A Dmem-memcpy.c138 static void __bench_mem_routine(struct bench_mem_info *info, int r_idx, size_t len, double totallen) __bench_mem_routine() argument
174 / totallen); __bench_mem_routine()
177 / totallen); __bench_mem_routine()
188 / totallen); __bench_mem_routine()
199 (double)result_cycle[0] / totallen, __bench_mem_routine()
200 (double)result_cycle[1] / totallen); __bench_mem_routine()
208 / totallen); __bench_mem_routine()
226 double totallen; bench_mem_common() local
240 totallen = (double)len * iterations; bench_mem_common()
253 __bench_mem_routine(info, i, len, totallen); bench_mem_common()
271 __bench_mem_routine(info, i, len, totallen); bench_mem_common()
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192se/
H A Dfw.c468 u32 totallen = 0, len = 0, tx_desclen = 0; _rtl92s_fill_h2c_cmd() local
478 if (h2cbufferlen < totallen + len + tx_desclen) _rtl92s_fill_h2c_cmd()
483 memset((ph2c_buffer + totallen + tx_desclen), 0, len); _rtl92s_fill_h2c_cmd()
486 SET_BITS_TO_LE_4BYTE((ph2c_buffer + totallen + tx_desclen), _rtl92s_fill_h2c_cmd()
490 SET_BITS_TO_LE_4BYTE((ph2c_buffer + totallen + tx_desclen), _rtl92s_fill_h2c_cmd()
495 SET_BITS_TO_LE_4BYTE((ph2c_buffer + totallen + tx_desclen), _rtl92s_fill_h2c_cmd()
500 memcpy((ph2c_buffer + totallen + tx_desclen + _rtl92s_fill_h2c_cmd()
509 pre_continueoffset = totallen; _rtl92s_fill_h2c_cmd()
511 totallen += len; _rtl92s_fill_h2c_cmd()
514 return totallen; _rtl92s_fill_h2c_cmd()
519 u32 totallen = 0, len = 0, tx_desclen = 0; _rtl92s_get_h2c_cmdlen() local
527 if (h2cbufferlen < totallen + len + tx_desclen) _rtl92s_get_h2c_cmdlen()
530 totallen += len; _rtl92s_get_h2c_cmdlen()
533 return totallen + tx_desclen; _rtl92s_get_h2c_cmdlen()
/linux-4.1.27/drivers/usb/storage/
H A Ddatafab.c151 unsigned int totallen, alloclen; datafab_read_data() local
170 totallen = sectors * info->ssize; datafab_read_data()
176 alloclen = min(totallen, 65536u); datafab_read_data()
185 len = min(totallen, alloclen); datafab_read_data()
214 totallen -= len; datafab_read_data()
215 } while (totallen > 0); datafab_read_data()
235 unsigned int totallen, alloclen; datafab_write_data() local
254 totallen = sectors * info->ssize; datafab_write_data()
260 alloclen = min(totallen, 65536u); datafab_write_data()
269 len = min(totallen, alloclen); datafab_write_data()
310 totallen -= len; datafab_write_data()
311 } while (totallen > 0); datafab_write_data()
H A Djumpshot.c170 unsigned int totallen, alloclen; jumpshot_read_data() local
183 totallen = sectors * info->ssize; jumpshot_read_data()
189 alloclen = min(totallen, 65536u); jumpshot_read_data()
197 len = min(totallen, alloclen); jumpshot_read_data()
227 totallen -= len; jumpshot_read_data()
228 } while (totallen > 0); jumpshot_read_data()
247 unsigned int totallen, alloclen; jumpshot_write_data() local
260 totallen = sectors * info->ssize; jumpshot_write_data()
266 alloclen = min(totallen, 65536u); jumpshot_write_data()
275 len = min(totallen, alloclen); jumpshot_write_data()
319 totallen -= len; jumpshot_write_data()
320 } while (totallen > 0); jumpshot_write_data()
H A Dshuttle_usbat.c1131 unsigned int totallen, alloclen; usbat_flash_read_data() local
1150 totallen = sectors * info->ssize; usbat_flash_read_data()
1158 alloclen = min(totallen, 65536u); usbat_flash_read_data()
1168 len = min(totallen, alloclen); usbat_flash_read_data()
1191 totallen -= len; usbat_flash_read_data()
1192 } while (totallen > 0); usbat_flash_read_data()
1222 unsigned int totallen, alloclen; usbat_flash_write_data() local
1241 totallen = sectors * info->ssize; usbat_flash_write_data()
1249 alloclen = min(totallen, 65536u); usbat_flash_write_data()
1259 len = min(totallen, alloclen); usbat_flash_write_data()
1280 totallen -= len; usbat_flash_write_data()
1281 } while (totallen > 0); usbat_flash_write_data()
/linux-4.1.27/drivers/crypto/qce/
H A Dcommon.c231 u32 totallen, u32 offset) qce_setup_regs_ahash()
316 u32 totallen, u32 offset) qce_setup_regs_ablkcipher()
385 qce_write(qce, REG_SEG_SIZE, totallen); qce_setup_regs_ablkcipher()
396 int qce_start(struct crypto_async_request *async_req, u32 type, u32 totallen, qce_start() argument
401 return qce_setup_regs_ablkcipher(async_req, totallen, offset); qce_start()
403 return qce_setup_regs_ahash(async_req, totallen, offset); qce_start()
230 qce_setup_regs_ahash(struct crypto_async_request *async_req, u32 totallen, u32 offset) qce_setup_regs_ahash() argument
315 qce_setup_regs_ablkcipher(struct crypto_async_request *async_req, u32 totallen, u32 offset) qce_setup_regs_ablkcipher() argument
H A Dcommon.h99 int qce_start(struct crypto_async_request *async_req, u32 type, u32 totallen,
/linux-4.1.27/drivers/mtd/
H A Dbcm63xxpart.c81 unsigned int rootfslen, kernellen, sparelen, totallen; bcm63xx_parse_cfe_partitions() local
121 sscanf(buf->total_length, "%u", &totallen); bcm63xx_parse_cfe_partitions()
128 spareaddr = roundup(totallen, master->erasesize) + cfelen; bcm63xx_parse_cfe_partitions()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dpmac_pfunc.h81 int (*rmw_i2c)(PMF_STD_ARGS, u32 masklen, u32 valuelen, u32 totallen,
87 u32 totallen, const u8 *maskdata, const u8 *valuedata);
93 u32 totallen, const u8 *maskdata,
/linux-4.1.27/fs/nfs/blocklayout/
H A Dblocklayout.h172 u16 totallen; /* length of entire message, including hdr itself */ member in struct:bl_msg_hdr
H A Drpc_pipefs.c83 bl_msg->totallen = b->simple.len; bl_resolve_deviceid()
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dlow_i2c.c1315 u32 totallen, const u8 *maskdata, pmac_i2c_do_rmw()
1321 totallen > inst->bytes || valuelen > masklen) pmac_i2c_do_rmw()
1327 inst->scratch, totallen); pmac_i2c_do_rmw()
1356 u32 valuelen, u32 totallen, const u8 *maskdata, pmac_i2c_do_rmw_sub()
1362 totallen > inst->bytes || valuelen > masklen) pmac_i2c_do_rmw_sub()
1368 subaddr, inst->scratch, totallen); pmac_i2c_do_rmw_sub()
1314 pmac_i2c_do_rmw(PMF_STD_ARGS, u32 masklen, u32 valuelen, u32 totallen, const u8 *maskdata, const u8 *valuedata) pmac_i2c_do_rmw() argument
1355 pmac_i2c_do_rmw_sub(PMF_STD_ARGS, u8 subaddr, u32 masklen, u32 valuelen, u32 totallen, const u8 *maskdata, const u8 *valuedata) pmac_i2c_do_rmw_sub() argument
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c1457 int totallen; xfs_attr3_leaf_rebalance() local
1511 &count, &totallen); xfs_attr3_leaf_rebalance()
1524 space = ichdr1.usedbytes - totallen; xfs_attr3_leaf_rebalance()
1553 space = totallen - ichdr1.usedbytes; xfs_attr3_leaf_rebalance()
1656 int totallen = 0; xfs_attr3_leaf_figure_balance() local
1680 tmp = totallen + sizeof(*entry) + xfs_attr3_leaf_figure_balance()
1685 totallen = tmp; xfs_attr3_leaf_figure_balance()
1701 tmp = totallen + sizeof(*entry) + xfs_attr_leaf_entsize(leaf1, xfs_attr3_leaf_figure_balance()
1706 totallen = tmp; xfs_attr3_leaf_figure_balance()
1714 totallen -= count * sizeof(*entry); xfs_attr3_leaf_figure_balance()
1716 totallen -= sizeof(*entry) + xfs_attr3_leaf_figure_balance()
1721 *usedbytesarg = totallen; xfs_attr3_leaf_figure_balance()
/linux-4.1.27/net/sctp/
H A Dsm_make_chunk.c2811 int totallen = 0; sctp_make_asconf_update_ip() local
2822 totallen += paramlen; sctp_make_asconf_update_ip()
2823 totallen += addr_param_len; sctp_make_asconf_update_ip()
2828 totallen += paramlen; sctp_make_asconf_update_ip()
2829 totallen += addr_param_len; sctp_make_asconf_update_ip()
2833 "totallen for all addresses is %d\n", sctp_make_asconf_update_ip()
2834 __func__, totallen); sctp_make_asconf_update_ip()
2839 retval = sctp_make_asconf(asoc, laddr, totallen); sctp_make_asconf_update_ip()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
H A Diochannel.h708 #define OFFSET_TOTALLEN offsetof(struct net_pkt_rcvpost, totallen)

Completed in 615 milliseconds