Lines Matching refs:reclen
900 int reclen = ALIGN(NAME_OFFSET(dirent) + namlen + 2, sizeof(compat_long_t)); in compat_filldir() local
903 if (reclen > buf->count) in compat_filldir()
918 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir()
924 if (__put_user(d_type, (char __user *) dirent + reclen - 1)) in compat_filldir()
927 dirent = (void __user *)dirent + reclen; in compat_filldir()
929 buf->count -= reclen; in compat_filldir()
988 int reclen = ALIGN(jj + namlen + 1, sizeof(u64)); in compat_filldir64() local
992 if (reclen > buf->count) in compat_filldir64()
1006 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir64()
1015 dirent = (void __user *)dirent + reclen; in compat_filldir64()
1017 buf->count -= reclen; in compat_filldir64()