<dec f='src/src/sys/ufs/lfs/ulfs_extern.h' l='119' type='int ulfs_dirrewrite(struct inode * , __off_t , struct inode * , ino_t , int , int , int )'/>
<use f='src/src/sys/ufs/lfs/lfs_rename.c' l='883' u='c' c='ulfs_gro_rename'/>
<use f='src/src/sys/ufs/lfs/lfs_rename.c' l='949' u='c' c='ulfs_gro_rename'/>
<def f='src/src/sys/ufs/lfs/ulfs_lookup.c' l='1092' ll='1121' type='int ulfs_dirrewrite(struct inode * dp, __off_t offset, struct inode * oip, ino_t newinum, int newtype, int isrmdir, int iflags)'/>
<doc f='src/src/sys/ufs/lfs/ulfs_lookup.c' l='1076'>/*
 * Rewrite an existing directory entry to point at the inode supplied.
 *
 * DP is the directory to update.
 * OFFSET is the position of the entry in question. It may come
 * from ulr_offset of a ulfs_lookup_results.
 * OIP is the old inode the directory previously pointed to.
 * NEWINUM is the number of the new inode.
 * NEWTYPE is the new value for the type field of the directory entry.
 * (This is ignored if the fs doesn&apos;t support that.)
 * ISRMDIR is not used and (XXX) should be removed.
 * IFLAGS are added to DP&apos;s inode flags.
 *
 * The link count of OIP is decremented. Note that the link count of
 * the new inode is *not* incremented. Yay for symmetry.
 */</doc>
