Lines Matching refs:parent
210 void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh) in bt_accept_enqueue() argument
215 BT_DBG("parent %p, sk %p", parent, sk); in bt_accept_enqueue()
224 list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q); in bt_accept_enqueue()
225 bt_sk(sk)->parent = parent; in bt_accept_enqueue()
233 sk->sk_peer_pid = get_pid(parent->sk_peer_pid); in bt_accept_enqueue()
234 sk->sk_peer_cred = get_cred(parent->sk_peer_cred); in bt_accept_enqueue()
245 sk_acceptq_added(parent); in bt_accept_enqueue()
257 sk_acceptq_removed(bt_sk(sk)->parent); in bt_accept_unlink()
258 bt_sk(sk)->parent = NULL; in bt_accept_unlink()
263 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock) in bt_accept_dequeue() argument
268 BT_DBG("parent %p", parent); in bt_accept_dequeue()
271 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) { in bt_accept_dequeue()
281 if (!bt_sk(sk)->parent) { in bt_accept_dequeue()
304 test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) { in bt_accept_dequeue()
509 static inline __poll_t bt_accept_poll(struct sock *parent) in bt_accept_poll() argument
514 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) { in bt_accept_poll()
517 (test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags) && in bt_accept_poll()
733 bt->parent ? sock_i_ino(bt->parent) : 0LU); in bt_seq_show()