Home
last modified time | relevance | path

Searched refs:dests (Results 1 – 23 of 23) sorted by relevance

/Linux-v5.15/net/tipc/
Dbcast.c67 int dests[MAX_BEARERS]; member
122 if (!bb->dests[i]) in tipc_bcbase_select_primary()
133 if (bb->dests[i] < all_dests) in tipc_bcbase_select_primary()
152 bb->dests[bearer_id]++; in tipc_bcast_inc_bearer_dst_cnt()
162 bb->dests[bearer_id]--; in tipc_bcast_dec_bearer_dst_cnt()
197 if (!bb->dests[bearer_id]) in tipc_bcbase_xmit()
212 static void tipc_bcast_select_xmit_method(struct net *net, int dests, in tipc_bcast_select_xmit_method() argument
249 method->rcast = dests <= bb->bc_threshold; in tipc_bcast_select_xmit_method()
289 struct tipc_nlist *dests, u16 *cong_link_cnt) in tipc_rcast_xmit() argument
298 list_for_each_entry_safe(dst, tmp, &dests->list, list) { in tipc_rcast_xmit()
[all …]
Dgroup.c85 struct tipc_nlist dests; member
175 tipc_nlist_init(&grp->dests, tipc_own_addr(net)); in tipc_group_create()
227 tipc_nlist_purge(&grp->dests); in tipc_group_delete()
326 tipc_nlist_add(&grp->dests, m->node); in tipc_group_create_member()
353 tipc_nlist_del(&grp->dests, m->node); in tipc_group_delete_member()
360 return &grp->dests; in tipc_group_dests()
Dbcast.h91 struct tipc_mc_method *method, struct tipc_nlist *dests,
/Linux-v5.15/drivers/md/
Ddm-kcopyd.c362 struct dm_io_region dests[DM_KCOPYD_MAX_REGIONS]; member
577 r = dm_io(&io_req, job->num_dests, job->dests, NULL); in run_io_job()
585 unsigned nr_pages = dm_div_up(job->dests[0].count, PAGE_SIZE >> 9); in run_pages_job()
731 sub_job->dests[i].sector += progress; in segment_complete()
732 sub_job->dests[i].count = count; in segment_complete()
772 unsigned int num_dests, struct dm_io_region *dests, in dm_kcopyd_copy() argument
794 memcpy(&job->dests, dests, sizeof(*dests) * num_dests); in dm_kcopyd_copy()
803 if (bdev_zoned_model(dests[i].bdev) == BLK_ZONED_HM) { in dm_kcopyd_copy()
823 job->source.count = job->dests[0].count; in dm_kcopyd_copy()
831 if (!bdev_write_zeroes_sectors(job->dests[i].bdev)) { in dm_kcopyd_copy()
[all …]
/Linux-v5.15/include/linux/
Ddm-kcopyd.h67 unsigned num_dests, struct dm_io_region *dests,
86 unsigned num_dests, struct dm_io_region *dests,
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads_termtbl.c232 if (esw_attr->dests[i].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_termtbl_required()
263 if (attr->dests[num_vport_dests].flags & MLX5_ESW_DEST_ENCAP) { in mlx5_eswitch_add_termtbl_rule()
265 term_tbl_act.pkt_reformat = attr->dests[num_vport_dests].pkt_reformat; in mlx5_eswitch_add_termtbl_rule()
278 attr->dests[num_vport_dests].termtbl = tt; in mlx5_eswitch_add_termtbl_rule()
308 struct mlx5_termtbl_handle *tt = attr->dests[curr_dest].termtbl; in mlx5_eswitch_add_termtbl_rule()
Deswitch_offloads.c256 if (esw_attr->dests[i].flags & MLX5_ESW_DEST_CHAIN_WITH_SRC_PORT_CHANGE) in esw_put_dest_tables_loop()
258 else if (mlx5_esw_indir_table_needed(esw, attr, esw_attr->dests[i].rep->vport, in esw_put_dest_tables_loop()
259 esw_attr->dests[i].mdev)) in esw_put_dest_tables_loop()
260 mlx5_esw_indir_table_put(esw, attr, esw_attr->dests[i].rep->vport, in esw_put_dest_tables_loop()
270 if (esw_attr->dests[i].flags & MLX5_ESW_DEST_CHAIN_WITH_SRC_PORT_CHANGE) in esw_is_chain_src_port_rewrite()
294 flow_act->pkt_reformat = esw_attr->dests[j].pkt_reformat; in esw_setup_chain_src_port_rewrite()
318 if (mlx5_esw_indir_table_needed(esw, attr, esw_attr->dests[i].rep->vport, in esw_is_indir_table()
319 esw_attr->dests[i].mdev)) in esw_is_indir_table()
345 esw_attr->dests[j].rep->vport, false); in esw_setup_indir_table()
385 dest[dest_idx].vport.num = esw_attr->dests[attr_idx].rep->vport; in esw_setup_vport_dest()
[all …]
Den_fs.c870 ttc_params->dests[tt].type = MLX5_FLOW_DESTINATION_TYPE_TIR; in mlx5e_set_inner_ttc_params()
871 ttc_params->dests[tt].tir_num = in mlx5e_set_inner_ttc_params()
893 ttc_params->dests[tt].type = MLX5_FLOW_DESTINATION_TYPE_TIR; in mlx5e_set_ttc_params()
894 ttc_params->dests[tt].tir_num = in mlx5e_set_ttc_params()
Den_tc.c598 ttc_params->dests[tt].type = MLX5_FLOW_DESTINATION_TYPE_TIR; in mlx5e_hairpin_set_ttc_params()
599 ttc_params->dests[tt].tir_num = in mlx5e_hairpin_set_ttc_params()
1433 if (!(esw_attr->dests[out_index].flags & MLX5_ESW_DEST_ENCAP)) in mlx5e_tc_add_fdb_flow()
1449 if (esw_attr->dests[out_index].flags & in mlx5e_tc_add_fdb_flow()
1454 esw_attr->dests[out_index].rep = rpriv->rep; in mlx5e_tc_add_fdb_flow()
1455 esw_attr->dests[out_index].mdev = out_priv->mdev; in mlx5e_tc_add_fdb_flow()
1557 if (esw_attr->dests[out_index].flags & in mlx5e_tc_del_fdb_flow()
1560 if (esw_attr->dests[out_index].flags & MLX5_ESW_DEST_ENCAP) { in mlx5e_tc_del_fdb_flow()
3880 esw_attr->dests[esw_attr->out_count].flags |= in parse_tc_fdb_actions()
3937 esw_attr->dests[esw_attr->out_count].rep = rpriv->rep; in parse_tc_fdb_actions()
[all …]
Deswitch.h471 } dests[MLX5_MAX_FLOW_FWD_VPORTS]; member
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_encap.c107 if (!(esw_attr->dests[i].flags & MLX5_ESW_DEST_ENCAP)) in mlx5e_tc_flow_all_encaps_valid()
109 if (!(esw_attr->dests[i].flags & MLX5_ESW_DEST_ENCAP_VALID)) { in mlx5e_tc_flow_all_encaps_valid()
156 esw_attr->dests[flow->tmp_entry_index].pkt_reformat = e->pkt_reformat; in mlx5e_tc_encap_flows_add()
157 esw_attr->dests[flow->tmp_entry_index].flags |= MLX5_ESW_DEST_ENCAP_VALID; in mlx5e_tc_encap_flows_add()
200 esw_attr->dests[flow->tmp_entry_index].flags &= ~MLX5_ESW_DEST_ENCAP_VALID; in mlx5e_tc_encap_flows_del()
466 if (flow->attr->esw_attr->dests[out_index].flags & in mlx5e_detach_encap()
634 esw_attr->dests[out_index].flags |= MLX5_ESW_DEST_CHAIN_WITH_SRC_PORT_CHANGE; in mlx5e_set_vf_tunnel()
641 esw_attr->dests[out_index].src_port_rewrite_act_id = err; in mlx5e_set_vf_tunnel()
658 int act_id = attr->dests[out_index].src_port_rewrite_act_id; in mlx5e_update_vf_tunnel()
817 attr->esw_attr->dests[out_index].pkt_reformat = e->pkt_reformat; in mlx5e_attach_encap()
[all …]
/Linux-v5.15/drivers/i3c/master/mipi-i3c-hci/
Dcore.c203 ccc->id, ccc->rnw, ccc->ndests, ccc->dests[0].payload.len); in i3c_hci_send_ccc_cmd()
219 xfer[i].data = ccc->dests[i].payload.data; in i3c_hci_send_ccc_cmd()
220 xfer[i].data_len = ccc->dests[i].payload.len; in i3c_hci_send_ccc_cmd()
222 ret = hci->cmd->prep_ccc(hci, &xfer[i], ccc->dests[i].addr, in i3c_hci_send_ccc_cmd()
245 ccc->dests[i - prefixed].payload.len = in i3c_hci_send_ccc_cmd()
255 ccc->dests[0].payload.len, ccc->dests[0].payload.data); in i3c_hci_send_ccc_cmd()
/Linux-v5.15/drivers/i3c/master/
Ddw-i3c-master.c669 pos = dw_i3c_master_get_addr_pos(master, ccc->dests[0].addr); in dw_i3c_ccc_set()
679 cmd->tx_buf = ccc->dests[0].payload.data; in dw_i3c_ccc_set()
680 cmd->tx_len = ccc->dests[0].payload.len; in dw_i3c_ccc_set()
682 cmd->cmd_hi = COMMAND_PORT_ARG_DATA_LEN(ccc->dests[0].payload.len) | in dw_i3c_ccc_set()
710 pos = dw_i3c_master_get_addr_pos(master, ccc->dests[0].addr); in dw_i3c_ccc_get()
719 cmd->rx_buf = ccc->dests[0].payload.data; in dw_i3c_ccc_get()
720 cmd->rx_len = ccc->dests[0].payload.len; in dw_i3c_ccc_get()
722 cmd->cmd_hi = COMMAND_PORT_ARG_DATA_LEN(ccc->dests[0].payload.len) | in dw_i3c_ccc_get()
Dsvc-i3c-master.c1064 unsigned int xfer_len = ccc->dests[0].payload.len + 1; in svc_i3c_master_send_bdcast_ccc_cmd()
1081 memcpy(&buf[1], ccc->dests[0].payload.data, ccc->dests[0].payload.len); in svc_i3c_master_send_bdcast_ccc_cmd()
1086 cmd->addr = ccc->dests[0].addr; in svc_i3c_master_send_bdcast_ccc_cmd()
1108 unsigned int xfer_len = ccc->dests[0].payload.len; in svc_i3c_master_send_direct_ccc_cmd()
1132 cmd->addr = ccc->dests[0].addr; in svc_i3c_master_send_direct_ccc_cmd()
1134 cmd->in = ccc->rnw ? ccc->dests[0].payload.data : NULL; in svc_i3c_master_send_direct_ccc_cmd()
1135 cmd->out = ccc->rnw ? NULL : ccc->dests[0].payload.data, in svc_i3c_master_send_direct_ccc_cmd()
Di3c-master-cdns.c709 CMD0_FIFO_PL_LEN(cmd->dests[0].payload.len); in cdns_i3c_master_send_ccc_cmd()
712 ccmd->cmd0 |= CMD0_FIFO_DEV_ADDR(cmd->dests[0].addr); in cdns_i3c_master_send_ccc_cmd()
716 ccmd->rx_buf = cmd->dests[0].payload.data; in cdns_i3c_master_send_ccc_cmd()
717 ccmd->rx_len = cmd->dests[0].payload.len; in cdns_i3c_master_send_ccc_cmd()
719 ccmd->tx_buf = cmd->dests[0].payload.data; in cdns_i3c_master_send_ccc_cmd()
720 ccmd->tx_len = cmd->dests[0].payload.len; in cdns_i3c_master_send_ccc_cmd()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_ttc.h45 struct mlx5_flow_destination dests[MLX5_NUM_TT]; member
Dfs_ttc.c250 rule->rule = mlx5_generate_ttc_rule(dev, ft, &params->dests[tt], in mlx5_generate_ttc_table_rules()
258 rule->default_dest = params->dests[tt]; in mlx5_generate_ttc_table_rules()
408 &params->dests[tt], in mlx5_generate_inner_ttc_table_rules()
416 rule->default_dest = params->dests[tt]; in mlx5_generate_inner_ttc_table_rules()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dbridge.c422 struct mlx5_flow_destination dests[2] = {}; in mlx5_esw_bridge_ingress_flow_with_esw_create() local
459 dests[0].type = MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE; in mlx5_esw_bridge_ingress_flow_with_esw_create()
460 dests[0].ft = bridge->egress_ft; in mlx5_esw_bridge_ingress_flow_with_esw_create()
461 dests[1].type = MLX5_FLOW_DESTINATION_TYPE_COUNTER; in mlx5_esw_bridge_ingress_flow_with_esw_create()
462 dests[1].counter_id = counter_id; in mlx5_esw_bridge_ingress_flow_with_esw_create()
464 handle = mlx5_add_flow_rules(br_offloads->ingress_ft, rule_spec, &flow_act, dests, in mlx5_esw_bridge_ingress_flow_with_esw_create()
465 ARRAY_SIZE(dests)); in mlx5_esw_bridge_ingress_flow_with_esw_create()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/steering/
Dmlx5dr.h97 struct mlx5dr_action_dest *dests,
Ddr_action.c847 struct mlx5dr_action_dest *dests, in mlx5dr_action_create_mult_dest_tbl() argument
873 struct mlx5dr_action *reformat_action = dests[i].reformat; in mlx5dr_action_create_mult_dest_tbl()
874 struct mlx5dr_action *dest_action = dests[i].dest; in mlx5dr_action_create_mult_dest_tbl()
/Linux-v5.15/include/linux/i3c/
Dccc.h381 struct i3c_ccc_cmd_dest *dests; member
/Linux-v5.15/Documentation/admin-guide/device-mapper/
Dkcopyd.rst33 unsigned int num_dests, struct io_region *dests,
/Linux-v5.15/drivers/i3c/
Dmaster.c646 struct i3c_ccc_cmd_dest *dests, in i3c_ccc_cmd_init() argument
651 cmd->dests = dests; in i3c_ccc_cmd_init()
671 if ((cmd->id & I3C_CCC_DIRECT) && (!cmd->dests || !cmd->ndests)) in i3c_master_send_ccc_cmd_locked()