Searched refs:lastdirent (Results 1 – 3 of 3) sorted by relevance
196 struct linux_dirent __user * lastdirent; in SYSCALL_DEFINE3() local217 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() local300 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()
958 struct compat_linux_dirent __user * lastdirent; in compat_sys_getdents() local979 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() local1067 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()
113 struct hpux_dirent __user * lastdirent; in hpux_getdents() local129 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()