Home
last modified time | relevance | path

Searched refs:bytes_handled (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/mtd/nand/raw/
H A Dnand_macronix.c377 size_t bytes_handled; in __macronix_30lfxg18ac_rw_otp() local
392 bytes_handled = 0; in __macronix_30lfxg18ac_rw_otp()
394 while (bytes_handled < len && in __macronix_30lfxg18ac_rw_otp()
399 bytes_to_handle = min_t(size_t, len - bytes_handled, in __macronix_30lfxg18ac_rw_otp()
405 &buf[bytes_handled], bytes_to_handle); in __macronix_30lfxg18ac_rw_otp()
408 &buf[bytes_handled], bytes_to_handle); in __macronix_30lfxg18ac_rw_otp()
412 bytes_handled += bytes_to_handle; in __macronix_30lfxg18ac_rw_otp()
417 *retlen = bytes_handled; in __macronix_30lfxg18ac_rw_otp()
/openbmc/qemu/block/
H A Dmirror.c113 int64_t *bytes_handled; member
361 *op->bytes_handled = op->bytes; in mirror_co_read()
364 *op->bytes_handled += mirror_cow_align(s, &op->offset, &op->bytes); in mirror_co_read()
367 assert(*op->bytes_handled <= UINT_MAX); in mirror_co_read()
415 *op->bytes_handled = op->bytes; in mirror_co_zero()
430 *op->bytes_handled = op->bytes; in mirror_co_discard()
442 int64_t bytes_handled = -1; in mirror_perform() local
449 .bytes_handled = &bytes_handled, in mirror_perform()
474 assert(bytes_handled >= 0); in mirror_perform()
479 assert(bytes_handled <= UINT_MAX); in mirror_perform()
[all …]