Home
last modified time | relevance | path

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

/trusty/user/app/storage/
Dclient.c659 size_t bytes_left, len; in storage_file_read() local
698 bytes_left = (size_t)(file->size - offset); in storage_file_read()
700 bytes_left = buflen; in storage_file_read()
702 buflen = bytes_left; /* save to return it to caller */ in storage_file_read()
704 SS_INFO("%s: start 0x%" PRIx64 " cnt %zu\n", __func__, offset, bytes_left); in storage_file_read()
706 while (bytes_left) { in storage_file_read()
711 len = (block_offset + bytes_left > block_size) in storage_file_read()
713 : bytes_left; in storage_file_read()
725 bytes_left -= len; in storage_file_read()
/trusty/kernel/lib/trusty/
Dipc_msg.c407 size_t bytes_left = item->len - offset; in kern_msg_read_locked() local
411 kmsg->num_iov, buf, bytes_left); in kern_msg_read_locked()
445 size_t bytes_left = item->len - offset; in user_msg_read_locked() local
447 ret = membuf_to_user_iovec(umsg->iov, umsg->num_iov, buf, bytes_left); in user_msg_read_locked()