/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | sdk.c | 65 size_t bytes_done = 0; in mlx5_fpga_mem_read_i2c() local 75 while (bytes_done < size) { in mlx5_fpga_mem_read_i2c() 76 actual_size = min(max_size, (size - bytes_done)); in mlx5_fpga_mem_read_i2c() 79 addr + bytes_done, in mlx5_fpga_mem_read_i2c() 80 buf + bytes_done, false); in mlx5_fpga_mem_read_i2c() 87 bytes_done += actual_size; in mlx5_fpga_mem_read_i2c() 97 size_t bytes_done = 0; in mlx5_fpga_mem_write_i2c() local 107 while (bytes_done < size) { in mlx5_fpga_mem_write_i2c() 108 actual_size = min(max_size, (size - bytes_done)); in mlx5_fpga_mem_write_i2c() 111 addr + bytes_done, in mlx5_fpga_mem_write_i2c() [all …]
|
/linux-6.6.21/drivers/md/ |
D | dm-io-rewind.c | 56 static void dm_bio_integrity_rewind(struct bio *bio, unsigned int bytes_done) in dm_bio_integrity_rewind() argument 60 unsigned int bytes = bio_integrity_bytes(bi, bytes_done >> 9); in dm_bio_integrity_rewind() 62 bip->bip_iter.bi_sector -= bio_integrity_intervals(bi, bytes_done >> 9); in dm_bio_integrity_rewind() 69 unsigned int bytes_done) in dm_bio_integrity_rewind() argument
|
/linux-6.6.21/drivers/char/xillybus/ |
D | xillybus_core.c | 695 int bytes_done = 0; in xillybus_read() local 716 int bytes_to_do = count - bytes_done; in xillybus_read() 785 bytes_done += howmany; in xillybus_read() 814 if ((bytes_done >= count) || reached_eof) in xillybus_read() 820 if ((bytes_done > 0) && in xillybus_read() 835 if (bytes_done > 0) in xillybus_read() 845 if (!no_time_left || (bytes_done > 0)) { in xillybus_read() 851 int offsetlimit = ((count - bytes_done) - 1) >> in xillybus_read() 909 (no_time_left && (bytes_done == 0))) { in xillybus_read() 934 if (bytes_done) in xillybus_read() [all …]
|
D | xillyusb.c | 1443 int bytes_done = 0; in xillyusb_read() local 1462 rc = fifo_read(fifo, (__force void *)userbuf + bytes_done, in xillyusb_read() 1463 count - bytes_done, xilly_copy_to_user); in xillyusb_read() 1468 bytes_done += rc; in xillyusb_read() 1483 chan->in_consumed_bytes + count - bytes_done; in xillyusb_read() 1525 if (bytes_done == count || in xillyusb_read() 1526 (left_to_sleep <= 0 && bytes_done)) in xillyusb_read() 1603 if (bytes_done) in xillyusb_read() 1604 return bytes_done; in xillyusb_read()
|
/linux-6.6.21/io_uring/ |
D | rw.h | 14 size_t bytes_done; member
|
D | rw.c | 273 if (req_has_async_data(req) && io->bytes_done > 0) { in io_fixup_rw_res() 275 res = io->bytes_done; in io_fixup_rw_res() 277 res += io->bytes_done; in io_fixup_rw_res() 505 io->bytes_done = 0; in io_req_map_rw() 552 iorw->bytes_done = 0; in io_rw_prep_async() 833 io->bytes_done += ret; in io_read() 962 io->bytes_done += ret2; in io_write()
|
/linux-6.6.21/block/ |
D | bio-integrity.c | 367 void bio_integrity_advance(struct bio *bio, unsigned int bytes_done) in bio_integrity_advance() argument 371 unsigned bytes = bio_integrity_bytes(bi, bytes_done >> 9); in bio_integrity_advance() 373 bip->bip_iter.bi_sector += bio_integrity_intervals(bi, bytes_done >> 9); in bio_integrity_advance()
|
/linux-6.6.21/drivers/net/wireless/silabs/wfx/ |
D | fwio.c | 174 u32 offs, bytes_done = 0; in upload_firmware() local 186 if (offs + DNLD_BLOCK_SIZE - bytes_done < DNLD_FIFO_SIZE) in upload_firmware() 190 ret = wfx_sram_reg_read(wdev, WFX_DCA_GET, &bytes_done); in upload_firmware()
|
/linux-6.6.21/tools/perf/bench/ |
D | numa.c | 149 u64 bytes_done; member 1169 u64 bytes_done, secs; in worker_thread() local 1183 bytes_done = 0; in worker_thread() 1250 bytes_done += work_done; in worker_thread() 1311 process_nr, thread_nr, runtime_ns_max / bytes_done, val); in worker_thread() 1330 td->speed_gbs = secs ? bytes_done / secs / 1e9 : 0; in worker_thread() 1341 g->bytes_done += bytes_done; in worker_thread() 1682 bytes = g->bytes_done; in __bench_numa()
|
/linux-6.6.21/arch/powerpc/include/asm/ |
D | mpc5121.h | 71 u32 bytes_done; /* SCLPC Bytes Done Register */ member
|
/linux-6.6.21/drivers/s390/block/ |
D | dcssblk.c | 866 unsigned long bytes_done; in dcssblk_submit_bio() local 868 bytes_done = 0; in dcssblk_submit_bio() 894 source_addr = dev_info->start + (index<<12) + bytes_done; in dcssblk_submit_bio() 903 bytes_done += bvec.bv_len; in dcssblk_submit_bio()
|
/linux-6.6.21/drivers/net/ethernet/google/gve/ |
D | gve_ethtool.c | 219 tmp_tx_bytes = priv->tx[ring].bytes_done; in gve_get_ethtool_stats() 364 tmp_tx_bytes = tx->bytes_done; in gve_get_ethtool_stats()
|
D | gve_tx.c | 190 tx->bytes_done += bytes; in gve_clean_xdp_done() 861 tx->bytes_done += bytes; in gve_clean_tx_done()
|
D | gve.h | 513 u64 bytes_done; /* free-running - total bytes completed */ member
|
D | gve_main.c | 120 bytes = priv->tx[ring].bytes_done; in gve_get_stats() 1945 tx_bytes = priv->tx[idx].bytes_done; in gve_handle_report_stats()
|
D | gve_tx_dqo.c | 1245 tx->bytes_done += pkt_compl_bytes + reinject_compl_bytes; in gve_clean_tx_done_dqo()
|
/linux-6.6.21/include/linux/ |
D | bio.h | 763 unsigned int bytes_done) in bio_integrity_advance() argument
|