Home
last modified time | relevance | path

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

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