Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireguard/
H A Dcookie.c22 init_rwsem(&checker->secret_lock); in wg_cookie_checker_init()
98 down_write(&checker->secret_lock); in make_cookie()
101 up_write(&checker->secret_lock); in make_cookie()
104 down_read(&checker->secret_lock); in make_cookie()
116 up_read(&checker->secret_lock); in make_cookie()
H A Dcookie.h19 struct rw_semaphore secret_lock; member