Lines Matching defs:fatent
254 /* fat/fatent.c */
267 static inline void fatent_init(struct fat_entry *fatent)
269 fatent->nr_bhs = 0;
270 fatent->entry = 0;
271 fatent->u.ent32_p = NULL;
272 fatent->bhs[0] = fatent->bhs[1] = NULL;
273 fatent->fat_inode = NULL;
276 static inline void fatent_set_entry(struct fat_entry *fatent, int entry)
278 fatent->entry = entry;
279 fatent->u.ent32_p = NULL;
282 static inline void fatent_brelse(struct fat_entry *fatent)
285 fatent->u.ent32_p = NULL;
286 for (i = 0; i < fatent->nr_bhs; i++)
287 brelse(fatent->bhs[i]);
288 fatent->nr_bhs = 0;
289 fatent->bhs[0] = fatent->bhs[1] = NULL;
290 fatent->fat_inode = NULL;
294 extern int fat_ent_read(struct inode *inode, struct fat_entry *fatent,
296 extern int fat_ent_write(struct inode *inode, struct fat_entry *fatent,