Lines Matching refs:st_size
390 if ((unsigned)sbuf.st_size < tparams->header_size) { in main()
397 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, ifd, 0); in main()
414 (void) munmap((void *)ptr, sbuf.st_size); in main()
436 params.file_size = sbuf.st_size + tparams->header_size; in main()
477 size = cpu_to_uimage (sbuf.st_size); in main()
577 params.file_size = sbuf.st_size; in main()
579 ptr = mmap(0, sbuf.st_size, PROT_READ|PROT_WRITE, MAP_SHARED, ifd, 0); in main()
603 (void) munmap((void *)ptr, sbuf.st_size); in main()
656 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, dfd, 0); in copy_file()
671 if ((unsigned)sbuf.st_size < tparams->header_size) { in copy_file()
690 size = sbuf.st_size - offset; in copy_file()
722 (void) munmap((void *)ptr, sbuf.st_size); in copy_file()