IMGBLK
nblks -= (64 * 1024) / IMGBLK;
unsigned int tmpbuf[IMGBLK / sizeof(unsigned int)];
nblks = (st.st_size + IMGBLK) / IMGBLK;