Home
last modified time | relevance | path

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

/linux/net/tipc/
A 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()
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
319 struct tipc_nlist *dests) in tipc_mcast_send_sync() argument
397 if (dests->remote) { in tipc_mcast_xmit()
[all …]
A 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()
A Dbcast.h91 struct tipc_mc_method *method, struct tipc_nlist *dests,
/linux/drivers/md/
A 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()
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()
852 unsigned num_dests, struct dm_io_region *dests, in dm_kcopyd_zero() argument
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Deswitch_offloads_termtbl.c232 if (!esw_attr->dest_int_port && esw_attr->dests[i].rep && in mlx5_eswitch_termtbl_required()
233 esw_attr->dests[i].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_termtbl_required()
264 if (attr->dests[num_vport_dests].flags & MLX5_ESW_DEST_ENCAP) { in mlx5_eswitch_add_termtbl_rule()
266 term_tbl_act.pkt_reformat = attr->dests[num_vport_dests].pkt_reformat; in mlx5_eswitch_add_termtbl_rule()
279 attr->dests[num_vport_dests].termtbl = tt; in mlx5_eswitch_add_termtbl_rule()
309 struct mlx5_termtbl_handle *tt = attr->dests[curr_dest].termtbl; in mlx5_eswitch_add_termtbl_rule()
A Deswitch_offloads.c273 esw_attr->dests[i].mdev)) in esw_put_dest_tables_loop()
308 if (esw_attr->dests[j].pkt_reformat) { in esw_setup_chain_src_port_rewrite()
310 flow_act->pkt_reformat = esw_attr->dests[j].pkt_reformat; in esw_setup_chain_src_port_rewrite()
341 if (esw_attr->dests[i].rep && in esw_is_indir_table()
343 esw_attr->dests[i].mdev)) { in esw_is_indir_table()
374 esw_attr->dests[j].rep->vport, false); in esw_setup_indir_table()
417 MLX5_CAP_GEN(esw_attr->dests[attr_idx].mdev, vhca_id); in esw_setup_vport_dest()
725 if (esw_attr->dests[i].termtbl) in __mlx5_eswitch_del_rule()
794 out_rep = attr->dests[0].rep; in esw_vlan_action_get_vport()
815 out_rep = attr->dests[0].rep; in esw_add_vlan_action_check()
[all …]
A 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()
A Den_tc.c613 ttc_params->dests[tt].type = MLX5_FLOW_DESTINATION_TYPE_TIR; in mlx5e_hairpin_set_ttc_params()
614 ttc_params->dests[tt].tir_num = in mlx5e_hairpin_set_ttc_params()
1489 if (!(esw_attr->dests[out_index].flags & MLX5_ESW_DEST_ENCAP)) in mlx5e_tc_add_fdb_flow()
1505 if (esw_attr->dests[out_index].flags & in mlx5e_tc_add_fdb_flow()
1511 esw_attr->dests[out_index].rep = rpriv->rep; in mlx5e_tc_add_fdb_flow()
1512 esw_attr->dests[out_index].mdev = out_priv->mdev; in mlx5e_tc_add_fdb_flow()
1615 if (esw_attr->dests[out_index].flags & in mlx5e_tc_del_fdb_flow()
1619 if (esw_attr->dests[out_index].flags & MLX5_ESW_DEST_ENCAP) { in mlx5e_tc_del_fdb_flow()
4135 esw_attr->dests[esw_attr->out_count].flags |= in parse_tc_fdb_actions()
4195 esw_attr->dests[esw_attr->out_count].rep = rpriv->rep; in parse_tc_fdb_actions()
[all …]
A Deswitch.h487 } dests[MLX5_MAX_FLOW_FWD_VPORTS]; member
/linux/include/linux/
A Ddm-kcopyd.h67 unsigned num_dests, struct dm_io_region *dests,
86 unsigned num_dests, struct dm_io_region *dests,
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtc_tun_encap.c131 if (!(esw_attr->dests[i].flags & MLX5_ESW_DEST_ENCAP)) in mlx5e_tc_flow_all_encaps_valid()
133 if (!(esw_attr->dests[i].flags & MLX5_ESW_DEST_ENCAP_VALID)) { in mlx5e_tc_flow_all_encaps_valid()
180 esw_attr->dests[flow->tmp_entry_index].pkt_reformat = e->pkt_reformat; in mlx5e_tc_encap_flows_add()
496 if (flow->attr->esw_attr->dests[out_index].flags & in mlx5e_detach_encap()
671 esw_attr->dests[out_index].src_port_rewrite_act_id = err; in mlx5e_set_vf_tunnel()
688 int act_id = attr->dests[out_index].src_port_rewrite_act_id; in mlx5e_update_vf_tunnel()
858 attr->esw_attr->dests[out_index].pkt_reformat = e->pkt_reformat; in mlx5e_attach_encap()
1232 if (err || !(esw_attr->dests[out_index].flags & in mlx5e_attach_encap_route()
1329 esw_attr->dests[flow->tmp_entry_index].flags &= in mlx5e_invalidate_encap()
1331 esw_attr->dests[flow->tmp_entry_index].pkt_reformat = NULL; in mlx5e_invalidate_encap()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
A Dport_sel.c426 #define SET_IGNORE_DESTS_BITS(tt_map, dests) \ argument
431 set_bit(idx, dests); \
448 ttc_params->dests[tt].type = in mlx5_lag_set_inner_ttc_params()
450 ttc_params->dests[tt].ft = port_sel->inner.definers[tt]->ft; in mlx5_lag_set_inner_ttc_params()
469 ttc_params->dests[tt].type = in mlx5_lag_set_outer_ttc_params()
471 ttc_params->dests[tt].ft = port_sel->outer.definers[tt]->ft; in mlx5_lag_set_outer_ttc_params()
/linux/drivers/i3c/master/mipi-i3c-hci/
A 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/drivers/i3c/master/
A 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()
A 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()
A 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/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dfs_ttc.c252 rule->rule = mlx5_generate_ttc_rule(dev, ft, &params->dests[tt], in mlx5_generate_ttc_table_rules()
260 rule->default_dest = params->dests[tt]; in mlx5_generate_ttc_table_rules()
412 &params->dests[tt], in mlx5_generate_inner_ttc_table_rules()
420 rule->default_dest = params->dests[tt]; in mlx5_generate_inner_ttc_table_rules()
A Dfs_ttc.h45 struct mlx5_flow_destination dests[MLX5_NUM_TT]; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
A Dbridge.c533 struct mlx5_flow_destination dests[2] = {}; in mlx5_esw_bridge_ingress_flow_with_esw_create() local
572 dests[0].type = MLX5_FLOW_DESTINATION_TYPE_FLOW_TABLE; in mlx5_esw_bridge_ingress_flow_with_esw_create()
573 dests[0].ft = bridge->egress_ft; in mlx5_esw_bridge_ingress_flow_with_esw_create()
574 dests[1].type = MLX5_FLOW_DESTINATION_TYPE_COUNTER; in mlx5_esw_bridge_ingress_flow_with_esw_create()
575 dests[1].counter_id = counter_id; in mlx5_esw_bridge_ingress_flow_with_esw_create()
577 handle = mlx5_add_flow_rules(br_offloads->ingress_ft, rule_spec, &flow_act, dests, in mlx5_esw_bridge_ingress_flow_with_esw_create()
578 ARRAY_SIZE(dests)); in mlx5_esw_bridge_ingress_flow_with_esw_create()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/
A Dmlx5dr.h97 struct mlx5dr_action_dest *dests,
A Ddr_action.c848 struct mlx5dr_action_dest *dests, in mlx5dr_action_create_mult_dest_tbl() argument
878 struct mlx5dr_action *reformat_action = dests[i].reformat; in mlx5dr_action_create_mult_dest_tbl()
879 struct mlx5dr_action *dest_action = dests[i].dest; in mlx5dr_action_create_mult_dest_tbl()
/linux/include/linux/i3c/
A Dccc.h381 struct i3c_ccc_cmd_dest *dests; member
/linux/Documentation/admin-guide/device-mapper/
A Dkcopyd.rst33 unsigned int num_dests, struct io_region *dests,
/linux/drivers/i3c/
A 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()

Completed in 82 milliseconds