Home
last modified time | relevance | path

Searched refs:rep (Results 1 – 25 of 177) sorted by relevance

12345678

/Linux-v5.10/drivers/infiniband/hw/mlx5/
Dib_rep.c11 mlx5_ib_set_vport_rep(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_set_vport_rep() argument
17 vport_index = rep->vport_index; in mlx5_ib_set_vport_rep()
19 ibdev->port[vport_index].rep = rep; in mlx5_ib_set_vport_rep()
20 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_set_vport_rep()
23 mlx5_ib_get_rep_netdev(dev->priv.eswitch, rep->vport); in mlx5_ib_set_vport_rep()
30 mlx5_ib_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_vport_rep_load() argument
37 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_load()
40 return mlx5_ib_set_vport_rep(dev, rep); in mlx5_ib_vport_rep_load()
54 vport_index = rep->vport_index; in mlx5_ib_vport_rep_load()
55 ibdev->port[vport_index].rep = rep; in mlx5_ib_vport_rep_load()
[all …]
Dib_virt.c56 struct mlx5_hca_vport_context *rep; in mlx5_ib_get_vf_config() local
59 rep = kzalloc(sizeof(*rep), GFP_KERNEL); in mlx5_ib_get_vf_config()
60 if (!rep) in mlx5_ib_get_vf_config()
63 err = mlx5_query_hca_vport_context(mdev, 1, 1, vf + 1, rep); in mlx5_ib_get_vf_config()
70 info->linkstate = mlx_to_net_policy(rep->policy); in mlx5_ib_get_vf_config()
75 kfree(rep); in mlx5_ib_get_vf_config()
/Linux-v5.10/tools/perf/
Dbuiltin-report.c112 struct report *rep = cb; in report__config() local
121 rep->min_percent = pcnt; in report__config()
130 return perf_config_u64(&rep->queue_size, var, value); in report__config()
145 struct report *rep = arg; in hist_iter__report_callback() local
152 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__report_callback()
163 } else if (rep->mem_mode) { in hist_iter__report_callback()
188 struct report *rep = arg; in hist_iter__branch_callback() local
194 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback()
197 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__branch_callback()
220 struct report *rep = container_of(session->tool, struct report, tool); in process_feature_event() local
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c176 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
181 err = mlx5_eswitch_get_vport_stats(esw, rep->vport, &vf_stats); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
184 rep->vport, err); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
378 struct mlx5_eswitch_rep *rep) in mlx5e_sqs2vport_stop() argument
386 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop()
395 struct mlx5_eswitch_rep *rep, in mlx5e_sqs2vport_start() argument
407 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_start()
417 rep->vport, in mlx5e_sqs2vport_start()
430 mlx5e_sqs2vport_stop(esw, rep); in mlx5e_sqs2vport_start()
438 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_add_sqs_fwd_rules() local
[all …]
Dvport.c649 struct mlx5_hca_vport_context *rep) in mlx5_query_hca_vport_context() argument
684 rep->field_select = MLX5_GET_PR(hca_vport_context, ctx, field_select); in mlx5_query_hca_vport_context()
685 rep->sm_virt_aware = MLX5_GET_PR(hca_vport_context, ctx, sm_virt_aware); in mlx5_query_hca_vport_context()
686 rep->has_smi = MLX5_GET_PR(hca_vport_context, ctx, has_smi); in mlx5_query_hca_vport_context()
687 rep->has_raw = MLX5_GET_PR(hca_vport_context, ctx, has_raw); in mlx5_query_hca_vport_context()
688 rep->policy = MLX5_GET_PR(hca_vport_context, ctx, vport_state_policy); in mlx5_query_hca_vport_context()
689 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
691 rep->vport_state = MLX5_GET_PR(hca_vport_context, ctx, vport_state); in mlx5_query_hca_vport_context()
692 rep->port_physical_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
694 rep->port_guid = MLX5_GET64_PR(hca_vport_context, ctx, port_guid); in mlx5_query_hca_vport_context()
[all …]
Deswitch_offloads.c360 dest[i].vport.num = esw_attr->dests[j].rep->vport; in mlx5_eswitch_add_offloaded_rule()
476 dest[i].vport.num = esw_attr->dests[i].rep->vport; in mlx5_eswitch_add_fwd_rule()
573 struct mlx5_eswitch_rep *rep; in esw_set_global_vlan_pop() local
577 mlx5_esw_for_each_host_func_rep(esw, i, rep, esw->esw_funcs.num_vfs) { in esw_set_global_vlan_pop()
578 if (atomic_read(&rep->rep_data[REP_ETH].state) != REP_LOADED) in esw_set_global_vlan_pop()
581 err = __mlx5_eswitch_set_vport_vlan(esw, rep->vport, 0, 0, val); in esw_set_global_vlan_pop()
596 out_rep = attr->dests[0].rep; in esw_vlan_action_get_vport()
617 out_rep = attr->dests[0].rep; in esw_add_vlan_action_check()
672 if (esw_attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) { in mlx5_eswitch_add_vlan_action()
737 if (esw_attr->dests[0].rep->vport == MLX5_VPORT_UPLINK) in mlx5_eswitch_del_vlan_action()
[all …]
/Linux-v5.10/net/sunrpc/xprtrdma/
Dverbs.c83 static void rpcrdma_rep_destroy(struct rpcrdma_rep *rep);
184 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep, in rpcrdma_wc_receive() local
195 rpcrdma_set_xdrlen(&rep->rr_hdrbuf, wc->byte_len); in rpcrdma_wc_receive()
196 rep->rr_wc_flags = wc->wc_flags; in rpcrdma_wc_receive()
197 rep->rr_inv_rkey = wc->ex.invalidate_rkey; in rpcrdma_wc_receive()
199 ib_dma_sync_single_for_cpu(rdmab_device(rep->rr_rdmabuf), in rpcrdma_wc_receive()
200 rdmab_addr(rep->rr_rdmabuf), in rpcrdma_wc_receive()
203 rpcrdma_reply_handler(rep); in rpcrdma_wc_receive()
208 rpcrdma_rep_destroy(rep); in rpcrdma_wc_receive()
961 struct rpcrdma_rep *rep; in rpcrdma_rep_create() local
[all …]
Drpc_rdma.c523 struct rpcrdma_rep *rep = req->rl_reply; in rpcrdma_sendctx_done() local
525 rpcrdma_complete_rqst(rep); in rpcrdma_sendctx_done()
526 rep->rr_rxprt->rx_stats.reply_waits_for_send++; in rpcrdma_sendctx_done()
1115 rpcrdma_is_bcall(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep) in rpcrdma_is_bcall() argument
1118 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_is_bcall()
1121 if (rep->rr_proc != rdma_msg) in rpcrdma_is_bcall()
1136 if (*p++ != rep->rr_xid) in rpcrdma_is_bcall()
1148 rpcrdma_bc_receive_call(r_xprt, rep); in rpcrdma_is_bcall()
1255 rpcrdma_decode_msg(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep, in rpcrdma_decode_msg() argument
1258 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_decode_msg()
[all …]
/Linux-v5.10/net/ceph/crush/
Dmapper.c467 int rep; in crush_choose_firstn() local
484 for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn()
497 r = rep + parent_r; in crush_choose_firstn()
658 int rep; in crush_choose_indep() local
670 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
671 out[rep] = CRUSH_ITEM_UNDEF; in crush_choose_indep()
673 out2[rep] = CRUSH_ITEM_UNDEF; in crush_choose_indep()
680 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
681 dprintk(" %d", out[rep]); in crush_choose_indep()
685 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
[all …]
/Linux-v5.10/net/tipc/
Dnetlink_compat.c60 struct sk_buff *rep; member
239 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit()
261 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit()
262 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit()
286 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit()
287 if (!msg->rep) in tipc_nl_compat_dumpit()
291 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()
296 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
297 msg->rep = NULL; in tipc_nl_compat_dumpit()
304 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
[all …]
/Linux-v5.10/net/vmw_vsock/
Ddiag.c18 struct vsock_diag_msg *rep; in sk_diag_fill() local
21 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
26 rep = nlmsg_data(nlh); in sk_diag_fill()
27 rep->vdiag_family = AF_VSOCK; in sk_diag_fill()
34 rep->vdiag_type = sk->sk_type; in sk_diag_fill()
35 rep->vdiag_state = sk->sk_state; in sk_diag_fill()
36 rep->vdiag_shutdown = sk->sk_shutdown; in sk_diag_fill()
37 rep->vdiag_src_cid = vsk->local_addr.svm_cid; in sk_diag_fill()
38 rep->vdiag_src_port = vsk->local_addr.svm_port; in sk_diag_fill()
39 rep->vdiag_dst_cid = vsk->remote_addr.svm_cid; in sk_diag_fill()
[all …]
/Linux-v5.10/lib/zstd/
Dzstd_opt.h426 U32 offset, rep[ZSTD_REP_NUM]; in ZSTD_compressBlock_opt_generic() local
435 rep[i] = ctx->rep[i]; in ZSTD_compressBlock_opt_generic()
450 const S32 repCur = (i == ZSTD_REP_MOVE_OPT) ? (rep[0] - 1) : rep[i]; in ZSTD_compressBlock_opt_generic()
509 opt[0].rep[i] = rep[i]; in ZSTD_compressBlock_opt_generic()
540 opt[cur].rep[2] = opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
541 opt[cur].rep[1] = opt[cur - mlen].rep[0]; in ZSTD_compressBlock_opt_generic()
542 opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_generic()
544 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_generic()
545 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
546 opt[cur].rep[0] = in ZSTD_compressBlock_opt_generic()
[all …]
/Linux-v5.10/net/unix/
Ddiag.c126 struct unix_diag_msg *rep; in sk_diag_fill() local
128 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
133 rep = nlmsg_data(nlh); in sk_diag_fill()
134 rep->udiag_family = AF_UNIX; in sk_diag_fill()
135 rep->udiag_type = sk->sk_type; in sk_diag_fill()
136 rep->udiag_state = sk->sk_state; in sk_diag_fill()
137 rep->pad = 0; in sk_diag_fill()
138 rep->udiag_ino = sk_ino; in sk_diag_fill()
139 sock_diag_save_cookie(sk, rep->udiag_cookie); in sk_diag_fill()
263 struct sk_buff *rep; in unix_diag_get_exact() local
[all …]
/Linux-v5.10/net/netlink/
Ddiag.c49 struct netlink_diag_msg *rep; in sk_diag_fill() local
52 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
57 rep = nlmsg_data(nlh); in sk_diag_fill()
58 rep->ndiag_family = AF_NETLINK; in sk_diag_fill()
59 rep->ndiag_type = sk->sk_type; in sk_diag_fill()
60 rep->ndiag_protocol = sk->sk_protocol; in sk_diag_fill()
61 rep->ndiag_state = sk->sk_state; in sk_diag_fill()
63 rep->ndiag_ino = sk_ino; in sk_diag_fill()
64 rep->ndiag_portid = nlk->portid; in sk_diag_fill()
65 rep->ndiag_dst_portid = nlk->dst_portid; in sk_diag_fill()
[all …]
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dconn.c39 struct nvif_notify_conn_rep_v0 rep; in nvkm_conn_hpd() local
45 rep.mask = NVIF_NOTIFY_CONN_V0_UNPLUG; in nvkm_conn_hpd()
47 rep.mask = NVIF_NOTIFY_CONN_V0_PLUG; in nvkm_conn_hpd()
48 rep.version = 0; in nvkm_conn_hpd()
50 nvkm_event_send(&disp->hpd, rep.mask, index, &rep, sizeof(rep)); in nvkm_conn_hpd()
/Linux-v5.10/drivers/s390/crypto/
Dzcrypt_ep11misc.c390 struct ep11_cprb *rep, size_t rep_len) in prep_urb() argument
396 u->resp = (u8 __user *) rep; in prep_urb()
490 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_query_info() local
508 rep = alloc_cprb(sizeof(struct ep11_info_rep_pl) + buflen); in ep11_query_info()
509 if (!rep) in ep11_query_info()
511 rep_pl = (struct ep11_info_rep_pl *) (((u8 *) rep) + sizeof(*rep)); in ep11_query_info()
521 rep, sizeof(*rep) + sizeof(*rep_pl) + buflen); in ep11_query_info()
550 kfree(rep); in ep11_query_info()
702 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_genaeskey() local
746 rep = alloc_cprb(sizeof(struct keygen_rep_pl)); in ep11_genaeskey()
[all …]
/Linux-v5.10/include/trace/events/
Drpcrdma.h65 const struct rpcrdma_rep *rep
68 TP_ARGS(rep),
71 __field(const void *, rep)
79 __entry->rep = rep;
80 __entry->r_xprt = rep->rr_rxprt;
81 __entry->xid = be32_to_cpu(rep->rr_xid);
82 __entry->version = be32_to_cpu(rep->rr_vers);
83 __entry->proc = be32_to_cpu(rep->rr_proc);
87 __entry->r_xprt, __entry->xid, __entry->rep,
95 const struct rpcrdma_rep *rep \
[all …]
/Linux-v5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c105 struct drm_vmw_gb_surface_create_rep *rep,
110 struct drm_vmw_gb_surface_ref_ext_rep *rep,
738 struct drm_vmw_surface_arg *rep = &arg->rep; in vmw_surface_define_ioctl() local
910 rep->sid = user_srf->prime.base.handle; in vmw_surface_define_ioctl()
1021 struct drm_vmw_surface_create_req *rep = &arg->rep; in vmw_surface_reference_ioctl() local
1038 rep->flags = (uint32_t)srf->metadata.flags; in vmw_surface_reference_ioctl()
1039 rep->format = srf->metadata.format; in vmw_surface_reference_ioctl()
1040 memcpy(rep->mip_levels, srf->metadata.mip_levels, in vmw_surface_reference_ioctl()
1043 rep->size_addr; in vmw_surface_reference_ioctl()
1361 struct drm_vmw_gb_surface_create_rep *rep = &arg->rep; in vmw_gb_surface_define_ioctl() local
[all …]
/Linux-v5.10/drivers/hid/intel-ish-hid/
Dishtp-hid.c104 static void ishtp_hid_request(struct hid_device *hid, struct hid_report *rep, in ishtp_hid_request() argument
109 unsigned int len = ((rep->size - 1) >> 3) + 1 + (rep->id > 0); in ishtp_hid_request()
119 hid_ishtp_get_report(hid, rep->id, rep->type); in ishtp_hid_request()
130 hid_output_report(rep, buf + header_size); in ishtp_hid_request()
131 hid_ishtp_set_feature(hid, buf, len, rep->id); in ishtp_hid_request()
/Linux-v5.10/arch/x86/boot/
Dcopy.S25 rep; movsl
28 rep; movsb
41 rep; stosl
44 rep; stosb
/Linux-v5.10/lib/raid6/
Dunroll.awk12 if (/\$\$/) { rep = n } else { rep = 1 }
13 for (i = 0; i < rep; ++i) {
/Linux-v5.10/include/uapi/drm/
Dvmwgfx_drm.h248 struct drm_vmw_surface_arg rep; member
276 struct drm_vmw_surface_create_req rep; member
435 struct drm_vmw_bo_rep rep; member
969 struct drm_vmw_gb_surface_create_rep rep; member
1011 struct drm_vmw_gb_surface_ref_rep rep; member
1096 struct drm_vmw_context_arg rep; member
1176 struct drm_vmw_gb_surface_create_rep rep; member
1219 struct drm_vmw_gb_surface_ref_ext_rep rep; member
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dbond.c123 err = mlx5_esw_acl_ingress_vport_bond_update(esw, rpriv->rep->vport, in mlx5e_rep_bond_enslave()
131 rpriv->rep->vport, lag_dev->name, mdata->metadata_reg_c_0); in mlx5e_rep_bond_enslave()
170 mlx5_esw_acl_ingress_vport_bond_update(esw, rpriv->rep->vport, 0); in mlx5e_rep_bond_unslave()
171 mlx5_esw_acl_egress_vport_unbond(esw, rpriv->rep->vport); in mlx5e_rep_bond_unslave()
177 rpriv->rep->vport, lag_dev->name, mdata->metadata_reg_c_0); in mlx5e_rep_bond_unslave()
197 return rpriv->rep->vport != MLX5_VPORT_UPLINK; in mlx5e_rep_is_lag_netdev()
224 fwd_vport_num = rpriv->rep->vport; in mlx5e_rep_changelowerstate_event()
234 acl_vport_num = rpriv->rep->vport; in mlx5e_rep_changelowerstate_event()
275 info->linking ? "en" : "un", rpriv->rep->vport, lag_dev->name); in mlx5e_rep_changeupper_event()
/Linux-v5.10/net/mptcp/
Dmptcp_diag.c33 struct sk_buff *rep; in mptcp_diag_dump_one() local
45 rep = nlmsg_new(nla_total_size(sizeof(struct inet_diag_msg)) + in mptcp_diag_dump_one()
50 if (!rep) in mptcp_diag_dump_one()
53 err = inet_sk_diag_fill(sk, inet_csk(sk), rep, cb, req, 0, in mptcp_diag_dump_one()
57 kfree_skb(rep); in mptcp_diag_dump_one()
60 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in mptcp_diag_dump_one()
/Linux-v5.10/drivers/net/wireless/ath/ath5k/
Deeprom.c1601 struct ath5k_edge_power *rep; in ath5k_eeprom_read_ctl_info() local
1625 rep = ee->ee_ctl_pwr; in ath5k_eeprom_read_ctl_info()
1641 rep += AR5K_EEPROM_N_EDGES; in ath5k_eeprom_read_ctl_info()
1647 rep[j].freq = (val >> 8) & fmask; in ath5k_eeprom_read_ctl_info()
1648 rep[j + 1].freq = val & fmask; in ath5k_eeprom_read_ctl_info()
1652 rep[j].edge = (val >> 8) & pmask; in ath5k_eeprom_read_ctl_info()
1653 rep[j].flag = (val >> 14) & 1; in ath5k_eeprom_read_ctl_info()
1654 rep[j + 1].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1655 rep[j + 1].flag = (val >> 6) & 1; in ath5k_eeprom_read_ctl_info()
1659 rep[0].freq = (val >> 9) & fmask; in ath5k_eeprom_read_ctl_info()
[all …]

12345678