Home
last modified time | relevance | path

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

/linux/net/core/
H A Dsock.c373 struct old_timeval32 tv32 = { tv.tv_sec, tv.tv_usec }; in sock_get_timeout() local
374 *(struct old_timeval32 *)optval = tv32; in sock_get_timeout()
375 return sizeof(tv32); in sock_get_timeout()
395 struct old_timeval32 tv32; in sock_copy_user_timeval() local
397 if (optlen < sizeof(tv32)) in sock_copy_user_timeval()
400 if (copy_from_sockptr(&tv32, optval, sizeof(tv32))) in sock_copy_user_timeval()
402 tv->tv_sec = tv32.tv_sec; in sock_copy_user_timeval()
403 tv->tv_usec = tv32.tv_usec; in sock_copy_user_timeval()