Searched refs:CHUNK (Results 1 – 2 of 2) sorted by relevance
80 #define CHUNK (512 * 1024) /* a hack to work around scsi driver bugs */ macro104 if (num_blocks * bsize < CHUNK) in beos_read_phys_blocks()107 for(sum=0; (sum + CHUNK) <= (num_blocks * bsize); sum += CHUNK) { in beos_read_phys_blocks()108 ret = read_pos(fd, (bnum * bsize) + sum, data, CHUNK); in beos_read_phys_blocks()109 if (ret != CHUNK) in beos_read_phys_blocks()112 data = (void *)((char *)data + CHUNK); in beos_read_phys_blocks()115 if (ret == CHUNK && ((num_blocks * bsize) - sum) > 0) { in beos_read_phys_blocks()121 } else if (ret == CHUNK) { in beos_read_phys_blocks()141 if (num_blocks * bsize < CHUNK) in beos_write_phys_blocks()144 for(sum=0; (sum + CHUNK) <= (num_blocks * bsize); sum += CHUNK) { in beos_write_phys_blocks()[all …]
149 ALL = FRAME | TIME | PERCENTAGE | CHUNK