Lines Matching defs:list

296 						 list);
298 list_del(&entry->list);
484 list) {
580 list_del(&entry->list);
592 list_for_each_entry_safe(entry, tmp, &hdev->cmd_sync_work_list, list)
657 list_add_tail(&entry->list, &hdev->cmd_sync_work_list);
691 list_for_each_entry_safe(entry, tmp, &hdev->cmd_sync_work_list, list) {
830 list_for_each_entry(uuid, &hdev->uuids, list)
1189 * the resolving list; this IRK is used to generate their own address
1893 list_for_each_entry_safe(adv, n, &hdev->adv_instances, list) {
2162 /* Removes connection to resolve list if needed.*/
2191 /* Check if device is on accept list before removing it */
2198 /* Ignore errors when removing from resolving list as that is likely
2206 bt_dev_err(hdev, "Unable to remove from allow list: %d", err);
2210 bt_dev_dbg(hdev, "Remove %pMR (0x%x) from allow list", &cp.bdaddr,
2223 /* Adds connection to resolve list if needed.
2320 /* Adds connection to allow list if needed, if the device uses RPA (has IRK)
2321 * this attempts to program the device in the resolving list as well and
2343 /* Accept list can not be used with RPAs */
2348 /* Attempt to program the device in the resolving list first to avoid
2349 * having to rollback in case it fails since the resolving list is
2350 * dynamic it can probably be smaller than the accept list.
2354 bt_dev_err(hdev, "Unable to add to resolve list: %d", err);
2365 /* Check if already in accept list */
2377 bt_dev_err(hdev, "Unable to add to allow list: %d", err);
2378 /* Rollback the device from the resolving list */
2383 bt_dev_dbg(hdev, "Add %pMR (0x%x) to allow list", &cp.bdaddr,
2454 list_for_each_entry_safe(adv, tmp, &hdev->adv_instances, list) {
2526 static struct conn_params *conn_params_copy(struct list_head *list, size_t *n)
2535 list_for_each_entry_rcu(params, list, action)
2548 list_for_each_entry_rcu(params, list, action) {
2582 /* Device must not be scanning when updating the accept list.
2595 * return would disable accept list since either accept or resolving list could
2609 /* Pause advertising if resolving list can be used as controllers
2610 * cannot accept resolving list modifications while advertising.
2620 /* Disable address resolution while reprogramming accept list since
2621 * devices that do have an IRK will be programmed in the resolving list
2655 /* Go through the current accept list programmed into the
2657 * still in the list of pending connections or list of devices to
2658 * report. If not present in either list, then remove it from
2661 list_for_each_entry_safe(b, t, &hdev->le_accept_list, list) {
2685 /* Since all no longer valid accept list entries have been
2686 * removed, walk through the list of pending connections
2690 * If the list of the devices is larger than the list of
2691 * available accept list entries in the controller, then
2693 * accept list.
2695 * The list and params may be mutated while we wait for events,
2717 * the list of pending reports and also add these to the
2718 * accept list if there is still space. Abort if space runs out.
2760 /* Select filter policy to use accept list */
2928 /* Adding or removing entries from the accept list must
2930 * not allow accept list modification while scanning.
2974 * list. If there are pending LE connection we start the background scanning,
3013 * filter list. So it is safe to just reset them here.
3166 * resolving list is empty and we should attempt to program the
3196 list_for_each_entry_safe(adv, tmp, &hdev->adv_instances, list)
3263 list_for_each_entry(b, &hdev->accept_list, list) {
3768 * controllers list the max_page as 0 as long as SSP
4540 /* Read local codec list if the HCI command is supported */
5055 list_for_each_entry(p, &hdev->le_conn_params, list) {
5137 list_for_each_entry(adv_instance, &hdev->adv_instances, list)
5577 struct list_head *head = &hdev->conn_hash.list;
5581 while ((conn = list_first_or_null_rcu(head, struct hci_conn, list))) {
5802 /* Accept list is not used for discovery */
5987 list_for_each_entry(b, &hdev->accept_list, list) {
6081 /* Only configure accept list if disconnect succeeded and wake
6533 list_for_each_entry_rcu(conn, &hdev->conn_hash.list, list) {
6539 list_for_each_entry_rcu(conn, &hdev->conn_hash.list, list) {
6547 list_for_each_entry_rcu(link, &hdev->conn_hash.list, list) {
6563 list_for_each_entry_rcu(conn, &hdev->conn_hash.list, list) {