<dec f='src/src/sys/fs/msdosfs/fat.h' l='113' type='int fatentry(int , struct msdosfsmount * , u_long , u_long * , u_long )'/>
<use f='src/src/sys/fs/msdosfs/msdosfs_denode.c' l='455' u='c' c='detrunc'/>
<use f='src/src/sys/fs/msdosfs/msdosfs_fat.c' l='530' u='c' c='clusterfree'/>
<def f='src/src/sys/fs/msdosfs/msdosfs_fat.c' l='564' ll='653' type='int fatentry(int function, struct msdosfsmount * pmp, u_long cn, u_long * oldcontents, u_long newcontents)'/>
<use f='src/src/sys/fs/msdosfs/msdosfs_fat.c' l='1082' u='c' c='extendfile'/>
<doc f='src/src/sys/fs/msdosfs/msdosfs_fat.c' l='545'>/*
 * Get or Set or &apos;Get and Set&apos; the cluster&apos;th entry in the FAT.
 *
 * function	- whether to get or set a fat entry
 * pmp		- address of the msdosfsmount structure for the filesystem
 *		  whose FAT is to be manipulated.
 * cn		- which cluster is of interest
 * oldcontents	- address of a word that is to receive the contents of the
 *		  cluster&apos;th entry if this is a get function
 * newcontents	- the new value to be written into the cluster&apos;th element of
 *		  the FAT if this is a set function.
 *
 * This function can also be used to free a cluster by setting the FAT entry
 * for a cluster to 0.
 *
 * All copies of the FAT are updated if this is a set function. NOTE: If
 * fatentry() marks a cluster as free it does not update the inusemap in
 * the msdosfsmount structure. This is left to the caller.
 */</doc>
