Home
last modified time | relevance | path

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

/Linux-v4.19/net/
Dcompat.c458 int compat_sock_get_timestamp(struct sock *sk, struct timeval __user *userstamp) in compat_sock_get_timestamp() argument
465 return sock_get_timestamp(sk, userstamp); in compat_sock_get_timestamp()
467 ctv = (struct compat_timeval __user *) userstamp; in compat_sock_get_timestamp()
485 int compat_sock_get_timestampns(struct sock *sk, struct timespec __user *userstamp) in compat_sock_get_timestampns() argument
492 return sock_get_timestampns (sk, userstamp); in compat_sock_get_timestampns()
494 ctv = (struct compat_timespec __user *) userstamp; in compat_sock_get_timestampns()
/Linux-v4.19/net/core/
Dsock.c2900 int sock_get_timestamp(struct sock *sk, struct timeval __user *userstamp) in sock_get_timestamp() argument
2912 return copy_to_user(userstamp, &tv, sizeof(tv)) ? -EFAULT : 0; in sock_get_timestamp()
2916 int sock_get_timestampns(struct sock *sk, struct timespec __user *userstamp) in sock_get_timestampns() argument
2928 return copy_to_user(userstamp, &ts, sizeof(ts)) ? -EFAULT : 0; in sock_get_timestampns()