Home
last modified time | relevance | path

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

/linux-4.4.14/net/
Dcompat.c430 int compat_sock_get_timestamp(struct sock *sk, struct timeval __user *userstamp) in compat_sock_get_timestamp() argument
437 return sock_get_timestamp(sk, userstamp); in compat_sock_get_timestamp()
439 ctv = (struct compat_timeval __user *) userstamp; in compat_sock_get_timestamp()
458 int compat_sock_get_timestampns(struct sock *sk, struct timespec __user *userstamp) in compat_sock_get_timestampns() argument
465 return sock_get_timestampns (sk, userstamp); in compat_sock_get_timestampns()
467 ctv = (struct compat_timespec __user *) userstamp; in compat_sock_get_timestampns()
/linux-4.4.14/net/core/
Dsock.c2504 int sock_get_timestamp(struct sock *sk, struct timeval __user *userstamp) in sock_get_timestamp() argument
2516 return copy_to_user(userstamp, &tv, sizeof(tv)) ? -EFAULT : 0; in sock_get_timestamp()
2520 int sock_get_timestampns(struct sock *sk, struct timespec __user *userstamp) in sock_get_timestampns() argument
2532 return copy_to_user(userstamp, &ts, sizeof(ts)) ? -EFAULT : 0; in sock_get_timestampns()