Searched refs:lastdirent (Results 1 – 2 of 2) sorted by relevance
237 struct linux_dirent __user * lastdirent; in SYSCALL_DEFINE3() local255 lastdirent = buf.previous; in SYSCALL_DEFINE3()256 if (lastdirent) { in SYSCALL_DEFINE3()257 if (put_user(buf.ctx.pos, &lastdirent->d_off)) in SYSCALL_DEFINE3()321 struct linux_dirent64 __user * lastdirent; in SYSCALL_DEFINE3() local339 lastdirent = buf.previous; in SYSCALL_DEFINE3()340 if (lastdirent) { in SYSCALL_DEFINE3()341 typeof(lastdirent->d_off) d_off = buf.ctx.pos; in SYSCALL_DEFINE3()342 if (__put_user(d_off, &lastdirent->d_off)) in SYSCALL_DEFINE3()
968 struct compat_linux_dirent __user * lastdirent; in COMPAT_SYSCALL_DEFINE3() local986 lastdirent = buf.previous; in COMPAT_SYSCALL_DEFINE3()987 if (lastdirent) { in COMPAT_SYSCALL_DEFINE3()988 if (put_user(buf.ctx.pos, &lastdirent->d_off)) in COMPAT_SYSCALL_DEFINE3()1055 struct linux_dirent64 __user * lastdirent; in COMPAT_SYSCALL_DEFINE3() local1073 lastdirent = buf.previous; in COMPAT_SYSCALL_DEFINE3()1074 if (lastdirent) { in COMPAT_SYSCALL_DEFINE3()1075 typeof(lastdirent->d_off) d_off = buf.ctx.pos; in COMPAT_SYSCALL_DEFINE3()1076 if (__put_user_unaligned(d_off, &lastdirent->d_off)) in COMPAT_SYSCALL_DEFINE3()