Lines Matching defs:c
3425 struct hci_conn *conn = NULL, *c;
3433 list_for_each_entry_rcu(c, &h->list, list) {
3434 if (c->type != type ||
3435 skb_queue_empty(&c->data_q))
3438 bt_dev_dbg(hdev, "hcon %p state %s queued %d", c,
3439 state_to_string(c->state),
3440 skb_queue_len(&c->data_q));
3442 if (c->state != BT_CONNECTED && c->state != BT_CONFIG)
3447 if (c->sent < min) {
3448 min = c->sent;
3449 conn = c;
3467 struct hci_conn *c;
3474 list_for_each_entry(c, &h->list, list) {
3475 if (c->type == type && c->sent) {
3477 &c->dst);
3478 hci_disconnect(c, HCI_ERROR_REMOTE_USER_TERM);