Home
last modified time | relevance | path

Searched refs:valid_entries (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/lightnvm/
Dpblk-cache.c98 int i, valid_entries; in pblk_write_gc_to_cache() local
113 for (i = 0, valid_entries = 0; i < gc_rq->nr_secs; i++) { in pblk_write_gc_to_cache()
119 pos = pblk_rb_wrap_pos(&pblk->rwb, bpos + valid_entries); in pblk_write_gc_to_cache()
124 valid_entries++; in pblk_write_gc_to_cache()
127 WARN_ONCE(gc_rq->secs_to_gc != valid_entries, in pblk_write_gc_to_cache()
130 atomic64_add(valid_entries, &pblk->gc_wa); in pblk_write_gc_to_cache()
133 atomic_long_add(valid_entries, &pblk->inflight_writes); in pblk_write_gc_to_cache()
134 atomic_long_add(valid_entries, &pblk->recov_gc_writes); in pblk_write_gc_to_cache()
/Linux-v5.4/drivers/soc/qcom/
Dsmp2p.c67 u16 valid_entries; member
135 unsigned valid_entries; member
201 for (i = smp2p->valid_entries; i < in->valid_entries; i++) { in qcom_smp2p_intr()
210 smp2p->valid_entries = i; in qcom_smp2p_intr()
350 memcpy(out->entries[out->valid_entries].name, buf, SMP2P_MAX_ENTRY_NAME); in qcom_smp2p_outbound_entry()
353 entry->value = &out->entries[out->valid_entries].value; in qcom_smp2p_outbound_entry()
355 out->valid_entries++; in qcom_smp2p_outbound_entry()
392 out->valid_entries = 0; in qcom_smp2p_alloc_outbound_item()
551 smp2p->out->valid_entries = 0; in qcom_smp2p_probe()
576 smp2p->out->valid_entries = 0; in qcom_smp2p_remove()
/Linux-v5.4/drivers/iio/adc/
Dbcm_iproc_adc.c164 unsigned int valid_entries; in iproc_adc_interrupt_handler() local
190 valid_entries = ((channel_status & in iproc_adc_interrupt_handler()
193 if (valid_entries >= 1) { in iproc_adc_interrupt_handler()
/Linux-v5.4/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c583 int valid_entries = 0; in ehea_rebuild_busmap() local
592 valid_entries++; in ehea_rebuild_busmap()
596 if (!valid_entries) { in ehea_rebuild_busmap()