<dec f='src/src/sys/compat/linux32/arch/amd64/linux32_syscallargs.h' l='1250' type='int linux32_sys_getdents(struct lwp * , const struct linux32_sys_getdents_args * , register_t * )'/>
<use f='src/src/sys/compat/linux32/arch/amd64/linux32_sysent.c' l='575'/>
<use f='src/src/sys/compat/linux32/arch/amd64/linux32_sysent.c' l='575'/>
<use f='src/src/sys/compat/linux32/arch/amd64/linux32_sysent.c' l='575'/>
<use f='src/src/sys/compat/linux32/arch/amd64/linux32_sysent.c' l='575'/>
<def f='src/src/sys/compat/linux32/common/linux32_dirent.c' l='94' ll='257' type='int linux32_sys_getdents(struct lwp * l, const struct linux32_sys_getdents_args * uap, register_t * retval)'/>
<use f='src/src/sys/compat/linux32/common/linux32_dirent.c' l='291' u='c' c='linux32_sys_readdir'/>
<doc f='src/src/sys/compat/linux32/common/linux32_dirent.c' l='79'>/*
 * Linux &apos;readdir&apos; call. This code is mostly taken from the
 * SunOS getdents call (see compat/sunos/sunos_misc.c), though
 * an attempt has been made to keep it a little cleaner (failing
 * miserably, because of the cruft needed if count 1 is passed).
 *
 * The d_off field should contain the offset of the next valid entry,
 * but in Linux it has the offset of the entry itself. We emulate
 * that bug here.
 *
 * Read in BSD-style entries, convert them, and copy them out.
 *
 * Note that this doesn&apos;t handle union-mounted filesystems.
 */</doc>
