Lines Matching refs:parent
188 void bt_accept_enqueue(struct sock *parent, struct sock *sk, bool bh) in bt_accept_enqueue() argument
193 BT_DBG("parent %p, sk %p", parent, sk); in bt_accept_enqueue()
202 list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q); in bt_accept_enqueue()
203 bt_sk(sk)->parent = parent; in bt_accept_enqueue()
211 sk->sk_peer_pid = get_pid(parent->sk_peer_pid); in bt_accept_enqueue()
212 sk->sk_peer_cred = get_cred(parent->sk_peer_cred); in bt_accept_enqueue()
223 sk_acceptq_added(parent); in bt_accept_enqueue()
235 sk_acceptq_removed(bt_sk(sk)->parent); in bt_accept_unlink()
236 bt_sk(sk)->parent = NULL; in bt_accept_unlink()
241 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock) in bt_accept_dequeue() argument
246 BT_DBG("parent %p", parent); in bt_accept_dequeue()
249 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) { in bt_accept_dequeue()
259 if (!bt_sk(sk)->parent) { in bt_accept_dequeue()
282 test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) { in bt_accept_dequeue()
487 static inline __poll_t bt_accept_poll(struct sock *parent) in bt_accept_poll() argument
492 list_for_each_entry_safe(s, n, &bt_sk(parent)->accept_q, accept_q) { in bt_accept_poll()
495 (test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags) && in bt_accept_poll()
711 bt->parent ? sock_i_ino(bt->parent) : 0LU); in bt_seq_show()