Searched refs:roundbytes (Results 1 – 1 of 1) sorted by relevance
822 off_t srclba, dstlba, numbytes, donebytes, roundbytes; in tpc_process_b2b() local900 roundbytes = numbytes - donebytes; in tpc_process_b2b()901 if (roundbytes > TPC_MAX_IO_SIZE) { in tpc_process_b2b()902 roundbytes = TPC_MAX_IO_SIZE; in tpc_process_b2b()903 roundbytes -= roundbytes % dstblock; in tpc_process_b2b()905 adj = (dstlba * dstblock + roundbytes - pbo) % pb; in tpc_process_b2b()906 if (roundbytes > adj) in tpc_process_b2b()907 roundbytes -= adj; in tpc_process_b2b()913 tior->buf = malloc(roundbytes, M_CTL, M_WAITOK); in tpc_process_b2b()919 /*data_len*/ roundbytes, in tpc_process_b2b()[all …]