Lines Matching refs:fatent
357 static inline void fatent_init(struct fat_entry *fatent) in fatent_init() argument
359 fatent->nr_bhs = 0; in fatent_init()
360 fatent->entry = 0; in fatent_init()
361 fatent->u.ent32_p = NULL; in fatent_init()
362 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_init()
363 fatent->fat_inode = NULL; in fatent_init()
366 static inline void fatent_set_entry(struct fat_entry *fatent, int entry) in fatent_set_entry() argument
368 fatent->entry = entry; in fatent_set_entry()
369 fatent->u.ent32_p = NULL; in fatent_set_entry()
372 static inline void fatent_brelse(struct fat_entry *fatent) in fatent_brelse() argument
375 fatent->u.ent32_p = NULL; in fatent_brelse()
376 for (i = 0; i < fatent->nr_bhs; i++) in fatent_brelse()
377 brelse(fatent->bhs[i]); in fatent_brelse()
378 fatent->nr_bhs = 0; in fatent_brelse()
379 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_brelse()
380 fatent->fat_inode = NULL; in fatent_brelse()
389 extern int fat_ent_read(struct inode *inode, struct fat_entry *fatent,
391 extern int fat_ent_write(struct inode *inode, struct fat_entry *fatent,