Lines Matching refs:count
177 struct old_linux_dirent __user *, dirent, unsigned int, count) in SYSCALL_DEFINE3() argument
214 int count; member
233 if (reclen > buf->count) in filldir()
258 buf->count -= reclen; in filldir()
268 struct linux_dirent __user *, dirent, unsigned int, count) in SYSCALL_DEFINE3() argument
273 .count = count, in SYSCALL_DEFINE3()
278 if (!access_ok(dirent, count)) in SYSCALL_DEFINE3()
295 error = count - buf.count; in SYSCALL_DEFINE3()
305 int count; member
323 if (reclen > buf->count) in filldir64()
343 buf->count -= reclen; in filldir64()
354 unsigned int count) in ksys_getdents64() argument
359 .count = count, in ksys_getdents64()
364 if (!access_ok(dirent, count)) in ksys_getdents64()
382 error = count - buf.count; in ksys_getdents64()
390 struct linux_dirent64 __user *, dirent, unsigned int, count) in SYSCALL_DEFINE3() argument
392 return ksys_getdents64(fd, dirent, count); in SYSCALL_DEFINE3()
444 struct compat_old_linux_dirent __user *, dirent, unsigned int, count) in COMPAT_SYSCALL_DEFINE3() argument
475 int count; member
490 if (reclen > buf->count) in compat_filldir()
518 buf->count -= reclen; in compat_filldir()
526 struct compat_linux_dirent __user *, dirent, unsigned int, count) in COMPAT_SYSCALL_DEFINE3() argument
533 .count = count in COMPAT_SYSCALL_DEFINE3()
537 if (!access_ok(dirent, count)) in COMPAT_SYSCALL_DEFINE3()
552 error = count - buf.count; in COMPAT_SYSCALL_DEFINE3()