Home
last modified time | relevance | path

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

/linux-6.1.9/net/core/
Dsock.c378 struct __kernel_old_timeval old_tv; in sock_get_timeout() local
379 old_tv.tv_sec = tv.tv_sec; in sock_get_timeout()
380 old_tv.tv_usec = tv.tv_usec; in sock_get_timeout()
381 *(struct __kernel_old_timeval *)optval = old_tv; in sock_get_timeout()
382 return sizeof(old_tv); in sock_get_timeout()
404 struct __kernel_old_timeval old_tv; in sock_copy_user_timeval() local
406 if (optlen < sizeof(old_tv)) in sock_copy_user_timeval()
408 if (copy_from_sockptr(&old_tv, optval, sizeof(old_tv))) in sock_copy_user_timeval()
410 tv->tv_sec = old_tv.tv_sec; in sock_copy_user_timeval()
411 tv->tv_usec = old_tv.tv_usec; in sock_copy_user_timeval()