Lines Matching refs:map
73 unsigned char *map = dm->dm_bh->b_data; in lookup_zone() local
78 frag = GET_FRAG_ID(map, 8, idmask & 0x7fff); in lookup_zone()
82 frag = GET_FRAG_ID(map, start, idmask); in lookup_zone()
84 fragend = find_next_bit_le(map, endbit, start + idlen); in lookup_zone()
121 unsigned char *map = dm->dm_bh->b_data; in scan_free_map() local
129 frag = GET_FRAG_ID(map, start, idmask); in scan_free_map()
141 frag = GET_FRAG_ID(map, start, idmask); in scan_free_map()
143 fragend = find_next_bit_le(map, endbit, start + idlen); in scan_free_map()
260 static unsigned char adfs_calczonecheck(struct super_block *sb, unsigned char *map) in adfs_calczonecheck() argument
267 v0 += map[i] + (v3 >> 8); in adfs_calczonecheck()
269 v1 += map[i + 1] + (v0 >> 8); in adfs_calczonecheck()
271 v2 += map[i + 2] + (v1 >> 8); in adfs_calczonecheck()
273 v3 += map[i + 3] + (v2 >> 8); in adfs_calczonecheck()
277 v1 += map[1] + (v0 >> 8); in adfs_calczonecheck()
278 v2 += map[2] + (v1 >> 8); in adfs_calczonecheck()
279 v3 += map[3] + (v2 >> 8); in adfs_calczonecheck()
290 unsigned char *map; in adfs_checkmap() local
292 map = dm[i].dm_bh->b_data; in adfs_checkmap()
294 if (adfs_calczonecheck(sb, map) != map[0]) { in adfs_checkmap()
298 crosscheck ^= map[3]; in adfs_checkmap()