fat.h (472475000979a156bc32cd75caa59737f5a1caa5) fat.h (6bb885ecd746752aa70d146b58f2f83e5e21813d)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _FAT_H
3#define _FAT_H
4
5#include <linux/buffer_head.h>
6#include <linux/nls.h>
7#include <linux/hash.h>
8#include <linux/ratelimit.h>

--- 402 unchanged lines hidden (view full) ---

411 fat_msg(sb, level, fmt, ## args); \
412 } while (0)
413extern int fat_clusters_flush(struct super_block *sb);
414extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster);
415extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec64 *ts,
416 __le16 __time, __le16 __date, u8 time_cs);
417extern void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts,
418 __le16 *time, __le16 *date, u8 *time_cs);
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _FAT_H
3#define _FAT_H
4
5#include <linux/buffer_head.h>
6#include <linux/nls.h>
7#include <linux/hash.h>
8#include <linux/ratelimit.h>

--- 402 unchanged lines hidden (view full) ---

411 fat_msg(sb, level, fmt, ## args); \
412 } while (0)
413extern int fat_clusters_flush(struct super_block *sb);
414extern int fat_chain_add(struct inode *inode, int new_dclus, int nr_cluster);
415extern void fat_time_fat2unix(struct msdos_sb_info *sbi, struct timespec64 *ts,
416 __le16 __time, __le16 __date, u8 time_cs);
417extern void fat_time_unix2fat(struct msdos_sb_info *sbi, struct timespec64 *ts,
418 __le16 *time, __le16 *date, u8 *time_cs);
419extern int fat_truncate_time(struct inode *inode, struct timespec64 *now,
420 int flags);
421extern int fat_update_time(struct inode *inode, struct timespec64 *now,
422 int flags);
419extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
420
421int fat_cache_init(void);
422void fat_cache_destroy(void);
423
424/* fat/nfs.c */
425extern const struct export_operations fat_export_ops;
426extern const struct export_operations fat_export_ops_nostale;
427
428/* helper for printk */
429typedef unsigned long long llu;
430
431#endif /* !_FAT_H */
423extern int fat_sync_bhs(struct buffer_head **bhs, int nr_bhs);
424
425int fat_cache_init(void);
426void fat_cache_destroy(void);
427
428/* fat/nfs.c */
429extern const struct export_operations fat_export_ops;
430extern const struct export_operations fat_export_ops_nostale;
431
432/* helper for printk */
433typedef unsigned long long llu;
434
435#endif /* !_FAT_H */