Searched defs:userstamp (Results 1 - 2 of 2) sorted by relevance
/net/ |
H A D | compat.c | 452 int compat_sock_get_timestamp(struct sock *sk, struct timeval __user *userstamp) argument 459 return sock_get_timestamp(sk, userstamp); 461 ctv = (struct compat_timeval __user *) userstamp; 480 int compat_sock_get_timestampns(struct sock *sk, struct timespec __user *userstamp) argument 487 return sock_get_timestampns (sk, userstamp); 489 ctv = (struct compat_timespec __user *) userstamp;
|
/net/core/ |
H A D | sock.c | 2395 int sock_get_timestamp(struct sock *sk, struct timeval __user *userstamp) argument 2407 return copy_to_user(userstamp, &tv, sizeof(tv)) ? -EFAULT : 0; 2411 int sock_get_timestampns(struct sock *sk, struct timespec __user *userstamp) argument 2423 return copy_to_user(userstamp, &ts, sizeof(ts)) ? -EFAULT : 0;
|
Completed in 298 milliseconds