Lines Matching defs:int
23 int vfs_readdir(struct file *file, filldir_t filler, void *buf)
26 int res = -ENOTDIR;
70 int result;
73 static int fillonedir(void * __buf, const char * name, int namlen, loff_t offset,
74 u64 ino, unsigned int d_type)
105 SYSCALL_DEFINE3(old_readdir, unsigned int, fd,
106 struct old_linux_dirent __user *, dirent, unsigned int, count)
108 int error;
145 int count;
146 int error;
149 static int filldir(void * __buf, const char * name, int namlen, loff_t offset,
150 u64 ino, unsigned int d_type)
155 int reclen = ALIGN(offsetof(struct linux_dirent, d_name) + namlen + 2,
192 SYSCALL_DEFINE3(getdents, unsigned int, fd,
193 struct linux_dirent __user *, dirent, unsigned int, count)
198 int error;
232 int count;
233 int error;
236 static int filldir64(void * __buf, const char * name, int namlen, loff_t offset,
237 u64 ino, unsigned int d_type)
241 int reclen = ALIGN(offsetof(struct linux_dirent64, d_name) + namlen + 1,
275 SYSCALL_DEFINE3(getdents64, unsigned int, fd,
276 struct linux_dirent64 __user *, dirent, unsigned int, count)
281 int error;