/linux-4.4.14/drivers/net/ethernet/sfc/ |
H A D | tx.c | 84 tx_queue->queue, tx_queue->read_count); efx_dequeue_buffer() 150 * read_count (more likely to be a cache miss). efx_tx_maybe_stop_queue() 152 * If we read read_count and then conditionally stop the efx_tx_maybe_stop_queue() 156 * Therefore we stop the queue first, then read read_count efx_tx_maybe_stop_queue() 163 txq1->old_read_count = ACCESS_ONCE(txq1->read_count); efx_tx_maybe_stop_queue() 164 txq2->old_read_count = ACCESS_ONCE(txq2->read_count); efx_tx_maybe_stop_queue() 497 read_ptr = tx_queue->read_count & tx_queue->ptr_mask; efx_dequeue_buffers() 513 ++tx_queue->read_count; efx_dequeue_buffers() 514 read_ptr = tx_queue->read_count & tx_queue->ptr_mask; efx_dequeue_buffers() 639 * barrier ensures that we write read_count (inside efx_xmit_done() 647 fill_level = max(tx_queue->insert_count - tx_queue->read_count, efx_xmit_done() 648 txq2->insert_count - txq2->read_count); efx_xmit_done() 654 if ((int)(tx_queue->read_count - tx_queue->old_write_count) >= 0) { efx_xmit_done() 656 if (tx_queue->read_count == tx_queue->old_write_count) { efx_xmit_done() 659 tx_queue->read_count | EFX_EMPTY_COUNT_VALID; efx_xmit_done() 734 tx_queue->read_count = 0; efx_init_tx_queue() 756 while (tx_queue->read_count != tx_queue->write_count) { efx_fini_tx_queue() 758 buffer = &tx_queue->buffer[tx_queue->read_count & tx_queue->ptr_mask]; efx_fini_tx_queue() 761 ++tx_queue->read_count; efx_fini_tx_queue() 940 tx_queue->read_count >= efx_tx_queue_insert()
|
H A D | net_driver.h | 195 * @read_count: Current read pointer. 210 * @old_read_count: The value of read_count when last checked. 212 * only get the up-to-date value of read_count if this 225 * @read_count bitwise-added to %EFX_EMPTY_COUNT_VALID; otherwise 0. 242 unsigned int read_count ____cacheline_aligned_in_smp;
|
H A D | farch.c | 850 tx_packets = ((tx_ev_desc_ptr - tx_queue->read_count) & efx_farch_handle_tx_event()
|
H A D | ef10.c | 2594 tx_descs = ((tx_ev_desc_ptr + 1 - tx_queue->read_count) & efx_ef10_handle_tx_event()
|
/linux-4.4.14/drivers/char/ipmi/ |
H A D | ipmi_bt_sm.c | 101 int read_count; member in struct:si_sm_data 219 bt->read_count = 5; force_result() 273 msg_len = bt->read_count - 2; /* account for length & seq */ bt_get_result() 363 bt->read_count = bt->read_data[0]; read_all_bytes() 365 if (bt->read_count < 4 || bt->read_count >= IPMI_MAX_MSG_LENGTH) { read_all_bytes() 368 bt->read_count); read_all_bytes() 372 for (i = 1; i <= bt->read_count; i++) read_all_bytes() 374 bt->read_count++; /* Account internally for length byte */ read_all_bytes() 377 int max = bt->read_count; read_all_bytes() 385 printk(KERN_CONT "%s\n", bt->read_count == max ? "" : " ..."); read_all_bytes() 628 bt->read_count = 0; bt_event()
|
/linux-4.4.14/drivers/usb/misc/ |
H A D | rio500.c | 366 ssize_t read_count; read_rio() local 385 read_count = 0; read_rio() 391 return read_count ? read_count : -EINTR; read_rio() 438 read_count += this_read; read_rio() 443 return read_count; read_rio()
|
H A D | chaoskey.c | 371 ssize_t read_count = 0; chaoskey_read() local 427 read_count += this_time; chaoskey_read() 433 if (read_count) { chaoskey_read() 434 usb_dbg(dev->interface, "read %zu bytes", read_count); chaoskey_read() 435 return read_count; chaoskey_read()
|
/linux-4.4.14/drivers/hwtracing/coresight/ |
H A D | coresight-tmc.c | 108 * @read_count: manages preparation of buffer for reading. 123 int read_count; member in struct:tmc_drvdata 492 if (drvdata->read_count++) tmc_open() 541 if (--drvdata->read_count) { tmc_release() 542 if (drvdata->read_count < 0) { tmc_release() 544 drvdata->read_count = 0; tmc_release()
|
/linux-4.4.14/drivers/media/usb/em28xx/ |
H A D | em28xx-input.c | 55 unsigned int read_count:7; member in struct:em28xx_ir_poll_result 206 poll_result->read_count = (msg[0] & 0x7f); default_polling_getkey() 248 poll_result->read_count = (msg[0] & 0x7f); em2874_polling_getkey() 326 if (unlikely(poll_result.read_count != ir->last_readcount)) { em28xx_ir_handle_key() 328 poll_result.toggle_bit, poll_result.read_count, em28xx_ir_handle_key() 350 ir->last_readcount = poll_result.read_count; em28xx_ir_handle_key()
|
/linux-4.4.14/tools/perf/ |
H A D | builtin-lock.c | 106 int read_count; member in struct:lock_seq_stat 433 seq->read_count = 1; report_lock_acquire_event() 439 seq->read_count++; report_lock_acquire_event() 617 seq->read_count--; report_lock_release_event() 618 BUG_ON(seq->read_count < 0); report_lock_release_event() 619 if (!seq->read_count) { report_lock_release_event()
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
H A D | saa7134-alsa.c | 163 if (dev->dmasound.read_count >= dev->dmasound.blksize * (dev->dmasound.blocks-2)) { saa7134_irq_alsa_done() 165 dev->dmasound.read_count, saa7134_irq_alsa_done() 178 dev->dmasound.blksize, dev->dmasound.read_count); saa7134_irq_alsa_done() 182 dev->dmasound.read_count += dev->dmasound.blksize; saa7134_irq_alsa_done() 186 if (dev->dmasound.read_count >= snd_pcm_lib_period_bytes(dev->dmasound.substream)) { saa7134_irq_alsa_done() 610 if (dev->dmasound.read_count) { snd_card_saa7134_capture_pointer() 611 dev->dmasound.read_count -= snd_pcm_lib_period_bytes(substream); snd_card_saa7134_capture_pointer() 823 dev->dmasound.read_count = 0; snd_card_saa7134_capture_open()
|
H A D | saa7134.h | 513 unsigned int read_count; member in struct:saa7134_dmasound
|
/linux-4.4.14/drivers/clocksource/ |
H A D | sh_cmt.c | 87 unsigned long (*read_count)(void __iomem *base, unsigned long offs); member in struct:sh_cmt_info 190 .read_count = sh_cmt_read16, 200 .read_count = sh_cmt_read32, 210 .read_count = sh_cmt_read32, 220 .read_count = sh_cmt_read32, 230 .read_count = sh_cmt_read32, 269 return ch->cmt->info->read_count(ch->ioctrl, CMCNT); sh_cmt_read_cmcnt()
|
/linux-4.4.14/drivers/char/xilinx_hwicap/ |
H A D | buffer_icap.c | 331 s32 read_count = 0; buffer_icap_get_configuration() local 356 read_count++; buffer_icap_get_configuration()
|
/linux-4.4.14/fs/nfs/ |
H A D | nfs42xdr.c | 136 p = xdr_encode_hyper(p, devinfo->read_count); encode_layoutstats()
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | ioc3_serial.c | 1397 int read_count = 0, read_room, flip = 0; receive_chars() local 1411 read_count = do_read(the_port, ch, MAX_CHARS); receive_chars() 1412 if (read_count > 0) { receive_chars() 1415 read_count); receive_chars() 1416 the_port->icount.rx += read_count; receive_chars() 1423 return read_count; receive_chars()
|
H A D | ioc4_serial.c | 2345 int read_count, request_count = IOC4_MAX_CHARS; receive_chars() local 2360 read_count = do_read(the_port, ch, request_count); receive_chars() 2361 if (read_count > 0) { receive_chars() 2362 tty_insert_flip_string(&state->port, ch, read_count); receive_chars() 2363 icount->rx += read_count; receive_chars()
|
/linux-4.4.14/drivers/misc/mic/scif/ |
H A D | scif_api.c | 1013 int curr_recv_len = 0, remaining_len = len, read_count; _scif_recv() local 1022 read_count = scif_rb_count(&qp->inbound_q, remaining_len); _scif_recv() 1023 if (read_count) { _scif_recv() 1029 curr_recv_len = min(remaining_len, read_count); _scif_recv()
|
/linux-4.4.14/drivers/media/common/siano/ |
H A D | smscoreapi.h | 1060 u32 read_count; /* number of bytes to read */ member in struct:sms_i2c_req 1066 u32 read_count; /* number of bytes read */ member in struct:sms_i2c_res
|
/linux-4.4.14/drivers/scsi/ |
H A D | osst.h | 584 int read_count; member in struct:osst_tape
|
H A D | osst.c | 1256 STp->read_count++; osst_get_logical_frame() 4905 if (STp->read_count) os_scsi_tape_flush() 4906 printk(" in %d frames read", STp->read_count); os_scsi_tape_flush() 4912 STp->read_count = 0;
|
/linux-4.4.14/drivers/char/pcmcia/ |
H A D | synclink_cs.c | 833 unsigned char fifo_count, read_count, i; rx_ready_hdlc() local 861 read_count = 1; rx_ready_hdlc() 864 read_count = 2; rx_ready_hdlc() 867 fifo_count -= read_count; rx_ready_hdlc() 869 buf->status = data[--read_count]; rx_ready_hdlc() 871 for (i = 0; i < read_count; i++) { rx_ready_hdlc()
|
/linux-4.4.14/include/linux/ |
H A D | nfs_xdr.h | 334 __u64 read_count; member in struct:nfs42_layoutstat_devinfo
|
/linux-4.4.14/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 2048 devinfo->read_count = mirror->read_stat.io_stat.ops_completed; ff_layout_mirror_prepare_stats()
|