Home
last modified time | relevance | path

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

/linux/usr/
H A Dgen_init_cpio.c339 ssize_t this_read; in cpio_mkfile_csum() local
342 this_read = read(fd, filebuf, this_size); in cpio_mkfile_csum()
343 if (this_read <= 0 || this_read > this_size) in cpio_mkfile_csum()
346 for (i = 0; i < this_read; i++) in cpio_mkfile_csum()
349 size -= this_read; in cpio_mkfile_csum()
370 ssize_t this_read; in cpio_mkfile() local
460 this_read = copy_file_range(file, NULL, outfd, NULL, size, 0); in cpio_mkfile()
461 if (this_read > 0) { in cpio_mkfile()
462 if (this_read > size) in cpio_mkfile()
464 offset += this_read; in cpio_mkfile()
[all …]