Home | History | Annotate | Download | only in linux

Lines Matching refs:inode

265  * MS-DOS file system inode data in memory
280 struct inode vfs_inode;
288 static inline struct msdos_inode_info *MSDOS_I(struct inode *inode)
290 return container_of(inode, struct msdos_inode_info, vfs_inode);
293 /* Return the FAT attribute byte for this inode */
294 static inline u8 fat_attr(struct inode *inode)
296 return ((inode->i_mode & S_IWUGO) ? ATTR_NONE : ATTR_RO) |
297 (S_ISDIR(inode->i_mode) ? ATTR_DIR : ATTR_NONE) |
298 MSDOS_I(inode)->i_attrs;
345 extern void fat_cache_inval_inode(struct inode *inode);
346 extern int fat_get_cluster(struct inode *inode, int cluster,
348 extern int fat_bmap(struct inode *inode, sector_t sector, sector_t *phys,
353 extern int fat_search_long(struct inode *inode, const unsigned char *name,
355 extern int fat_dir_empty(struct inode *dir);
356 extern int fat_subdirs(struct inode *dir);
357 extern int fat_scan(struct inode *dir, const unsigned char *name,
359 extern int fat_get_dotdot_entry(struct inode *dir, struct buffer_head **bh,
361 extern int fat_alloc_new_dir(struct inode *dir, struct timespec *ts);
362 extern int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
364 extern int fat_remove_entries(struct inode *dir, struct fat_slot_info *sinfo);
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,
407 extern int fat_alloc_clusters(struct inode *inode, int *cluster,
409 extern int fat_free_clusters(struct inode *inode, int cluster);
413 extern int fat_generic_ioctl(struct inode *inode, struct file *filp,
418 extern void fat_truncate(struct inode *inode);
422 /* fat/inode.c */
423 extern void fat_attach(struct inode *inode, loff_t i_pos);
424 extern void fat_detach(struct inode *inode);
425 extern struct inode *fat_iget(struct super_block *sb, loff_t i_pos);
426 extern struct inode *fat_build_inode(struct super_block *sb,
428 extern int fat_sync_inode(struct inode *inode);
432 extern int fat_flush_inodes(struct super_block *sb, struct inode *i1,
433 struct inode *i2);
437 extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster);