Home
last modified time | relevance | path

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

12345678

/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Drep.c35 static int rvu_rep_mcam_flow_init(struct rep_dev *rep) in rvu_rep_mcam_flow_init() argument
39 struct otx2_nic *priv = rep->mdev; in rvu_rep_mcam_flow_init()
43 rep->flow_cfg = kcalloc(1, sizeof(struct otx2_flow_config), GFP_KERNEL); in rvu_rep_mcam_flow_init()
45 if (!rep->flow_cfg) in rvu_rep_mcam_flow_init()
50 rep->flow_cfg->flow_ent = kcalloc(count, sizeof(u16), GFP_KERNEL); in rvu_rep_mcam_flow_init()
51 if (!rep->flow_cfg->flow_ent) in rvu_rep_mcam_flow_init()
59 req->hdr.pcifunc = rep->pcifunc; in rvu_rep_mcam_flow_init()
72 rep->flow_cfg->flow_ent[ent + allocated] = rsp->entry_list[ent]; in rvu_rep_mcam_flow_init()
86 sort(&rep->flow_cfg->flow_ent[0], allocated, in rvu_rep_mcam_flow_init()
87 sizeof(rep->flow_cfg->flow_ent[0]), mcam_entry_cmp, NULL); in rvu_rep_mcam_flow_init()
[all …]
/linux/tools/perf/
H A Dbuiltin-report.c126 struct report *rep = cb; in report__config() local
135 rep->min_percent = pcnt; in report__config()
144 return perf_config_u64(&rep->queue_size, var, value); in report__config()
156 rep->skip_empty = perf_config_bool(var, value); in report__config()
169 struct report *rep = arg; in hist_iter__report_callback() local
176 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__report_callback()
187 } else if (rep->mem_mode) { in hist_iter__report_callback()
212 struct report *rep = arg; in hist_iter__branch_callback() local
218 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback()
221 if (!ui__has_annotation() && !rep in hist_iter__branch_callback()
244 struct report *rep = container_of(session->tool, struct report, tool); process_feature_event() local
272 struct report *rep = container_of(tool, struct report, tool); process_sample_event() local
348 struct report *rep = container_of(tool, struct report, tool); process_read_event() local
366 report__setup_sample_type(struct report * rep) report__setup_sample_type() argument
473 hists__fprintf_nr_sample_events(struct hists * hists,struct report * rep,const char * evname,FILE * fp) hists__fprintf_nr_sample_events() argument
538 evlist__tui_block_hists_browse(struct evlist * evlist,struct report * rep) evlist__tui_block_hists_browse() argument
554 evlist__tty_browse_hists(struct evlist * evlist,struct report * rep,const char * help) evlist__tty_browse_hists() argument
612 report__warn_kptr_restrict(const struct report * rep) report__warn_kptr_restrict() argument
641 report__gtk_browse_hists(struct report * rep,const char * help) report__gtk_browse_hists() argument
656 report__browse_hists(struct report * rep) report__browse_hists() argument
700 report__collapse_hists(struct report * rep) report__collapse_hists() argument
750 struct report *rep = arg; hists__resort_cb() local
762 report__output_resort(struct report * rep) report__output_resort() argument
793 struct report *rep = container_of(tool, struct report, tool); count_lost_samples_event() local
813 stats_setup(struct report * rep) stats_setup() argument
823 stats_print(struct report * rep) stats_print() argument
832 tasks_setup(struct report * rep) tasks_setup() argument
1020 tasks_print(struct report * rep,FILE * fp) tasks_print() argument
1041 __cmd_report(struct report * rep) __cmd_report() argument
1246 struct report *rep = opt->value; parse_percent_limit() local
[all...]
/linux/drivers/infiniband/hw/mlx5/
H A Dib_rep.c12 struct mlx5_eswitch_rep *rep, in mlx5_ib_set_vport_rep() argument
22 ibdev->port[vport_index].rep = rep; in mlx5_ib_set_vport_rep()
23 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_set_vport_rep()
24 ndev = mlx5_ib_get_rep_netdev(rep->esw, rep->vport); in mlx5_ib_set_vport_rep()
48 mlx5_ib_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_vport_rep_load() argument
60 vport_index = rep->vport_index; in mlx5_ib_vport_rep_load()
66 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_load()
86 if (rep->vport == MLX5_VPORT_UPLINK && !new_uplink) in mlx5_ib_vport_rep_load()
89 return mlx5_ib_set_vport_rep(lag_master, rep, vport_index); in mlx5_ib_vport_rep_load()
103 vport_index = rep->vport_index; in mlx5_ib_vport_rep_load()
[all …]
H A Dstd_types.c135 struct mlx5_eswitch_rep *rep; in fill_switchdev_info() local
139 rep = dev->port[port_num - 1].rep; in fill_switchdev_info()
140 if (!rep) in fill_switchdev_info()
143 mdev = mlx5_eswitch_get_core_dev(rep->esw); in fill_switchdev_info()
147 info->vport = rep->vport; in fill_switchdev_info()
150 if (rep->vport != MLX5_VPORT_UPLINK) { in fill_switchdev_info()
151 err = fill_vport_vhca_id(mdev, rep->vport, info); in fill_switchdev_info()
159 err = fill_vport_icm_addr(mdev, rep->vport, info); in fill_switchdev_info()
163 if (mlx5_eswitch_vport_match_metadata_enabled(rep->esw)) { in fill_switchdev_info()
165 rep->esw, rep->vport); in fill_switchdev_info()
/linux/lib/zstd/compress/
H A Dzstd_lazy.h33 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
36 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
39 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
42 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
45 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
48 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
51 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
55 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
58 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
61 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
[all …]
H A Dzstd_fast.c94 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_noDict_generic()
118 U32 rep_offset1 = rep[0]; in ZSTD_compressBlock_fast_noDict_generic()
119 U32 rep_offset2 = rep[1]; in ZSTD_compressBlock_fast_noDict_generic()
258 rep[0] = rep_offset1 ? rep_offset1 : offsetSaved; in ZSTD_compressBlock_fast_noDict_generic()
259 rep[1] = rep_offset2 ? rep_offset2 : offsetSaved; in ZSTD_compressBlock_fast_noDict_generic()
319 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \
322 … return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls, step); \
336 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast()
346 return ZSTD_compressBlock_fast_noDict_4_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
348 return ZSTD_compressBlock_fast_noDict_5_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast()
[all …]
H A Dzstd_opt.h21 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
24 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
27 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
32 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
35 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
39 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
42 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
H A Dzstd_double_fast.c52 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_noDict_generic()
69 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_noDict_generic()
179 rep[0] = offset_1 ? offset_1 : offsetSaved; in ZSTD_compressBlock_doubleFast_noDict_generic()
180 rep[1] = offset_2 ? offset_2 : offsetSaved; in ZSTD_compressBlock_doubleFast_noDict_generic()
258 ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
277 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
464 rep[0] = offset_1 ? offset_1 : offsetSaved; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
465 rep[1] = offset_2 ? offset_2 : offsetSaved; in ZSTD_compressBlock_doubleFast_dictMatchState_generic()
473 … ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \
476 … return ZSTD_compressBlock_doubleFast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls); \
[all …]
H A Dzstd_opt.c561 const U32 rep[ZSTD_REP_NUM], in ZSTD_insertBtAndGetAllMatches()
614 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches()
791 const U32 rep[ZSTD_REP_NUM],
801 const U32 rep[ZSTD_REP_NUM], in ZSTD_btGetAllMatches_internal()
812 …return ZSTD_insertBtAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll… in ZSTD_btGetAllMatches_internal()
824 const U32 rep[ZSTD_REP_NUM], \
830 rep, ll0, lengthToBeat, ZSTD_##dictMode, mls); \
1039 U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_opt_generic()
1083 … U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, ip, iend, rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic()
1089 { U32 i ; for (i=0; i<ZSTD_REP_NUM; i++) opt[0].rep[i] = rep[i]; } in ZSTD_compressBlock_opt_generic()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c205 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local
213 err = mlx5_core_query_vport_counter(esw->dev, 1, rep->vport - 1, 0, out); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
216 rep->vport, err); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS()
295 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_update_vport_q_counter() local
302 err = mlx5e_rep_query_aggr_q_counter(priv->mdev, rep->vport, out); in mlx5e_rep_update_vport_q_counter()
305 rep->vport, err); in mlx5e_rep_update_vport_q_counter()
438 struct mlx5_eswitch_rep *rep) in mlx5e_sqs2vport_stop() argument
448 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop()
465 static int mlx5e_sqs2vport_add_peers_rules(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep, in mlx5e_sqs2vport_add_peers_rules() argument
482 rep, rep_sq->sqn); in mlx5e_sqs2vport_add_peers_rules()
[all …]
H A Dvport.c672 struct mlx5_hca_vport_context *rep) in mlx5_query_hca_vport_context() argument
707 rep->field_select = MLX5_GET_PR(hca_vport_context, ctx, field_select); in mlx5_query_hca_vport_context()
708 rep->sm_virt_aware = MLX5_GET_PR(hca_vport_context, ctx, sm_virt_aware); in mlx5_query_hca_vport_context()
709 rep->has_smi = MLX5_GET_PR(hca_vport_context, ctx, has_smi); in mlx5_query_hca_vport_context()
710 rep->has_raw = MLX5_GET_PR(hca_vport_context, ctx, has_raw); in mlx5_query_hca_vport_context()
711 rep->policy = MLX5_GET_PR(hca_vport_context, ctx, vport_state_policy); in mlx5_query_hca_vport_context()
712 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
714 rep->vport_state = MLX5_GET_PR(hca_vport_context, ctx, vport_state); in mlx5_query_hca_vport_context()
715 rep->port_physical_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
717 rep->port_guid = MLX5_GET64_PR(hca_vport_context, ctx, port_guid); in mlx5_query_hca_vport_context()
[all …]
/linux/net/tipc/
H A Dnetlink_compat.c61 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/net/ceph/crush/
H A Dmapper.c471 int rep; in crush_choose_firstn() local
488 for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn()
501 r = rep + parent_r; in crush_choose_firstn()
661 int rep; in crush_choose_indep() local
673 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
674 out[rep] = CRUSH_ITEM_UNDEF; in crush_choose_indep()
676 out2[rep] = CRUSH_ITEM_UNDEF; in crush_choose_indep()
683 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
684 dprintk(" %d", out[rep]); in crush_choose_indep()
688 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep()
[all …]
/linux/net/sunrpc/xprtrdma/
H A Dverbs.c164 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep, in rpcrdma_wc_receive() local
169 trace_xprtrdma_wc_receive(wc, &rep->rr_cid); in rpcrdma_wc_receive()
175 rpcrdma_set_xdrlen(&rep->rr_hdrbuf, wc->byte_len); in rpcrdma_wc_receive()
176 rep->rr_wc_flags = wc->wc_flags; in rpcrdma_wc_receive()
177 rep->rr_inv_rkey = wc->ex.invalidate_rkey; in rpcrdma_wc_receive()
179 ib_dma_sync_single_for_cpu(rdmab_device(rep->rr_rdmabuf), in rpcrdma_wc_receive()
180 rdmab_addr(rep->rr_rdmabuf), in rpcrdma_wc_receive()
183 rpcrdma_reply_handler(rep); in rpcrdma_wc_receive()
188 rpcrdma_rep_put(&r_xprt->rx_buf, rep); in rpcrdma_wc_receive()
953 struct rpcrdma_rep *rep; in rpcrdma_rep_create() local
[all …]
H A 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()
1121 rpcrdma_is_bcall(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep) in rpcrdma_is_bcall() argument
1125 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_is_bcall()
1128 if (rep->rr_proc != rdma_msg) in rpcrdma_is_bcall()
1143 if (*p++ != rep->rr_xid) in rpcrdma_is_bcall()
1159 rpcrdma_bc_receive_call(r_xprt, rep); in rpcrdma_is_bcall()
1262 rpcrdma_decode_msg(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep, in rpcrdma_decode_msg() argument
1265 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_decode_msg()
[all …]
/linux/net/vmw_vsock/
H A 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/drivers/hid/
H A Dhid-ft260.c375 struct ft260_i2c_write_request_report *rep = in ft260_hid_output_report_check_status() local
399 if (rep->flag == FT260_FLAG_START) in ft260_hid_output_report_check_status()
422 struct ft260_i2c_write_request_report *rep = in ft260_i2c_write() local
428 rep->flag = FT260_FLAG_START; in ft260_i2c_write()
434 rep->flag |= FT260_FLAG_STOP; in ft260_i2c_write()
439 rep->report = FT260_I2C_DATA_REPORT_ID(wr_len); in ft260_i2c_write()
440 rep->address = addr; in ft260_i2c_write()
441 rep->length = wr_len; in ft260_i2c_write()
443 memcpy(rep->data, &data[idx], wr_len); in ft260_i2c_write()
446 rep->report, addr, idx, len, wr_len, in ft260_i2c_write()
[all …]
H A Dhid-apple.c760 struct apple_backlight_set_report *rep; in apple_backlight_set() local
762 rep = kmalloc(sizeof(*rep), GFP_KERNEL); in apple_backlight_set()
763 if (rep == NULL) in apple_backlight_set()
766 rep->report_id = 0xB0; in apple_backlight_set()
767 rep->version = 1; in apple_backlight_set()
768 rep->backlight = value; in apple_backlight_set()
769 rep->rate = rate; in apple_backlight_set()
771 ret = hid_hw_raw_request(hdev, 0xB0u, (u8 *) rep, sizeof(*rep), in apple_backlight_set()
774 kfree(rep); in apple_backlight_set()
791 struct apple_backlight_config_report *rep; in apple_backlight_init() local
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Daudit_logread.c28 int audit_recv(int fd, struct audit_message *rep) in audit_recv() argument
35 ret = recvfrom(fd, rep, sizeof(*rep), 0, in audit_recv()
42 rep->nlh.nlmsg_type == NLMSG_ERROR) /* short-cut for now */ in audit_recv()
81 struct audit_message rep = { 0 }; in audit_set() local
88 ret = audit_recv(fd, &rep); in audit_set()
96 struct audit_message rep = { 0 }; in readlog() local
97 int ret = audit_recv(fd, &rep); in readlog()
104 if (rep.nlh.nlmsg_type != AUDIT_NETFILTER_CFG) in readlog()
108 strtok(rep.u.data, " "); in readlog()
/linux/net/unix/
H A Ddiag.c116 struct unix_diag_msg *rep; in sk_diag_fill() local
118 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
123 rep = nlmsg_data(nlh); in sk_diag_fill()
124 rep->udiag_family = AF_UNIX; in sk_diag_fill()
125 rep->udiag_type = sk->sk_type; in sk_diag_fill()
126 rep->udiag_state = READ_ONCE(sk->sk_state); in sk_diag_fill()
127 rep->pad = 0; in sk_diag_fill()
128 rep->udiag_ino = sk_ino; in sk_diag_fill()
129 sock_diag_save_cookie(sk, rep->udiag_cookie); in sk_diag_fill()
243 struct sk_buff *rep; in unix_diag_get_exact() local
[all …]
/linux/net/netlink/
H A 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/drivers/s390/crypto/
H A Dzcrypt_ep11misc.c490 struct ep11_cprb *rep, size_t rep_len) in prep_urb() argument
496 u->resp = (u8 __user *)rep; in prep_urb()
567 static int check_reply_cprb(const struct ep11_cprb *rep, const char *func) in check_reply_cprb() argument
570 if (rep->ret_code) { in check_reply_cprb()
572 rep->ret_code); in check_reply_cprb()
573 if (rep->ret_code == 0x000c0003) in check_reply_cprb()
606 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_query_info() local
624 rep = alloc_cprb(sizeof(struct ep11_info_rep_pl) + buflen); in ep11_query_info()
625 if (!rep) in ep11_query_info()
627 rep_pl = (struct ep11_info_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in ep11_query_info()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dbridge.c85 *vport_num = rpriv->rep->vport; in mlx5_esw_bridge_rep_vport_num_vhca_id_get()
102 struct net_device *rep; in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() local
107 rep = mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get(lower_dev, esw, vport_num, in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
109 if (rep) in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
110 return rep; in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get()
116 static bool mlx5_esw_bridge_is_local(struct net_device *dev, struct net_device *rep, in mlx5_esw_bridge_is_local() argument
122 if (!mlx5_esw_bridge_dev_same_esw(rep, esw)) in mlx5_esw_bridge_is_local()
125 priv = netdev_priv(rep); in mlx5_esw_bridge_is_local()
139 struct net_device *upper = info->upper_dev, *rep; in mlx5_esw_bridge_port_changeupper() local
148 rep = mlx5_esw_bridge_rep_vport_num_vhca_id_get(dev, esw, &vport_num, &esw_owner_vhca_id); in mlx5_esw_bridge_port_changeupper()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_surface.c100 struct drm_vmw_gb_surface_create_rep *rep,
105 struct drm_vmw_gb_surface_ref_ext_rep *rep,
735 struct drm_vmw_surface_arg *rep = &arg->rep; in vmw_surface_define_ioctl() local
889 rep->sid = user_srf->prime.base.handle; in vmw_surface_define_ioctl()
1105 struct drm_vmw_surface_create_req *rep = &arg->rep; in vmw_surface_reference_ioctl() local
1122 rep->flags = (uint32_t)srf->metadata.flags; in vmw_surface_reference_ioctl()
1123 rep->format = srf->metadata.format; in vmw_surface_reference_ioctl()
1124 memcpy(rep->mip_levels, srf->metadata.mip_levels, in vmw_surface_reference_ioctl()
1127 rep->size_addr; in vmw_surface_reference_ioctl()
1445 struct drm_vmw_gb_surface_create_rep *rep = &arg->rep; in vmw_gb_surface_define_ioctl() local
[all …]
/linux/drivers/hid/intel-ish-hid/
H A 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()

12345678