Home
last modified time | relevance | path

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

/Linux-v5.10/fs/
Dreaddir.c287 struct linux_dirent __user * lastdirent; in SYSCALL_DEFINE3() local
288 lastdirent = (void __user *)buf.current_dir - buf.prev_reclen; in SYSCALL_DEFINE3()
290 if (put_user(buf.ctx.pos, &lastdirent->d_off)) in SYSCALL_DEFINE3()
370 struct linux_dirent64 __user * lastdirent; in SYSCALL_DEFINE3() local
371 typeof(lastdirent->d_off) d_off = buf.ctx.pos; in SYSCALL_DEFINE3()
373 lastdirent = (void __user *) buf.current_dir - buf.prev_reclen; in SYSCALL_DEFINE3()
374 if (put_user(d_off, &lastdirent->d_off)) in SYSCALL_DEFINE3()
535 struct compat_linux_dirent __user * lastdirent; in COMPAT_SYSCALL_DEFINE3() local
536 lastdirent = (void __user *)buf.current_dir - buf.prev_reclen; in COMPAT_SYSCALL_DEFINE3()
538 if (put_user(buf.ctx.pos, &lastdirent->d_off)) in COMPAT_SYSCALL_DEFINE3()