/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.c | 318 asd_printk("couldn't allocate list of escbs\n"); in asd_alloc_escbs() 324 for (i = 0; i < seq->num_escbs; i++, escb = list_entry(escb->list.next, in asd_alloc_escbs() 326 list)) { in asd_alloc_escbs() 674 asd_printk("couldn't initialize the done list:%d\n", in asd_init_hw() 740 list_del_init(&ascb->list); in asd_dl_tasklet_handler() 756 * asd_process_donelist_isr -- schedule processing of done list entries 1001 * The ISR processes done list entries and level 3 error handling. 1070 * asd_ascb_alloc_list -- allocate a list of aSCBs 1077 * a linked list in two ways: by their list fiel 1155 asd_start_scb_timers(struct list_head *list) asd_start_scb_timers() argument [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | protocol.c | 85 /* Add the address to the local list. */ in sctp_v4_copy_addrlist() 91 INIT_LIST_HEAD(&addr->list); in sctp_v4_copy_addrlist() 92 list_add_tail(&addr->list, addrlist); in sctp_v4_copy_addrlist() 111 af = list_entry(pos, struct sctp_af, list); in sctp_get_local_addr_list() 125 addr = list_entry(pos, struct sctp_sockaddr_entry, list); in sctp_free_local_addr_list() 140 list_for_each_entry_rcu(addr, &net->sctp.local_addr_list, list) { in sctp_copy_local_addr_list() 379 * For INIT and INIT-ACK address list, let L be the level of 412 * source address that matches an address in the bind address list. 464 /* Walk through the bind address list and look for a bind in sctp_v4_get_dst() 469 list_for_each_entry_rcu(laddr, &bp->address_list, list) { in sctp_v4_get_dst() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1237 list_for_each_entry(j, &priv->rx_list.list, list) { in gfar_process_filer_changes() 1292 if (list_empty(&priv->rx_list.list)) { in gfar_add_cls() 1296 list_add(&temp->list, &priv->rx_list.list); in gfar_add_cls() 1299 list_for_each_entry(comp, &priv->rx_list.list, list) { in gfar_add_cls() 1301 list_add_tail(&temp->list, &comp->list); in gfar_add_cls() 1312 list_add_tail(&temp->list, in gfar_add_cls() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | dsa.h | 12 #include <linux/list.h> 121 struct list_head list; member 173 list_for_each_entry((_dp), &(_dst)->ports, list) \ 177 list_for_each_entry((_dp), &(_ds)->dst->ports, list) \ 222 struct list_head list; member 303 struct list_head list; member 333 * so keep it stupid at the moment and list them all. 338 struct list_head list; member 361 struct list_head list; member 368 struct list_head list; member 1300 struct list_head list; global() member [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | mad_rmpp.c | 17 * copyright notice, this list of conditions and the following 21 * copyright notice, this list of conditions and the following 48 struct list_head list; member 93 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs() 102 &agent->rmpp_list, list) { in ib_cancel_rmpp_recvs() 103 list_del(&rmpp_recv->list); in ib_cancel_rmpp_recvs() 254 list_del(&rmpp_recv->list); in recv_timeout_handler() 270 list_del(&rmpp_recv->list); in recv_cleanup_handler() 329 list_for_each_entry(rmpp_recv, &agent->rmpp_list, list) { in find_rmpp_recv() 364 list_add_tail(&rmpp_recv->list, in insert_rmpp_recv() 629 struct list_head *list; adjust_last_ack() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/aic94xx/ |
H A D | aic94xx_hwi.c | 316 asd_printk("couldn't allocate list of escbs\n"); in asd_alloc_escbs() 322 for (i = 0; i < seq->num_escbs; i++, escb = list_entry(escb->list.next, in asd_alloc_escbs() 324 list)) { in asd_alloc_escbs() 672 asd_printk("couldn't initialize the done list:%d\n", in asd_init_hw() 738 list_del_init(&ascb->list); in asd_dl_tasklet_handler() 754 * asd_process_donelist_isr -- schedule processing of done list entries 999 * The ISR processes done list entries and level 3 error handling. 1068 * asd_ascb_alloc_list -- allocate a list of aSCBs 1075 * a linked list in two ways: by their list fiel 1153 asd_start_scb_timers(struct list_head *list) asd_start_scb_timers() argument [all...] |
/kernel/linux/linux-6.6/net/sunrpc/ |
H A D | sched.c | 101 if (list_empty(&queue->timer_list.list)) in __rpc_disable_timer() 125 if (list_empty(&queue->timer_list.list) || time_before(timeout, queue->timer_list.expires)) in __rpc_add_timer() 127 list_add(&task->u.tk_wait.timer_list, &queue->timer_list.list); in __rpc_add_timer() 144 * Add a request to a queue list 151 list_for_each_entry(t, q, u.tk_wait.list) { in __rpc_list_enqueue_task() 155 /* Cache the queue head in task->u.tk_wait.list */ in __rpc_list_enqueue_task() 156 task->u.tk_wait.list.next = q; in __rpc_list_enqueue_task() 157 task->u.tk_wait.list.prev = NULL; in __rpc_list_enqueue_task() 162 list_add_tail(&task->u.tk_wait.list, q); in __rpc_list_enqueue_task() 166 * Remove request from a queue list [all...] |
/third_party/node/test/fixtures/ |
H A D | report-oom.js | 3 const list = []; 6 list.push(record);
|
/third_party/musl/src/unistd/ |
H A D | getgroups.c | 4 int getgroups(int count, gid_t list[]) in getgroups() argument 6 return syscall(SYS_getgroups, count, list); in getgroups()
|
/kernel/linux/linux-5.10/include/net/ |
H A D | sock.h | 40 #include <linux/list.h> 723 or a list and the lookup is made under lock preventing hash table 774 static inline void __sk_add_node(struct sock *sk, struct hlist_head *list) in __sk_add_node() argument 776 hlist_add_head(&sk->sk_node, list); in __sk_add_node() 779 static inline void sk_add_node(struct sock *sk, struct hlist_head *list) in sk_add_node() argument 782 __sk_add_node(sk, list); in sk_add_node() 785 static inline void sk_add_node_rcu(struct sock *sk, struct hlist_head *list) in sk_add_node_rcu() argument 790 hlist_add_tail_rcu(&sk->sk_node, list); in sk_add_node_rcu() 792 hlist_add_head_rcu(&sk->sk_node, list); in sk_add_node_rcu() 795 static inline void sk_add_node_tail_rcu(struct sock *sk, struct hlist_head *list) in sk_add_node_tail_rcu() argument 801 __sk_nulls_add_node_rcu(struct sock *sk, struct hlist_nulls_head *list) __sk_nulls_add_node_rcu() argument 806 __sk_nulls_add_node_tail_rcu(struct sock *sk, struct hlist_nulls_head *list) __sk_nulls_add_node_tail_rcu() argument 811 sk_nulls_add_node_rcu(struct sock *sk, struct hlist_nulls_head *list) sk_nulls_add_node_rcu() argument 822 sk_add_bind_node(struct sock *sk, struct hlist_head *list) sk_add_bind_node() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_vm.c | 298 * amdgpu_vm_bo_base_init - Adds bo to the list of bos associated with the vm 337 * is currently evicted. add the bo to the evicted list to make sure it in amdgpu_vm_bo_base_init() 707 * Search inside the @bos vm list for the requested vm 1133 list_for_each_entry(mapping, &bo_va->invalids, list) { in amdgpu_vm_bo_update() 1159 * the evicted list so that it gets validated again on the in amdgpu_vm_bo_update() 1179 list_for_each_entry(mapping, &bo_va->valids, list) in amdgpu_vm_bo_update() 1338 struct amdgpu_bo_va_mapping, list); in amdgpu_vm_clear_freed() 1339 list_del(&mapping->list); in amdgpu_vm_clear_freed() 1435 * Add @bo to the list of bos associated with the vm 1490 list_add(&mapping->list, in amdgpu_vm_bo_insert_map() [all...] |
/kernel/linux/linux-6.6/drivers/media/cec/core/ |
H A D | cec-adap.c | 110 list_add_tail(&entry->list, &fh->events[ev_idx]); in cec_queue_event_fh() 117 list_add_tail(&entry->list, &fh->events[ev_idx]); in cec_queue_event_fh() 120 struct cec_event_entry, list); in cec_queue_event_fh() 121 list_del(&entry->list); in cec_queue_event_fh() 127 struct cec_event_entry, list); in cec_queue_event_fh() 144 list_for_each_entry(fh, &adap->devnode.fhs, list) in cec_queue_event() 161 list_for_each_entry(fh, &adap->devnode.fhs, list) { in cec_queue_pin_cec_event() 179 list_for_each_entry(fh, &adap->devnode.fhs, list) in cec_queue_pin_hpd_event() 195 list_for_each_entry(fh, &adap->devnode.fhs, list) in cec_queue_pin_5v_event() 224 list_add_tail(&entry->list, in cec_queue_msg_fh() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/media/v4l2-core/ |
H A D | v4l2-async.c | 11 #include <linux/list.h> 158 list_for_each_entry(asd, ¬ifier->waiting, list) in v4l2_async_find_match() 216 list_for_each_entry(n, ¬ifier_list, list) if (n->sd == sd) return n; in v4l2_async_find_subdev_notifier() 302 /* Remove from the waiting list */ in v4l2_async_match_notify() 303 list_del(&asd->list); in v4l2_async_match_notify() 307 /* Move from the global subdevice list to notifier's done */ in v4l2_async_match_notify() 357 * list. In order to proceed safely from here, restart in v4l2_async_notifier_try_all_subdevs() 358 * parsing the list from the beginning. in v4l2_async_notifier_try_all_subdevs() 371 * onto the list in v4l2_async_cleanup() 406 list_for_each_entry(asd_y, ¬ifier->waiting, list) i in v4l2_async_notifier_has_async_subdev_ext() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
H A D | tdc.py | 68 Get all required plugins from the list of test cases and return 75 if isinstance(t['plugins']['requires'], list): 86 Get all required plugins from the list of test cases and load any plugin 222 if isinstance(cmdinfo, list): 424 Search the list for empty ID fields and return true/false accordingly. 432 as list of ordered dictionary objects. 439 testlist = list() 483 'or if no category/ies is/are specified, list known categories.') 488 '-l', '--list', action='store_true', 536 Generate a list o [all...] |
/kernel/linux/linux-5.10/drivers/net/ |
H A D | netconsole.c | 64 /* Linked list of all configured targets */ 78 * @list: Links this target into the target_list. 97 struct list_head list; member 642 list_add(&nt->list, &target_list); in make_netconsole_target() 655 list_del(&nt->list); in drop_netconsole_target() 705 list_for_each_entry(nt, &target_list, list) { in netconsole_netdev_event() 829 list_for_each_entry(nt, &target_list, list) in write_ext_msg() 849 list_for_each_entry(nt, &target_list, list) { in write_msg() 904 list_add(&nt->list, &target_list); in init_netconsole() 932 * from the boot/module option exist here). Skipping the list in init_netconsole() [all...] |
/kernel/linux/linux-5.10/drivers/vdpa/mlx5/core/ |
H A D | mr.c | 115 s = list_first_entry_or_null(&mkey->head, struct mlx5_vdpa_direct_mr, list); in indir_start_addr() 127 s = list_first_entry_or_null(&mkey->head, struct mlx5_vdpa_direct_mr, list); in indir_len() 131 e = list_last_entry(&mkey->head, struct mlx5_vdpa_direct_mr, list); in indir_len() 155 list_for_each_entry(dmr, &mkey->head, list) { in fill_indir() 333 list_add_tail(&dmr->list, &tmp); in add_direct_chain() 344 list_for_each_entry_safe(dmr, n, &mr->head, list) { in add_direct_chain() 345 list_del_init(&dmr->list); in add_direct_chain() 352 /* The iotlb pointer contains a list of maps. Go over the maps, possibly 416 list_for_each_entry_safe_reverse(dmr, n, &mr->head, list) { in _mlx5_vdpa_create_mr() 417 list_del_init(&dmr->list); in _mlx5_vdpa_create_mr() [all...] |
/kernel/linux/linux-5.10/net/vmw_vsock/ |
H A D | virtio_transport.c | 14 #include <linux/list.h> 115 struct virtio_vsock_pkt, list); in virtio_transport_send_pkt_work() 116 list_del_init(&pkt->list); in virtio_transport_send_pkt_work() 136 list_add(&pkt->list, &vsock->send_pkt_list); in virtio_transport_send_pkt_work() 189 list_add_tail(&pkt->list, &vsock->send_pkt_list); in virtio_transport_send_pkt() 215 list_for_each_entry_safe(pkt, n, &vsock->send_pkt_list, list) { in virtio_transport_cancel_pkt() 218 list_move(&pkt->list, &freeme); in virtio_transport_cancel_pkt() 222 list_for_each_entry_safe(pkt, n, &freeme, list) { in virtio_transport_cancel_pkt() 225 list_del(&pkt->list); in virtio_transport_cancel_pkt() 676 struct virtio_vsock_pkt, list); in virtio_vsock_remove() [all...] |
/kernel/linux/linux-5.10/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 231 list_for_each_entry_safe(err, tmp, &flo->error_list, list) { in ff_layout_add_ds_error_locked() 237 head = &err->list; in ff_layout_add_ds_error_locked() 242 list_replace(&err->list, &dserr->list); in ff_layout_add_ds_error_locked() 247 list_add_tail(&dserr->list, head); in ff_layout_add_ds_error_locked() 267 INIT_LIST_HEAD(&dserr->list); in ff_layout_track_ds_error() 442 * in the nfs_client cl_ds_clients list. 466 list); in ff_layout_free_ds_ioerr() 467 list_del(&err->list); in ff_layout_free_ds_ioerr() 478 list_for_each_entry(err, head, list) { in ff_layout_encode_ds_ioerr() [all...] |
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | hard-interface.c | 20 #include <linux/list.h> 71 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_hardif_get_by_netdev() 423 list); in batadv_hardif_no_broadcast() 445 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_hardif_get_active() 515 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_check_known_mac_addr() 547 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_hardif_recalc_extra_skbroom() 589 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_hardif_min_mtu() 847 * off when another function is modifying the list at the same time. The 858 list_for_each_entry_rcu(hard_iface, &batadv_hardif_list, list) { in batadv_hardif_cnt() 956 INIT_LIST_HEAD(&hard_iface->list); in batadv_hardif_add_interface() [all...] |
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | v4l2-async.c | 11 #include <linux/list.h> 164 list_for_each_entry(asd, ¬ifier->waiting, list) { in v4l2_async_find_match() 224 list_for_each_entry(n, ¬ifier_list, list) in v4l2_async_find_subdev_notifier() 311 /* Remove from the waiting list */ in v4l2_async_match_notify() 312 list_del(&asd->list); in v4l2_async_match_notify() 316 /* Move from the global subdevice list to notifier's done */ in v4l2_async_match_notify() 363 * list. In order to proceed safely from here, restart in v4l2_async_notifier_try_all_subdevs() 364 * parsing the list from the beginning. in v4l2_async_notifier_try_all_subdevs() 377 * onto the list in v4l2_async_cleanup() 413 list_for_each_entry(asd_y, ¬ifier->waiting, list) in __v4l2_async_notifier_has_async_subdev() [all...] |
/kernel/linux/linux-5.10/drivers/staging/most/sound/ |
H A D | sound.c | 33 * @list: list for private use 48 struct list_head list; member 62 struct list_head list; member 164 * This traverses the channel list and returns the channel matching the 175 list_for_each_entry_safe(channel, tmp, &adpt->dev_list, list) { in get_channel() 499 list_for_each_entry_safe(channel, tmp, &adpt->dev_list, list) { in release_adapter() 500 list_del(&channel->list); in release_adapter() 505 list_del(&adpt->list); in release_adapter() 545 list_for_each_entry(adpt, &adpt_list, list) { in audio_probe_channel() [all...] |
/kernel/linux/linux-5.10/drivers/staging/mt7621-pci/ |
H A D | pci-mt7621.c | 94 * @list: port list 105 struct list_head list; member 395 INIT_LIST_HEAD(&port->list); in mt7621_pcie_parse_port() 396 list_add_tail(&port->list, &pcie->ports); in mt7621_pcie_parse_port() 469 list_for_each_entry(port, &pcie->ports, list) { in mt7621_pcie_reset_assert() 484 list_for_each_entry(port, &pcie->ports, list) in mt7621_pcie_reset_rc_deassert() 492 list_for_each_entry(port, &pcie->ports, list) in mt7621_pcie_reset_ep_deassert() 509 list_for_each_entry_safe(port, tmp, &pcie->ports, list) { in mt7621_pcie_init_ports() 520 list_del(&port->list); in mt7621_pcie_init_ports() [all...] |
/kernel/linux/linux-6.6/fs/nfs/flexfilelayout/ |
H A D | flexfilelayoutdev.c | 233 list_for_each_entry_safe(err, tmp, &flo->error_list, list) { in ff_layout_add_ds_error_locked() 239 head = &err->list; in ff_layout_add_ds_error_locked() 244 list_replace(&err->list, &dserr->list); in ff_layout_add_ds_error_locked() 249 list_add_tail(&dserr->list, head); in ff_layout_add_ds_error_locked() 269 INIT_LIST_HEAD(&dserr->list); in ff_layout_track_ds_error() 444 * in the nfs_client cl_ds_clients list. 468 list); in ff_layout_free_ds_ioerr() 469 list_del(&err->list); in ff_layout_free_ds_ioerr() 480 list_for_each_entry(err, head, list) { in ff_layout_encode_ds_ioerr() [all...] |
/kernel/linux/linux-6.6/drivers/vdpa/mlx5/core/ |
H A D | mr.c | 116 s = list_first_entry_or_null(&mkey->head, struct mlx5_vdpa_direct_mr, list); in indir_start_addr() 128 s = list_first_entry_or_null(&mkey->head, struct mlx5_vdpa_direct_mr, list); in indir_len() 132 e = list_last_entry(&mkey->head, struct mlx5_vdpa_direct_mr, list); in indir_len() 156 list_for_each_entry(dmr, &mkey->head, list) { in fill_indir() 333 list_add_tail(&dmr->list, &tmp); in add_direct_chain() 343 list_for_each_entry_safe(dmr, n, &mr->head, list) { in add_direct_chain() 344 list_del_init(&dmr->list); in add_direct_chain() 351 /* The iotlb pointer contains a list of maps. Go over the maps, possibly 412 list_for_each_entry_safe_reverse(dmr, n, &mr->head, list) { in create_user_mr() 413 list_del_init(&dmr->list); in create_user_mr() [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | cpumap.c | 146 list_for_each_entry_safe(skb, tmp, listp, list) { in cpu_map_bpf_prog_run_skb() 240 struct list_head *list) in cpu_map_bpf_prog_run() 254 if (unlikely(!list_empty(list))) in cpu_map_bpf_prog_run() 255 cpu_map_bpf_prog_run_skb(rcpu, list, stats); in cpu_map_bpf_prog_run() 282 LIST_HEAD(list); in cpu_map_kthread_run() 315 list_add_tail(&skb->list, &list); in cpu_map_kthread_run() 330 nframes = cpu_map_bpf_prog_run(rcpu, frames, xdp_n, &stats, &list); in cpu_map_kthread_run() 352 list_add_tail(&skb->list, &list); in cpu_map_kthread_run() 238 cpu_map_bpf_prog_run(struct bpf_cpu_map_entry *rcpu, void **frames, int xdp_n, struct xdp_cpumap_stats *stats, struct list_head *list) cpu_map_bpf_prog_run() argument [all...] |