Lines Matching refs:parent
184 void bt_accept_enqueue(struct sock *parent, struct sock *sk) in bt_accept_enqueue() argument
186 BT_DBG("parent %p, sk %p", parent, sk); in bt_accept_enqueue()
189 list_add_tail(&bt_sk(sk)->accept_q, &bt_sk(parent)->accept_q); in bt_accept_enqueue()
190 bt_sk(sk)->parent = parent; in bt_accept_enqueue()
191 parent->sk_ack_backlog++; in bt_accept_enqueue()
200 bt_sk(sk)->parent->sk_ack_backlog--; in bt_accept_unlink()
201 bt_sk(sk)->parent = NULL; in bt_accept_unlink()
206 struct sock *bt_accept_dequeue(struct sock *parent, struct socket *newsock) in bt_accept_dequeue() argument
211 BT_DBG("parent %p", parent); in bt_accept_dequeue()
213 list_for_each_safe(p, n, &bt_sk(parent)->accept_q) { in bt_accept_dequeue()
226 test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags)) { in bt_accept_dequeue()
420 static inline unsigned int bt_accept_poll(struct sock *parent) in bt_accept_poll() argument
425 list_for_each_safe(p, n, &bt_sk(parent)->accept_q) { in bt_accept_poll()
428 (test_bit(BT_SK_DEFER_SETUP, &bt_sk(parent)->flags) && in bt_accept_poll()
661 bt->parent? sock_i_ino(bt->parent): 0LU); in bt_seq_show()