Lines Matching refs:bytes
353 ssize_t bytes = 0; in copy_file_from_fd() local
381 bytes = kernel_read(f.file, pos, (char *)(*buf) + pos, in copy_file_from_fd()
383 if (bytes < 0) { in copy_file_from_fd()
385 ret = bytes; in copy_file_from_fd()
389 if (bytes == 0) in copy_file_from_fd()
391 pos += bytes; in copy_file_from_fd()
2249 unsigned long bytes = nullsz; in kexec_calculate_store_digests() local
2251 if (bytes > zero_buf_sz) in kexec_calculate_store_digests()
2252 bytes = zero_buf_sz; in kexec_calculate_store_digests()
2253 ret = crypto_shash_update(desc, zero_buf, bytes); in kexec_calculate_store_digests()
2256 nullsz -= bytes; in kexec_calculate_store_digests()