/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | lzo.c | 68 struct list_head list; member 75 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_free_workspace() 97 INIT_LIST_HEAD(&workspace->list); in lzo_alloc_workspace() 99 return &workspace->list; in lzo_alloc_workspace() 101 lzo_free_workspace(&workspace->list); in lzo_alloc_workspace() 216 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_compress_pages() 332 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_decompress_bio() 431 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_decompress()
|
H A D | relocation.c | 144 /* list of reloc trees */ 146 /* list of subvolume trees that get relocated */ 202 struct btrfs_backref_edge, list[LOWER]); in walk_up_backref() 224 if (list_is_last(&edge->list[LOWER], &lower->upper)) { in walk_down_backref() 228 edge = list_entry(edge->list[LOWER].next, in walk_down_backref() 229 struct btrfs_backref_edge, list[LOWER]); in walk_down_backref() 273 struct btrfs_backref_node, list); in update_backref_cache() 279 struct btrfs_backref_node, list); in update_backref_cache() 280 list_del_init(&node->list); in update_backref_cache() 286 * some nodes can be left in the pending list i in update_backref_cache() 1987 free_reloc_roots(struct list_head *list) free_reloc_roots() argument [all...] |
/kernel/linux/linux-6.6/fs/pstore/ |
H A D | inode.c | 15 #include <linux/list.h> 38 struct list_head list; member 191 if (!list_empty(&p->list)) in pstore_unlink() 192 list_del_init(&p->list); in pstore_unlink() 315 list_for_each_entry_safe(pos, tmp, &records_list, list) { in pstore_put_backend_records() 317 list_del_init(&pos->list); in pstore_put_backend_records() 350 list_for_each_entry(pos, &records_list, list) { in pstore_mkfile() 386 list_add(&private->list, &records_list); in pstore_mkfile()
|
/kernel/linux/linux-6.6/drivers/xen/xen-pciback/ |
H A D | conf_space.c | 179 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in xen_pcibk_config_read() 219 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in xen_pcibk_config_write() 252 * they have entries in the config_field list that intercept in xen_pcibk_config_write() 277 "mailing list along with details of your " in xen_pcibk_config_write() 340 list_for_each_entry_safe(cfg_entry, t, &dev_data->config_fields, list) { in xen_pcibk_config_free_dyn_fields() 348 list_del(&cfg_entry->list); in xen_pcibk_config_free_dyn_fields() 365 list_for_each_entry(cfg_entry, &dev_data->config_fields, list) { in xen_pcibk_config_reset_dev() 383 list_for_each_entry_safe(cfg_entry, t, &dev_data->config_fields, list) { in xen_pcibk_config_free_dev() 384 list_del(&cfg_entry->list); in xen_pcibk_config_free_dev() 432 list_add_tail(&cfg_entry->list, in xen_pcibk_config_add_field_offset() [all...] |
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_extent_busy.c | 39 INIT_LIST_HEAD(&new->list); in xfs_extent_busy_insert_list() 66 list_add_tail(&new->list, busy_list); in xfs_extent_busy_insert_list() 142 * transaction/CIL context busy list, but we can update an entry's block 197 * modify the list of busy extents attached to the transaction 235 * However we cannot remove it from the immutable list 333 * For a given extent [fbno, flen], search the busy extent list to find a 340 * to be cleared. Note that the busy list is not guaranteed to be empty after 532 list_del_init(&busyp->list); in xfs_extent_busy_clear_one() 552 * Remove all extents on the passed in list from the busy extents tree. 559 struct list_head *list, in xfs_extent_busy_clear() 557 xfs_extent_busy_clear( struct xfs_mount *mp, struct list_head *list, bool do_discard) xfs_extent_busy_clear() argument [all...] |
H A D | xfs_trans_ail.c | 24 * Check that the list is sorted as it should be. 92 * the given item is the last item in the list, then return NULL. 158 * the next item in the list for us. However, for this to be safe, removing an 169 list_add_tail(&cur->list, &ailp->ail_cursors); in xfs_trans_ail_cursor_init() 191 * When the traversal is complete, we need to remove the cursor from the list 199 list_del_init(&cur->list); in xfs_trans_ail_cursor_done() 207 * distinguish between an invalidation and the end of the list when getting the 217 list_for_each_entry(cur, &ailp->ail_cursors, list) { in xfs_trans_ail_cursor_clear() 228 * first item in the AIL. Returns NULL if the list is empty. 275 * LSN lower than @lsn. Returns NULL if the list i 295 xfs_ail_splice( struct xfs_ail *ailp, struct xfs_ail_cursor *cur, struct list_head *list, xfs_lsn_t lsn) xfs_ail_splice() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | skmsg.h | 34 * 1) used for chaining the front and sections when the list becomes 53 struct list_head list; member 69 struct list_head list; member 316 list_add_tail(&msg->list, &psock->ingress_msg); in sk_psock_queue_msg() 329 msg = list_first_entry_or_null(&psock->ingress_msg, struct sk_msg, list); in sk_psock_dequeue_msg() 331 list_del(&msg->list); in sk_psock_dequeue_msg() 341 msg = list_first_entry_or_null(&psock->ingress_msg, struct sk_msg, list); in sk_psock_peek_msg() 352 if (list_is_last(&msg->list, &psock->ingress_msg)) in sk_psock_next_msg() 355 ret = list_next_entry(msg, list); in sk_psock_next_msg()
|
/kernel/linux/linux-6.6/drivers/staging/media/meson/vdec/ |
H A D | vdec_helpers.c | 246 list_add_tail(&new_ts->list, &sess->timestamps); in amvdec_add_ts() 258 list_for_each_entry(tmp, &sess->timestamps, list) { in amvdec_remove_ts() 260 list_del(&tmp->list); in amvdec_remove_ts() 266 "Couldn't remove buffer with timestamp %llu from list\n", ts); in amvdec_remove_ts() 336 dev_err(dev, "Buffer %u done but list is empty\n", in amvdec_dst_buf_done() 344 tmp = list_first_entry(timestamps, struct amvdec_timestamp, list); in amvdec_dst_buf_done() 348 list_del(&tmp->list); in amvdec_dst_buf_done() 372 list_for_each_entry_safe(tmp, n, &sess->timestamps, list) { in amvdec_dst_buf_done_offset() 379 list_del(&tmp->list); in amvdec_dst_buf_done_offset() 395 list_del(&match->list); in amvdec_dst_buf_done_offset() [all...] |
/kernel/linux/linux-6.6/drivers/char/ |
H A D | apm-emulation.c | 29 #include <linux/list.h> 104 struct list_head list; member 128 * This is a list of everyone who has opened /dev/apm_bios 195 list_for_each_entry(as, &apm_user_list, list) { in queue_event() 334 list_del(&as->list); in apm_release() 371 list_add(&as->list, &apm_user_list); in apm_open() 533 list_for_each_entry(as, &apm_user_list, list) { in apm_suspend_notifier() 570 list_for_each_entry(as, &apm_user_list, list) { in apm_suspend_notifier() 603 list_for_each_entry(as, &apm_user_list, list) { in apm_suspend_notifier()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ids.c | 221 list_for_each_entry((*idle), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_idle() 233 if (&(*idle)->list == &id_mgr->ids_lru) { in amdgpu_vmid_grab_idle() 350 list_for_each_entry_reverse((*id), &id_mgr->ids_lru, list) { in amdgpu_vmid_grab_used() 434 list_move_tail(&id->list, &id_mgr->ids_lru); in amdgpu_vmid_grab() 474 list); in amdgpu_vmid_alloc_reserved() 476 list_del_init(&id->list); in amdgpu_vmid_alloc_reserved() 492 list_add(&id_mgr->reserved->list, &id_mgr->ids_lru); in amdgpu_vmid_free_reserved() 571 list_add_tail(&id_mgr->ids[j].list, &id_mgr->ids_lru); in amdgpu_vmid_mgr_init()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | cq.c | 19 * copyright notice, this list of conditions and the following 23 * copyright notice, this list of conditions and the following 66 list_splice_tail_init(&ctx->list, &ctx->process_list); in mlx4_cq_tasklet_cb() 69 list_for_each_entry_safe(mcq, temp, &ctx->process_list, tasklet_ctx.list) { in mlx4_cq_tasklet_cb() 70 list_del_init(&mcq->tasklet_ctx.list); in mlx4_cq_tasklet_cb() 94 if (list_empty_careful(&cq->tasklet_ctx.list)) { in mlx4_add_cq_to_tasklet() 96 kick = list_empty(&tasklet_ctx->list); in mlx4_add_cq_to_tasklet() 97 list_add_tail(&cq->tasklet_ctx.list, &tasklet_ctx->list); in mlx4_add_cq_to_tasklet() 301 /* Populate a list o in mlx4_init_user_cqes() [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/amphion/ |
H A D | vpu_cmds.c | 9 #include <linux/list.h> 30 struct list_head list; member 150 list_for_each_entry_safe(cmd, tmp, &inst->cmd_q, list) { in vpu_process_cmd_request() 151 list_del_init(&cmd->list); in vpu_process_cmd_request() 184 list_add_tail(&cmd->list, &inst->cmd_q); in vpu_request_cmd() 244 list_for_each_entry_safe(cmd, tmp, &inst->cmd_q, list) { in vpu_clear_request() 245 list_del_init(&cmd->list); in vpu_clear_request() 417 inst = list_first_entry(&core->instances, struct vpu_inst, list); in vpu_core_snapshot()
|
/kernel/linux/linux-6.6/drivers/media/pci/tw686x/ |
H A D | tw686x-audio.c | 55 struct tw686x_audio_buf, list); in tw686x_audio_irq() 56 list_move_tail(&next->list, &ac->buf_list); in tw686x_audio_irq() 183 INIT_LIST_HEAD(&ac->buf[i].list); in tw686x_pcm_prepare() 184 list_add_tail(&ac->buf[i].list, &ac->buf_list); in tw686x_pcm_prepare() 187 p_buf = list_first_entry(&ac->buf_list, struct tw686x_audio_buf, list); in tw686x_pcm_prepare() 188 list_move_tail(&p_buf->list, &ac->buf_list); in tw686x_pcm_prepare() 190 b_buf = list_first_entry(&ac->buf_list, struct tw686x_audio_buf, list); in tw686x_pcm_prepare() 191 list_move_tail(&b_buf->list, &ac->buf_list); in tw686x_pcm_prepare()
|
/kernel/linux/linux-6.6/arch/x86/mm/ |
H A D | kmmio.c | 11 #include <linux/list.h> 35 struct list_head list; member 107 list_for_each_entry_rcu(p, &kmmio_probes, list) { in get_kmmio_probe() 126 list_for_each_entry_rcu(f, head, list) { in get_kmmio_fault_page() 402 list_add_rcu(&f->list, kmmio_page_list(f->addr)); in add_kmmio_fault_page() 460 list_add_rcu(&p->list, &kmmio_probes); in register_kmmio_probe() 507 list_del_rcu(&f->list); in remove_kmmio_fault_pages() 557 list_del_rcu(&p->list); in unregister_kmmio_probe() 577 * pages are collected into a list, and they will be removed from in unregister_kmmio_probe()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-ps-historical-service-time.c | 55 struct list_head list; member 221 list_for_each_entry_safe(pi, next, paths, list) { in free_paths() 222 list_del(&pi->list); in free_paths() 312 list_add_tail(&pi->list, &s->valid_paths); in hst_add_path() 326 list_move(&pi->list, &s->failed_paths); in hst_fail_path() 338 list_move_tail(&pi->list, &s->valid_paths); in hst_reinstate_path() 443 list_for_each_entry(pi, &s->valid_paths, list) { in hst_select_path() 452 list_move_tail(&best->list, &s->valid_paths); in hst_select_path()
|
/kernel/linux/linux-6.6/sound/firewire/oxfw/ |
H A D | oxfw-pcm.c | 51 unsigned int count, list[SND_OXFW_STREAM_FORMAT_ENTRIES] = {0}; in hw_rule_channels() local 63 if (list[count] == formation.pcm) in hw_rule_channels() 66 for (j = 0; j < ARRAY_SIZE(list); j++) { in hw_rule_channels() 67 if (list[j] == formation.pcm) in hw_rule_channels() 70 if (j == ARRAY_SIZE(list)) { in hw_rule_channels() 71 list[count] = formation.pcm; in hw_rule_channels() 72 if (++count == ARRAY_SIZE(list)) in hw_rule_channels() 77 return snd_interval_list(c, count, list, 0); in hw_rule_channels()
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_probe.h | 252 struct list_head list; member 261 struct list_head list; member 314 return list_first_entry_or_null(&tpe->probes, struct trace_probe, list); in trace_probe_primary_from_call() 324 struct list_head *list = trace_probe_probe_list(tp); in trace_probe_has_sibling() local 326 return !list_empty(list) && !list_is_singular(list); in trace_probe_has_sibling() 359 list_for_each_entry(pos, &(tp)->event->files, list) 361 list_for_each_entry_rcu(pos, &(tp)->event->files, list) 511 C(ARGS_2LONG, "$arg* failed because the argument list is too long"), \
|
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | gateway_client.c | 23 #include <linux/list.h> 219 * now be picked from the list and selected in batadv_gw_election() 317 * batadv_gw_node_add() - add gateway node to list of available gateways 341 INIT_HLIST_NODE(&gw_node->list); in batadv_gw_node_add() 348 hlist_add_head_rcu(&gw_node->list, &bat_priv->gw.gateway_list); in batadv_gw_node_add() 364 * batadv_gw_node_get() - retrieve gateway node from list of available gateways 377 list) { in batadv_gw_node_get() 393 * batadv_gw_node_update() - update list of available gateways with changed 435 "Gateway %pM removed from gateway list\n", in batadv_gw_node_update() 442 if (!hlist_unhashed(&gw_node->list)) { in batadv_gw_node_update() [all...] |
/test/xts/hats/kernel/accesstokenid/ |
H A D | accesstokenid_test.cpp | 534 gid_t list[1] = {ACCESS_TOKEN_OTHER_GRPID}; in HWTEST_F() local 537 ret = setgroups(size, list); in HWTEST_F() 564 gid_t list[1] = {ACCESS_TOKEN_OTHER_GRPID}; in HWTEST_F() local 567 ret = setgroups(size, list); in HWTEST_F() 594 gid_t list[2] = {ACCESS_TOKEN_OTHER_GRPID, ACCESS_TOKEN_GRPID}; in HWTEST_F() local 597 ret = setgroups(size, list); in HWTEST_F() 624 gid_t list[2] = {ACCESS_TOKEN_OTHER_GRPID, ACCESS_TOKEN_GRPID}; in HWTEST_F() local 627 ret = setgroups(size, list); in HWTEST_F()
|
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/ |
H A D | qla_gs.c | 278 * @list: switch info entries to populate 285 qla2x00_gid_pt(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_gid_pt() argument 300 return qla2x00_sns_gid_pt(vha, list); in qla2x00_gid_pt() 334 /* Set port IDs in switch info list. */ in qla2x00_gid_pt() 337 list[i].d_id = be_to_port_id(gid_data->port_id); in qla2x00_gid_pt() 338 memset(list[i].fabric_port_name, 0, WWN_SIZE); in qla2x00_gid_pt() 339 list[i].fp_speed = PORT_SPEED_UNKNOWN; in qla2x00_gid_pt() 343 list[i].d_id.b.rsvd_1 = gid_data->control_byte; in qla2x00_gid_pt() 364 * @list: switch info entries to populate 369 qla2x00_gpn_id(scsi_qla_host_t *vha, sw_info_t *list) in qla2x00_gpn_id() argument 437 qla2x00_gnn_id(scsi_qla_host_t *vha, sw_info_t *list) qla2x00_gnn_id() argument 1069 qla2x00_sns_gid_pt(scsi_qla_host_t *vha, sw_info_t *list) qla2x00_sns_gid_pt() argument 1140 qla2x00_sns_gpn_id(scsi_qla_host_t *vha, sw_info_t *list) qla2x00_sns_gpn_id() argument 1196 qla2x00_sns_gnn_id(scsi_qla_host_t *vha, sw_info_t *list) qla2x00_sns_gnn_id() argument 2528 qla2x00_gfpn_id(scsi_qla_host_t *vha, sw_info_t *list) qla2x00_gfpn_id() argument 2636 qla2x00_gpsc(scsi_qla_host_t *vha, sw_info_t *list) qla2x00_gpsc() argument 2726 qla2x00_gff_id(scsi_qla_host_t *vha, sw_info_t *list) qla2x00_gff_id() argument [all...] |
/kernel/linux/linux-5.10/net/batman-adv/ |
H A D | translation-table.c | 26 #include <linux/list.h> 80 * @node: the list element pointer of the first TT entry 377 if (!hlist_unhashed(&vlan->list)) { in batadv_tt_global_size_mod() 378 hlist_del_init_rcu(&vlan->list); in batadv_tt_global_size_mod() 485 list) { in batadv_tt_local_event() 510 list_del(&entry->list); in batadv_tt_local_event() 517 /* track the change in the OGMinterval list */ in batadv_tt_local_event() 518 list_add_tail(&tt_change_node->list, &bat_priv->tt.changes_list); in batadv_tt_local_event() 566 hlist_for_each_entry_rcu(vlan, &bat_priv->softif_vlan_list, list) { in batadv_tt_local_table_transmit_size() 769 hlist_for_each_entry_rcu(orig_entry, head, list) { in batadv_tt_local_add() [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A D | sock.h | 40 #include <linux/list.h> 771 or a list and the lookup is made under lock preventing hash table 822 static inline void __sk_add_node(struct sock *sk, struct hlist_head *list) in __sk_add_node() argument 824 hlist_add_head(&sk->sk_node, list); in __sk_add_node() 827 static inline void sk_add_node(struct sock *sk, struct hlist_head *list) in sk_add_node() argument 830 __sk_add_node(sk, list); in sk_add_node() 833 static inline void sk_add_node_rcu(struct sock *sk, struct hlist_head *list) in sk_add_node_rcu() argument 838 hlist_add_tail_rcu(&sk->sk_node, list); in sk_add_node_rcu() 840 hlist_add_head_rcu(&sk->sk_node, list); in sk_add_node_rcu() 843 static inline void sk_add_node_tail_rcu(struct sock *sk, struct hlist_head *list) in sk_add_node_tail_rcu() argument 849 __sk_nulls_add_node_rcu(struct sock *sk, struct hlist_nulls_head *list) __sk_nulls_add_node_rcu() argument 854 __sk_nulls_add_node_tail_rcu(struct sock *sk, struct hlist_nulls_head *list) __sk_nulls_add_node_tail_rcu() argument 859 sk_nulls_add_node_rcu(struct sock *sk, struct hlist_nulls_head *list) sk_nulls_add_node_rcu() argument 870 sk_add_bind_node(struct sock *sk, struct hlist_head *list) sk_add_bind_node() argument 881 sk_add_bind2_node(struct sock *sk, struct hlist_head *list) sk_add_bind2_node() argument [all...] |
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | iommu.c | 69 struct list_head list; member 76 list_for_each_entry(pos, &(group)->devices, list) 272 list_add_tail(&iommu->list, &iommu_device_list); in iommu_device_register() 291 list_del(&iommu->list); in iommu_device_unregister() 324 list_add_tail(&iommu->list, &iommu_device_list); in iommu_device_register_bus() 519 * The gdev must be in the list before calling in __iommu_probe_device() 522 list_add_tail(&gdev->list, &group->devices); in __iommu_probe_device() 537 * to the caller by providing a de-duplicated list of groups in __iommu_probe_device() 551 list_del(&gdev->list); in __iommu_probe_device() 613 list_del(&device->list); in __iommu_group_remove_device() 2756 iommu_get_resv_regions(struct device *dev, struct list_head *list) iommu_get_resv_regions() argument 2772 iommu_put_resv_regions(struct device *dev, struct list_head *list) iommu_put_resv_regions() argument [all...] |
/kernel/linux/linux-5.10/arch/um/include/linux/ |
H A D | time-internal.h | 9 #include <linux/list.h> 25 struct list_head list; member
|
/kernel/linux/linux-5.10/drivers/misc/ |
H A D | sram.h | 14 struct list_head list; member 29 struct list_head list; member
|