Home
last modified time | relevance | path

Searched refs:CHUNK (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache.c80 #define CHUNK (512 * 1024) /* a hack to work around scsi driver bugs */ macro
104 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 …]
/haiku/docs/develop/media/
H A Dmedia_seek_flags.txt149 ALL = FRAME | TIME | PERCENTAGE | CHUNK