Lines Matching refs:fatent
378 static inline void fatent_init(struct fat_entry *fatent) in fatent_init() argument
380 fatent->nr_bhs = 0; in fatent_init()
381 fatent->entry = 0; in fatent_init()
382 fatent->u.ent32_p = NULL; in fatent_init()
383 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_init()
386 static inline void fatent_set_entry(struct fat_entry *fatent, int entry) in fatent_set_entry() argument
388 fatent->entry = entry; in fatent_set_entry()
389 fatent->u.ent32_p = NULL; in fatent_set_entry()
392 static inline void fatent_brelse(struct fat_entry *fatent) in fatent_brelse() argument
395 fatent->u.ent32_p = NULL; in fatent_brelse()
396 for (i = 0; i < fatent->nr_bhs; i++) in fatent_brelse()
397 brelse(fatent->bhs[i]); in fatent_brelse()
398 fatent->nr_bhs = 0; in fatent_brelse()
399 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_brelse()
403 extern int fat_ent_read(struct inode *inode, struct fat_entry *fatent,
405 extern int fat_ent_write(struct inode *inode, struct fat_entry *fatent,