Lines Matching refs:reclen
155 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2, in filldir() local
159 if (reclen > buf->count) in filldir()
174 if (__put_user(reclen, &dirent->d_reclen)) in filldir()
180 if (__put_user(d_type, (char __user *) dirent + reclen - 1)) in filldir()
183 dirent = (void __user *)dirent + reclen; in filldir()
185 buf->count -= reclen; in filldir()
241 int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1, in filldir64() local
245 if (reclen > buf->count) in filldir64()
257 if (__put_user(reclen, &dirent->d_reclen)) in filldir64()
266 dirent = (void __user *)dirent + reclen; in filldir64()
268 buf->count -= reclen; in filldir64()