Home
last modified time | relevance | path

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

/linux-6.6.21/net/core/
Dsock.c383 struct __kernel_old_timeval old_tv; in sock_get_timeout() local
384 old_tv.tv_sec = tv.tv_sec; in sock_get_timeout()
385 old_tv.tv_usec = tv.tv_usec; in sock_get_timeout()
386 *(struct __kernel_old_timeval *)optval = old_tv; in sock_get_timeout()
387 return sizeof(old_tv); in sock_get_timeout()
409 struct __kernel_old_timeval old_tv; in sock_copy_user_timeval() local
411 if (optlen < sizeof(old_tv)) in sock_copy_user_timeval()
413 if (copy_from_sockptr(&old_tv, optval, sizeof(old_tv))) in sock_copy_user_timeval()
415 tv->tv_sec = old_tv.tv_sec; in sock_copy_user_timeval()
416 tv->tv_usec = old_tv.tv_usec; in sock_copy_user_timeval()