Searched refs:sk_lock (Results 1 – 2 of 2) sorted by relevance
308 socket_lock_t sk_lock; member1439 #define sock_owned_by_user(sk) ((sk)->sk_lock.owned)1450 sk->sk_lock.owned = 0; \1451 init_waitqueue_head(&sk->sk_lock.wq); \1452 spin_lock_init(&(sk)->sk_lock.slock); \1453 debug_check_no_locks_freed((void *)&(sk)->sk_lock, \1454 sizeof((sk)->sk_lock)); \1455 lockdep_set_class_and_name(&(sk)->sk_lock.slock, \1457 lockdep_init_map(&(sk)->sk_lock.dep_map, (name), (key), 0); \1470 #define bh_lock_sock(__sk) spin_lock(&((__sk)->sk_lock.slock))[all …]
65 spinlock_t sk_lock; member