Home
last modified time | relevance | path

Searched refs:use_size (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/mtd/
Dmtdswap.c1178 uint64_t use_size; in mtdswap_show() local
1206 use_size = (uint64_t)d->eblks * d->mtd->erasesize; in mtdswap_show()
1207 bb_cnt = mtdswap_badblocks(d->mtd, use_size); in mtdswap_show()
1342 uint64_t swap_size, use_size, size_limit; in mtdswap_add_mtd() local
1382 use_size = mtd->size; in mtdswap_add_mtd()
1388 use_size = size_limit; in mtdswap_add_mtd()
1391 eblocks = mtd_div_by_eb(use_size, mtd); in mtdswap_add_mtd()
1392 use_size = (uint64_t)eblocks * mtd->erasesize; in mtdswap_add_mtd()
1393 bad_blocks = mtdswap_badblocks(mtd, use_size); in mtdswap_add_mtd()
/Linux-v5.10/tools/perf/util/
Ds390-cpumsf.c603 size_t len = sfq->buffer->use_size; in s390_cpumsf_samples()
660 sfq->buffer->use_size -= pos; in s390_cpumsf_samples()
667 sfq->buffer->use_size = 0; in s390_cpumsf_samples()
717 buffer->use_size = buffer->size; in s390_cpumsf_run_decoder()
735 buffer->use_size = buffer->size; in s390_cpumsf_run_decoder()
747 buffer->size, buffer->use_size); in s390_cpumsf_run_decoder()
Dintel-bts.c260 b->use_size = b->data + b->size - start; in intel_bts_do_fix_overlap()
416 sz = buffer->use_size; in intel_bts_process_buffer()
Dauxtrace.h240 size_t use_size; member
Dintel-pt.c280 b->use_size = b->data + b->size - start; in intel_pt_do_fix_overlap()
282 if (b->use_size && consecutive) in intel_pt_do_fix_overlap()
308 b->len = buffer->use_size; in intel_pt_get_buffer()
/Linux-v5.10/drivers/staging/comedi/drivers/
Daddi_apci_3120.c140 unsigned int use_size; member
192 apci3120_addon_write(dev, dmabuf->use_size, AMCC_OP_REG_AMWTC); in apci3120_init_dma()
248 dmabuf0->use_size = dmalen0; in apci3120_setup_dma()
249 dmabuf1->use_size = dmalen1; in apci3120_setup_dma()
436 nbytes = dmabuf->use_size - inl(devpriv->amcc + AMCC_OP_REG_MWTC); in apci3120_interrupt_dma()
438 if (nbytes < dmabuf->use_size) in apci3120_interrupt_dma()
Dadl_pci9118.c195 unsigned int use_size; /* which size we may now use for transfer */ member
251 outl(dmabuf->use_size, devpriv->iobase_a + AMCC_OP_REG_MWTC); in pci9118_amcc_setup_dma()
642 unsigned int n_all = comedi_bytes_to_samples(s, dmabuf->use_size); in pci9118_ai_get_dma()
900 dmabuf0->use_size = dmalen0; in pci9118_ai_setup_dma()
901 dmabuf1->use_size = dmalen1; in pci9118_ai_setup_dma()