Home
last modified time | relevance | path

Searched refs:read_cnt (Results 1 – 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/fs/hmdfs/comm/
Dtransport.c126 int read_cnt = 0; in tcp_read_buffer_from_socket() local
133 iov.iov_base = (char *)buf + read_cnt; in tcp_read_buffer_from_socket()
134 iov.iov_len = to_read - read_cnt; in tcp_read_buffer_from_socket()
140 to_read - read_cnt, hmdfs_msg.msg_flags); in tcp_read_buffer_from_socket()
156 read_cnt += rc; in tcp_read_buffer_from_socket()
157 if (read_cnt != to_read) in tcp_read_buffer_from_socket()
158 hmdfs_info("read again %d/%d", read_cnt, to_read); in tcp_read_buffer_from_socket()
159 } while (read_cnt < to_read && retry_time < MAX_RECV_RETRY_TIMES); in tcp_read_buffer_from_socket()
160 if (read_cnt == to_read) in tcp_read_buffer_from_socket()
/kernel/linux/linux-5.10/sound/isa/wavefront/
Dwavefront_synth.c142 unsigned int read_cnt; member
359 cmd, wfcmd->action, wfcmd->read_cnt, in snd_wavefront_cmd()
387 if (wfcmd->read_cnt > 0) { in snd_wavefront_cmd()
390 wfcmd->read_cnt, cmd); in snd_wavefront_cmd()
392 for (i = 0; i < wfcmd->read_cnt; i++) { in snd_wavefront_cmd()
454 if ((wfcmd->read_cnt == 0 && wfcmd->write_cnt == 0) || wfcmd->need_ack) { in snd_wavefront_cmd()
502 cmd, wfcmd->action, wfcmd->read_cnt, in snd_wavefront_cmd()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dads7846.c124 int read_cnt; member
642 if (!ts->read_cnt || (abs(ts->last_read - *val) > ts->debounce_tol)) { in ads7846_debounce_filter()
649 if (ts->read_cnt < ts->debounce_max) { in ads7846_debounce_filter()
651 ts->read_cnt++; in ads7846_debounce_filter()
660 ts->read_cnt = 0; in ads7846_debounce_filter()
669 ts->read_cnt = 0; in ads7846_debounce_filter()
674 ts->read_cnt++; in ads7846_debounce_filter()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c2151 u32 tag_value, read_cnt; in netxen_md_L2Cache() local
2161 read_cnt = cacheEntry->read_addr_cnt; in netxen_md_L2Cache()
2188 for (k = 0; k < read_cnt; k++) { in netxen_md_L2Cache()
2196 return read_cnt * loop_cnt * sizeof(read_value); in netxen_md_L2Cache()
2207 u32 tag_value, read_cnt; in netxen_md_L1Cache() local
2216 read_cnt = cacheEntry->read_addr_cnt; in netxen_md_L1Cache()
2223 for (k = 0; k < read_cnt; k++) { in netxen_md_L1Cache()
2232 return read_cnt * loop_cnt * sizeof(read_value); in netxen_md_L1Cache()
2284 u32 queue_id, read_addr, read_value, read_stride, select_addr, read_cnt; in netxen_md_rdqueue() local
2286 read_cnt = queueEntry->read_addr_cnt; in netxen_md_rdqueue()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/
Dst.h101 atomic64_t read_cnt; /* Count of read requests */ member
Dgdth.h520 u32 read_cnt; /* read/write counter */ member
Dst.c500 atomic64_inc(&STp->stats->read_cnt); in st_do_stats()
4714 (long long)atomic64_read(&STm->tape->stats->read_cnt)); in read_cnt_show()
4716 static DEVICE_ATTR_RO(read_cnt);
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dtrx.c435 u16 read_cnt = 0; in rtl92ee_rx_check_dma_ok() local
448 read_cnt++; in rtl92ee_rx_check_dma_ok()
453 if (read_cnt > 20) in rtl92ee_rx_check_dma_ok()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-class-scsi_tape49 What: /sys/class/scsi_tape/*/stats/read_cnt
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_proc.c290 device->read_cnt/2, in drbd_seq_show()
Ddrbd_req.c594 device->read_cnt += req->i.size >> 9; in __req_mod()
Ddrbd_nl.c2055 device->read_cnt = 0; in drbd_adm_attach()
3380 s->dev_read = device->read_cnt; in device_to_statistics()
3822 nla_put_u64_0pad(skb, T_read_cnt, device->read_cnt) || in nla_put_status_info()
Ddrbd_int.h862 unsigned int read_cnt; member
/kernel/linux/linux-5.10/drivers/tty/
Dn_tty.c131 static inline size_t read_cnt(struct n_tty_data *ldata) in read_cnt() function
261 if (N_TTY_BUF_SIZE - read_cnt(ldata) >= TTY_THRESHOLD_THROTTLE) in n_tty_check_throttle()
1654 if (read_cnt(ldata)) { in __receive_buf()
1796 if (!L_ICANON(tty) || !read_cnt(ldata)) { in n_tty_set_termios()
2478 retval = read_cnt(ldata); in n_tty_ioctl()
/kernel/liteos_a/fs/proc/os_adapt/
Dproc_vfs.c243 while (i < dir->read_cnt) { in VfsProcfsReaddir()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-topcliff-pch.c267 int read_cnt; in pch_spi_handler_sub() local
288 for (read_cnt = 0; (read_cnt < n_read); read_cnt++) { in pch_spi_handler_sub()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/
Ddsi_host.c1322 u32 read_cnt; in dsi_cmd_dma_rx() local
1333 read_cnt = 4; in dsi_cmd_dma_rx()
1335 read_cnt = pkt_size + 6; in dsi_cmd_dma_rx()
1344 if (read_cnt > 16) { in dsi_cmd_dma_rx()
1350 bytes_shifted = read_cnt - 16; in dsi_cmd_dma_rx()
/kernel/linux/linux-5.10/include/linux/
Ddrbd_genl.h226 __u64_field(17, 0, read_cnt)
/kernel/liteos_a/fs/vfs/
Dvnode.c535 if (++cnt >= dir->read_cnt) { in VnodeReaddir()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_main.c352 u32 read_cnt; in hns_dsaf_sbm_cfg_mib_en() local
367 read_cnt = 0; in hns_dsaf_sbm_cfg_mib_en()
373 read_cnt++; in hns_dsaf_sbm_cfg_mib_en()
375 read_cnt < DSAF_CFG_READ_CNT); in hns_dsaf_sbm_cfg_mib_en()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1442 u32 read_cnt:9; member
1448 u32 read_cnt:9;
1505 cmd.r.read_cnt = rd_cnt; in bfa_flash_set_cmd()
/kernel/liteos_a/fs/jffs2/src/
Dvfs_jffs2.c551 while (i < dir->read_cnt) { in VfsJffs2Readdir()
/kernel/linux/linux-5.10/Documentation/scsi/
Dst.rst198 5. read_cnt
221 The total of read_cnt, write_cnt, and other_cnt may not total to the same
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Dms.c303 u8 read_cnt, u8 write_start, u8 write_cnt) in ms_set_rw_reg_addr() argument
309 data[1] = read_cnt; in ms_set_rw_reg_addr()
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfa_ioc.c6669 u32 read_cnt:9; member
6675 u32 read_cnt:9;
6738 cmd.r.read_cnt = rd_cnt; in bfa_flash_set_cmd()

12