Lines Matching refs:ent12_p
48 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr()
49 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); in fat12_ent_set_ptr()
52 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr()
53 fatent->u.ent12_p[1] = bhs[1]->b_data; in fat12_ent_set_ptr()
122 u8 **ent12_p = fatent->u.ent12_p; in fat12_ent_get() local
127 next = (*ent12_p[0] >> 4) | (*ent12_p[1] << 4); in fat12_ent_get()
129 next = (*ent12_p[1] << 8) | *ent12_p[0]; in fat12_ent_get()
158 u8 **ent12_p = fatent->u.ent12_p; in fat12_ent_put() local
165 *ent12_p[0] = (new << 4) | (*ent12_p[0] & 0x0f); in fat12_ent_put()
166 *ent12_p[1] = new >> 4; in fat12_ent_put()
168 *ent12_p[0] = new & 0xff; in fat12_ent_put()
169 *ent12_p[1] = (*ent12_p[1] & 0xf0) | (new >> 8); in fat12_ent_put()
197 u8 **ent12_p = fatent->u.ent12_p; in fat12_ent_next() local
199 u8 *nextp = ent12_p[1] + 1 + (fatent->entry & 1); in fat12_ent_next()
203 WARN_ON(ent12_p[0] > (u8 *)(bhs[0]->b_data + in fat12_ent_next()
205 WARN_ON(ent12_p[1] > (u8 *)(bhs[0]->b_data + in fat12_ent_next()
208 ent12_p[0] = nextp - 1; in fat12_ent_next()
209 ent12_p[1] = nextp; in fat12_ent_next()
213 WARN_ON(ent12_p[0] != (u8 *)(bhs[0]->b_data + in fat12_ent_next()
215 WARN_ON(ent12_p[1] != (u8 *)bhs[1]->b_data); in fat12_ent_next()
216 ent12_p[0] = nextp - 1; in fat12_ent_next()
217 ent12_p[1] = nextp; in fat12_ent_next()
223 ent12_p[0] = NULL; in fat12_ent_next()
224 ent12_p[1] = NULL; in fat12_ent_next()