• Home
  • Raw
  • Download

Lines Matching refs:OFF_T

84 OFF_T Rand64(void)  in Rand64()
86 OFF_T myRandomNumber = 0; in Rand64()
88 myRandomNumber = ((OFF_T) (rand() & 0x7FFF)) << 48; in Rand64()
89 myRandomNumber |= ((OFF_T) (rand() & 0x7FFF)) << 33; in Rand64()
90 myRandomNumber |= ((OFF_T) (rand() & 0x7FFF)) << 18; in Rand64()
91 myRandomNumber |= ((OFF_T) (rand() & 0x7FFF)) << 3; in Rand64()
92 myRandomNumber |= ((OFF_T) (rand() & 0x7)); in Rand64()
101 OFF_T my_strtofft(const char *pStr) in my_strtofft()
103 OFF_T value = 0; in my_strtofft()
255 OFF_T getByteOrderedData(const OFF_T data) in getByteOrderedData()
257 OFF_T off_tpat = 0; in getByteOrderedData()
264 for (i = 0; i < sizeof(OFF_T); i++) { in getByteOrderedData()
266 (((OFF_T) (ucharpattern[i])) << sizeof(OFF_T) * in getByteOrderedData()
267 ((sizeof(OFF_T) - 1) - i)); in getByteOrderedData()
281 for (i = 0; i < sizeof(OFF_T); i++) { in getByteOrderedData()
283 (((OFF_T) (ucharpattern[i])) << sizeof(OFF_T) * in getByteOrderedData()
284 ((sizeof(OFF_T) - 1) - i)); in getByteOrderedData()
297 OFF_T *plocal_lba = lba; in mark_buffer()
298 OFF_T local_lba = *plocal_lba; in mark_buffer()
299 OFF_T *off_tbuf = buf; in mark_buffer()
300 OFF_T off_tpat = 0, off_tpat2 = 0, off_tpat3 = 0, off_tpat4 = 0; in mark_buffer()
301 OFF_T pass_count = env->pass_count; in mark_buffer()
302 OFF_T start_time = (OFF_T) env->start_time; in mark_buffer()
319 *(off_tbuf + (i / sizeof(OFF_T))) = off_tpat; in mark_buffer()
323 *(off_tbuf + (i / sizeof(OFF_T)) + 1) = off_tpat2; in mark_buffer()
327 *(off_tbuf + (i / sizeof(OFF_T)) + 2) = off_tpat3; in mark_buffer()
331 *(off_tbuf + (i / sizeof(OFF_T)) + 3) = off_tpat4; in mark_buffer()
359 OFF_T *off_tbuf = buf; in fill_buffer()
361 OFF_T *poff_tpattern = pattern; in fill_buffer()
362 OFF_T off_tpat, off_tpat2; in fill_buffer()
373 for (j = 0; j < (sizeof(OFF_T) / pattern_len); j++) in fill_buffer()
377 (((OFF_T) (ucharpattern[i])) << 8 * in fill_buffer()
382 (((OFF_T) (ucharpattern[(8 - pattern_len) + i])) << 8 * in fill_buffer()
388 (((OFF_T) (ucharpattern[i])) << 8 * in fill_buffer()
392 (((OFF_T) (ucharpattern[(8 - pattern_len) + i])) << 8 * in fill_buffer()
410 (((OFF_T) (ucharpattern[i])) << 8 * in fill_buffer()
415 (((OFF_T) (ucharpattern[(8 - pattern_len) + i])) << in fill_buffer()
421 (((OFF_T) (ucharpattern[i])) << 8 * (7 - i)); in fill_buffer()
424 (((OFF_T) (ucharpattern[(8 - pattern_len) + i])) << in fill_buffer()
444 for (i = 0; i < BLK_SIZE / sizeof(OFF_T); i++) in fill_buffer()
519 OFF_T get_file_size(char *device) in get_file_size()
521 OFF_T size = 0; in get_file_size()
545 OFF_T get_vsiz(const char *device) in get_vsiz()
550 OFF_T size = 0; in get_vsiz()
588 size = (OFF_T) DiskGeom.Cylinders.QuadPart; in get_vsiz()
589 size *= (OFF_T) DiskGeom.TracksPerCylinder; in get_vsiz()
590 size *= (OFF_T) DiskGeom.SectorsPerTrack; in get_vsiz()
618 ((((OFF_T) ulSizeTmp) << 32) & in get_vsiz()
624 (((OFF_T) ulSizeTmp) & in get_vsiz()
630 (((OFF_T) ulSizeTmp) & in get_vsiz()
645 return ((OFF_T) size); in get_vsiz()