Lines Matching refs:FSIZE
83 #define FSIZE (512 * (CLUSTERSIZE)) //FSIZE may range from NUM_CHUNKS clusters to 8GB
90 //between chunk n and chunk n-1 is (FSIZE * partitions[n-1] / (1<<31) .
94 //multiple values of FSIZE, partitions values must be aligned to multiples of
111 *begin = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk - 1] >> 31);
113 *end = (uint32_t)((uint64_t)FSIZE * (uint64_t)pat->partitions[chunk] >> 31);
508 if ( ftruncate(outfd, FSIZE)){
514 for(ofs=0; ofs < FSIZE; ofs+=CLUSTERSIZE){
529 p_file = mmap(0, FSIZE, PROT_READ | PROT_WRITE, MAP_SHARED, outfd, 0);
586 if (munmap(p_file, FSIZE)){