Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/net/ethernet/intel/ice/
H A 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 …]
/openbmc/linux/tools/perf/arch/x86/util/
H A 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 …]
/openbmc/linux/fs/smb/client/
H A Dmisc.c753 struct file_list *tmp_list, *tmp_next_list; in cifs_close_deferred_file() local
768 tmp_list = kmalloc(sizeof(struct file_list), GFP_ATOMIC); in cifs_close_deferred_file()
769 if (tmp_list == NULL) in cifs_close_deferred_file()
771 tmp_list->cfile = cfile; in cifs_close_deferred_file()
772 list_add_tail(&tmp_list->list, &file_head); in cifs_close_deferred_file()
778 list_for_each_entry_safe(tmp_list, tmp_next_list, &file_head, list) { in cifs_close_deferred_file()
779 _cifsFileInfo_put(tmp_list->cfile, false, false); in cifs_close_deferred_file()
780 list_del(&tmp_list->list); in cifs_close_deferred_file()
781 kfree(tmp_list); in cifs_close_deferred_file()
789 struct file_list *tmp_list, *tmp_next_list; in cifs_close_all_deferred_files() local
[all …]
H A Dcached_dir.c478 struct cached_dir_dentry *tmp_list, *q; in close_all_cached_dirs() local
492 tmp_list = kmalloc(sizeof(*tmp_list), GFP_ATOMIC); in close_all_cached_dirs()
493 if (tmp_list == NULL) in close_all_cached_dirs()
496 tmp_list->dentry = cfid->dentry; in close_all_cached_dirs()
500 list_add_tail(&tmp_list->entry, &entry); in close_all_cached_dirs()
506 list_for_each_entry_safe(tmp_list, q, &entry, entry) { in close_all_cached_dirs()
507 list_del(&tmp_list->entry); in close_all_cached_dirs()
508 dput(tmp_list->dentry); in close_all_cached_dirs()
509 kfree(tmp_list); in close_all_cached_dirs()
H A Dfile.c1221 struct list_head tmp_list; in cifs_reopen_persistent_handles() local
1229 INIT_LIST_HEAD(&tmp_list); in cifs_reopen_persistent_handles()
1237 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles()
1241 list_for_each_entry_safe(open_file, tmp, &tmp_list, rlist) { in cifs_reopen_persistent_handles()
3655 struct list_head tmp_list; in collect_uncached_write_data() local
3658 INIT_LIST_HEAD(&tmp_list); in collect_uncached_write_data()
3663 wdata, &tmp_list, ctx); in collect_uncached_write_data()
3670 ctx->cfile, cifs_sb, &tmp_list, in collect_uncached_write_data()
3677 list_splice(&tmp_list, &ctx->list); in collect_uncached_write_data()
4171 struct list_head tmp_list; in collect_uncached_read_data() local
[all …]
/openbmc/linux/net/rds/
H A 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()
H A 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()
H A 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()
/openbmc/linux/net/sunrpc/
H A 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()
/openbmc/linux/tools/perf/util/
H A 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()
/openbmc/openbmc-test-automation/ffdc/
H A Dffdc_collector.py996 tmp_list = []
998 tmp_list.append("SHELL")
1009 and protocol not in tmp_list
1014 tmp_list.append(self.remote_protocol)
1016 tmp_list.append("SSH")
1017 tmp_list.append("SCP")
1021 tmp_list.append(protocol)
1025 tmp_list.append(protocol)
1038 tmp_list.append(protocol)
1049 return tmp_list
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_cold_reset.robot128 @{tmp_list}= Create List
139 Append To List ${tmp_list} ${sensor_name}
142 ${sensor_count}= Get Length ${tmp_list}
145 …${sensor_threshold}= Selecting Random Sensor Name And Threshold Value ${tmp_list} ${sensor_list}
148 Remove Values From List ${tmp_list} ${random_sensor}
155 [Arguments] ${tmp_list} ${sensor_list}
158 ${random_sensor_name}= Evaluate random.choice(${tmp_list}) random
/openbmc/openbmc-test-automation/lib/
H A Dutils.py554 tmp_list = []
558 tmp_list.append(value[2:])
560 return tmp_list
/openbmc/linux/drivers/infiniband/core/
H A 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()
/openbmc/linux/fs/nfs/
H A 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 …]
H A Dpnfs.h270 void pnfs_free_lseg_list(struct list_head *tmp_list);
288 struct list_head *tmp_list,
292 struct list_head *tmp_list,
/openbmc/linux/drivers/md/
H A 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()
/openbmc/linux/drivers/dma/
H A 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()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dhtc.h672 struct list_head *tmp_list; in get_queue_depth() local
675 list_for_each(tmp_list, queue) in get_queue_depth()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c183 list_for_each_entry(flow, flow_list, tmp_list) { in mlx5e_tc_encap_flows_add()
234 list_for_each_entry(flow, flow_list, tmp_list) { in mlx5e_tc_encap_flows_del()
290 list_add(&flow->tmp_list, flow_list); in mlx5e_take_tmp_flow()
427 list_add(&flow->tmp_list, &flow_list); in mlx5e_tc_update_neigh_used_value()
1465 list_for_each_entry(flow, encap_flows, tmp_list) { in mlx5e_invalidate_encap()
1514 list_for_each_entry(flow, encap_flows, tmp_list) { in mlx5e_reoffload_encap()
1627 list_for_each_entry(flow, flow_list, tmp_list) in mlx5e_unoffload_flow_list()
1638 list_for_each_entry(flow, decap_flows, tmp_list) { in mlx5e_reoffload_decap()
H A Dtc_priv.h106 struct list_head tmp_list; /* temporary flow list used by neigh update */ member
/openbmc/linux/drivers/scsi/
H A 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()
/openbmc/linux/include/net/
H A Dif_inet6.h72 struct list_head tmp_list; member
/openbmc/linux/fs/ocfs2/
H A 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()
/openbmc/u-boot/cmd/
H A Dmtdparts.c849 LIST_HEAD(tmp_list); in device_parse()
912 list_add_tail(&part->link, &tmp_list); in device_parse()
917 part_delall(&tmp_list); in device_parse()
951 list_for_each_safe(entry, n, &tmp_list) { in device_parse()

12