Lines Matching defs:offset
36 * however, the frag id specifies an offset (in map bits) from the end
41 * offset. This allows a directory fragment to contain small files
63 * return the map bit offset of the fragment frag_id in the zone dm.
69 const u32 frag_id, unsigned int *offset)
93 if (*offset < length)
94 return start + *offset;
95 *offset -= length;
217 int adfs_map_lookup(struct super_block *sb, u32 frag_id, unsigned int offset)
235 /* Convert sector offset to map offset */
236 mapoff = signed_asl(offset, -asb->s_map2blk);
245 /* Calculate sector offset into map block */
246 secoff = offset - signed_asl(mapoff, asb->s_map2blk);
250 adfs_error(sb, "fragment 0x%04x at offset %d not found in map",
251 frag_id, offset);