<dec f='src/src/sys/sys/buf.h' l='302' type='int allocbuf(buf_t * , int , int )'/>
<use f='src/src/sys/kern/vfs_bio.c' l='1206' u='c' c='getblk'/>
<use f='src/src/sys/kern/vfs_bio.c' l='1235' u='c' c='geteblk'/>
<def f='src/src/sys/kern/vfs_bio.c' l='1248' ll='1316' type='int allocbuf(buf_t * bp, int size, int preserve)'/>
<doc f='src/src/sys/kern/vfs_bio.c' l='1240'>/*
 * Expand or contract the actual memory allocated to a buffer.
 *
 * If the buffer shrinks, data is lost, so it&apos;s up to the
 * caller to have written it out *first*; this routine will not
 * start a write.  If the buffer grows, it&apos;s the callers
 * responsibility to fill out the buffer&apos;s additional contents.
 */</doc>
<use f='src/src/sys/ufs/ffs/ffs_alloc.c' l='408' u='c' c='ffs_realloccg'/>
<use f='src/src/sys/ufs/ffs/ffs_alloc.c' l='503' u='c' c='ffs_realloccg'/>
<use f='src/src/sys/ufs/lfs/lfs_balloc.c' l='588' u='c' c='lfs_fragextend'/>
<use f='src/src/sys/ufs/lfs/lfs_inode.c' l='373' u='c' c='lfs_truncate'/>
