/kernel/linux/linux-5.10/net/ipv6/ |
H A D | calipso.c | 19 #include <linux/list.h> 70 struct list_head list; member 81 struct list_head list; member 145 INIT_LIST_HEAD(&calipso_cache[iter].list); in calipso_cache_init() 168 &calipso_cache[iter].list, list) { in calipso_cache_invalidate() 169 list_del(&entry->list); in calipso_cache_invalidate() 214 list_for_each_entry(entry, &calipso_cache[bkt].list, list) { in calipso_cache_check() 233 __list_del(entry->list in calipso_cache_check() [all...] |
H A D | addrlabel.c | 14 #include <linux/list.h> 38 struct hlist_node list; member 133 hlist_for_each_entry_rcu(p, &net->ipv6.ip6addrlbl_table.head, list) { in __ipv6_addr_label() 198 INIT_HLIST_NODE(&newp->list); in ip6addrlbl_alloc() 213 hlist_for_each_entry_safe(p, n, &net->ipv6.ip6addrlbl_table.head, list) { in __ip6addrlbl_add() 221 hlist_replace_rcu(&p->list, &newp->list); in __ip6addrlbl_add() 226 hlist_add_before_rcu(&newp->list, &p->list); in __ip6addrlbl_add() 232 hlist_add_behind_rcu(&newp->list, in __ip6addrlbl_add() [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | offchannel.c | 105 list_for_each_entry(sdata, &local->interfaces, list) { in ieee80211_offchannel_stop_vifs() 140 list_for_each_entry(sdata, &local->interfaces, list) { in ieee80211_offchannel_return() 188 list_del(&roc->list); in ieee80211_roc_notify_destroy() 200 list_for_each_entry_safe(roc, tmp, &local->roc_list, list) { in ieee80211_end_finished_rocs() 267 list_for_each_entry(roc, &local->roc_list, list) { in ieee80211_hw_roc_start() 302 list); in _ieee80211_start_next_roc() 311 list_for_each_entry(tmp, &local->roc_list, list) { in _ieee80211_start_next_roc() 332 list_for_each_entry(tmp, &local->roc_list, list) { in _ieee80211_start_next_roc() 344 list_for_each_entry(tmp, &local->roc_list, list) { in _ieee80211_start_next_roc() 373 list_for_each_entry(tmp, &local->roc_list, list) { in _ieee80211_start_next_roc() [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | calipso.c | 19 #include <linux/list.h> 70 struct list_head list; member 81 struct list_head list; member 145 INIT_LIST_HEAD(&calipso_cache[iter].list); in calipso_cache_init() 168 &calipso_cache[iter].list, list) { in calipso_cache_invalidate() 169 list_del(&entry->list); in calipso_cache_invalidate() 214 list_for_each_entry(entry, &calipso_cache[bkt].list, list) { in calipso_cache_check() 233 __list_del(entry->list in calipso_cache_check() [all...] |
H A D | addrlabel.c | 14 #include <linux/list.h> 38 struct hlist_node list; member 133 hlist_for_each_entry_rcu(p, &net->ipv6.ip6addrlbl_table.head, list) { in __ipv6_addr_label() 198 INIT_HLIST_NODE(&newp->list); in ip6addrlbl_alloc() 213 hlist_for_each_entry_safe(p, n, &net->ipv6.ip6addrlbl_table.head, list) { in __ip6addrlbl_add() 221 hlist_replace_rcu(&p->list, &newp->list); in __ip6addrlbl_add() 226 hlist_add_before_rcu(&newp->list, &p->list); in __ip6addrlbl_add() 232 hlist_add_behind_rcu(&newp->list, in __ip6addrlbl_add() [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | offchannel.c | 105 list_for_each_entry(sdata, &local->interfaces, list) { in ieee80211_offchannel_stop_vifs() 141 list_for_each_entry(sdata, &local->interfaces, list) { in ieee80211_offchannel_return() 190 list_del(&roc->list); in ieee80211_roc_notify_destroy() 202 list_for_each_entry_safe(roc, tmp, &local->roc_list, list) { in ieee80211_end_finished_rocs() 269 list_for_each_entry(roc, &local->roc_list, list) { in ieee80211_hw_roc_start() 304 list); in _ieee80211_start_next_roc() 313 list_for_each_entry(tmp, &local->roc_list, list) { in _ieee80211_start_next_roc() 334 list_for_each_entry(tmp, &local->roc_list, list) { in _ieee80211_start_next_roc() 346 list_for_each_entry(tmp, &local->roc_list, list) { in _ieee80211_start_next_roc() 375 list_for_each_entry(tmp, &local->roc_list, list) { in _ieee80211_start_next_roc() [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | msg.h | 12 * notice, this list of conditions and the following disclaimer. 14 * notice, this list of conditions and the following disclaimer in the 1172 int offset, int dsz, int mtu, struct sk_buff_head *list); 1176 bool tipc_msg_assemble(struct sk_buff_head *list); 1177 bool tipc_msg_reassemble(struct sk_buff_head *list, struct sk_buff_head *rcvq); 1180 bool __tipc_skb_queue_sorted(struct sk_buff_head *list, u16 seqno, 1194 /* tipc_skb_peek(): peek and reserve first buffer in list 1195 * @list: list to be peeked in 1196 * Returns pointer to first buffer in list, i 1198 tipc_skb_peek(struct sk_buff_head *list, spinlock_t *lock) tipc_skb_peek() argument 1219 tipc_skb_peek_port(struct sk_buff_head *list, u32 filter) tipc_skb_peek_port() argument 1243 tipc_skb_dequeue(struct sk_buff_head *list, u32 dport) tipc_skb_dequeue() argument 1264 tipc_skb_queue_splice_tail(struct sk_buff_head *list, struct sk_buff_head *head) tipc_skb_queue_splice_tail() argument 1276 tipc_skb_queue_splice_tail_init(struct sk_buff_head *list, struct sk_buff_head *head) tipc_skb_queue_splice_tail_init() argument 1298 __tipc_skb_dequeue(struct sk_buff_head *list, u16 seqno) __tipc_skb_dequeue() argument [all...] |
/kernel/linux/linux-5.10/drivers/misc/mei/ |
H A D | client.c | 26 INIT_LIST_HEAD(&me_cl->list); in mei_me_cl_init() 76 * __mei_me_cl_del - delete me client from the list and decrease 89 list_del_init(&me_cl->list); in __mei_me_cl_del() 94 * mei_me_cl_del - delete me client from the list and decrease 108 * mei_me_cl_add - add me client to the list 116 list_add(&me_cl->list, &dev->me_clients); in mei_me_cl_add() 139 list_for_each_entry(me_cl, &dev->me_clients, list) { in __mei_me_cl_by_uuid() 188 list_for_each_entry(__me_cl, &dev->me_clients, list) { in mei_me_cl_by_id() 219 list_for_each_entry(me_cl, &dev->me_clients, list) { in __mei_me_cl_by_uuid_id() 307 list_for_each_entry_safe(me_cl, next, &dev->me_clients, list) in mei_me_cl_rm_all() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_virtchnl.c | 426 list_for_each_entry(f, &adapter->mac_filter_list, list) { in iavf_add_ether_addrs() 437 len = struct_size(veal, list, count); in iavf_add_ether_addrs() 443 len = struct_size(veal, list, count); in iavf_add_ether_addrs() 455 list_for_each_entry(f, &adapter->mac_filter_list, list) { in iavf_add_ether_addrs() 457 ether_addr_copy(veal->list[i].addr, f->macaddr); in iavf_add_ether_addrs() 496 list_for_each_entry(f, &adapter->mac_filter_list, list) { in iavf_del_ether_addrs() 507 len = struct_size(veal, list, count); in iavf_del_ether_addrs() 513 len = struct_size(veal, list, count); in iavf_del_ether_addrs() 524 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_del_ether_addrs() 526 ether_addr_copy(veal->list[ in iavf_del_ether_addrs() [all...] |
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
H A D | sja1105_vl.c | 10 /* Insert into the global gate list, sorted by gate action time. */ 28 list_add(&e->list, &gating_cfg->entries); in sja1105_insert_gate_entry() 32 list_for_each_entry(p, &gating_cfg->entries, list) { in sja1105_insert_gate_entry() 43 list_add(&e->list, p->list.prev); in sja1105_insert_gate_entry() 65 list_for_each_entry(e, &gating_cfg->entries, list) { in sja1105_gating_cfg_time_to_interval() 68 prev = e->list.prev; in sja1105_gating_cfg_time_to_interval() 73 p = list_entry(prev, struct sja1105_gate_entry, list); in sja1105_gating_cfg_time_to_interval() 77 struct sja1105_gate_entry, list); in sja1105_gating_cfg_time_to_interval() 85 list_for_each_entry_safe(e, n, &gating_cfg->entries, list) { in sja1105_free_gating_config() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | mmu_notifier.c | 38 /* all mmu notifiers registered in this mm are queued in this list */ 39 struct hlist_head list; member 41 /* to serialize the list modifications and hlist_unhashed */ 310 hlist_for_each_entry_rcu(subscription, &subscriptions->list, hlist, in mn_hlist_release() 322 while (unlikely(!hlist_empty(&subscriptions->list))) { in mn_hlist_release() 323 subscription = hlist_entry(subscriptions->list.first, in mn_hlist_release() 356 if (!hlist_empty(&subscriptions->list)) in __mmu_notifier_release() 374 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_clear_flush_young() 394 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_clear_young() 413 &mm->notifier_subscriptions->list, hlis in __mmu_notifier_test_young() [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_vl.c | 10 /* Insert into the global gate list, sorted by gate action time. */ 28 list_add(&e->list, &gating_cfg->entries); in sja1105_insert_gate_entry() 32 list_for_each_entry(p, &gating_cfg->entries, list) { in sja1105_insert_gate_entry() 43 list_add(&e->list, p->list.prev); in sja1105_insert_gate_entry() 65 list_for_each_entry(e, &gating_cfg->entries, list) { in sja1105_gating_cfg_time_to_interval() 68 prev = e->list.prev; in sja1105_gating_cfg_time_to_interval() 73 p = list_entry(prev, struct sja1105_gate_entry, list); in sja1105_gating_cfg_time_to_interval() 77 struct sja1105_gate_entry, list); in sja1105_gating_cfg_time_to_interval() 85 list_for_each_entry_safe(e, n, &gating_cfg->entries, list) { in sja1105_free_gating_config() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/cpu/sgx/ |
H A D | main.c | 41 * list contains all the sgx_epc_section's which are on that 50 * from the input list, and made available for the page allocator. SECS pages 51 * prepending their children in the input list are left intact. 68 page = list_first_entry(dirty_page_list, struct sgx_epc_page, list); in __sgx_sanitize_pages() 82 list_move(&page->list, &node->sgx_poison_page_list); in __sgx_sanitize_pages() 94 list_del(&page->list); in __sgx_sanitize_pages() 97 /* The page is not yet clean - move to the dirty list. */ in __sgx_sanitize_pages() 98 list_move_tail(&page->list, &dirty); in __sgx_sanitize_pages() 119 list_for_each_entry_rcu(encl_mm, &encl->mm_list, list) { in sgx_reclaimer_age() 210 list); in sgx_encl_ewb() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | mmu_notifier.c | 38 /* all mmu notifiers registered in this mm are queued in this list */ 39 struct hlist_head list; member 41 /* to serialize the list modifications and hlist_unhashed */ 310 hlist_for_each_entry_rcu(subscription, &subscriptions->list, hlist, in mn_hlist_release() 322 while (unlikely(!hlist_empty(&subscriptions->list))) { in mn_hlist_release() 323 subscription = hlist_entry(subscriptions->list.first, in mn_hlist_release() 356 if (!hlist_empty(&subscriptions->list)) in __mmu_notifier_release() 374 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_clear_flush_young() 394 &mm->notifier_subscriptions->list, hlist, in __mmu_notifier_clear_young() 413 &mm->notifier_subscriptions->list, hlis in __mmu_notifier_test_young() [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | gro.c | 14 /* Maximum number of GRO_NORMAL skbs to batch up for list-RX */ 34 list_for_each_entry(elem, &offload_base, list) { in dev_add_offload() 38 list_add_rcu(&po->list, elem->list.prev); in dev_add_offload() 63 list_for_each_entry(po1, head, list) { in __dev_remove_offload() 65 list_del_rcu(&po->list); in __dev_remove_offload() 251 list_for_each_entry_rcu(ptype, head, list) { in napi_gro_complete() 263 WARN_ON(&ptype->list == head); in napi_gro_complete() 275 struct list_head *head = &napi->gro_hash[index].list; in __napi_gro_flush_chain() 278 list_for_each_entry_safe_reverse(skb, p, head, list) { in __napi_gro_flush_chain() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | hevc_refs.c | 333 rpl_tmp.list[rpl_tmp.nb_refs] = rps->list[j]; in ff_hevc_slice_rpl() 351 rpl->list[i] = rpl_tmp.list[idx]; in ff_hevc_slice_rpl() 428 /* add a reference with the given poc to the list and mark it as used in DPB */ 429 static int add_candidate_ref(HEVCContext *s, RefPicList *list, in add_candidate_ref() argument 434 if (ref == s->ref || list->nb_refs >= HEVC_MAX_REFS) in add_candidate_ref() 443 list->list[list in add_candidate_ref() 479 int list; ff_hevc_frame_rps() local 496 int list = long_rps->used[i] ? LT_CURR : LT_FOLL; ff_hevc_frame_rps() local [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | ioasid.c | 42 * @list: registered custom allocators 50 struct list_head list; member 112 list_add_tail(&ops->list, &ia_data->slist); in ioasid_alloc_allocator() 154 * the later registered allocators in a list in case the first one gets in ioasid_register_allocator() 162 list_add_tail(&ia_data->list, &allocators_list); in ioasid_register_allocator() 171 list_for_each_entry(pallocator, &allocators_list, list) { in ioasid_register_allocator() 182 list_add_tail(&ops->list, &pallocator->slist); in ioasid_register_allocator() 186 list_add_tail(&ia_data->list, &allocators_list); in ioasid_register_allocator() 202 * Remove an allocator from the list, activate the next allocator in 217 list_for_each_entry(pallocator, &allocators_list, list) { in ioasid_unregister_allocator() [all...] |
/kernel/linux/linux-5.10/sound/soc/intel/common/ |
H A D | sst-ipc.c | 10 #include <linux/list.h> 38 list); in msg_get_empty() 39 list_del(&msg->list); in msg_get_empty() 60 list_del(&msg->list); in tx_wait_done() 73 list_add_tail(&msg->list, &ipc->empty_list); in tx_wait_done() 105 list_add_tail(&msg->list, &ipc->tx_list); in ipc_tx_message() 136 list_add(&ipc->msg[i].list, &ipc->empty_list); in msg_empty_list_init() 170 msg = list_first_entry(&ipc->tx_list, struct ipc_message, list); in ipc_tx_msgs() 171 list_move(&msg->list, &ipc->rx_list); in ipc_tx_msgs() 230 dev_err(ipc->dev, "error: rx list empt in sst_ipc_reply_find_msg() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun4i_drv.c | 241 static void sun4i_drv_traverse_endpoints(struct endpoint_list *list, in sun4i_drv_traverse_endpoints() argument 295 kfifo_put(&list->fifo, remote); in sun4i_drv_traverse_endpoints() 300 struct endpoint_list *list, in sun4i_drv_add_endpoints() 310 * child, but without adding it to the component list. in sun4i_drv_add_endpoints() 311 * Otherwise, we obviously want to add it to the list. in sun4i_drv_add_endpoints() 327 * component list. in sun4i_drv_add_endpoints() 340 sun4i_drv_traverse_endpoints(list, node, 1); in sun4i_drv_add_endpoints() 344 sun4i_drv_traverse_endpoints(list, node, 3); in sun4i_drv_add_endpoints() 345 sun4i_drv_traverse_endpoints(list, node, 5); in sun4i_drv_add_endpoints() 376 struct endpoint_list list; in sun4i_drv_probe() local 299 sun4i_drv_add_endpoints(struct device *dev, struct endpoint_list *list, struct component_match **match, struct device_node *node) sun4i_drv_add_endpoints() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/most/i2c/ |
H A D | i2c.c | 24 * list_first_mbo - get the first mbo from a list 25 * @ptr: the list head to take the mbo from. 28 list_first_entry(ptr, struct mbo, list) 40 struct list_head list; member 117 * list if it is an "read" request 132 list_add_tail(&mbo->list, &dev->rx.list); in enqueue() 161 * If channel direction is RX, complete the buffers in list with 177 while (!list_empty(&dev->rx.list)) { in poison_channel() 178 mbo = list_first_mbo(&dev->rx.list); in poison_channel() [all...] |
/kernel/linux/linux-5.10/drivers/staging/media/imx/ |
H A D | imx-media-dev-common.c | 42 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 51 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 63 * adds given video device to given imx-media source pad vdev list. 85 v4l2_warn(&imxmd->v4l2_dev, "%s:%u has no vdev list!\n", in imx_media_add_vdev_to_pad() 95 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_add_vdev_to_pad() 109 list_add_tail(&pad_vdev->list, pad_vdev_list); in imx_media_add_vdev_to_pad() 118 list_for_each_entry(link, &entity->links, list) { in imx_media_add_vdev_to_pad() 133 * for each pad, to hold the list of video devices reachable from that 143 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists() 172 list_for_each_entry(vdev, &imxmd->vdev_list, list) { in imx_media_create_pad_vdev_lists() [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_gpuva_mgr.h | 28 #include <linux/list.h> 226 * @list: the &list_head to track GPU VA mappings 228 struct list_head list; member 255 if (va && !list_is_last(&va->rb.entry, &va->mgr->rb.list)) in __drm_gpuva_next() 315 list_for_each_entry(va__, &(mgr__)->rb.list, rb.entry) 328 list_for_each_entry_safe(va__, next__, &(mgr__)->rb.list, rb.entry) 519 * struct drm_gpuva_ops - wraps a list of &drm_gpuva_op 523 * @list: the &list_head 525 struct list_head list; member 533 * This iterator walks over all ops within a given list o [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/imx/ |
H A D | imx-media-dev-common.c | 28 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 37 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_create_csi2_links() 48 * adds given video device to given imx-media source pad vdev list. 70 v4l2_warn(&imxmd->v4l2_dev, "%s:%u has no vdev list!\n", in imx_media_add_vdev_to_pad() 80 list_for_each_entry(pad_vdev, pad_vdev_list, list) { in imx_media_add_vdev_to_pad() 94 list_add_tail(&pad_vdev->list, pad_vdev_list); in imx_media_add_vdev_to_pad() 103 list_for_each_entry(link, &entity->links, list) { in imx_media_add_vdev_to_pad() 118 * for each pad, to hold the list of video devices reachable from that 128 list_for_each_entry(sd, &imxmd->v4l2_dev.subdevs, list) { in imx_media_alloc_pad_vdev_lists() 157 list_for_each_entry(vdev, &imxmd->vdev_list, list) { in imx_media_create_pad_vdev_lists() [all...] |
/kernel/linux/linux-6.6/drivers/staging/most/i2c/ |
H A D | i2c.c | 24 * list_first_mbo - get the first mbo from a list 25 * @ptr: the list head to take the mbo from. 28 list_first_entry(ptr, struct mbo, list) 40 struct list_head list; member 120 * list if it is an "read" request 135 list_add_tail(&mbo->list, &dev->rx.list); in enqueue() 164 * If channel direction is RX, complete the buffers in list with 180 while (!list_empty(&dev->rx.list)) { in poison_channel() 181 mbo = list_first_mbo(&dev->rx.list); in poison_channel() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun4i_drv.c | 234 static void sun4i_drv_traverse_endpoints(struct endpoint_list *list, in sun4i_drv_traverse_endpoints() argument 288 kfifo_put(&list->fifo, remote); in sun4i_drv_traverse_endpoints() 293 struct endpoint_list *list, in sun4i_drv_add_endpoints() 303 * child, but without adding it to the component list. in sun4i_drv_add_endpoints() 304 * Otherwise, we obviously want to add it to the list. in sun4i_drv_add_endpoints() 320 * component list. in sun4i_drv_add_endpoints() 333 sun4i_drv_traverse_endpoints(list, node, 1); in sun4i_drv_add_endpoints() 337 sun4i_drv_traverse_endpoints(list, node, 3); in sun4i_drv_add_endpoints() 338 sun4i_drv_traverse_endpoints(list, node, 5); in sun4i_drv_add_endpoints() 369 struct endpoint_list list; in sun4i_drv_probe() local 292 sun4i_drv_add_endpoints(struct device *dev, struct endpoint_list *list, struct component_match **match, struct device_node *node) sun4i_drv_add_endpoints() argument [all...] |