Searched refs:bsd_socket_locks (Results 1 – 1 of 1) sorted by relevance
117 static spinlock_t bsd_socket_locks[UNIX_HASH_SIZE / 2]; variable 409 spin_lock(&bsd_socket_locks[sk->sk_hash]); in unix_insert_bsd_socket() 411 spin_unlock(&bsd_socket_locks[sk->sk_hash]); in unix_insert_bsd_socket() 417 spin_lock(&bsd_socket_locks[sk->sk_hash]); in unix_remove_bsd_socket() 419 spin_unlock(&bsd_socket_locks[sk->sk_hash]); in unix_remove_bsd_socket() 460 spin_lock(&bsd_socket_locks[hash]); in unix_find_socket_byinode() 466 spin_unlock(&bsd_socket_locks[hash]); in unix_find_socket_byinode() 470 spin_unlock(&bsd_socket_locks[hash]); in unix_find_socket_byinode() 3966 spin_lock_init(&bsd_socket_locks[i]); in af_unix_init()