/openbmc/linux/tools/perf/ |
H A D | builtin-report.c | 279 if (perf_time__ranges_skip_sample(rep->ptime_range, rep->range_num, in process_sample_event() 295 if (rep->stitch_lbr) in process_sample_event() 301 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event() 325 if (ui__has_annotation() || rep->symbol_ipc || rep->total_cycles_mode) { in process_sample_event() 331 ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep); in process_sample_event() 516 if (rep->time_str) in hists__fprintf_nr_sample_events() 523 if (rep->mem_mode) { in hists__fprintf_nr_sample_events() 785 memset(&rep->tool, 0, sizeof(rep->tool)); in stats_setup() 803 memset(&rep->tool, 0, sizeof(rep->tool)); in tasks_setup() 985 stats_setup(rep); in __cmd_report() [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() 62 vport_index = rep->vport_index; in mlx5_ib_vport_rep_load() 106 ibdev->port[vport_index].rep = rep; in mlx5_ib_vport_rep_load() 154 if (dev->port[i].rep == rep) in mlx5_ib_vport_rep_unload() 167 port->rep = NULL; in mlx5_ib_vport_rep_unload() 216 struct mlx5_eswitch_rep *rep; in create_flow_rule_vport_sq() local 221 if (!dev->port[port - 1].rep) in create_flow_rule_vport_sq() [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_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_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() 389 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_dictMatchState_generic() 514 rep[0] = offset_1 ? offset_1 : offsetSaved; in ZSTD_compressBlock_fast_dictMatchState_generic() 515 rep[1] = offset_2 ? offset_2 : offsetSaved; in ZSTD_compressBlock_fast_dictMatchState_generic() 572 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_fast_extDict_generic() 646 rep[0] = offset_1; in ZSTD_compressBlock_fast_extDict_generic() [all …]
|
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() 555 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_extDict_generic() 667 rep[0] = offset_1; in ZSTD_compressBlock_doubleFast_extDict_generic() [all …]
|
/openbmc/phosphor-ipmi-blobs/test/ |
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_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() 62 uint32_t size = rep.size; in TEST() 75 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST() 99 struct BmcBlobStatRx rep; in TEST() local 100 rep.crc = 0x00; in TEST() 102 rep.size = lmeta.size; in TEST() [all …]
|
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() 86 uint32_t size = rep.size; in TEST() 99 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST() 125 struct BmcBlobStatRx rep; in TEST() local 126 rep.crc = 0x00; in TEST() 128 rep.size = lmeta.size; in TEST() [all …]
|
H A D | ipmi_open_unittest.cpp | 66 struct BmcBlobOpenRx rep; in TEST() local 86 rep.crc = 0; in TEST() 87 rep.sessionId = returnedSession; in TEST() 89 EXPECT_EQ(sizeof(rep), result.size()); in TEST() 90 EXPECT_EQ(0, std::memcmp(result.data(), &rep, sizeof(rep))); in TEST()
|
/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 514 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_add_sqs_fwd_rules() local 567 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_remove_sqs_fwd_rules() local 577 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_add_meta_tunnel_rule() local 619 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_open() local 642 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_close() local 666 rep = rpriv->rep; in mlx5e_is_uplink_rep() 720 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_change_carrier() local 779 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_build_rep_params() local 901 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_create_rep_ttc_table() local [all …]
|
H A D | vport.c | 651 struct mlx5_hca_vport_context *rep) in mlx5_query_hca_vport_context() argument 729 struct mlx5_hca_vport_context *rep; in mlx5_query_hca_vport_system_image_guid() local 732 rep = kvzalloc(sizeof(*rep), GFP_KERNEL); in mlx5_query_hca_vport_system_image_guid() 733 if (!rep) in mlx5_query_hca_vport_system_image_guid() 738 *sys_image_guid = rep->sys_image_guid; in mlx5_query_hca_vport_system_image_guid() 740 kvfree(rep); in mlx5_query_hca_vport_system_image_guid() 748 struct mlx5_hca_vport_context *rep; in mlx5_query_hca_vport_node_guid() local 751 rep = kvzalloc(sizeof(*rep), GFP_KERNEL); in mlx5_query_hca_vport_node_guid() 752 if (!rep) in mlx5_query_hca_vport_node_guid() 757 *node_guid = rep->node_guid; in mlx5_query_hca_vport_node_guid() [all …]
|
/openbmc/linux/net/sunrpc/xprtrdma/ |
H A D | verbs.c | 947 rep = kzalloc(sizeof(*rep), XPRTRDMA_GFP_FLAGS); in rpcrdma_rep_create() 948 if (rep == NULL) in rpcrdma_rep_create() 959 xdr_buf_init(&rep->rr_hdrbuf, rdmab_data(rep->rr_rdmabuf), in rpcrdma_rep_create() 964 rep->rr_recv_wr.wr_cqe = &rep->rr_cqe; in rpcrdma_rep_create() 965 rep->rr_recv_wr.sg_list = &rep->rr_rdmabuf->rg_iov; in rpcrdma_rep_create() 972 return rep; in rpcrdma_rep_create() 975 kfree(rep); in rpcrdma_rep_create() 983 kfree(rep); in rpcrdma_rep_free() 1371 if (rep && rep->rr_temp) { in rpcrdma_post_recvs() 1375 if (!rep) in rpcrdma_post_recvs() [all …]
|
H A D | rpc_rdma.c | 525 rpcrdma_complete_rqst(rep); in rpcrdma_sendctx_done() 1143 if (*p++ != rep->rr_xid) in rpcrdma_is_bcall() 1359 rep->rr_rqst = NULL; in rpcrdma_unpin_rqst() 1381 switch (rep->rr_proc) { in rpcrdma_complete_rqst() 1444 xdr_init_decode(&rep->rr_stream, &rep->rr_hdrbuf, in rpcrdma_reply_handler() 1449 rep->rr_xid = *p++; in rpcrdma_reply_handler() 1450 rep->rr_vers = *p++; in rpcrdma_reply_handler() 1452 rep->rr_proc = *p++; in rpcrdma_reply_handler() 1482 req->rl_reply = rep; in rpcrdma_reply_handler() 1483 rep->rr_rqst = rqst; in rpcrdma_reply_handler() [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() 658 int rep; in crush_choose_indep() local 670 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 680 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 685 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 691 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 781 out2, rep, in crush_choose_indep() 807 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 822 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 287 if (!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() 305 msg->rep = NULL; in tipc_nl_compat_dumpit() 313 msg->rep = NULL; in tipc_nl_compat_dumpit() 321 msg->rep = NULL; in tipc_nl_compat_dumpit() 399 if (!msg->rep) in tipc_nl_compat_doit() 1182 if (!msg->rep) in tipc_cmd_show_stats_compat() 1202 if (!msg->rep) in tipc_nl_compat_handle() [all …]
|
/openbmc/linux/net/vmw_vsock/ |
H A D | diag.c | 18 struct vsock_diag_msg *rep; in sk_diag_fill() local 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() 41 rep->vdiag_ino = sock_i_ino(sk); 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 | 440 rep->address = addr; in ft260_i2c_write() 458 rep->flag = 0; in ft260_i2c_write() 477 rep->address = addr; in ft260_smbus_write() 478 rep->data[0] = cmd; in ft260_smbus_write() 480 rep->flag = flag; in ft260_smbus_write() 481 len += rep->length; in ft260_smbus_write() 489 rep->report, addr, cmd, rep->length, len); in ft260_smbus_write() 521 rep.address = addr; in ft260_i2c_read() 522 rep.flag = flag; in ft260_i2c_read() 525 rep.report, rep.address, len, rd_len, flag); in ft260_i2c_read() [all …]
|
/openbmc/linux/net/netlink/ |
H A D | diag.c | 49 struct netlink_diag_msg *rep; in sk_diag_fill() local 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() 66 rep->ndiag_dst_group = nlk->dst_group; 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 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 285 if (!rep) in unix_diag_get_exact() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | adv7604.yaml | 36 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 37 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 38 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 39 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 40 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 41 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 42 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 43 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 44 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] 45 - enum: [ avlink, cec, infoframe, esdp, dpp, afe, rep, edid, hdmi, test, cp, vdp ] [all …]
|
/openbmc/qemu/contrib/plugins/ |
H A D | cache.c | 622 g_string_append(rep, "\n"); in log_stats() 625 g_string_append_printf(rep, "%-8d", i); 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() 664 g_string_append_printf(rep, ", %" PRId64 ", %s\n", in log_top_insns() 677 g_string_append_printf(rep, ", %" PRId64 ", %s\n", in log_top_insns() 694 g_string_append_printf(rep, ", %" PRId64 ", %s\n", in log_top_insns() [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 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() 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() 149 if (!rep) in mlx5_esw_bridge_port_changeupper() 154 if (mlx5_esw_bridge_is_local(dev, rep, esw)) in mlx5_esw_bridge_port_changeupper() 160 else if (mlx5_esw_bridge_dev_same_hw(rep, esw)) in mlx5_esw_bridge_port_changeupper() 440 struct net_device *upper, *rep; in mlx5_esw_bridge_switchdev_event() local [all …]
|