/openbmc/linux/tools/perf/ |
H A D | builtin-report.c | 123 struct report *rep = cb; in report__config() local 132 rep->min_percent = pcnt; in report__config() 141 return perf_config_u64(&rep->queue_size, var, value); in report__config() 153 rep->skip_empty = perf_config_bool(var, value); in report__config() 166 struct report *rep = arg; in hist_iter__report_callback() local 173 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__report_callback() 184 } else if (rep->mem_mode) { in hist_iter__report_callback() 209 struct report *rep = arg; in hist_iter__branch_callback() local 215 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback() 218 if (!ui__has_annotation() && !rep in hist_iter__branch_callback() 241 struct report *rep = container_of(session->tool, struct report, tool); process_feature_event() local 269 struct report *rep = container_of(tool, struct report, tool); process_sample_event() local 345 struct report *rep = container_of(tool, struct report, tool); process_read_event() local 363 report__setup_sample_type(struct report * rep) report__setup_sample_type() argument 470 hists__fprintf_nr_sample_events(struct hists * hists,struct report * rep,const char * evname,FILE * fp) hists__fprintf_nr_sample_events() argument 535 evlist__tui_block_hists_browse(struct evlist * evlist,struct report * rep) evlist__tui_block_hists_browse() argument 551 evlist__tty_browse_hists(struct evlist * evlist,struct report * rep,const char * help) evlist__tty_browse_hists() argument 602 report__warn_kptr_restrict(const struct report * rep) report__warn_kptr_restrict() argument 631 report__gtk_browse_hists(struct report * rep,const char * help) report__gtk_browse_hists() argument 646 report__browse_hists(struct report * rep) report__browse_hists() argument 690 report__collapse_hists(struct report * rep) report__collapse_hists() argument 725 struct report *rep = arg; hists__resort_cb() local 737 report__output_resort(struct report * rep) report__output_resort() argument 768 struct report *rep = container_of(tool, struct report, tool); count_lost_samples_event() local 783 stats_setup(struct report * rep) stats_setup() argument 792 stats_print(struct report * rep) stats_print() argument 801 tasks_setup(struct report * rep) tasks_setup() argument 886 tasks_print(struct report * rep,FILE * fp) tasks_print() argument 953 __cmd_report(struct report * rep) __cmd_report() argument 1156 struct report *rep = opt->value; parse_percent_limit() local [all...] |
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | ib_rep.c | 12 struct mlx5_eswitch_rep *rep, in mlx5_ib_set_vport_rep() argument 21 ibdev->port[vport_index].rep = rep; in mlx5_ib_set_vport_rep() 22 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_set_vport_rep() 25 mlx5_ib_get_rep_netdev(rep->esw, rep->vport); in mlx5_ib_set_vport_rep() 50 mlx5_ib_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_vport_rep_load() argument 62 vport_index = rep->vport_index; in mlx5_ib_vport_rep_load() 68 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_load() 88 if (rep->vport == MLX5_VPORT_UPLINK && !new_uplink) in mlx5_ib_vport_rep_load() 91 return mlx5_ib_set_vport_rep(lag_master, rep, vport_index); in mlx5_ib_vport_rep_load() 105 vport_index = rep->vport_index; in mlx5_ib_vport_rep_load() [all …]
|
H A D | std_types.c | 117 struct mlx5_eswitch_rep *rep; in fill_switchdev_info() local 121 rep = dev->port[port_num - 1].rep; in fill_switchdev_info() 122 if (!rep) in fill_switchdev_info() 125 mdev = mlx5_eswitch_get_core_dev(rep->esw); in fill_switchdev_info() 129 info->vport = rep->vport; in fill_switchdev_info() 132 if (rep->vport != MLX5_VPORT_UPLINK) { in fill_switchdev_info() 133 err = fill_vport_vhca_id(mdev, rep->vport, info); in fill_switchdev_info() 141 err = fill_vport_icm_addr(mdev, rep->vport, info); in fill_switchdev_info() 145 if (mlx5_eswitch_vport_match_metadata_enabled(rep->esw)) { in fill_switchdev_info() 147 rep->esw, rep->vport); in fill_switchdev_info()
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_lazy.h | 33 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 D | zstd_fast.c | 94 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 D | zstd_opt.h | 21 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 D | zstd_double_fast.c | 52 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 …]
|
/openbmc/phosphor-ipmi-blobs/test/ |
H A D | ipmi_sessionstat_unittest.cpp | 55 struct BmcBlobStatRx rep; in TEST() local 56 rep.crc = 0x00; in TEST() 57 rep.blobState = 0x01; in TEST() 58 rep.size = 0x100; in TEST() 59 rep.metadataLen = 0x00; in TEST() 61 uint16_t blobState = rep.blobState; in TEST() 62 uint32_t size = rep.size; in TEST() 74 EXPECT_EQ(sizeof(rep), result.size()); in TEST() 75 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST() 99 struct BmcBlobStatRx rep; in TEST() local [all …]
|
H A D | ipmi_getcount_unittest.cpp | 24 struct BmcBlobCountRx rep; in TEST() local 26 rep.crc = 0; in TEST() 27 rep.blobCount = 0; in TEST() 33 EXPECT_EQ(sizeof(rep), result.size()); in TEST() 34 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST() 43 struct BmcBlobCountRx rep; in TEST() local 45 rep.crc = 0; in TEST() 46 rep.blobCount = 2; in TEST() 52 EXPECT_EQ(sizeof(rep), result.size()); in TEST() 53 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST()
|
H A D | ipmi_stat_unittest.cpp | 79 struct BmcBlobStatRx rep; in TEST() local 80 rep.crc = 0x00; in TEST() 81 rep.blobState = 0x01; in TEST() 82 rep.size = 0x100; in TEST() 83 rep.metadataLen = 0x00; in TEST() 85 uint16_t blobState = rep.blobState; in TEST() 86 uint32_t size = rep.size; in TEST() 98 EXPECT_EQ(sizeof(rep), result.size()); in TEST() 99 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST() 125 struct BmcBlobStatRx rep; in TEST() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 188 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 196 err = mlx5_core_query_vport_counter(esw->dev, 1, rep->vport - 1, 0, out); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 199 rep->vport, err); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 378 struct mlx5_eswitch_rep *rep) in mlx5e_sqs2vport_stop() argument 388 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop() 405 static int mlx5e_sqs2vport_add_peers_rules(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep, in mlx5e_sqs2vport_add_peers_rules() argument 422 rep, rep_sq->sqn); in mlx5e_sqs2vport_add_peers_rules() 442 struct mlx5_eswitch_rep *rep, in mlx5e_sqs2vport_start() argument 455 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_start() 469 flow_rule = mlx5_eswitch_add_send_to_vport_rule(esw, esw, rep, in mlx5e_sqs2vport_start() [all …]
|
H A D | vport.c | 651 struct mlx5_hca_vport_context *rep) in mlx5_query_hca_vport_context() argument 686 rep->field_select = MLX5_GET_PR(hca_vport_context, ctx, field_select); in mlx5_query_hca_vport_context() 687 rep->sm_virt_aware = MLX5_GET_PR(hca_vport_context, ctx, sm_virt_aware); in mlx5_query_hca_vport_context() 688 rep->has_smi = MLX5_GET_PR(hca_vport_context, ctx, has_smi); in mlx5_query_hca_vport_context() 689 rep->has_raw = MLX5_GET_PR(hca_vport_context, ctx, has_raw); in mlx5_query_hca_vport_context() 690 rep->policy = MLX5_GET_PR(hca_vport_context, ctx, vport_state_policy); in mlx5_query_hca_vport_context() 691 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context() 693 rep->vport_state = MLX5_GET_PR(hca_vport_context, ctx, vport_state); in mlx5_query_hca_vport_context() 694 rep->port_physical_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context() 696 rep->port_guid = MLX5_GET64_PR(hca_vport_context, ctx, port_guid); in mlx5_query_hca_vport_context() [all …]
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | verbs.c | 72 static void rpcrdma_rep_destroy(struct rpcrdma_rep *rep); 162 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep, in rpcrdma_wc_receive() local 167 trace_xprtrdma_wc_receive(wc, &rep->rr_cid); in rpcrdma_wc_receive() 173 rpcrdma_set_xdrlen(&rep->rr_hdrbuf, wc->byte_len); in rpcrdma_wc_receive() 174 rep->rr_wc_flags = wc->wc_flags; in rpcrdma_wc_receive() 175 rep->rr_inv_rkey = wc->ex.invalidate_rkey; in rpcrdma_wc_receive() 177 ib_dma_sync_single_for_cpu(rdmab_device(rep->rr_rdmabuf), in rpcrdma_wc_receive() 178 rdmab_addr(rep->rr_rdmabuf), in rpcrdma_wc_receive() 181 rpcrdma_reply_handler(rep); in rpcrdma_wc_receive() 186 rpcrdma_rep_put(&r_xprt->rx_buf, rep); in rpcrdma_wc_receive() [all …]
|
H A D | rpc_rdma.c | 523 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 …]
|
/openbmc/linux/net/ceph/crush/ |
H A D | mapper.c | 467 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 …]
|
/openbmc/linux/net/tipc/ |
H A D | netlink_compat.c | 61 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 …]
|
/openbmc/linux/net/vmw_vsock/ |
H A D | diag.c | 18 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 …]
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | audit_logread.c | 28 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()
|
/openbmc/linux/drivers/hid/ |
H A D | hid-ft260.c | 375 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 …]
|
/openbmc/linux/net/netlink/ |
H A D | diag.c | 49 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 …]
|
/openbmc/linux/net/unix/ |
H A D | diag.c | 129 struct unix_diag_msg *rep; in sk_diag_fill() local 131 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill() 136 rep = nlmsg_data(nlh); in sk_diag_fill() 137 rep->udiag_family = AF_UNIX; in sk_diag_fill() 138 rep->udiag_type = sk->sk_type; in sk_diag_fill() 139 rep->udiag_state = READ_ONCE(sk->sk_state); in sk_diag_fill() 140 rep->pad = 0; in sk_diag_fill() 141 rep->udiag_ino = sk_ino; in sk_diag_fill() 142 sock_diag_save_cookie(sk, rep->udiag_cookie); in sk_diag_fill() 264 struct sk_buff *rep; in unix_diag_get_exact() local [all …]
|
/openbmc/qemu/contrib/plugins/ |
H A D | cache.c | 614 g_autoptr(GString) rep = g_string_new("core #, data accesses, data misses," in log_stats() 619 g_string_append(rep, ", l2 accesses, l2 misses, l2 miss rate"); in log_stats() 622 g_string_append(rep, "\n"); in log_stats() 625 g_string_append_printf(rep, "%-8d", i); in log_stats() 629 append_stats_line(rep, dcache->accesses, dcache->misses, in log_stats() 637 g_string_append_printf(rep, "%-8s", "sum"); in log_stats() 638 append_stats_line(rep, l1_dmem_accesses, l1_dmisses, in log_stats() 643 g_string_append(rep, "\n"); in log_stats() 644 qemu_plugin_outs(rep->str); in log_stats() 655 g_autoptr(GString) rep = g_string_new(""); in log_top_insns() [all …]
|
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.c | 495 struct ep11_cprb *rep, size_t rep_len) in prep_urb() argument 501 u->resp = (u8 __user *)rep; in prep_urb() 594 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_query_info() local 612 rep = alloc_cprb(sizeof(struct ep11_info_rep_pl) + buflen); in ep11_query_info() 613 if (!rep) in ep11_query_info() 615 rep_pl = (struct ep11_info_rep_pl *)(((u8 *)rep) + sizeof(*rep)); in ep11_query_info() 625 rep, sizeof(*rep) + sizeof(*rep_pl) + buflen); in ep11_query_info() 654 kfree(rep); in ep11_query_info() 806 struct ep11_cprb *req = NULL, *rep = NULL; in _ep11_genaeskey() local 864 rep = alloc_cprb(sizeof(struct keygen_rep_pl)); in _ep11_genaeskey() [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_surface.c | 103 struct drm_vmw_gb_surface_create_rep *rep, 108 struct drm_vmw_gb_surface_ref_ext_rep *rep, 730 struct drm_vmw_surface_arg *rep = &arg->rep; in vmw_surface_define_ioctl() local 883 rep->sid = user_srf->prime.base.handle; in vmw_surface_define_ioctl() 988 struct drm_vmw_surface_create_req *rep = &arg->rep; in vmw_surface_reference_ioctl() local 1005 rep->flags = (uint32_t)srf->metadata.flags; in vmw_surface_reference_ioctl() 1006 rep->format = srf->metadata.format; in vmw_surface_reference_ioctl() 1007 memcpy(rep->mip_levels, srf->metadata.mip_levels, in vmw_surface_reference_ioctl() 1010 rep->size_addr; in vmw_surface_reference_ioctl() 1328 struct drm_vmw_gb_surface_create_rep *rep = &arg->rep; in vmw_gb_surface_define_ioctl() local [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | bridge.c | 85 *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 …]
|