Searched refs:roundbytes (Results 1 – 1 of 1) sorted by relevance
817 off_t srclba, dstlba, numbytes, donebytes, roundbytes; in tpc_process_b2b() local890 roundbytes = numbytes - donebytes; in tpc_process_b2b()891 if (roundbytes > TPC_MAX_IO_SIZE) { in tpc_process_b2b()892 roundbytes = TPC_MAX_IO_SIZE; in tpc_process_b2b()893 roundbytes -= roundbytes % dstblock; in tpc_process_b2b()895 adj = (dstlba * dstblock + roundbytes - pbo) % pb; in tpc_process_b2b()896 if (roundbytes > adj) in tpc_process_b2b()897 roundbytes -= adj; in tpc_process_b2b()908 /*data_len*/ roundbytes, in tpc_process_b2b()913 /*num_blocks*/ roundbytes / srcblock, in tpc_process_b2b()[all …]