Lines Matching defs:link
113 struct hci_link *link = chan->lc_link;
117 if (link == NULL)
121 next_id = link->hl_lastid + 1;
126 req = TAILQ_FIRST(&link->hl_reqs);
134 req->lr_id = link->hl_lastid = next_id;
138 req->lr_link = link;
144 TAILQ_INSERT_TAIL(&link->hl_reqs, req, lr_next);
150 * Find a running request for this link
153 l2cap_request_lookup(struct hci_link *link, uint8_t id)
157 TAILQ_FOREACH(req, &link->hl_reqs, lr_next) {
171 struct hci_link *link = req->lr_link;
179 TAILQ_REMOVE(&link->hl_reqs, req, lr_next);