Lines Matching refs:st_size
411 if ((unsigned)sbuf.st_size < tparams->header_size) { in main()
418 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, ifd, 0); in main()
442 (void) munmap((void *)ptr, sbuf.st_size); in main()
464 params.file_size = sbuf.st_size + tparams->header_size; in main()
505 size = cpu_to_uimage (sbuf.st_size); in main()
627 params.file_size = sbuf.st_size; in main()
629 map_len = sbuf.st_size; in main()
707 ptr = mmap(0, sbuf.st_size, PROT_READ, MAP_SHARED, dfd, 0); in copy_file()
722 if ((unsigned)sbuf.st_size < tparams->header_size) { in copy_file()
741 size = sbuf.st_size - offset; in copy_file()
780 (void) munmap((void *)ptr, sbuf.st_size); in copy_file()