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.c304 ssize_t this_read; in cpio_mkfile_csum() local
307 this_read = read(fd, filebuf, this_size); in cpio_mkfile_csum()
308 if (this_read <= 0 || this_read > this_size) in cpio_mkfile_csum()
311 for (i = 0; i < this_read; i++) in cpio_mkfile_csum()
314 size -= this_read; in cpio_mkfile_csum()
411 ssize_t this_read; in cpio_mkfile() local
414 this_read = read(file, filebuf, this_size); in cpio_mkfile()
415 if (this_read <= 0 || this_read > this_size) { in cpio_mkfile()
420 if (fwrite(filebuf, this_read, 1, stdout) != 1) { in cpio_mkfile()
424 offset += this_read; in cpio_mkfile()
[all …]