<dec f='src/src/sys/ufs/ext2fs/ext2fs_extern.h' l='98' type='int ext2fs_valloc(struct vnode * , int , kauth_cred_t , struct vnode ** )'/>
<def f='src/src/sys/ufs/ext2fs/ext2fs_alloc.c' l='169' ll='223' type='int ext2fs_valloc(struct vnode * pvp, int mode, kauth_cred_t cred, struct vnode ** vpp)'/>
<doc f='src/src/sys/ufs/ext2fs/ext2fs_alloc.c' l='154'>/*
 * Allocate an inode in the file system.
 *
 * If allocating a directory, use ext2fs_dirpref to select the inode.
 * If allocating in a directory, the following hierarchy is followed:
 *   1) allocate the preferred inode.
 *   2) allocate an inode in the same cylinder group.
 *   3) quadradically rehash into other cylinder groups, until an
 *	  available inode is located.
 * If no inode preference is given the following hierarchy is used
 * to allocate an inode:
 *   1) allocate an inode in cylinder group 0.
 *   2) quadradically rehash into other cylinder groups, until an
 *	  available inode is located.
 */</doc>
<use f='src/src/sys/ufs/ext2fs/ext2fs_vnops.c' l='1058' u='c' c='ext2fs_makeinode'/>
