Lines Matching refs:header_cache
82 u16 *header_cache; /* cached header */ member
100 if (le16_to_cpu(part->header_cache[0]) != RFD_MAGIC) { in build_block_map()
110 entry = le16_to_cpu(part->header_cache[HEADER_MAP_OFFSET + i]); in build_block_map()
184 part->header_cache = kmalloc(part->header_size, GFP_KERNEL); in scan_header()
185 if (!part->header_cache) in scan_header()
204 (u_char *)part->header_cache); in scan_header()
234 kfree(part->header_cache); in scan_header()
527 (u_char *)part->header_cache); in find_writable_block()
570 part->header_cache[offset + HEADER_MAP_OFFSET] = del; in mark_sector_deleted()
589 if (le16_to_cpu(part->header_cache[HEADER_MAP_OFFSET + i]) in find_free_sector()
646 part->header_cache[i + HEADER_MAP_OFFSET] = entry; in do_writesect()
804 kfree(part->header_cache); in rfd_ftl_remove_dev()