/linux/drivers/net/ethernet/intel/ice/ |
A D | ice_fltr.c | 217 LIST_HEAD(tmp_list); in ice_fltr_prepare_mac() 224 result = mac_action(vsi, &tmp_list); in ice_fltr_prepare_mac() 225 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac() 244 LIST_HEAD(tmp_list); in ice_fltr_prepare_mac_and_broadcast() 253 result = mac_action(vsi, &tmp_list); in ice_fltr_prepare_mac_and_broadcast() 254 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_mac_and_broadcast() 272 LIST_HEAD(tmp_list); in ice_fltr_prepare_vlan() 277 result = vlan_action(vsi, &tmp_list); in ice_fltr_prepare_vlan() 278 ice_fltr_free_list(ice_pf_to_dev(vsi->back), &tmp_list); in ice_fltr_prepare_vlan() 297 LIST_HEAD(tmp_list); in ice_fltr_prepare_eth() [all …]
|
/linux/tools/perf/arch/x86/util/ |
A D | iostat.c | 199 struct iio_root_ports_list *tmp_list; in iio_root_ports_scan() local 207 tmp_list = calloc(1, sizeof(*tmp_list)); in iio_root_ports_scan() 208 if (!tmp_list) in iio_root_ports_scan() 212 ret = iio_mapping(pmu_idx, tmp_list); in iio_root_ports_scan() 218 *list = tmp_list; in iio_root_ports_scan() 220 iio_root_ports_list_free(tmp_list); in iio_root_ports_scan() 255 struct iio_root_ports_list *tmp_list = calloc(1, sizeof(*tmp_list)); in iio_root_ports_list_filter() local 257 if (!tmp_list) in iio_root_ports_list_filter() 282 if (tmp_list->nr_entries == 0) { in iio_root_ports_list_filter() 289 iio_root_ports_list_free(tmp_list); in iio_root_ports_list_filter() [all …]
|
/linux/fs/cifs/ |
A D | misc.c | 738 if (tmp_list == NULL) in cifs_close_deferred_file() 740 tmp_list->cfile = cfile; in cifs_close_deferred_file() 749 list_del(&tmp_list->list); in cifs_close_deferred_file() 750 kfree(tmp_list); in cifs_close_deferred_file() 769 if (tmp_list == NULL) in cifs_close_all_deferred_files() 771 tmp_list->cfile = cfile; in cifs_close_all_deferred_files() 780 list_del(&tmp_list->list); in cifs_close_all_deferred_files() 781 kfree(tmp_list); in cifs_close_all_deferred_files() 804 if (tmp_list == NULL) in cifs_close_deferred_file_under_dentry() 816 list_del(&tmp_list->list); in cifs_close_deferred_file_under_dentry() [all …]
|
A D | file.c | 928 struct list_head tmp_list; in cifs_reopen_persistent_handles() local 936 INIT_LIST_HEAD(&tmp_list); in cifs_reopen_persistent_handles() 3172 struct list_head tmp_list; in collect_uncached_write_data() local 3175 INIT_LIST_HEAD(&tmp_list); in collect_uncached_write_data() 3180 wdata, &tmp_list, ctx); in collect_uncached_write_data() 3187 ctx->cfile, cifs_sb, &tmp_list, in collect_uncached_write_data() 3194 list_splice(&tmp_list, &ctx->list); in collect_uncached_write_data() 3872 struct list_head tmp_list; in collect_uncached_read_data() local 3876 INIT_LIST_HEAD(&tmp_list); in collect_uncached_read_data() 3901 &tmp_list, ctx); in collect_uncached_read_data() [all …]
|
/linux/net/rds/ |
A D | loop.c | 180 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()
|
A D | tcp.c | 430 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() 591 LIST_HEAD(tmp_list); in rds_tcp_kill_sock() 603 if (!list_has_conn(&tmp_list, tc->t_cpath->cp_conn)) { in rds_tcp_kill_sock() 604 list_move_tail(&tc->t_tcp_node, &tmp_list); in rds_tcp_kill_sock() 611 list_for_each_entry_safe(tc, _tc, &tmp_list, t_tcp_node) in rds_tcp_kill_sock()
|
A D | ib_rdma.c | 168 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/tools/perf/util/ |
A D | cgroup.c | 398 struct evlist *orig_list, *tmp_list; in evlist__expand_cgroup() local 412 tmp_list = evlist__new(); in evlist__expand_cgroup() 413 if (orig_list == NULL || tmp_list == NULL) { in evlist__expand_cgroup() 464 evlist__add(tmp_list, evsel); in evlist__expand_cgroup() 471 perf_stat__collect_metric_expr(tmp_list); in evlist__expand_cgroup() 472 if (metricgroup__copy_metric_events(tmp_list, cgrp, in evlist__expand_cgroup() 478 evlist__splice_list_tail(evlist, &tmp_list->core.entries); in evlist__expand_cgroup() 479 tmp_list->core.nr_entries = 0; in evlist__expand_cgroup() 492 evlist__delete(tmp_list); in evlist__expand_cgroup()
|
/linux/net/sunrpc/ |
A D | backchannel_rqst.c | 138 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/drivers/infiniband/core/ |
A D | cq.c | 371 LIST_HEAD(tmp_list); in ib_alloc_cqs() 396 list_add_tail(&cq->pool_entry, &tmp_list); in ib_alloc_cqs() 400 list_splice(&tmp_list, &dev->cq_pools[poll_ctx]); in ib_alloc_cqs() 406 list_for_each_entry_safe(cq, n, &tmp_list, pool_entry) { in ib_alloc_cqs()
|
/linux/fs/nfs/ |
A D | pnfs.c | 630 struct list_head *tmp_list) in pnfs_lseg_dec_and_remove_zero() argument 635 list_add(&lseg->pls_list, tmp_list); in pnfs_lseg_dec_and_remove_zero() 641 struct list_head *tmp_list) in mark_lseg_invalid() argument 696 struct list_head *tmp_list, in pnfs_mark_matching_lsegs_invalid() argument 752 LIST_HEAD(tmp_list); in __pnfs_destroy_layout() 762 pnfs_free_lseg_list(&tmp_list); in __pnfs_destroy_layout() 1324 LIST_HEAD(tmp_list); in _pnfs_return_layout() 1371 pnfs_free_lseg_list(&tmp_list); in _pnfs_return_layout() 2461 struct list_head *tmp_list, in pnfs_mark_matching_lsegs_return() argument 2473 tmp_list = &lo->plh_return_segs; in pnfs_mark_matching_lsegs_return() [all …]
|
A D | pnfs.h | 265 void pnfs_free_lseg_list(struct list_head *tmp_list); 283 struct list_head *tmp_list, 287 struct list_head *tmp_list,
|
/linux/drivers/md/ |
A D | dm-log-userspace-base.c | 490 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/drivers/dma/ |
A D | pch_dma.c | 493 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/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | tc_tun_encap.c | 173 list_for_each_entry(flow, flow_list, tmp_list) { in mlx5e_tc_encap_flows_add() 214 list_for_each_entry(flow, flow_list, tmp_list) { in mlx5e_tc_encap_flows_del() 259 list_add(&flow->tmp_list, flow_list); in mlx5e_take_tmp_flow() 396 list_add(&flow->tmp_list, &flow_list); in mlx5e_tc_update_neigh_used_value() 1314 list_for_each_entry(flow, encap_flows, tmp_list) { in mlx5e_invalidate_encap() 1358 list_for_each_entry(flow, encap_flows, tmp_list) { in mlx5e_reoffload_encap() 1460 list_for_each_entry(flow, flow_list, tmp_list) in mlx5e_unoffload_flow_list() 1471 list_for_each_entry(flow, decap_flows, tmp_list) { in mlx5e_reoffload_decap()
|
A D | tc_priv.h | 101 struct list_head tmp_list; /* temporary flow list used by neigh update */ member
|
/linux/drivers/net/wireless/ath/ath6kl/ |
A D | htc.h | 665 struct list_head *tmp_list; in get_queue_depth() local 668 list_for_each(tmp_list, queue) in get_queue_depth()
|
/linux/drivers/scsi/ |
A D | scsi_error.c | 1583 LIST_HEAD(tmp_list); in scsi_eh_target_reset() 1586 list_splice_init(work_q, &tmp_list); in scsi_eh_target_reset() 1588 while (!list_empty(&tmp_list)) { in scsi_eh_target_reset() 1596 list_splice_init(&tmp_list, work_q); in scsi_eh_target_reset() 1604 scmd = list_entry(tmp_list.next, struct scsi_cmnd, eh_entry); in scsi_eh_target_reset() 1618 list_for_each_entry_safe(scmd, next, &tmp_list, eh_entry) { in scsi_eh_target_reset()
|
/linux/include/net/ |
A D | if_inet6.h | 68 struct list_head tmp_list; member
|
/linux/fs/ocfs2/ |
A D | extent_map.c | 105 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/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_main.c | 10551 return tmp_list; in bnx2x_prev_path_get_entry() 10568 if (tmp_list) { in bnx2x_prev_path_mark_eeh() 10569 tmp_list->aer = 1; in bnx2x_prev_path_mark_eeh() 10590 if (tmp_list) { in bnx2x_prev_is_path_marked() 10591 if (tmp_list->aer) { in bnx2x_prev_is_path_marked() 10634 if (tmp_list) { in bnx2x_prev_mark_path() 10635 if (!tmp_list->aer) { in bnx2x_prev_mark_path() 10640 tmp_list->aer = 0; in bnx2x_prev_mark_path() 10649 if (!tmp_list) { in bnx2x_prev_mark_path() 10657 tmp_list->aer = 0; in bnx2x_prev_mark_path() [all …]
|
/linux/drivers/net/team/ |
A D | team.c | 110 struct list_head tmp_list; member 2433 struct team_option_inst, tmp_list); in team_nl_send_options_get() 2455 list_for_each_entry_from(opt_inst, sel_opt_inst_list, tmp_list) { in team_nl_send_options_get() 2504 list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list); in team_nl_cmd_options_get() 2649 list_add(&opt_inst->tmp_list, &opt_inst_list); in team_nl_cmd_options_set() 2886 list_add_tail(&opt_inst->tmp_list, &sel_opt_inst_list); in __team_options_change_check()
|
/linux/drivers/net/wireless/ath/carl9170/ |
A D | main.c | 196 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()
|
/linux/fs/ceph/ |
A D | mds_client.c | 1997 LIST_HEAD(tmp_list); in ceph_send_cap_releases() 2007 list_splice_init(&session->s_cap_releases, &tmp_list); in ceph_send_cap_releases() 2012 while (!list_empty(&tmp_list)) { in ceph_send_cap_releases() 2026 cap = list_first_entry(&tmp_list, struct ceph_cap, in ceph_send_cap_releases() 2078 list_splice(&tmp_list, &session->s_cap_releases); in ceph_send_cap_releases() 2862 LIST_HEAD(tmp_list); in __wake_requests() 2864 list_splice_init(head, &tmp_list); in __wake_requests() 2866 while (!list_empty(&tmp_list)) { in __wake_requests() 2867 req = list_entry(tmp_list.next, in __wake_requests()
|
/linux/drivers/char/ |
A D | virtio_console.c | 395 LIST_HEAD(tmp_list); in reclaim_dma_bufs() 402 list_cut_position(&tmp_list, &pending_free_dma_bufs, in reclaim_dma_bufs() 407 list_for_each_entry_safe(buf, tmp, &tmp_list, list) { in reclaim_dma_bufs()
|