Searched refs:lastdirent (Results 1 – 2 of 2) sorted by relevance
195 struct linux_dirent __user * lastdirent; in SYSCALL_DEFINE3() local216 lastdirent = buf.previous; in SYSCALL_DEFINE3()217 if (lastdirent) { in SYSCALL_DEFINE3()218 if (put_user(file->f_pos, &lastdirent->d_off)) in SYSCALL_DEFINE3()277 struct linux_dirent64 __user * lastdirent; in SYSCALL_DEFINE3() local298 lastdirent = buf.previous; in SYSCALL_DEFINE3()299 if (lastdirent) { in SYSCALL_DEFINE3()300 typeof(lastdirent->d_off) d_off = file->f_pos; in SYSCALL_DEFINE3()301 if (__put_user(d_off, &lastdirent->d_off)) in SYSCALL_DEFINE3()
940 struct compat_linux_dirent __user * lastdirent; in compat_sys_getdents() local961 lastdirent = buf.previous; in compat_sys_getdents()962 if (lastdirent) { in compat_sys_getdents()963 if (put_user(file->f_pos, &lastdirent->d_off)) in compat_sys_getdents()1028 struct linux_dirent64 __user * lastdirent; in compat_sys_getdents64() local1049 lastdirent = buf.previous; in compat_sys_getdents64()1050 if (lastdirent) { in compat_sys_getdents64()1051 typeof(lastdirent->d_off) d_off = file->f_pos; in compat_sys_getdents64()1052 if (__put_user_unaligned(d_off, &lastdirent->d_off)) in compat_sys_getdents64()