Lines Matching refs:res
27 u64 res = atomic64_read(&sk->sk_cookie); in sock_gen_cookie() local
29 if (res) in sock_gen_cookie()
30 return res; in sock_gen_cookie()
31 res = atomic64_inc_return(&cookie_gen); in sock_gen_cookie()
32 atomic64_cmpxchg(&sk->sk_cookie, 0, res); in sock_gen_cookie()
38 u64 res; in sock_diag_check_cookie() local
43 res = sock_gen_cookie(sk); in sock_diag_check_cookie()
44 if ((u32)res != cookie[0] || (u32)(res >> 32) != cookie[1]) in sock_diag_check_cookie()
53 u64 res = sock_gen_cookie(sk); in sock_diag_save_cookie() local
55 cookie[0] = (u32)res; in sock_diag_save_cookie()
56 cookie[1] = (u32)(res >> 32); in sock_diag_save_cookie()