Lines Matching refs:reclen
927 int reclen = ALIGN(offsetof(struct compat_linux_dirent, d_name) + in compat_filldir() local
931 if (reclen > buf->count) in compat_filldir()
946 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir()
952 if (__put_user(d_type, (char __user *) dirent + reclen - 1)) in compat_filldir()
955 dirent = (void __user *)dirent + reclen; in compat_filldir()
957 buf->count -= reclen; in compat_filldir()
1014 int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1, in compat_filldir64() local
1019 if (reclen > buf->count) in compat_filldir64()
1033 if (__put_user(reclen, &dirent->d_reclen)) in compat_filldir64()
1042 dirent = (void __user *)dirent + reclen; in compat_filldir64()
1044 buf->count -= reclen; in compat_filldir64()