<dec f='src/src/sys/fs/msdosfs/direntry.h' l='136' type='int unix2dosfn(const unsigned char * un, unsigned char * dn, int unlen, unsigned int gen)'/>
<def f='src/src/sys/fs/msdosfs/msdosfs_conv.c' l='385' ll='531' type='int unix2dosfn(const u_char * un, u_char * dn, int unlen, u_int gen)'/>
<doc f='src/src/sys/fs/msdosfs/msdosfs_conv.c' l='374'>/*
 * Convert a unix filename to a DOS filename according to Win95 rules.
 * If applicable and gen is not 0, it is inserted into the converted
 * filename as a generation number.
 * Returns
 *	0 if name couldn&apos;t be converted
 *	1 if the converted name is the same as the original
 *	  (no long filename entry necessary for Win95)
 *	2 if conversion was successful
 *	3 if conversion was successful and generation number was inserted
 */</doc>
<use f='src/src/sys/fs/msdosfs/msdosfs_lookup.c' l='182' u='c' c='msdosfs_lookup'/>
<use f='src/src/sys/fs/msdosfs/msdosfs_lookup.c' l='1086' u='c' c='uniqdosname'/>
