/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | super.c | 571 * to fit them all. The buckets we use to store them form a list; the journal 1000 list_for_each_entry(dc, &c->cached_devs, list) in calc_cached_dev_sectors() 1155 list_move(&dc->list, &uncached_devices); in cached_dev_detach_finish() 1220 list_for_each_entry_safe(exist_dc, t, &c->cached_devs, list) { in bch_cached_dev_attach() 1278 list_move(&dc->list, &c->cached_devs); in bch_cached_dev_attach() 1366 list_del(&dc->list); in cached_dev_free() 1403 INIT_LIST_HEAD(&dc->list); in cached_dev_init() 1471 list_add(&dc->list, &uncached_devices); in register_bdev() 1473 list_for_each_entry(c, &bch_cache_sets, list) in register_bdev() 1703 list_del(&c->list); in cache_set_free() 2662 struct list_head list; global() member [all...] |
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_scsih.c | 83 /* global ioc lock for list operations */ 186 * @list: link list framework 200 struct list_head list; member 306 list_for_each_entry(ioc, &mpt3sas_ioc_list, list) in _scsih_set_debug_level() 625 list_for_each_entry(sas_device, &ioc->sas_device_list, list) in __mpt3sas_get_sdev_by_addr() 629 list_for_each_entry(sas_device, &ioc->sas_device_init_list, list) in __mpt3sas_get_sdev_by_addr() 671 list_for_each_entry(sas_device, &ioc->sas_device_list, list) in __mpt3sas_get_sdev_by_handle() 675 list_for_each_entry(sas_device, &ioc->sas_device_init_list, list) in __mpt3sas_get_sdev_by_handle() 767 * _scsih_sas_device_remove - remove sas_device from list [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | relocation.c | 132 /* list of reloc trees */ 134 /* list of subvolume trees that get relocated */ 190 struct btrfs_backref_edge, list[LOWER]); in walk_up_backref() 212 if (list_is_last(&edge->list[LOWER], &lower->upper)) { in walk_down_backref() 216 edge = list_entry(edge->list[LOWER].next, in walk_down_backref() 217 struct btrfs_backref_edge, list[LOWER]); in walk_down_backref() 261 struct btrfs_backref_node, list); in update_backref_cache() 267 struct btrfs_backref_node, list); in update_backref_cache() 268 list_del_init(&node->list); in update_backref_cache() 274 * some nodes can be left in the pending list i in update_backref_cache() 1905 free_reloc_roots(struct list_head *list) free_reloc_roots() argument [all...] |
H A D | reada.c | 48 struct list_head list; member 68 struct list_head list; member 72 struct btrfs_device *devs[BTRFS_MAX_MIRRORS]; /* full list, incl 102 struct list_head list; in __readahead_hook() local 106 * just take the full list from the extent. afterwards we in __readahead_hook() 109 list_replace_init(&re->extctl, &list); in __readahead_hook() 147 list_for_each_entry(rec, &list, list) { in __readahead_hook() 176 while (!list_empty(&list)) { in __readahead_hook() 180 rec = list_first_entry(&list, struc in __readahead_hook() [all...] |
/third_party/python/Lib/test/ |
H A D | test_bytes.py | 79 self.assertEqual(list(b), list(range(256))) 90 self.assertEqual(list(b), list(range(256))) 95 self.assertEqual(list(b), list(range(256))[1::2]) 108 self.assertEqual(list(b), list(range(256))) 114 b = self.type2test(list(range(256))) 116 self.assertEqual(list( [all...] |
/kernel/linux/linux-6.6/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_scsih.c | 84 /* global ioc lock for list operations */ 201 * @list: link list framework 215 struct list_head list; member 321 list_for_each_entry(ioc, &mpt3sas_ioc_list, list) in _scsih_set_debug_level() 376 * port number from port list 400 &ioc->port_table_list, list) { in mpt3sas_get_port_by_id() 422 "hba_port entry: %p, port: %d is added to hba_port list\n", in mpt3sas_get_port_by_id() 424 list_add_tail(&port->list, in mpt3sas_get_port_by_id() 448 list_for_each_entry_safe(vphy, vphy_next, &port->vphys_list, list) { in mpt3sas_get_vphy_by_phy() [all...] |
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/ |
H A D | iptables_manager_test.cpp | 264 std::vector<FirewallRuleParcel> list; in HWTEST_F() local 265 ErrCode ret = iptablesManager->GetFirewallRules(list); in HWTEST_F() 267 EXPECT_TRUE(list.size() == 1); in HWTEST_F() 281 list = {}; in HWTEST_F() 282 ret = iptablesManager->GetFirewallRules(list); in HWTEST_F() 284 EXPECT_TRUE(list.size() == 1); in HWTEST_F() 298 list = {}; in HWTEST_F() 299 ret = iptablesManager->GetFirewallRules(list); in HWTEST_F() 301 EXPECT_TRUE(list.size() == 1); in HWTEST_F() 446 std::vector<DomainFilterRuleParcel> list; in HWTEST_F() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_gem.c | 150 struct list_head list, duplicates; in amdgpu_gem_object_close() local 157 INIT_LIST_HEAD(&list); in amdgpu_gem_object_close() 162 list_add(&tv.head, &list); in amdgpu_gem_object_close() 164 amdgpu_vm_get_pd_bo(vm, &list, &vm_pd); in amdgpu_gem_object_close() 166 r = ttm_eu_reserve_buffers(&ticket, &list, false, &duplicates); in amdgpu_gem_object_close() 197 ttm_eu_backoff_reservation(&ticket, &list); in amdgpu_gem_object_close() 242 * passed to bo list in amdgpu_gem_create_ioctl() 600 struct list_head list, duplicates; in amdgpu_gem_va_ioctl() local 650 INIT_LIST_HEAD(&list); in amdgpu_gem_va_ioctl() 663 list_add(&tv.head, &list); in amdgpu_gem_va_ioctl() [all...] |
/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-sensor-hub.c | 12 #include <linux/list.h> 25 * @dyn_callback_lock: spin lock to protect callback list 42 * struct hid_sensor_hub_callbacks_list - Stores callback list 43 * @list: list head. 49 struct list_head list; member 61 list_for_each_entry(report, &hdev->report_enum[dir].report_list, list) { in sensor_hub_report() 110 list_for_each_entry(callback, &pdata->dyn_callback_list, list) in sensor_hub_get_callback() 137 list_for_each_entry(callback, &pdata->dyn_callback_list, list) in sensor_hub_register_callback() 158 * to the beginning of the list, s in sensor_hub_register_callback() [all...] |
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-log-writes.c | 129 struct list_head list; member 466 struct pending_block, list); in log_writes_kthread() 467 list_del_init(&block->list); in log_writes_kthread() 627 list_add_tail(&block->list, &lc->logging_blocks); in log_mark() 712 INIT_LIST_HEAD(&block->list); in log_writes_map() 737 /* Flush bio, splice the unflushed blocks onto this list and submit */ in log_writes_map() 740 list_splice_init(&lc->unflushed_blocks, &block->list); in log_writes_map() 782 list_splice_init(&lc->unflushed_blocks, &block->list); in log_writes_map() 802 list_splice_tail_init(&block->list, &lc->logging_blocks); in normal_end_io() 803 list_add_tail(&block->list, in normal_end_io() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n.c | 89 list_for_each_entry(tx_ba_tsr_tbl, &priv->tx_ba_stream_tbl_ptr, list) { in mwifiex_get_ba_status() 306 * - HT information IE (with channel list) 481 list_for_each_entry(tx_ba_tsr_tbl, &priv->tx_ba_stream_tbl_ptr, list) { in mwifiex_is_tx_ba_stream_ptr_valid() 505 list_del(&tx_ba_tsr_tbl->list); in mwifiex_11n_delete_tx_ba_stream_tbl_entry() 520 &priv->tx_ba_stream_tbl_ptr, list) in mwifiex_11n_delete_all_tx_ba_stream_tbl() 541 list_for_each_entry(tx_ba_tsr_tbl, &priv->tx_ba_stream_tbl_ptr, list) { in mwifiex_get_ba_tbl() 575 INIT_LIST_HEAD(&new_node->list); in mwifiex_create_ba_tbl() 582 list_add_tail(&new_node->list, &priv->tx_ba_stream_tbl_ptr); in mwifiex_create_ba_tbl() 686 list_for_each_entry(rx_reor_tbl_ptr, &priv->rx_reorder_tbl_ptr, list) { in mwifiex_11n_delba() 728 list) { in mwifiex_get_rx_reorder_tbl() [all...] |
/kernel/linux/linux-5.10/drivers/tty/hvc/ |
H A D | hvc_iucv.c | 85 struct list_head list; /* list pointer */ member 186 * destroy_tty_buffer_list() - call destroy_tty_buffer() for each list element. 187 * @list: List containing struct iucv_tty_buffer elements. 189 static void destroy_tty_buffer_list(struct list_head *list) in destroy_tty_buffer_list() argument 193 list_for_each_entry_safe(ent, next, list, list) { in destroy_tty_buffer_list() 194 list_del(&ent->list); in destroy_tty_buffer_list() 240 rb = list_first_entry(&priv->tty_inqueue, struct iucv_tty_buffer, list); in hvc_iucv_write() 245 * then leave the buffer on the list an in hvc_iucv_write() [all...] |
/kernel/linux/linux-5.10/drivers/vhost/ |
H A D | vsock.c | 116 struct virtio_vsock_pkt, list); in vhost_transport_do_send_pkt() 117 list_del_init(&pkt->list); in vhost_transport_do_send_pkt() 124 list_add(&pkt->list, &vsock->send_pkt_list); in vhost_transport_do_send_pkt() 131 list_add(&pkt->list, &vsock->send_pkt_list); in vhost_transport_do_send_pkt() 206 list_add(&pkt->list, &vsock->send_pkt_list); in vhost_transport_do_send_pkt() 265 list_add_tail(&pkt->list, &vsock->send_pkt_list); in vhost_transport_send_pkt() 291 list_for_each_entry_safe(pkt, n, &vsock->send_pkt_list, list) { in vhost_transport_cancel_pkt() 294 list_move(&pkt->list, &freeme); in vhost_transport_cancel_pkt() 298 list_for_each_entry_safe(pkt, n, &freeme, list) { in vhost_transport_cancel_pkt() 301 list_del(&pkt->list); in vhost_transport_cancel_pkt() [all...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | hda_auto_parser.c | 20 static int is_in_nid_list(hda_nid_t nid, const hda_nid_t *list) in is_in_nid_list() argument 22 for (; *list; list++) in is_in_nid_list() 23 if (*list == nid) in is_in_nid_list() 45 static void sort_pins_by_sequence(hda_nid_t *pins, struct auto_out_pin *list, in sort_pins_by_sequence() argument 49 sort(list, num_pins, sizeof(list[0]), compare_seq, NULL); in sort_pins_by_sequence() 51 pins[i] = list[i].pin; in sort_pins_by_sequence() 592 /* return the position of NID in the list, or -1 if not found */ 593 static int find_idx_in_nid_list(hda_nid_t nid, const hda_nid_t *list, in argument 780 snd_hda_add_verbs(struct hda_codec *codec, const struct hda_verb *list) snd_hda_add_verbs() argument [all...] |
/kernel/linux/linux-5.10/scripts/gcc-plugins/ |
H A D | randomize_layout_plugin.c | 332 tree list; in relayout_struct() local 384 list = make_node(FIELD_DECL); in relayout_struct() 385 TREE_CHAIN(list) = newtree[0]; in relayout_struct() 386 TREE_TYPE(list) = void_type_node; in relayout_struct() 387 DECL_SIZE(list) = bitsize_zero_node; in relayout_struct() 388 DECL_NONADDRESSABLE_P(list) = 1; in relayout_struct() 389 DECL_FIELD_BIT_OFFSET(list) = bitsize_zero_node; in relayout_struct() 390 DECL_SIZE_UNIT(list) = size_zero_node; in relayout_struct() 391 DECL_FIELD_OFFSET(list) = size_zero_node; in relayout_struct() 392 DECL_CONTEXT(list) in relayout_struct() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | objagg.c | 8 #include <linux/list.h> 27 struct list_head list; /* member of objagg_hints->node_list */ member 56 struct list_head list; /* member of objagg->obj_list */ member 194 list_for_each_entry(objagg_obj_cur, &objagg->obj_list, list) { in objagg_obj_parent_lookup_assign() 384 list_add(&objagg_obj->list, &objagg->obj_list); in objagg_obj_create() 455 list_del(&objagg_obj->list); in objagg_obj_destroy() 616 list_for_each_entry(objagg_obj, &objagg->obj_list, list) { in objagg_stats_get() 676 list_add(&hnode->list, &objagg_hints->node_list); in objagg_hints_node_create() 691 list_for_each_entry_safe(hnode, tmp, &objagg_hints->node_list, list) { in objagg_hints_flush() 692 list_del(&hnode->list); in objagg_hints_flush() [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | slab_common.c | 203 list_for_each_entry_reverse(s, &slab_caches, list) { in find_mergeable() 260 list_add(&s->list, &slab_caches); in create_cache() 420 * @slab_caches_to_rcu_destroy list. The slab pages are freed in slab_caches_to_rcu_destroy_workfn() 436 list_for_each_entry_safe(s, s2, &to_destroy, list) { in slab_caches_to_rcu_destroy_workfn() 453 list_del(&s->list); in shutdown_cache() 459 list_add_tail(&s->list, &slab_caches_to_rcu_destroy); in shutdown_cache() 580 list_add(&s->list, &slab_caches); in create_kmalloc_cache() 860 static void freelist_randomize(struct rnd_state *state, unsigned int *list, in freelist_randomize() argument 867 list[i] = i; in freelist_randomize() 873 swap(list[ in freelist_randomize() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/vsp1/ |
H A D | vsp1_dl.c | 41 * struct vsp1_dl_ext_header - Extended display list header 45 * @pre_ext_dl_plist: start address of pre-extended display list bodies 47 * @post_ext_dl_plist: start address of post-extended display list bodies 80 * @opcode: Extended display list command operation code 93 * struct vsp1_dl_body - Display list body 94 * @list: entry in the display list list of bodies 95 * @free: entry in the pool free body list 105 struct list_head list; member 184 struct list_head list; global() member [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | ktls_tx.c | 241 struct list_head *list, int size) in mlx5e_tls_priv_tx_list_cleanup() 252 list_for_each_entry_safe(obj, n, list, list_node) { in mlx5e_tls_priv_tx_list_cleanup() 270 struct list_head list; member 316 list_splice(&local_list, &pool->list); in create_work() 342 list_for_each_entry(obj, &pool->list, list_node) in destroy_work() 346 list_cut_position(&local_list, &pool->list, &obj->list_node); in destroy_work() 371 INIT_LIST_HEAD(&pool->list); in mlx5e_tls_tx_pool_init() 394 list_for_each_entry(obj, &pool->list, list_node) in mlx5e_tls_tx_pool_list_cleanup() 398 list_cut_position(&local_list, &pool->list, &obj->list_node); in mlx5e_tls_tx_pool_list_cleanup() 404 mlx5e_tls_priv_tx_list_cleanup(pool->mdev, &pool->list, poo in mlx5e_tls_tx_pool_list_cleanup() 240 mlx5e_tls_priv_tx_list_cleanup(struct mlx5_core_dev *mdev, struct list_head *list, int size) mlx5e_tls_priv_tx_list_cleanup() argument [all...] |
/kernel/linux/linux-6.6/drivers/reset/ |
H A D | core.c | 30 * @list: list entry for the rcdev's reset controller list 44 struct list_head list; member 110 list_add(&rcdev->list, &reset_controller_list); in reset_controller_register() 124 list_del(&rcdev->list); in reset_controller_unregister() 188 list_add_tail(&entry->list, &reset_lookup_list); in reset_controller_add_lookup() 660 list_for_each_entry(rc, &rstc->rcdev->reset_control_head, list) { in reset_control_acquire() 756 list_for_each_entry(rstc, &rcdev->reset_control_head, list) { in __reset_control_get_internal() 784 list_add(&rstc->list, in __reset_control_get_internal() [all...] |
/kernel/linux/linux-6.6/drivers/tty/hvc/ |
H A D | hvc_iucv.c | 84 struct list_head list; /* list pointer */ member 185 * destroy_tty_buffer_list() - call destroy_tty_buffer() for each list element. 186 * @list: List containing struct iucv_tty_buffer elements. 188 static void destroy_tty_buffer_list(struct list_head *list) in destroy_tty_buffer_list() argument 192 list_for_each_entry_safe(ent, next, list, list) { in destroy_tty_buffer_list() 193 list_del(&ent->list); in destroy_tty_buffer_list() 239 rb = list_first_entry(&priv->tty_inqueue, struct iucv_tty_buffer, list); in hvc_iucv_write() 244 * then leave the buffer on the list an in hvc_iucv_write() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_acl.c | 72 struct list_head list; member 352 list_for_each_entry(binding, &block->binding_list, list) { in prestera_acl_ruleset_block_bind() 361 list) in prestera_acl_ruleset_block_bind() 374 list_for_each_entry(binding, &block->binding_list, list) in prestera_acl_ruleset_block_unbind() 388 list_for_each_entry(rule, &acl->rules, list) { in prestera_acl_ruleset_prio_refresh() 514 list_add_tail(&rule->list, &sw->acl->rules); in prestera_acl_rule_add() 538 list_del(&rule->list); in prestera_acl_rule_del() 753 list_for_each_entry(vtcam, &acl->vtcam_list, list) { in __prestera_acl_vtcam_id_try_fit() 798 * a big number of vtcams, so, the list type for vtcam list i in prestera_acl_vtcam_id_get() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_dl.c | 41 * struct vsp1_dl_ext_header - Extended display list header 45 * @pre_ext_dl_plist: start address of pre-extended display list bodies 47 * @post_ext_dl_plist: start address of post-extended display list bodies 80 * @opcode: Extended display list command operation code 93 * struct vsp1_dl_body - Display list body 94 * @list: entry in the display list list of bodies 95 * @free: entry in the pool free body list 105 struct list_head list; member 184 struct list_head list; global() member [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/ |
H A D | 11n.c | 77 list_for_each_entry(tx_ba_tsr_tbl, &priv->tx_ba_stream_tbl_ptr, list) { in mwifiex_get_ba_status() 294 * - HT information IE (with channel list) 469 list_for_each_entry(tx_ba_tsr_tbl, &priv->tx_ba_stream_tbl_ptr, list) { in mwifiex_is_tx_ba_stream_ptr_valid() 493 list_del(&tx_ba_tsr_tbl->list); in mwifiex_11n_delete_tx_ba_stream_tbl_entry() 508 &priv->tx_ba_stream_tbl_ptr, list) in mwifiex_11n_delete_all_tx_ba_stream_tbl() 529 list_for_each_entry(tx_ba_tsr_tbl, &priv->tx_ba_stream_tbl_ptr, list) { in mwifiex_get_ba_tbl() 563 INIT_LIST_HEAD(&new_node->list); in mwifiex_create_ba_tbl() 570 list_add_tail(&new_node->list, &priv->tx_ba_stream_tbl_ptr); in mwifiex_create_ba_tbl() 674 list_for_each_entry(rx_reor_tbl_ptr, &priv->rx_reorder_tbl_ptr, list) { in mwifiex_11n_delba() 716 list) { in mwifiex_get_rx_reorder_tbl() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmdbuf.c | 144 * @list: List head for attaching to the manager lists. 157 struct list_head list; member 350 list); in vmw_cmdbuf_ctx_submit() 360 list_move_tail(&entry->list, &ctx->hw_submitted); in vmw_cmdbuf_ctx_submit() 385 list_for_each_entry_safe(entry, next, &ctx->hw_submitted, list) { in vmw_cmdbuf_ctx_process() 391 list_del(&entry->list); in vmw_cmdbuf_ctx_process() 401 list_add_tail(&entry->list, &man->error); in vmw_cmdbuf_ctx_process() 406 list_add_tail(&entry->list, &ctx->preempted); in vmw_cmdbuf_ctx_process() 481 list_add_tail(&header->list, &man->ctx[cb_context].submitted); in vmw_cmdbuf_ctx_add() 529 list_for_each_entry_safe(entry, next, &man->error, list) { in vmw_cmdbuf_work_func() [all...] |