Home
last modified time | relevance | path

Searched refs:lastdirent (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/fs/
Dreaddir.c196 struct linux_dirent __user * lastdirent; in SYSCALL_DEFINE3() local
217 lastdirent = buf.previous; in SYSCALL_DEFINE3()
218 if (lastdirent) { in SYSCALL_DEFINE3()
219 if (put_user(file->f_pos, &lastdirent->d_off)) in SYSCALL_DEFINE3()
279 struct linux_dirent64 __user * lastdirent; in SYSCALL_DEFINE3() local
300 lastdirent = buf.previous; in SYSCALL_DEFINE3()
301 if (lastdirent) { in SYSCALL_DEFINE3()
302 typeof(lastdirent->d_off) d_off = file->f_pos; in SYSCALL_DEFINE3()
303 if (__put_user(d_off, &lastdirent->d_off)) in SYSCALL_DEFINE3()
Dcompat.c958 struct compat_linux_dirent __user * lastdirent; in compat_sys_getdents() local
979 lastdirent = buf.previous; in compat_sys_getdents()
980 if (lastdirent) { in compat_sys_getdents()
981 if (put_user(file->f_pos, &lastdirent->d_off)) in compat_sys_getdents()
1046 struct linux_dirent64 __user * lastdirent; in compat_sys_getdents64() local
1067 lastdirent = buf.previous; in compat_sys_getdents64()
1068 if (lastdirent) { in compat_sys_getdents64()
1069 typeof(lastdirent->d_off) d_off = file->f_pos; in compat_sys_getdents64()
1070 if (__put_user_unaligned(d_off, &lastdirent->d_off)) in compat_sys_getdents64()
/linux-3.4.99/arch/parisc/hpux/
Dfs.c113 struct hpux_dirent __user * lastdirent; in hpux_getdents() local
129 lastdirent = buf.previous; in hpux_getdents()
130 if (lastdirent) { in hpux_getdents()
131 if (put_user(file->f_pos, &lastdirent->d_off)) in hpux_getdents()