Home
last modified time | relevance | path

Searched refs:list (Results 1951 - 1975 of 13397) sorted by relevance

1...<<71727374757677787980>>...536

/kernel/linux/linux-5.10/drivers/acpi/
H A Ddevice_sysfs.c88 struct list_head *list = &data->subnodes; in acpi_expose_nondev_subnodes() local
91 if (list_empty(list)) in acpi_expose_nondev_subnodes()
94 list_for_each_entry(dn, list, sibling) { in acpi_expose_nondev_subnodes()
109 struct list_head *list = &data->subnodes; in acpi_hide_nondev_subnodes() local
112 if (list_empty(list)) in acpi_hide_nondev_subnodes()
115 list_for_each_entry_reverse(dn, list, sibling) { in acpi_hide_nondev_subnodes()
148 * device's list. in create_pnp_modalias()
151 list_for_each_entry(id, &acpi_dev->pnp.ids, list) in create_pnp_modalias()
164 list_for_each_entry(id, &acpi_dev->pnp.ids, list) { in create_pnp_modalias()
189 * only be called for devices having ACPI_DT_NAMESPACE_HID in their list o
[all...]
/kernel/linux/linux-5.10/arch/x86/mm/
H A Dkmmio.c11 #include <linux/list.h>
35 struct list_head list; member
101 list_for_each_entry_rcu(p, &kmmio_probes, list) { in get_kmmio_probe()
120 list_for_each_entry_rcu(f, head, list) { in get_kmmio_fault_page()
399 list_add_rcu(&f->list, kmmio_page_list(f->addr)); in add_kmmio_fault_page()
456 list_add_rcu(&p->list, &kmmio_probes); in register_kmmio_probe()
500 list_del_rcu(&f->list); in remove_kmmio_fault_pages()
548 list_del_rcu(&p->list); in unregister_kmmio_probe()
567 * pages are collected into a list, and they will be removed from in unregister_kmmio_probe()
/kernel/linux/build/test/unittest/accesstokenid/
H A Daccesstokenid_test.cpp530 gid_t list[1] = {ACCESS_TOKEN_OTHER_GRPID}; in HWTEST_F() local
533 ret = setgroups(size, list); in HWTEST_F()
560 gid_t list[1] = {ACCESS_TOKEN_OTHER_GRPID}; in HWTEST_F() local
563 ret = setgroups(size, list); in HWTEST_F()
590 gid_t list[2] = {ACCESS_TOKEN_OTHER_GRPID, ACCESS_TOKEN_GRPID}; in HWTEST_F() local
593 ret = setgroups(size, list); in HWTEST_F()
620 gid_t list[2] = {ACCESS_TOKEN_OTHER_GRPID, ACCESS_TOKEN_GRPID}; in HWTEST_F() local
623 ret = setgroups(size, list); in HWTEST_F()
/kernel/linux/linux-5.10/arch/m68k/math-emu/
H A Dfp_movem.S13 * notice, this list of conditions and the following disclaimer in the
46 | %d1 contains the mask and count of the register list
51 | get register list and count them
54 bfextu %d2{#24,#8},%d0 | static register list
56 1: bfextu %d2{#25,#3},%d0 | dynamic register list
62 2: lsr.b #1,%d0 | register list and keep it in %d1
132 swap %d1 | get fpu register list
205 | get register list and count them
319 swap %d1 | get fpu register list
/kernel/linux/linux-5.10/block/
H A Dblk-mq-sched.c178 * Sort the requests in the list according to their hctx, in __blk_mq_do_dispatch_sched()
290 * If we have previous entries on our dispatch list, grab them first for in __blk_mq_sched_dispatch_requests()
302 * requests from the dispatch list. This is to avoid the case where in __blk_mq_sched_dispatch_requests()
310 * on the dispatch list or we were able to dispatch from the in __blk_mq_sched_dispatch_requests()
311 * dispatch list. in __blk_mq_sched_dispatch_requests()
465 LIST_HEAD(list); in blk_mq_sched_insert_request()
467 list_add(&rq->queuelist, &list); in blk_mq_sched_insert_request()
468 e->type->ops.insert_requests(hctx, &list, at_head); in blk_mq_sched_insert_request()
482 struct list_head *list, bool run_queue_async) in blk_mq_sched_insert_requests()
496 e->type->ops.insert_requests(hctx, list, fals in blk_mq_sched_insert_requests()
480 blk_mq_sched_insert_requests(struct blk_mq_hw_ctx *hctx, struct blk_mq_ctx *ctx, struct list_head *list, bool run_queue_async) blk_mq_sched_insert_requests() argument
[all...]
/kernel/linux/linux-5.10/drivers/char/
H A Dapm-emulation.c29 #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-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dcq.c19 * 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/arch/m68k/math-emu/
H A Dfp_movem.S13 * notice, this list of conditions and the following disclaimer in the
46 | %d1 contains the mask and count of the register list
51 | get register list and count them
54 bfextu %d2{#24,#8},%d0 | static register list
56 1: bfextu %d2{#25,#3},%d0 | dynamic register list
62 2: lsr.b #1,%d0 | register list and keep it in %d1
132 swap %d1 | get fpu register list
205 | get register list and count them
319 swap %d1 | get fpu register list
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-historical-service-time.c55 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()
309 list_add_tail(&pi->list, &s->valid_paths); in hst_add_path()
323 list_move(&pi->list, &s->failed_paths); in hst_fail_path()
335 list_move_tail(&pi->list, &s->valid_paths); in hst_reinstate_path()
440 list_for_each_entry(pi, &s->valid_paths, list) { in hst_select_path()
449 list_move_tail(&best->list, &s->valid_paths); in hst_select_path()
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/
H A Dtw686x-audio.c55 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-5.10/drivers/net/ethernet/netronome/nfp/flower/
H A Dlag_conf.c49 * struct nfp_fl_lag_group - list entry for each LAG group
52 * @list: List entry
63 struct list_head list; member
136 list_add_tail(&group->list, &lag->group_list); in nfp_fl_lag_group_create()
150 list_for_each_entry(entry, &lag->group_list, list) in nfp_fl_lag_find_group_for_master_with_lag()
278 list_for_each_entry_safe(entry, storage, &lag->group_list, list) { in nfp_fl_lag_do_work()
303 list_del(&entry->list); in nfp_fl_lag_do_work()
428 * unprocessed messages list. in nfp_flower_lag_unprocessed_msg()
453 list) in nfp_flower_lag_unprocessed_msg()
686 list_for_each_entry_safe(entry, storage, &lag->group_list, list) { in nfp_flower_lag_cleanup()
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
H A Drtw_sta_mgt.c18 INIT_LIST_HEAD(&psta->list); in _rtw_init_stainfo()
83 list_add_tail(&psta->list, get_list_head(&pstapriv->free_sta_queue)); in _rtw_init_sta_priv()
136 psta = LIST_CONTAINOR(plist, struct sta_info, list); in kfree_all_stainfo()
207 psta = LIST_CONTAINOR(get_next(&pfree_sta_queue->queue), struct sta_info, list); in rtw_alloc_stainfo()
209 list_del_init(&(psta->list)); in rtw_alloc_stainfo()
422 list_del_init(&(prframe->u.hdr.list)); in rtw_free_stainfo()
472 list_add_tail(&psta->list, get_list_head(pfree_sta_queue)); in rtw_free_stainfo()
511 /* any station allocated can be searched by hash list */
599 paclnode = LIST_CONTAINOR(plist, struct rtw_wlan_acl_node, list); in rtw_access_ctrl()
611 if (pacl_list->mode == 1) /* accept unless in deny list */ in rtw_access_ctrl()
[all...]
/kernel/linux/linux-5.10/sound/firewire/oxfw/
H A Doxfw-pcm.c51 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-5.10/drivers/xen/xen-pciback/
H A Dconf_space.c179 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-5.10/fs/btrfs/
H A Dlzo.c61 struct list_head list; member
68 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_free_workspace()
90 INIT_LIST_HEAD(&workspace->list); in lzo_alloc_workspace()
92 return &workspace->list; in lzo_alloc_workspace()
94 lzo_free_workspace(&workspace->list); in lzo_alloc_workspace()
118 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_compress_pages()
284 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_decompress_bio()
427 struct workspace *workspace = list_entry(ws, struct workspace, list); in lzo_decompress()
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_probe.h242 struct list_head list; member
251 struct list_head list; member
304 return list_first_entry_or_null(&tpe->probes, struct trace_probe, list); in trace_probe_primary_from_call()
314 struct list_head *list = trace_probe_probe_list(tp); in trace_probe_has_sibling() local
316 return !list_empty(list) && !list_is_singular(list); in trace_probe_has_sibling()
346 list_for_each_entry(pos, &(tp)->event->files, list)
348 list_for_each_entry_rcu(pos, &(tp)->event->files, list)
/kernel/linux/linux-5.10/fs/pstore/
H A Dinode.c15 #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()
321 list_for_each_entry_safe(pos, tmp, &records_list, list) { in pstore_put_backend_records()
323 list_del_init(&pos->list); in pstore_put_backend_records()
356 list_for_each_entry(pos, &records_list, list) { in pstore_mkfile()
392 list_add(&private->list, &records_list); in pstore_mkfile()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_extent_busy.c40 INIT_LIST_HEAD(&new->list); in xfs_extent_busy_insert()
67 list_add(&new->list, &tp->t_busy); in xfs_extent_busy_insert()
127 * transaction/CIL context busy list, but we can update an entry's block
182 * modify the list of busy extents attached to the transaction
220 * However we cannot remove it from the immutable list
321 * For a given extent [fbno, flen], search the busy extent list to find a
328 * to be cleared. Note that the busy list is not guaranteed to be empty after
520 list_del_init(&busyp->list); in xfs_extent_busy_clear_one()
540 * Remove all extents on the passed in list from the busy extents tree.
547 struct list_head *list, in xfs_extent_busy_clear()
545 xfs_extent_busy_clear( struct xfs_mount *mp, struct list_head *list, bool do_discard) xfs_extent_busy_clear() argument
[all...]
H A Dxfs_trans_ail.c23 * Check that the list is sorted as it should be.
91 * the given item is the last item in the list, then return NULL.
157 * the next item in the list for us. However, for this to be safe, removing an
168 list_add_tail(&cur->list, &ailp->ail_cursors); in xfs_trans_ail_cursor_init()
190 * When the traversal is complete, we need to remove the cursor from the list
198 list_del_init(&cur->list); in xfs_trans_ail_cursor_done()
206 * distinguish between an invalidation and the end of the list when getting the
216 list_for_each_entry(cur, &ailp->ail_cursors, list) { in xfs_trans_ail_cursor_clear()
227 * first item in the AIL. Returns NULL if the list is empty.
274 * LSN lower than @lsn. Returns NULL if the list i
294 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-5.10/net/batman-adv/
H A Dsend.c21 #include <linux/list.h>
535 INIT_HLIST_NODE(&forw_packet->list); in batadv_forw_packet_alloc()
589 hlist_del_init(&forw_packet->list); in batadv_forw_packet_steal()
599 * batadv_forw_packet_list_steal() - claim a list of forward packets for free()
620 forw_list, list) { in batadv_forw_packet_list_steal()
629 hlist_del(&forw_packet->list); in batadv_forw_packet_list_steal()
635 * batadv_forw_packet_list_free() - free a list of forward packets
636 * @head: a list of to be freed forw_packets
638 * This function cancels the scheduling of any packet in the provided list,
693 hlist_del_init(&forw_packet->list); in batadv_forw_packet_queue()
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp_cong.c15 #include <linux/list.h>
28 list_for_each_entry_rcu(e, &tcp_cong_list, list) { in tcp_ca_find()
58 list_for_each_entry_rcu(e, &tcp_cong_list, list) { in tcp_ca_find_key()
67 * Attach new congestion control algorithm to the list
89 list_add_tail_rcu(&ca->list, &tcp_cong_list); in tcp_register_congestion_control()
107 list_del_rcu(&ca->list); in tcp_unregister_congestion_control()
258 /* Build string with list of available congestion control values */
265 list_for_each_entry_rcu(ca, &tcp_cong_list, list) { in tcp_get_available_congestion_control()
287 /* Built list of non-restricted congestion control values */
295 list_for_each_entry_rcu(ca, &tcp_cong_list, list) { in tcp_get_allowed_congestion_control()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_so.c49 * @srf_head: List head for the surface-to-view list.
50 * @cotable_head: List head for the cotable-to_view list.
308 * @list: Caller's list of staged command buffer resource actions.
317 struct list_head *list) in vmw_view_add()
381 res, list); in vmw_view_add()
401 * @list: Caller's list of staged command buffer resource actions.
408 struct list_head *list, in vmw_view_remove()
418 list, res_ in vmw_view_remove()
310 vmw_view_add(struct vmw_cmdbuf_res_manager *man, struct vmw_resource *ctx, struct vmw_resource *srf, enum vmw_view_type view_type, u32 user_key, const void *cmd, size_t cmd_size, struct list_head *list) vmw_view_add() argument
406 vmw_view_remove(struct vmw_cmdbuf_res_manager *man, u32 user_key, enum vmw_view_type view_type, struct list_head *list, struct vmw_resource **res_p) vmw_view_remove() argument
433 vmw_view_cotable_list_destroy(struct vmw_private *dev_priv, struct list_head *list, bool readback) vmw_view_cotable_list_destroy() argument
454 vmw_view_surface_list_destroy(struct vmw_private *dev_priv, struct list_head *list) vmw_view_surface_list_destroy() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
H A Dvdec_helpers.c246 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-5.10/drivers/staging/rtl8188eu/core/
H A Drtw_sta_mgt.c22 INIT_LIST_HEAD(&psta->list); in _rtw_init_stainfo()
86 list_add_tail(&psta->list, in _rtw_init_sta_priv()
180 struct sta_info, list); in rtw_alloc_stainfo()
186 list_del_init(&psta->list); in rtw_alloc_stainfo()
325 prframe = container_of(plist, struct recv_frame, list); in rtw_free_stainfo()
329 list_del_init(&prframe->list); in rtw_free_stainfo()
374 list_add_tail(&psta->list, get_list_head(pfree_sta_queue)); in rtw_free_stainfo()
412 /* any station allocated can be searched by hash list */
494 paclnode = container_of(plist, struct rtw_wlan_acl_node, list); in rtw_access_ctrl()
506 if (pacl_list->mode == 1)/* accept unless in deny list */ in rtw_access_ctrl()
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dmfd-core.c13 #include <linux/list.h>
27 struct list_head list; member
108 list_for_each_entry(of_entry, &mfd_of_node_list, list) in mfd_match_of_node_to_dev()
132 list_add_tail(&of_entry->list, &mfd_of_node_list); in mfd_match_of_node_to_dev()
289 list_for_each_entry_safe(of_entry, tmp, &mfd_of_node_list, list) in mfd_add_device()
291 list_del(&of_entry->list); in mfd_add_device()
363 list_for_each_entry_safe(of_entry, tmp, &mfd_of_node_list, list) in mfd_remove_devices_fn()
365 list_del(&of_entry->list); in mfd_remove_devices_fn()

Completed in 22 milliseconds

1...<<71727374757677787980>>...536