Home
last modified time | relevance | path

Searched refs:tmp_list (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.4/net/rds/
Dloop.c180 LIST_HEAD(tmp_list); in rds_loop_exit()
186 list_splice(&loop_conns, &tmp_list); in rds_loop_exit()
190 list_for_each_entry_safe(lc, _lc, &tmp_list, loop_node) { in rds_loop_exit()
199 LIST_HEAD(tmp_list); in rds_loop_kill_conns()
207 list_move_tail(&lc->loop_node, &tmp_list); in rds_loop_kill_conns()
211 list_for_each_entry_safe(lc, _lc, &tmp_list, loop_node) { in rds_loop_kill_conns()
Dtcp.c440 LIST_HEAD(tmp_list); in rds_tcp_destroy_conns()
445 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) in rds_tcp_destroy_conns()
446 list_move_tail(&tc->t_tcp_node, &tmp_list); in rds_tcp_destroy_conns()
450 list_for_each_entry_safe(tc, _tc, &tmp_list, t_tcp_node) in rds_tcp_destroy_conns()
601 LIST_HEAD(tmp_list); in rds_tcp_kill_sock()
613 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { in rds_tcp_kill_sock()
614 list_move_tail(&tc->t_tcp_node, &tmp_list); in rds_tcp_kill_sock()
621 list_for_each_entry_safe(tc, _tc, &tmp_list, t_tcp_node) in rds_tcp_kill_sock()
Dib_rdma.c161 LIST_HEAD(tmp_list); in rds_ib_destroy_nodev_conns()
165 list_splice(&ib_nodev_conns, &tmp_list); in rds_ib_destroy_nodev_conns()
168 list_for_each_entry_safe(ic, _ic, &tmp_list, ib_node) in rds_ib_destroy_nodev_conns()
/Linux-v5.4/net/sunrpc/
Dbackchannel_rqst.c138 struct list_head tmp_list; in xprt_setup_bc() local
154 INIT_LIST_HEAD(&tmp_list); in xprt_setup_bc()
165 list_add(&req->rq_bc_pa_list, &tmp_list); in xprt_setup_bc()
172 list_splice(&tmp_list, &xprt->bc_pa_list); in xprt_setup_bc()
185 while (!list_empty(&tmp_list)) { in xprt_setup_bc()
186 req = list_first_entry(&tmp_list, in xprt_setup_bc()
/Linux-v5.4/fs/nfs/
Dpnfs.c63 struct list_head *tmp_list);
598 struct list_head *tmp_list) in pnfs_lseg_dec_and_remove_zero() argument
603 list_add(&lseg->pls_list, tmp_list); in pnfs_lseg_dec_and_remove_zero()
609 struct list_head *tmp_list) in mark_lseg_invalid() argument
620 if (pnfs_lseg_dec_and_remove_zero(lseg, tmp_list)) in mark_lseg_invalid()
673 struct list_head *tmp_list, in pnfs_mark_matching_lsegs_invalid() argument
690 if (!mark_lseg_invalid(lseg, tmp_list)) in pnfs_mark_matching_lsegs_invalid()
730 LIST_HEAD(tmp_list); in pnfs_destroy_layout()
736 pnfs_mark_layout_stateid_invalid(lo, &tmp_list); in pnfs_destroy_layout()
740 pnfs_free_lseg_list(&tmp_list); in pnfs_destroy_layout()
[all …]
Dpnfs.h256 void pnfs_free_lseg_list(struct list_head *tmp_list);
272 struct list_head *tmp_list,
276 struct list_head *tmp_list,
/Linux-v5.4/drivers/md/
Ddm-log-userspace-base.c490 LIST_HEAD(tmp_list); in flush_by_group()
503 list_move(&fe->list, &tmp_list); in flush_by_group()
529 list_splice_init(&tmp_list, flush_list); in flush_by_group()
540 list_splice_init(&tmp_list, flush_list); in flush_by_group()
/Linux-v5.4/drivers/dma/
Dpch_dma.c493 LIST_HEAD(tmp_list); in pd_alloc_chan_resources()
513 list_add_tail(&desc->desc_node, &tmp_list); in pd_alloc_chan_resources()
517 list_splice(&tmp_list, &pd_chan->free_list); in pd_alloc_chan_resources()
532 LIST_HEAD(tmp_list); in pd_free_chan_resources()
539 list_splice_init(&pd_chan->free_list, &tmp_list); in pd_free_chan_resources()
543 list_for_each_entry_safe(desc, _d, &tmp_list, desc_node) in pd_free_chan_resources()
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Dhtc.h665 struct list_head *tmp_list; in get_queue_depth() local
668 list_for_each(tmp_list, queue) in get_queue_depth()
/Linux-v5.4/drivers/scsi/
Dscsi_error.c1532 LIST_HEAD(tmp_list); in scsi_eh_target_reset()
1535 list_splice_init(work_q, &tmp_list); in scsi_eh_target_reset()
1537 while (!list_empty(&tmp_list)) { in scsi_eh_target_reset()
1545 list_splice_init(&tmp_list, work_q); in scsi_eh_target_reset()
1553 scmd = list_entry(tmp_list.next, struct scsi_cmnd, eh_entry); in scsi_eh_target_reset()
1567 list_for_each_entry_safe(scmd, next, &tmp_list, eh_entry) { in scsi_eh_target_reset()
/Linux-v5.4/include/net/
Dif_inet6.h68 struct list_head tmp_list; member
/Linux-v5.4/fs/cifs/
Dfile.c825 struct list_head tmp_list; in cifs_reopen_persistent_handles() local
833 INIT_LIST_HEAD(&tmp_list); in cifs_reopen_persistent_handles()
842 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles()
846 list_for_each_safe(tmp, tmp1, &tmp_list) { in cifs_reopen_persistent_handles()
2986 struct list_head tmp_list; in collect_uncached_write_data() local
2989 INIT_LIST_HEAD(&tmp_list); in collect_uncached_write_data()
2994 wdata, &tmp_list, ctx); in collect_uncached_write_data()
3001 ctx->cfile, cifs_sb, &tmp_list, in collect_uncached_write_data()
3008 list_splice(&tmp_list, &ctx->list); in collect_uncached_write_data()
3677 struct list_head tmp_list; in collect_uncached_read_data() local
[all …]
/Linux-v5.4/fs/ocfs2/
Dextent_map.c107 LIST_HEAD(tmp_list); in ocfs2_extent_map_trunc()
114 list_move(&emi->ei_list, &tmp_list); in ocfs2_extent_map_trunc()
128 list_for_each_entry_safe(emi, n, &tmp_list, ei_list) { in ocfs2_extent_map_trunc()
/Linux-v5.4/drivers/staging/wusbcore/
Dwa-xfer.c1742 LIST_HEAD(tmp_list); in wa_urb_enqueue_run()
1746 list_cut_position(&tmp_list, &wa->xfer_delayed_list, in wa_urb_enqueue_run()
1754 list_for_each_entry_safe(xfer, next, &tmp_list, list_node) { in wa_urb_enqueue_run()
1772 LIST_HEAD(tmp_list); in wa_process_errored_transfers_run()
1778 list_cut_position(&tmp_list, &wa->xfer_errored_list, in wa_process_errored_transfers_run()
1786 list_for_each_entry_safe(xfer, next, &tmp_list, list_node) { in wa_process_errored_transfers_run()
/Linux-v5.4/drivers/net/team/
Dteam.c109 struct list_head tmp_list; member
2422 struct team_option_inst, tmp_list); in team_nl_send_options_get()
2444 list_for_each_entry_from(opt_inst, sel_opt_inst_list, tmp_list) { in team_nl_send_options_get()
2493 list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list); in team_nl_cmd_options_get()
2638 list_add(&opt_inst->tmp_list, &opt_inst_list); in team_nl_cmd_options_set()
2875 list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list); in __team_options_change_check()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c10615 struct bnx2x_prev_path_list *tmp_list; in bnx2x_prev_path_get_entry() local
10617 list_for_each_entry(tmp_list, &bnx2x_prev_list, list) in bnx2x_prev_path_get_entry()
10618 if (PCI_SLOT(bp->pdev->devfn) == tmp_list->slot && in bnx2x_prev_path_get_entry()
10619 bp->pdev->bus->number == tmp_list->bus && in bnx2x_prev_path_get_entry()
10620 BP_PATH(bp) == tmp_list->path) in bnx2x_prev_path_get_entry()
10621 return tmp_list; in bnx2x_prev_path_get_entry()
10628 struct bnx2x_prev_path_list *tmp_list; in bnx2x_prev_path_mark_eeh() local
10637 tmp_list = bnx2x_prev_path_get_entry(bp); in bnx2x_prev_path_mark_eeh()
10638 if (tmp_list) { in bnx2x_prev_path_mark_eeh()
10639 tmp_list->aer = 1; in bnx2x_prev_path_mark_eeh()
[all …]
/Linux-v5.4/drivers/net/wireless/ath/carl9170/
Dmain.c196 list_add_tail(&tid_info->tmp_list, &tid_gc); in carl9170_ampdu_gc()
209 tmp_list); in carl9170_ampdu_gc()
214 list_del_init(&tid_info->tmp_list); in carl9170_ampdu_gc()
1442 INIT_LIST_HEAD(&tid_info->tmp_list); in carl9170_op_ampdu_action()
Dcarl9170.h119 struct list_head tmp_list; member
/Linux-v5.4/fs/ceph/
Dmds_client.c1863 LIST_HEAD(tmp_list); in ceph_send_cap_releases()
1873 list_splice_init(&session->s_cap_releases, &tmp_list); in ceph_send_cap_releases()
1878 while (!list_empty(&tmp_list)) { in ceph_send_cap_releases()
1892 cap = list_first_entry(&tmp_list, struct ceph_cap, in ceph_send_cap_releases()
1944 list_splice(&tmp_list, &session->s_cap_releases); in ceph_send_cap_releases()
2626 LIST_HEAD(tmp_list); in __wake_requests()
2628 list_splice_init(head, &tmp_list); in __wake_requests()
2630 while (!list_empty(&tmp_list)) { in __wake_requests()
2631 req = list_entry(tmp_list.next, in __wake_requests()
/Linux-v5.4/drivers/net/usb/
Dr8152.c2482 struct list_head tmp_list; in rtl_start_rx() local
2486 INIT_LIST_HEAD(&tmp_list); in rtl_start_rx()
2493 list_splice_init(&tp->rx_info, &tmp_list); in rtl_start_rx()
2497 list_for_each_entry_safe(agg, agg_next, &tmp_list, info_list) { in rtl_start_rx()
2516 list_splice(&tmp_list, &tp->rx_info); in rtl_start_rx()
2525 struct list_head tmp_list; in rtl_stop_rx() local
2528 INIT_LIST_HEAD(&tmp_list); in rtl_stop_rx()
2537 list_splice_init(&tp->rx_info, &tmp_list); in rtl_stop_rx()
2540 list_for_each_entry_safe(agg, agg_next, &tmp_list, info_list) { in rtl_stop_rx()
2553 list_splice(&tmp_list, &tp->rx_info); in rtl_stop_rx()
/Linux-v5.4/fs/
Dnamespace.c1429 LIST_HEAD(tmp_list); in umount_tree()
1438 list_move(&p->mnt_list, &tmp_list); in umount_tree()
1442 list_for_each_entry(p, &tmp_list, mnt_list) { in umount_tree()
1448 propagate_umount(&tmp_list); in umount_tree()
1450 while (!list_empty(&tmp_list)) { in umount_tree()
1453 p = list_first_entry(&tmp_list, struct mount, mnt_list); in umount_tree()
/Linux-v5.4/drivers/char/
Dvirtio_console.c394 LIST_HEAD(tmp_list); in reclaim_dma_bufs()
401 list_cut_position(&tmp_list, &pending_free_dma_bufs, in reclaim_dma_bufs()
406 list_for_each_entry_safe(buf, tmp, &tmp_list, list) { in reclaim_dma_bufs()
/Linux-v5.4/mm/
Dcompaction.c73 LIST_HEAD(tmp_list); in split_map_pages()
86 list_add(&page->lru, &tmp_list); in split_map_pages()
91 list_splice(&tmp_list, list); in split_map_pages()
/Linux-v5.4/drivers/net/ethernet/intel/ice/
Dice_ethtool.c650 LIST_HEAD(tmp_list); in ice_loopback_test()
684 if (ice_add_mac_to_list(test_vsi, &tmp_list, broadcast)) { in ice_loopback_test()
689 if (ice_add_mac(&pf->hw, &tmp_list)) { in ice_loopback_test()
716 if (ice_remove_mac(&pf->hw, &tmp_list)) in ice_loopback_test()
719 ice_free_fltr_list(&pf->pdev->dev, &tmp_list); in ice_loopback_test()
/Linux-v5.4/kernel/events/
Duprobes.c1365 struct list_head tmp_list; in uprobe_mmap() local
1385 build_probe_list(inode, vma, vma->vm_start, vma->vm_end, &tmp_list); in uprobe_mmap()
1391 list_for_each_entry_safe(uprobe, u, &tmp_list, pending_list) { in uprobe_mmap()

12