Home
last modified time | relevance | path

Searched refs:dest_list (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.c1365 struct mlx5hws_cmd_set_fte_dest *dest_list = NULL; in mlx5hws_action_create_dest_array() local
1386 dest_list = kcalloc(num_dest, sizeof(*dest_list), GFP_KERNEL); in mlx5hws_action_create_dest_array()
1387 if (!dest_list) in mlx5hws_action_create_dest_array()
1396 dest_list[i].destination_type = in mlx5hws_action_create_dest_array()
1398 dest_list[i].destination_id = dests[i].dest->dest_obj.obj_id; in mlx5hws_action_create_dest_array()
1405 dest_list[i].destination_type = MLX5_FLOW_DESTINATION_TYPE_VPORT; in mlx5hws_action_create_dest_array()
1406 dest_list[i].destination_id = dests[i].dest->vport.vport_num; in mlx5hws_action_create_dest_array()
1409 dest_list[i].ext_flags |= in mlx5hws_action_create_dest_array()
1411 dest_list[i].esw_owner_vhca_id = in mlx5hws_action_create_dest_array()
1427 swap(dest_list[last_dest_idx], dest_list[num_dest - 1]); in mlx5hws_action_create_dest_array()
[all …]
/linux/drivers/target/
H A Dtarget_core_pr.c40 struct list_head dest_list; member
1498 INIT_LIST_HEAD(&tidh_new->dest_list); in core_scsi3_decode_spec_i_port()
1520 list_add_tail(&tidh_new->dest_list, &tid_dest_list); in core_scsi3_decode_spec_i_port()
1725 INIT_LIST_HEAD(&tidh_new->dest_list); in core_scsi3_decode_spec_i_port()
1761 list_add_tail(&tidh_new->dest_list, &tid_dest_list); in core_scsi3_decode_spec_i_port()
1784 list_for_each_entry_safe(tidh, tidh_tmp, &tid_dest_list, dest_list) { in core_scsi3_decode_spec_i_port()
1790 list_del(&tidh->dest_list); in core_scsi3_decode_spec_i_port()
1820 list_for_each_entry_safe(tidh, tidh_tmp, &tid_dest_list, dest_list) { in core_scsi3_decode_spec_i_port()
1831 list_del(&tidh->dest_list); in core_scsi3_decode_spec_i_port()