Home
last modified time | relevance | path

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

/openbmc/linux/usr/
H A Dgen_init_cpio.c303 ssize_t this_read; in cpio_mkfile_csum() local
306 this_read = read(fd, filebuf, this_size); in cpio_mkfile_csum()
307 if (this_read <= 0 || this_read > this_size) in cpio_mkfile_csum()
310 for (i = 0; i < this_read; i++) in cpio_mkfile_csum()
313 size -= this_read; in cpio_mkfile_csum()
404 ssize_t this_read; in cpio_mkfile() local
407 this_read = read(file, filebuf, this_size); in cpio_mkfile()
408 if (this_read <= 0 || this_read > this_size) { in cpio_mkfile()
413 if (fwrite(filebuf, this_read, 1, stdout) != 1) { in cpio_mkfile()
417 offset += this_read; in cpio_mkfile()
[all …]