Changeset View
Changeset View
Standalone View
Standalone View
sys/fs/msdosfs/fat.h
Show First 20 Lines • Show All 97 Lines • ▼ Show 20 Lines | |||||
int pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int* sp); | int pcbmap(struct denode *dep, u_long findcn, daddr_t *bnp, u_long *cnp, int* sp); | ||||
int clusterfree(struct msdosfsmount *pmp, u_long cn, u_long *oldcnp); | int clusterfree(struct msdosfsmount *pmp, u_long cn, u_long *oldcnp); | ||||
int clusteralloc(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith, u_long *retcluster, u_long *got); | int clusteralloc(struct msdosfsmount *pmp, u_long start, u_long count, u_long fillwith, u_long *retcluster, u_long *got); | ||||
int fatentry(int function, struct msdosfsmount *pmp, u_long cluster, u_long *oldcontents, u_long newcontents); | int fatentry(int function, struct msdosfsmount *pmp, u_long cluster, u_long *oldcontents, u_long newcontents); | ||||
int freeclusterchain(struct msdosfsmount *pmp, u_long startchain); | int freeclusterchain(struct msdosfsmount *pmp, u_long startchain); | ||||
int extendfile(struct denode *dep, u_long count, struct buf **bpp, u_long *ncp, int flags); | int extendfile(struct denode *dep, u_long count, struct buf **bpp, u_long *ncp, int flags); | ||||
void fc_purge(struct denode *dep, u_int frcn); | void fc_purge(struct denode *dep, u_int frcn); | ||||
int markvoldirty(struct msdosfsmount *pmp, int dirty); | int markvoldirty_upgrade(struct msdosfsmount *pmp, bool dirty, bool rw_upgrade); | ||||
static inline int | |||||
markvoldirty(struct msdosfsmount *pmp, bool dirty) | |||||
{ | |||||
return (markvoldirty_upgrade(pmp, dirty, false)); | |||||
} | |||||
#endif /* _KERNEL || MAKEFS */ | #endif /* _KERNEL || MAKEFS */ | ||||
#endif /* !_FS_MSDOSFS_FAT_H_ */ | #endif /* !_FS_MSDOSFS_FAT_H_ */ |