/kernel/linux/linux-5.10/drivers/net/ |
H A D | macvlan.c | 300 struct sk_buff_head list; in macvlan_process_broadcast() local 302 __skb_queue_head_init(&list); in macvlan_process_broadcast() 305 skb_queue_splice_tail_init(&port->bc_queue, &list); in macvlan_process_broadcast() 308 while ((skb = __skb_dequeue(&list))) { in macvlan_process_broadcast() 486 struct macvlan_dev, list); in macvlan_handle_frame() 806 * list of vlan->lowerdev too. in macvlan_set_mac_lists() 815 * The solution is to maintain a list of broadcast addresses like in macvlan_set_mac_lists() 1343 * reconfigure list of remote source mac address 1498 list_add_tail_rcu(&vlan->list, &port->vlans); in macvlan_common_newlink() 1533 list_del_rcu(&vlan->list); in macvlan_dellink() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
H A D | main.c | 204 struct list_head list; member 211 struct list_head list; member 706 * the MAC address must be compared to each entry of the spy list. in orinoco_stat_gather() 708 * spy list), we do it, but he will pay the price. in orinoco_stat_gather() 710 * compiled in AND some addresses in the list !!! in orinoco_stat_gather() 930 list_add_tail(&rx_data->list, &priv->rx_list); in __orinoco_ev_rx() 1084 list_for_each_entry_safe(rx_data, temp, &priv->rx_list, list) { in orinoco_rx_isr_tasklet() 1087 list_del(&rx_data->list); in orinoco_rx_isr_tasklet() 1327 list_add_tail(&sd->list, &priv->scan_list); in qbuf_scan() 1345 list_add_tail(&sd->list, in qabort_scan() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | tdls.c | 59 struct mwifiex_ra_list_tbl, list); in mwifiex_restore_tdls_packets() 99 list_for_each_entry(ra_list, ra_list_head, list) { in mwifiex_hold_tdls_packets() 199 "TDLS peer station not found in list\n"); in mwifiex_tdls_add_ht_oper() 253 "TDLS peer station not found in list\n"); in mwifiex_tdls_add_vht_oper() 1240 list_for_each_entry(sta_ptr, &priv->sta_list, list) { in mwifiex_get_tdls_list() 1262 list_for_each_entry(sta_ptr, &priv->sta_list, list) { in mwifiex_disable_all_tdls_links() 1294 list_for_each_entry(peer, &priv->auto_tdls_list, list) { in mwifiex_tdls_check_tx() 1332 list_for_each_entry_safe(peer, tmp_node, &priv->auto_tdls_list, list) { in mwifiex_flush_auto_tdls_list() 1333 list_del(&peer->list); in mwifiex_flush_auto_tdls_list() 1350 list_for_each_entry(tdls_peer, &priv->auto_tdls_list, list) { in mwifiex_add_auto_tdls_peer() [all...] |
/kernel/linux/linux-5.10/drivers/s390/scsi/ |
H A D | zfcp_erp.c | 61 list_for_each_entry(curr_act, &act->adapter->erp_running_head, list) in zfcp_erp_action_is_running() 71 list_move(&act->list, &adapter->erp_ready_head); in zfcp_erp_action_ready() 115 list_for_each_entry(port, &adapter->port_list, list) in zfcp_erp_action_dismiss_adapter() 271 memset(&erp_action->list, 0, sizeof(erp_action->list)); in zfcp_erp_setup_act() 312 list_add_tail(&act->list, &adapter->erp_ready_head); in zfcp_erp_action_enqueue() 561 list_move(&erp_action->list, &erp_action->adapter->erp_running_head); in zfcp_erp_action_to_running() 614 * @t: timer list entry embedded in zfcp FSF request 652 list_for_each_entry(port, &adapter->port_list, list) in zfcp_erp_port_forced_reopen_all() 664 list_for_each_entry(port, &adapter->port_list, list) in _zfcp_erp_port_reopen_all() [all...] |
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/ |
H A D | superpipe.c | 121 * find_error_context() - locates a context by cookie on the error recovery list 133 list_for_each_entry(ctxi, &cfg->ctx_err_recovery, list) in find_error_context() 194 * under the table/list lock to serialize with a remove in get_context() 196 * table/list lock for a single context. in get_context() 219 list_for_each_entry(lun_access, &ctxi->luns, list) in get_context() 623 * recovery list. A context on the error recovery list is not known to the AFU 843 INIT_LIST_HEAD(&ctxi->list); /* initialize for list_empty() */ in init_context() 860 /* Remove context from table/error list */ in remove_context() 867 if (!list_empty(&ctxi->list)) in remove_context() [all...] |
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
H A D | hfa384x_usb.c | 126 #include <linux/list.h> 282 return list_entry(hw->ctlxq.active.next, struct hfa384x_usbctlx, list); in get_active_ctlx() 1144 list_move_tail(&ctlx->list, &hw->ctlxq.completing); in hfa384x_usbctlx_complete_sync() 1160 list_del(&ctlx->list); in hfa384x_usbctlx_complete_sync() 2608 /* This list is guaranteed to be empty if someone in hfa384x_usbctlx_reaper_task() 2611 list_for_each_entry_safe(ctlx, temp, &hw->ctlxq.reapable, list) { in hfa384x_usbctlx_reaper_task() 2612 list_del(&ctlx->list); in hfa384x_usbctlx_reaper_task() 2644 /* This list is guaranteed to be empty if someone in hfa384x_usbctlx_completion_task() 2647 list_for_each_entry_safe(ctlx, temp, &hw->ctlxq.completing, list) { in hfa384x_usbctlx_completion_task() 2662 * while our list wa in hfa384x_usbctlx_completion_task() [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | rawmidi.c | 80 list_for_each_entry(rawmidi, &snd_rawmidi_devices, list) in snd_rawmidi_search() 283 list_for_each_entry(substream, &s->substreams, list) { in assign_substream() 640 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select() 1551 list) { in snd_rawmidi_proc_info_read() 1578 list) { in snd_rawmidi_proc_info_read() 1637 list_add_tail(&substream->list, &stream->substreams); in snd_rawmidi_alloc_substreams() 1726 substream = list_entry(stream->substreams.next, struct snd_rawmidi_substream, list); in snd_rawmidi_free_substreams() 1727 list_del(&substream->list); in snd_rawmidi_free_substreams() 1780 list_add_tail(&rmidi->list, &snd_rawmidi_devices); in snd_rawmidi_dev_register() 1852 list_del(&rmidi->list); in snd_rawmidi_dev_register() [all...] |
/kernel/linux/linux-5.10/sound/usb/ |
H A D | pcm.c | 90 list_for_each_entry(fp, &subs->fmt_list, list) { in find_format() 690 list_for_each_entry(fp, &sync_subs->fmt_list, list) { in configure_sync_endpoint() 1045 list_for_each_entry(fp, &subs->fmt_list, list) { in hw_rule_rate() 1097 list_for_each_entry(fp, &subs->fmt_list, list) { in hw_rule_channels() 1148 list_for_each_entry(fp, &subs->fmt_list, list) { in hw_rule_format() 1180 list_for_each_entry(fp, &subs->fmt_list, list) { in hw_rule_period_time() 1216 kfree(subs->rate_list.list); in snd_usb_pcm_check_knot() 1217 subs->rate_list.list = NULL; in snd_usb_pcm_check_knot() 1219 list_for_each_entry(fp, &subs->fmt_list, list) { in snd_usb_pcm_check_knot() 1229 subs->rate_list.list in snd_usb_pcm_check_knot() [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | inode.c | 887 INIT_LIST_HEAD(&l_ctx->list); in nfs_init_lock_context() 895 list_for_each_entry_rcu(pos, &ctx->lock_context.list, list) { in __nfs_find_lock_context() 922 list_add_tail_rcu(&new->list, in nfs_get_lock_context() 923 &ctx->lock_context.list); in nfs_get_lock_context() 943 list_del_rcu(&l_ctx->list); in nfs_put_lock_context() 1009 INIT_LIST_HEAD(&ctx->list); in alloc_nfs_open_context() 1030 if (!list_empty(&ctx->list)) { in __put_nfs_open_context() 1032 list_del_rcu(&ctx->list); in __put_nfs_open_context() 1070 list_add_tail_rcu(&ctx->list, in nfs_inode_attach_open_context() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | zsmalloc.c | 233 * Placed within free objects to form a singly linked list. 234 * For every zspage, zspage->freeobj gives head of this list. 289 struct list_head list; /* fullness list */ member 530 * class maintains a list of zspages where each zspage is divided 724 struct zspage, list); in insert_zspage() 731 list_add(&zspage->list, &head->list); in insert_zspage() 735 list_add(&zspage->list, &class->fullness_list[fullness]); in insert_zspage() 749 list_del_init(&zspage->list); in remove_zspage() [all...] |
/kernel/linux/linux-5.10/net/bluetooth/ |
H A D | hci_conn.c | 158 list_for_each_entry_rcu(c, &hdev->conn_hash.list, list) { in le_scan_cleanup() 640 /* Remove the connection from the list and cleanup its remaining in hci_conn_del() 659 list_for_each_entry(d, &hci_dev_list, list) { in hci_get_route() 1568 list_for_each_entry_safe(c, n, &h->list, list) { in hci_conn_hash_flush() 1643 list_for_each_entry(c, &hdev->conn_hash.list, list) { in hci_get_conn_list() 1735 list_add_rcu(&chan->list, &conn->chan_list); in hci_chan_create() 1747 list_del_rcu(&chan->list); in hci_chan_del() [all...] |
/kernel/linux/linux-5.10/net/dsa/ |
H A D | slave.c | 7 #include <linux/list.h> 926 list_for_each_entry(mall_tc_entry, &p->mall_tc_list, list) in dsa_slave_mall_tc_entry_find() 981 list_add_tail(&mall_tc_entry->list, &p->mall_tc_list); in dsa_slave_add_cls_matchall_mirred() 1016 list_for_each_entry(mall_tc_entry, &p->mall_tc_list, list) { in dsa_slave_add_cls_matchall_police() 1042 list_add_tail(&mall_tc_entry->list, &p->mall_tc_list); in dsa_slave_add_cls_matchall_police() 1075 list_del(&mall_tc_entry->list); in dsa_slave_del_cls_matchall() 1368 struct list_head list; member 1378 list_for_each_entry(p, hw_port_list, list) { in dsa_hw_port_list_set_mtu() 1390 list_for_each_entry_continue_reverse(p, hw_port_list, list) { in dsa_hw_port_list_set_mtu() 1405 list_for_each_entry_safe(p, n, hw_port_list, list) in dsa_hw_port_list_free() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mscc/ |
H A D | ocelot_vcap.c | 887 struct list_head list; member 906 list_for_each_entry(tmp, &ocelot->vcap_pol.pol_list, list) in ocelot_vcap_policer_add() 924 list_add_tail(&tmp->list, &ocelot->vcap_pol.pol_list); in ocelot_vcap_policer_add() 936 list_for_each_entry_safe(tmp, n, &ocelot->vcap_pol.pol_list, list) in ocelot_vcap_policer_del() 940 list_del(&tmp->list); in ocelot_vcap_policer_del() 1005 list_for_each_entry(tmp, &block->rules, list) { in ocelot_vcap_filter_add_to_block() 1007 pos = &tmp->list; in ocelot_vcap_filter_add_to_block() 1011 list_add_tail(&filter->list, pos); in ocelot_vcap_filter_add_to_block() 1028 list_for_each_entry(tmp, &block->rules, list) { in ocelot_vcap_block_get_filter_index() 1044 list_for_each_entry(tmp, &block->rules, list) { in ocelot_vcap_block_find_filter_by_index() [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | inode.c | 426 INIT_LIST_HEAD(&nfsi->commit_info.list); in nfs_inode_init_regular() 933 INIT_LIST_HEAD(&l_ctx->list); in nfs_init_lock_context() 941 list_for_each_entry_rcu(pos, &ctx->lock_context.list, list) { in __nfs_find_lock_context() 968 list_add_tail_rcu(&new->list, in nfs_get_lock_context() 969 &ctx->lock_context.list); in nfs_get_lock_context() 989 list_del_rcu(&l_ctx->list); in nfs_put_lock_context() 1054 INIT_LIST_HEAD(&ctx->list); in alloc_nfs_open_context() 1075 if (!list_empty(&ctx->list)) { in __put_nfs_open_context() 1077 list_del_rcu(&ctx->list); in __put_nfs_open_context() [all...] |
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/ |
H A D | superpipe.c | 121 * find_error_context() - locates a context by cookie on the error recovery list 133 list_for_each_entry(ctxi, &cfg->ctx_err_recovery, list) in find_error_context() 194 * under the table/list lock to serialize with a remove in get_context() 196 * table/list lock for a single context. in get_context() 219 list_for_each_entry(lun_access, &ctxi->luns, list) in get_context() 624 * recovery list. A context on the error recovery list is not known to the AFU 844 INIT_LIST_HEAD(&ctxi->list); /* initialize for list_empty() */ in init_context() 861 /* Remove context from table/error list */ in remove_context() 868 if (!list_empty(&ctxi->list)) in remove_context() [all...] |
/kernel/linux/linux-6.6/drivers/staging/wlan-ng/ |
H A D | hfa384x_usb.c | 105 #include <linux/list.h> 261 return list_entry(hw->ctlxq.active.next, struct hfa384x_usbctlx, list); in get_active_ctlx() 1123 list_move_tail(&ctlx->list, &hw->ctlxq.completing); in hfa384x_usbctlx_complete_sync() 1139 list_del(&ctlx->list); in hfa384x_usbctlx_complete_sync() 2586 /* This list is guaranteed to be empty if someone in hfa384x_usbctlx_reaper_task() 2589 list_for_each_entry_safe(ctlx, temp, &hw->ctlxq.reapable, list) { in hfa384x_usbctlx_reaper_task() 2590 list_del(&ctlx->list); in hfa384x_usbctlx_reaper_task() 2622 /* This list is guaranteed to be empty if someone in hfa384x_usbctlx_completion_task() 2625 list_for_each_entry_safe(ctlx, temp, &hw->ctlxq.completing, list) { in hfa384x_usbctlx_completion_task() 2640 * while our list wa in hfa384x_usbctlx_completion_task() [all...] |
/kernel/linux/linux-6.6/drivers/block/rnbd/ |
H A D | rnbd-clt.c | 151 * rnbd_get_cpu_qlist() - finds a list with HW queues to be rerun 156 * Each CPU has a list of HW queues, which needs to be rerun. If a list 158 * set bit in a bitmap and returns corresponding CPU list. 189 * Each CPU has it's own list of HW queues, which should be rerun. 190 * Function finds such list with HW queues, takes a list lock, picks up 191 * the first HW queue out of the list and requeues it. 240 * always return the first CPU with something on the queue list when the in rnbd_rerun_if_needed() 242 * on the list in rnbd_rerun_if_needed() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | pio.c | 849 dd_dev_err(dd, "piowait list not empty!\n"); in sc_free() 923 wait = list_first_entry(&wake_list, struct iowait, list); in sc_disable() 926 list_del_init(&priv->s_iowait.list); in sc_disable() 1572 struct list_head *list; in sc_piobufavail() local 1582 list = &sc->piowait; in sc_piobufavail() 1584 * Note: checking that the piowait list is empty and clearing in sc_piobufavail() 1586 * could end up with QPs on the wait list with the interrupt in sc_piobufavail() 1590 while (!list_empty(list)) { in sc_piobufavail() 1595 wait = list_first_entry(list, struct iowait, list); in sc_piobufavail() 1823 pio_map_rcu_callback(struct rcu_head *list) pio_map_rcu_callback() argument [all...] |
H A D | verbs.c | 478 list_for_each_entry_rcu(p, &mcast->qp_list, list) { in hfi1_handle_packet() 558 struct list_head *list = &dev->memwait; in mem_timer() local 565 if (!list_empty(list)) { in mem_timer() 566 wait = list_first_entry(list, struct iowait, list); in mem_timer() 569 list_del_init(&priv->s_iowait.list); in mem_timer() 572 if (!list_empty(list)) in mem_timer() 616 if (list_empty(&priv->s_iowait.list)) { in hfi1_wait_kmem() 620 list_add_tail(&priv->s_iowait.list, &dev->memwait); in hfi1_wait_kmem() 637 list_add_tail(&ps->s_txreq->txreq.list, in wait_kmem() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_hem.c | 16 * copyright notice, this list of conditions and the following 20 * copyright notice, this list of conditions and the following 284 list_add_tail(&chunk->list, &hem->chunk_list); in hns_roce_alloc_hem() 323 list_for_each_entry_safe(chunk, tmp, &hem->chunk_list, list) { in hns_roce_free_hem() 770 list_for_each_entry(chunk, &hem->chunk_list, list) { in hns_roce_table_find() 982 struct list_head list; /* link all hems in the same bt level */ member 1020 INIT_LIST_HEAD(&hem->list); in hem_list_alloc_item() 1040 list_for_each_entry_safe(hem, temp_hem, head, list) { in hem_list_free_all() 1041 list_del(&hem->list); in hem_list_free_all() 1073 list_for_each_entry_safe(hem, temp_hem, ba_list, list) { in hem_list_search_item() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/ |
H A D | main.c | 204 struct list_head list; member 211 struct list_head list; member 706 * the MAC address must be compared to each entry of the spy list. in orinoco_stat_gather() 708 * spy list), we do it, but he will pay the price. in orinoco_stat_gather() 710 * compiled in AND some addresses in the list !!! in orinoco_stat_gather() 930 list_add_tail(&rx_data->list, &priv->rx_list); in __orinoco_ev_rx() 1084 list_for_each_entry_safe(rx_data, temp, &priv->rx_list, list) { in orinoco_rx_isr_tasklet() 1087 list_del(&rx_data->list); in orinoco_rx_isr_tasklet() 1327 list_add_tail(&sd->list, &priv->scan_list); in qbuf_scan() 1345 list_add_tail(&sd->list, in qabort_scan() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | tdls.c | 59 struct mwifiex_ra_list_tbl, list); in mwifiex_restore_tdls_packets() 99 list_for_each_entry(ra_list, ra_list_head, list) { in mwifiex_hold_tdls_packets() 199 "TDLS peer station not found in list\n"); in mwifiex_tdls_add_ht_oper() 253 "TDLS peer station not found in list\n"); in mwifiex_tdls_add_vht_oper() 1240 list_for_each_entry(sta_ptr, &priv->sta_list, list) { in mwifiex_get_tdls_list() 1262 list_for_each_entry(sta_ptr, &priv->sta_list, list) { in mwifiex_disable_all_tdls_links() 1294 list_for_each_entry(peer, &priv->auto_tdls_list, list) { in mwifiex_tdls_check_tx() 1332 list_for_each_entry_safe(peer, tmp_node, &priv->auto_tdls_list, list) { in mwifiex_flush_auto_tdls_list() 1333 list_del(&peer->list); in mwifiex_flush_auto_tdls_list() 1350 list_for_each_entry(tdls_peer, &priv->auto_tdls_list, list) { in mwifiex_add_auto_tdls_peer() [all...] |
/kernel/linux/linux-6.6/drivers/macintosh/ |
H A D | via-pmu.c | 1119 va_list list; in pmu_request() local 1132 va_start(list, nbytes); in pmu_request() 1134 req->data[i] = va_arg(list, int); in pmu_request() 1135 va_end(list); in pmu_request() 2098 struct list_head list; member 2119 struct list_head *list; in pmu_pass_intr() local 2126 for (list = &all_pmu_pvt; (list = list->next) != &all_pmu_pvt; ) { in pmu_pass_intr() 2127 pp = list_entry(list, struc in pmu_pass_intr() [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | rawmidi.c | 83 list_for_each_entry(rawmidi, &snd_rawmidi_devices, list) in snd_rawmidi_search() 335 list_for_each_entry(substream, &s->substreams, list) { in assign_substream() 689 list_for_each_entry(substream, &pstr->substreams, list) { in __snd_rawmidi_info_select() 1779 list) { in snd_rawmidi_proc_info_read() 1806 list) { in snd_rawmidi_proc_info_read() 1874 list_add_tail(&substream->list, &stream->substreams); in snd_rawmidi_alloc_substreams() 1974 substream = list_entry(stream->substreams.next, struct snd_rawmidi_substream, list); in snd_rawmidi_free_substreams() 1975 list_del(&substream->list); in snd_rawmidi_free_substreams() 2031 list_add_tail(&rmidi->list, &snd_rawmidi_devices); in snd_rawmidi_dev_register() 2106 list_del(&rmidi->list); in snd_rawmidi_dev_register() [all...] |
/kernel/linux/linux-6.6/drivers/s390/scsi/ |
H A D | zfcp_erp.c | 61 list_for_each_entry(curr_act, &act->adapter->erp_running_head, list) in zfcp_erp_action_is_running() 71 list_move(&act->list, &adapter->erp_ready_head); in zfcp_erp_action_ready() 115 list_for_each_entry(port, &adapter->port_list, list) in zfcp_erp_action_dismiss_adapter() 271 memset(&erp_action->list, 0, sizeof(erp_action->list)); in zfcp_erp_setup_act() 312 list_add_tail(&act->list, &adapter->erp_ready_head); in zfcp_erp_action_enqueue() 561 list_move(&erp_action->list, &erp_action->adapter->erp_running_head); in zfcp_erp_action_to_running() 614 * @t: timer list entry embedded in zfcp FSF request 652 list_for_each_entry(port, &adapter->port_list, list) in zfcp_erp_port_forced_reopen_all() 664 list_for_each_entry(port, &adapter->port_list, list) in _zfcp_erp_port_reopen_all() [all...] |