Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_fltr.c310 LIST_HEAD(tmp_list); in ice_fltr_prepare_mac()
313 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action)) { in ice_fltr_prepare_mac()
314 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac()
318 result = mac_action(vsi, &tmp_list); in ice_fltr_prepare_mac()
319 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac()
337 LIST_HEAD(tmp_list); in ice_fltr_prepare_mac_and_broadcast()
341 if (ice_fltr_add_mac_to_list(vsi, &tmp_list, mac, action) || in ice_fltr_prepare_mac_and_broadcast()
342 ice_fltr_add_mac_to_list(vsi, &tmp_list, broadcast, action)) { in ice_fltr_prepare_mac_and_broadcast()
343 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac_and_broadcast()
347 result = mac_action(vsi, &tmp_list); in ice_fltr_prepare_mac_and_broadcast()
[all …]
/linux-6.6.21/tools/perf/arch/x86/util/
Diostat.c200 struct iio_root_ports_list *tmp_list; in iio_root_ports_scan() local
208 tmp_list = calloc(1, sizeof(*tmp_list)); in iio_root_ports_scan()
209 if (!tmp_list) in iio_root_ports_scan()
213 ret = iio_mapping(pmu_idx, tmp_list); in iio_root_ports_scan()
219 *list = tmp_list; in iio_root_ports_scan()
221 iio_root_ports_list_free(tmp_list); in iio_root_ports_scan()
256 struct iio_root_ports_list *tmp_list = calloc(1, sizeof(*tmp_list)); in iio_root_ports_list_filter() local
258 if (!tmp_list) in iio_root_ports_list_filter()
271 ret = iio_root_ports_list_insert(tmp_list, rp); in iio_root_ports_list_filter()
276 } else if (!iio_root_port_find_by_notation(tmp_list, in iio_root_ports_list_filter()
[all …]
/linux-6.6.21/fs/smb/client/
Dmisc.c751 struct file_list *tmp_list, *tmp_next_list; in cifs_close_deferred_file() local
766 tmp_list = kmalloc(sizeof(struct file_list), GFP_ATOMIC); in cifs_close_deferred_file()
767 if (tmp_list == NULL) in cifs_close_deferred_file()
769 tmp_list->cfile = cfile; in cifs_close_deferred_file()
770 list_add_tail(&tmp_list->list, &file_head); in cifs_close_deferred_file()
776 list_for_each_entry_safe(tmp_list, tmp_next_list, &file_head, list) { in cifs_close_deferred_file()
777 _cifsFileInfo_put(tmp_list->cfile, false, false); in cifs_close_deferred_file()
778 list_del(&tmp_list->list); in cifs_close_deferred_file()
779 kfree(tmp_list); in cifs_close_deferred_file()
787 struct file_list *tmp_list, *tmp_next_list; in cifs_close_all_deferred_files() local
[all …]
Dfile.c1129 struct list_head tmp_list; in cifs_reopen_persistent_handles() local
1137 INIT_LIST_HEAD(&tmp_list); in cifs_reopen_persistent_handles()
1145 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles()
1149 list_for_each_entry_safe(open_file, tmp, &tmp_list, rlist) { in cifs_reopen_persistent_handles()
3526 struct list_head tmp_list; in collect_uncached_write_data() local
3529 INIT_LIST_HEAD(&tmp_list); in collect_uncached_write_data()
3534 wdata, &tmp_list, ctx); in collect_uncached_write_data()
3541 ctx->cfile, cifs_sb, &tmp_list, in collect_uncached_write_data()
3548 list_splice(&tmp_list, &ctx->list); in collect_uncached_write_data()
4042 struct list_head tmp_list; in collect_uncached_read_data() local
[all …]
/linux-6.6.21/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.c430 LIST_HEAD(tmp_list); in rds_tcp_destroy_conns()
435 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) in rds_tcp_destroy_conns()
436 list_move_tail(&tc->t_tcp_node, &tmp_list); in rds_tcp_destroy_conns()
440 list_for_each_entry_safe(tc, _tc, &tmp_list, t_tcp_node) in rds_tcp_destroy_conns()
609 LIST_HEAD(tmp_list); in rds_tcp_kill_sock()
621 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { in rds_tcp_kill_sock()
622 list_move_tail(&tc->t_tcp_node, &tmp_list); in rds_tcp_kill_sock()
629 list_for_each_entry_safe(tc, _tc, &tmp_list, t_tcp_node) in rds_tcp_kill_sock()
Dib_rdma.c168 LIST_HEAD(tmp_list); in rds_ib_destroy_nodev_conns()
172 list_splice(&ib_nodev_conns, &tmp_list); in rds_ib_destroy_nodev_conns()
175 list_for_each_entry_safe(ic, _ic, &tmp_list, ib_node) in rds_ib_destroy_nodev_conns()
/linux-6.6.21/net/sunrpc/
Dbackchannel_rqst.c135 struct list_head tmp_list; in xprt_setup_bc() local
151 INIT_LIST_HEAD(&tmp_list); in xprt_setup_bc()
162 list_add(&req->rq_bc_pa_list, &tmp_list); in xprt_setup_bc()
169 list_splice(&tmp_list, &xprt->bc_pa_list); in xprt_setup_bc()
182 while (!list_empty(&tmp_list)) { in xprt_setup_bc()
183 req = list_first_entry(&tmp_list, in xprt_setup_bc()
/linux-6.6.21/tools/perf/util/
Dcgroup.c411 struct evlist *orig_list, *tmp_list; in evlist__expand_cgroup() local
425 tmp_list = evlist__new(); in evlist__expand_cgroup()
426 if (orig_list == NULL || tmp_list == NULL) { in evlist__expand_cgroup()
477 evlist__add(tmp_list, evsel); in evlist__expand_cgroup()
484 if (metricgroup__copy_metric_events(tmp_list, cgrp, in evlist__expand_cgroup()
490 evlist__splice_list_tail(evlist, &tmp_list->core.entries); in evlist__expand_cgroup()
491 tmp_list->core.nr_entries = 0; in evlist__expand_cgroup()
504 evlist__delete(tmp_list); in evlist__expand_cgroup()
/linux-6.6.21/drivers/infiniband/core/
Dcq.c370 LIST_HEAD(tmp_list); in ib_alloc_cqs()
395 list_add_tail(&cq->pool_entry, &tmp_list); in ib_alloc_cqs()
399 list_splice(&tmp_list, &dev->cq_pools[poll_ctx]); in ib_alloc_cqs()
405 list_for_each_entry_safe(cq, n, &tmp_list, pool_entry) { in ib_alloc_cqs()
/linux-6.6.21/fs/nfs/
Dpnfs.c63 struct list_head *tmp_list);
642 struct list_head *tmp_list) in pnfs_lseg_dec_and_remove_zero() argument
647 list_add(&lseg->pls_list, tmp_list); in pnfs_lseg_dec_and_remove_zero()
653 struct list_head *tmp_list) in mark_lseg_invalid() argument
664 if (pnfs_lseg_dec_and_remove_zero(lseg, tmp_list)) in mark_lseg_invalid()
708 struct list_head *tmp_list, in pnfs_mark_matching_lsegs_invalid() argument
726 if (mark_lseg_invalid(lseg, tmp_list)) in pnfs_mark_matching_lsegs_invalid()
767 LIST_HEAD(tmp_list); in __pnfs_destroy_layout()
773 pnfs_mark_layout_stateid_invalid(lo, &tmp_list); in __pnfs_destroy_layout()
777 pnfs_free_lseg_list(&tmp_list); in __pnfs_destroy_layout()
[all …]
Dpnfs.h270 void pnfs_free_lseg_list(struct list_head *tmp_list);
288 struct list_head *tmp_list,
292 struct list_head *tmp_list,
/linux-6.6.21/drivers/md/
Ddm-log-userspace-base.c489 LIST_HEAD(tmp_list); in flush_by_group()
502 list_move(&fe->list, &tmp_list); in flush_by_group()
528 list_splice_init(&tmp_list, flush_list); in flush_by_group()
539 list_splice_init(&tmp_list, flush_list); in flush_by_group()
/linux-6.6.21/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-6.6.21/drivers/net/wireless/ath/ath6kl/
Dhtc.h672 struct list_head *tmp_list; in get_queue_depth() local
675 list_for_each(tmp_list, queue) in get_queue_depth()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c174 list_for_each_entry(flow, flow_list, tmp_list) { in mlx5e_tc_encap_flows_add()
225 list_for_each_entry(flow, flow_list, tmp_list) { in mlx5e_tc_encap_flows_del()
281 list_add(&flow->tmp_list, flow_list); in mlx5e_take_tmp_flow()
418 list_add(&flow->tmp_list, &flow_list); in mlx5e_tc_update_neigh_used_value()
1456 list_for_each_entry(flow, encap_flows, tmp_list) { in mlx5e_invalidate_encap()
1505 list_for_each_entry(flow, encap_flows, tmp_list) { in mlx5e_reoffload_encap()
1618 list_for_each_entry(flow, flow_list, tmp_list) in mlx5e_unoffload_flow_list()
1629 list_for_each_entry(flow, decap_flows, tmp_list) { in mlx5e_reoffload_decap()
Dtc_priv.h106 struct list_head tmp_list; /* temporary flow list used by neigh update */ member
/linux-6.6.21/include/net/
Dif_inet6.h72 struct list_head tmp_list; member
/linux-6.6.21/drivers/scsi/
Dscsi_error.c1631 LIST_HEAD(tmp_list); in scsi_eh_target_reset()
1634 list_splice_init(work_q, &tmp_list); in scsi_eh_target_reset()
1636 while (!list_empty(&tmp_list)) { in scsi_eh_target_reset()
1644 list_splice_init(&tmp_list, work_q); in scsi_eh_target_reset()
1652 scmd = list_entry(tmp_list.next, struct scsi_cmnd, eh_entry); in scsi_eh_target_reset()
1666 list_for_each_entry_safe(scmd, next, &tmp_list, eh_entry) { in scsi_eh_target_reset()
/linux-6.6.21/fs/ocfs2/
Dextent_map.c105 LIST_HEAD(tmp_list); in ocfs2_extent_map_trunc()
112 list_move(&emi->ei_list, &tmp_list); in ocfs2_extent_map_trunc()
126 list_for_each_entry_safe(emi, n, &tmp_list, ei_list) { in ocfs2_extent_map_trunc()
/linux-6.6.21/drivers/net/team/
Dteam.c110 struct list_head tmp_list; member
2459 struct team_option_inst, tmp_list); in team_nl_send_options_get()
2481 list_for_each_entry_from(opt_inst, sel_opt_inst_list, tmp_list) { in team_nl_send_options_get()
2530 list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list); in team_nl_cmd_options_get()
2675 list_add(&opt_inst->tmp_list, &opt_inst_list); in team_nl_cmd_options_set()
2913 list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list); in __team_options_change_check()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c10558 struct bnx2x_prev_path_list *tmp_list; in bnx2x_prev_path_get_entry() local
10560 list_for_each_entry(tmp_list, &bnx2x_prev_list, list) in bnx2x_prev_path_get_entry()
10561 if (PCI_SLOT(bp->pdev->devfn) == tmp_list->slot && in bnx2x_prev_path_get_entry()
10562 bp->pdev->bus->number == tmp_list->bus && in bnx2x_prev_path_get_entry()
10563 BP_PATH(bp) == tmp_list->path) in bnx2x_prev_path_get_entry()
10564 return tmp_list; in bnx2x_prev_path_get_entry()
10571 struct bnx2x_prev_path_list *tmp_list; in bnx2x_prev_path_mark_eeh() local
10580 tmp_list = bnx2x_prev_path_get_entry(bp); in bnx2x_prev_path_mark_eeh()
10581 if (tmp_list) { in bnx2x_prev_path_mark_eeh()
10582 tmp_list->aer = 1; in bnx2x_prev_path_mark_eeh()
[all …]
/linux-6.6.21/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()
1428 INIT_LIST_HEAD(&tid_info->tmp_list); in carl9170_op_ampdu_action()
Dcarl9170.h122 struct list_head tmp_list; member
/linux-6.6.21/drivers/xen/
Dxen-scsiback.c1238 struct list_head tmp_list; in scsiback_release_translation_entry() local
1243 list_cut_before(&tmp_list, head, head); in scsiback_release_translation_entry()
1247 list_for_each_entry_safe(entry, tmp, &tmp_list, l) { in scsiback_release_translation_entry()

12