/Linux-v4.19/drivers/hid/intel-ish-hid/ |
D | ishtp-hid-client.c | 37 size_t cur_pos, size_t payload_len) in report_bad_packet() argument 49 (unsigned int)cur_pos, in report_bad_packet() 72 size_t payload_len, total_len, cur_pos; in process_recv() local 82 cur_pos = 0; in process_recv() 85 if (cur_pos + sizeof(struct hostif_msg) > total_len) { in process_recv() 95 recv_msg = (struct hostif_msg *)(recv_buf + cur_pos); in process_recv() 99 if (cur_pos + payload_len + sizeof(struct hostif_msg) > in process_recv() 102 report_bad_packet(hid_ishtp_cl, recv_msg, cur_pos, in process_recv() 117 cur_pos, in process_recv() 166 cur_pos, in process_recv() [all …]
|
/Linux-v4.19/drivers/s390/block/ |
D | dasd_fba.c | 284 int cur_pos = 0; in count_ccws() local 292 cur_pos = wz_stop - first_rec + 1; in count_ccws() 296 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws() 303 cur_pos += d_stop - (first_rec + cur_pos) + 1; in count_ccws() 307 if (cur_pos == 0 || first_rec + cur_pos - 1 < last_rec) in count_ccws() 340 int cur_pos = 0; /* Current position within the extent */ in dasd_fba_build_cp_discard() local 378 locate_record(ccw++, LO_data++, WRITE, cur_pos, wz_count); in dasd_fba_build_cp_discard() 383 cur_pos = wz_count; in dasd_fba_build_cp_discard() 387 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in dasd_fba_build_cp_discard() 395 d_count = d_stop - (first_rec + cur_pos) + 1; in dasd_fba_build_cp_discard() [all …]
|
/Linux-v4.19/drivers/media/pci/b2c2/ |
D | flexcop-pci.c | 186 u32 cur_pos = cur_addr - fc_pci->dma[0].dma_addr0; in flexcop_pci_isr() local 190 v.raw, (unsigned long long)cur_addr, cur_pos, in flexcop_pci_isr() 197 if (cur_pos < fc_pci->last_dma1_cur_pos) { in flexcop_pci_isr() 209 if (cur_pos > fc_pci->last_dma1_cur_pos) { in flexcop_pci_isr() 211 cur_pos - fc_pci->last_dma1_cur_pos); in flexcop_pci_isr() 215 cur_pos - fc_pci->last_dma1_cur_pos); in flexcop_pci_isr() 219 fc_pci->last_dma1_cur_pos = cur_pos; in flexcop_pci_isr()
|
/Linux-v4.19/drivers/usb/serial/ |
D | kobil_sct.c | 108 int cur_pos; /* index of the next char to send in buf */ member 123 priv->cur_pos = 0; in kobil_port_probe() 328 todo = priv->filled - priv->cur_pos; in kobil_write() 335 priv->buf + priv->cur_pos, length); in kobil_write() 338 priv->cur_pos = priv->cur_pos + length; in kobil_write() 342 todo = priv->filled - priv->cur_pos; in kobil_write() 349 priv->cur_pos = 0; in kobil_write()
|
/Linux-v4.19/tools/perf/util/ |
D | genelf_debug.c | 42 size_t cur_pos; member 52 for (i = 0 ; i < be->cur_pos; i++) in buffer_ext_dump() 63 if ((be->cur_pos + sz) < be_sz) { in buffer_ext_add() 64 memcpy(be->data + be->cur_pos, addr, sz); in buffer_ext_add() 65 be->cur_pos += sz; in buffer_ext_add() 88 be->cur_pos = 0; in buffer_ext_init() 95 return be->cur_pos; in buffer_ext_size()
|
/Linux-v4.19/drivers/spi/ |
D | spi-tegra20-sflash.c | 126 unsigned cur_pos; member 172 unsigned remain_len = t->len - tsd->cur_pos; in tegra_sflash_calculate_curr_xfer_param() 276 tsd->cur_pos = 0; in tegra_sflash_start_transfer_one() 392 tsd->cur_pos = tsd->cur_tx_pos; in handle_cpu_based_xfer() 394 tsd->cur_pos = tsd->cur_rx_pos; in handle_cpu_based_xfer() 396 if (tsd->cur_pos == t->len) { in handle_cpu_based_xfer()
|
D | spi-tegra114.c | 178 unsigned cur_pos; member 254 unsigned remain_len = t->len - tspi->cur_pos; in tegra_spi_calculate_curr_xfer_param() 374 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_spi_copy_client_txbuf_to_spi_txbuf() 677 tspi->cur_pos = 0; in tegra_spi_setup_transfer_one() 903 tspi->cur_pos = tspi->cur_tx_pos; in handle_cpu_based_xfer() 905 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer() 907 if (tspi->cur_pos == t->len) { in handle_cpu_based_xfer() 976 tspi->cur_pos = tspi->cur_tx_pos; in handle_dma_based_xfer() 978 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer() 980 if (tspi->cur_pos == t->len) { in handle_dma_based_xfer()
|
D | spi-tegra20-slink.c | 176 unsigned cur_pos; member 269 unsigned remain_len = t->len - tspi->cur_pos; in tegra_slink_calculate_curr_xfer_param() 384 memcpy(tspi->tx_dma_buf, t->tx_buf + tspi->cur_pos, len); in tegra_slink_copy_client_txbuf_to_spi_txbuf() 707 tspi->cur_pos = 0; in tegra_slink_start_transfer_one() 874 tspi->cur_pos = tspi->cur_tx_pos; in handle_cpu_based_xfer() 876 tspi->cur_pos = tspi->cur_rx_pos; in handle_cpu_based_xfer() 878 if (tspi->cur_pos == t->len) { in handle_cpu_based_xfer() 948 tspi->cur_pos = tspi->cur_tx_pos; in handle_dma_based_xfer() 950 tspi->cur_pos = tspi->cur_rx_pos; in handle_dma_based_xfer() 952 if (tspi->cur_pos == t->len) { in handle_dma_based_xfer()
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmdbuf.c | 119 size_t cur_pos; member 669 if (man->cur_pos == 0) { in __vmw_cmdbuf_cur_flush() 674 man->cur->cb_header->length = man->cur_pos; in __vmw_cmdbuf_cur_flush() 679 man->cur_pos = 0; in __vmw_cmdbuf_cur_flush() 1009 if (cur && (size + man->cur_pos > cur->size || in vmw_cmdbuf_reserve_cur() 1033 return (void *) (man->cur->cmd + man->cur_pos); in vmw_cmdbuf_reserve_cur() 1051 man->cur_pos += size; in vmw_cmdbuf_commit_cur() 1112 man->cur_pos = size; in vmw_cmdbuf_commit()
|
/Linux-v4.19/fs/f2fs/ |
D | segment.h | 666 int cur_pos = 0, next_pos; in check_block_count() local 673 cur_pos); in check_block_count() 674 valid_blocks += next_pos - cur_pos; in check_block_count() 678 cur_pos); in check_block_count() 679 cur_pos = next_pos; in check_block_count() 681 } while (cur_pos < sbi->blocks_per_seg); in check_block_count()
|
D | segment.c | 1868 unsigned int cur_pos = 0, next_pos, len, total_len = 0; in f2fs_clear_prefree_segments() local 1874 sbi->blocks_per_seg, cur_pos); in f2fs_clear_prefree_segments() 1875 len = next_pos - cur_pos; in f2fs_clear_prefree_segments() 1881 f2fs_issue_discard(sbi, entry->start_blkaddr + cur_pos, in f2fs_clear_prefree_segments() 1886 sbi->blocks_per_seg, cur_pos); in f2fs_clear_prefree_segments() 1889 cur_pos = next_pos; in f2fs_clear_prefree_segments() 1892 if (cur_pos < sbi->blocks_per_seg) in f2fs_clear_prefree_segments()
|
/Linux-v4.19/fs/reiserfs/ |
D | dir.c | 144 loff_t cur_pos = deh_offset(deh); in reiserfs_readdir_inode() local 224 next_pos = cur_pos + 1; in reiserfs_readdir_inode()
|
/Linux-v4.19/include/xen/interface/io/ |
D | sndif.h | 1043 struct xensnd_cur_pos_evt cur_pos; member
|
/Linux-v4.19/kernel/ |
D | relay.c | 1238 unsigned int cur_pos = read_start + total_len; in subbuf_splice_actor() local 1249 this_end = cur_pos + this_len; in subbuf_splice_actor() 1251 this_len = nonpad_end - cur_pos; in subbuf_splice_actor()
|
/Linux-v4.19/sound/xen/ |
D | xen_snd_front_evtchnl.c | 123 event->op.cur_pos.position); in evtchnl_interrupt_evt()
|