Lines Matching refs:REC
177 #define REC (This->track_map[ptr]) macro
189 REC.head, REC.sector, REC.sizecode, in add_to_request()
194 if(REC.phantom) { in add_to_request()
197 128 << REC.sizecode); in add_to_request()
202 RR_SIZECODE(request+(*nr)-1) == REC.sizecode && in add_to_request()
203 compactify->head == REC.head && in add_to_request()
205 compactify->sector +1 == REC.sector) { in add_to_request()
206 RR_SETSIZECODE(request+(*nr)-1, REC.sizecode); in add_to_request()
216 RR_SETHEAD(request+(*nr), REC.head); in add_to_request()
217 RR_SETSECTOR(request+(*nr), REC.sector); in add_to_request()
218 RR_SETSIZECODE(request+(*nr), REC.sizecode); in add_to_request()
225 compactify->head = REC.head; in add_to_request()
226 compactify->sector = REC.sector; in add_to_request()
235 if(!REC.valid) in add_to_request_if_invalid()
259 for(ptr=0; ptr < This->last_sector; ptr=REC.end) in try_flush_dirty()
260 if(REC.dirty) in try_flush_dirty()
271 for(ptr=0; ptr < This->last_sector; ptr=REC.end) in try_flush_dirty()
272 if(REC.dirty) { in try_flush_dirty()
273 if(bytes >= REC.end - REC.begin) { in try_flush_dirty()
274 bytes -= REC.end - REC.begin; in try_flush_dirty()
275 REC.dirty = 0; in try_flush_dirty()
306 for(ptr=REC.begin; ptr < end ; ptr = REC.end) in load_data()
313 for(ptr=REC.begin; ptr < end ; ptr = REC.end) { in load_data()
314 if(!REC.valid) { in load_data()
315 if(bytes >= REC.end - REC.begin) { in load_data()
316 bytes -= REC.end - REC.begin; in load_data()
317 REC.valid = 1; in load_data()
334 for(ptr=REC.begin; ptr < end ; ptr = REC.end) { in mark_dirty()
335 REC.valid = 1; in mark_dirty()
336 if(!REC.phantom) in mark_dirty()
337 REC.dirty = 1; in mark_dirty()
379 REC.head = *head; in fill_t0()
380 REC.sector = *sector + 129; in fill_t0()
381 REC.phantom = 0; in fill_t0()
397 REC.phantom = 1; in fill_phantoms()
427 REC.begin = lbegin; in decompose()
428 REC.end = lend; in decompose()
430 REC.head = map->head; in decompose()
431 REC.sector = map->size + 128; in decompose()
432 REC.sizecode = map->size; in decompose()
434 REC.valid = 0; in decompose()
435 REC.dirty = 0; in decompose()
436 REC.phantom = 0; in decompose()
439 REC.begin = REC.end = ptr; in decompose()
447 REC.begin = ptr; in decompose()
448 REC.end = ptr+1; in decompose()
450 REC.sizecode = 2; in decompose()
452 REC.valid = 0; in decompose()
453 REC.dirty = 0; in decompose()