Home
last modified time | relevance | path

Searched refs:write_count (Results 1 – 24 of 24) sorted by relevance

/linux-4.4.14/drivers/char/ipmi/
Dipmi_kcs_sm.c131 int write_count; member
149 kcs->write_count = 0; in init_kcs_data()
202 (kcs->write_count)--; in write_next_byte()
272 kcs->write_count = kcs->orig_write_count; in restart_kcs_transaction()
302 kcs->write_count = size; in start_kcs_transaction()
393 if (kcs->write_count == 1) { in kcs_event()
409 if (kcs->write_count == 1) { in kcs_event()
Dipmi_smic_sm.c113 int write_count; member
128 smic->write_count = 0; in init_smic_data()
160 smic->write_count = size; in start_smic_transaction()
239 smic->write_count = smic->orig_write_count; in start_error_recovery()
251 (smic->write_count)--; in write_next_byte()
416 if (smic->write_count == 1) { in smic_event()
439 if (smic->write_count == 1) { in smic_event()
Dipmi_bt_sm.c99 int write_count; member
252 bt->write_count = size + 2; in bt_start_transaction()
344 bt->write_count, bt->seq); in write_all_bytes()
345 for (i = 0; i < bt->write_count; i++) in write_all_bytes()
349 for (i = 0; i < bt->write_count; i++) in write_all_bytes()
/linux-4.4.14/drivers/net/ethernet/sfc/
Dnic.h87 unsigned int write_count) in __efx_nic_tx_is_empty() argument
94 return ((empty_read_count ^ write_count) & ~EFX_EMPTY_COUNT_VALID) == 0; in __efx_nic_tx_is_empty()
120 unsigned int write_count) in efx_nic_may_push_tx_desc() argument
122 bool was_empty = __efx_nic_tx_is_empty(tx_queue, write_count); in efx_nic_may_push_tx_desc()
125 return was_empty && tx_queue->write_count - write_count == 1; in efx_nic_may_push_tx_desc()
Def10.c1750 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_ef10_push_tx_desc()
1815 tx_queue->write_count = 1; in efx_ef10_tx_init()
1861 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_ef10_notify_tx_desc()
1869 unsigned int old_write_count = tx_queue->write_count; in efx_ef10_tx_write()
1875 if (unlikely(tx_queue->write_count == tx_queue->insert_count)) in efx_ef10_tx_write()
1879 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_ef10_tx_write()
1882 ++tx_queue->write_count; in efx_ef10_tx_write()
1896 } while (tx_queue->write_count != tx_queue->insert_count); in efx_ef10_tx_write()
2227 unsigned int write_count; in efx_ef10_rx_write() local
2231 write_count = rx_queue->added_count & ~7; in efx_ef10_rx_write()
[all …]
Dfarch.c288 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_farch_notify_tx_desc()
304 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_farch_push_tx_desc()
322 unsigned old_write_count = tx_queue->write_count; in efx_farch_tx_write()
325 if (unlikely(tx_queue->write_count == tx_queue->insert_count)) in efx_farch_tx_write()
329 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_farch_tx_write()
332 ++tx_queue->write_count; in efx_farch_tx_write()
344 } while (tx_queue->write_count != tx_queue->insert_count); in efx_farch_tx_write()
Dtx.c655 tx_queue->old_write_count = ACCESS_ONCE(tx_queue->write_count); in efx_xmit_done()
732 tx_queue->write_count = 0; in efx_init_tx_queue()
756 while (tx_queue->read_count != tx_queue->write_count) { in efx_fini_tx_queue()
Dnet_driver.h250 unsigned int write_count; member
/linux-4.4.14/drivers/clocksource/
Dsh_cmt.c88 void (*write_count)(void __iomem *base, unsigned long offs, member
191 .write_count = sh_cmt_write16,
201 .write_count = sh_cmt_write32,
211 .write_count = sh_cmt_write32,
221 .write_count = sh_cmt_write32,
231 .write_count = sh_cmt_write32,
275 ch->cmt->info->write_count(ch->ioctrl, CMCNT, value); in sh_cmt_write_cmcnt()
281 ch->cmt->info->write_count(ch->ioctrl, CMCOR, value); in sh_cmt_write_cmcor()
/linux-4.4.14/fs/exofs/
Dore_raid.c53 unsigned write_count; member
168 _1ps->write_count = 0; in _sp2d_reset()
197 if (_1ps->write_count) in _sp2d_min_pg()
211 if (_1ps->write_count) in _sp2d_max_pg()
229 if (!_1ps->write_count) in _gen_xor_unit()
264 ++_1ps->write_count; in _ore_add_stripe_page()
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_api.c950 int curr_xfer_len = 0, sent_len = 0, write_count; in _scif_send() local
959 write_count = scif_rb_space(&qp->outbound_q); in _scif_send()
960 if (write_count) { in _scif_send()
962 curr_xfer_len = min(len - sent_len, write_count); in _scif_send()
/linux-4.4.14/fs/hfsplus/
Dhfsplus_raw.h127 __be32 write_count; member
Dsuper.c542 be32_add_cpu(&vhdr->write_count, 1); in hfsplus_fill_super()
/linux-4.4.14/drivers/scsi/
Dosst.h583 int write_count; member
Dosst.c3089 STp->write_count++; in osst_flush_write_buffer()
3322 STp->write_count++; in osst_write_frame()
4899 if (STp->write_count) in os_scsi_tape_flush()
4900 printk(" in %d frames written", STp->write_count); in os_scsi_tape_flush()
4907 STp->write_count = 0; in os_scsi_tape_flush()
/linux-4.4.14/fs/nfs/
Dnfs42xdr.c138 p = xdr_encode_hyper(p, devinfo->write_count); in encode_layoutstats()
/linux-4.4.14/drivers/media/common/siano/
Dsmscoreapi.h1059 u32 write_count; /* number of bytes to write */ member
/linux-4.4.14/Documentation/virtual/kvm/
Dmmu.txt395 To check the last two conditions, the mmu maintains a ->write_count set of
397 causes its write_count to be incremented, thus preventing instantiation of
/linux-4.4.14/drivers/net/fddi/
Ddefxx.h987 PI_UINT32 write_count; member
/linux-4.4.14/arch/x86/kvm/
Dmmu.c797 linfo->write_count += 1; in account_shadowed()
815 linfo->write_count -= 1; in unaccount_shadowed()
816 WARN_ON(linfo->write_count < 0); in unaccount_shadowed()
828 return linfo->write_count; in __has_wrprotected_page()
Dx86.c7828 slot->arch.lpage_info[i - 1][0].write_count = 1; in kvm_arch_create_memslot()
7830 slot->arch.lpage_info[i - 1][lpages - 1].write_count = 1; in kvm_arch_create_memslot()
7842 slot->arch.lpage_info[i - 1][j].write_count = 1; in kvm_arch_create_memslot()
/linux-4.4.14/arch/x86/include/asm/
Dkvm_host.h588 int write_count; member
/linux-4.4.14/include/linux/
Dnfs_xdr.h336 __u64 write_count; member
/linux-4.4.14/fs/nfs/flexfilelayout/
Dflexfilelayout.c2050 devinfo->write_count = mirror->write_stat.io_stat.ops_completed; in ff_layout_mirror_prepare_stats()