| /linux/drivers/infiniband/hw/mlx5/ |
| A D | ib_rep.c | 12 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() 24 ndev = mlx5_ib_get_rep_netdev(rep->esw, rep->vport); in mlx5_ib_set_vport_rep() 60 vport_index = rep->vport_index; in mlx5_ib_vport_rep_load() 104 ibdev->port[vport_index].rep = rep; in mlx5_ib_vport_rep_load() 110 rep->vport), in mlx5_ib_vport_rep_load() 157 if (dev->port[i].rep == rep) in mlx5_ib_vport_rep_unload() 169 port->rep = NULL; in mlx5_ib_vport_rep_unload() 218 struct mlx5_eswitch_rep *rep; in create_flow_rule_vport_sq() local 223 if (!dev->port[port - 1].rep) in create_flow_rule_vport_sq() [all …]
|
| A D | std_types.c | 135 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/tools/perf/ |
| A D | builtin-report.c | 282 if (perf_time__ranges_skip_sample(rep->ptime_range, rep->range_num, in process_sample_event() 298 if (rep->stitch_lbr) in process_sample_event() 304 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event() 328 if (ui__has_annotation() || rep->symbol_ipc || rep->total_cycles_mode) { in process_sample_event() 334 ret = hist_entry_iter__add(&iter, &al, rep->max_stack, rep); in process_sample_event() 519 if (rep->time_str) in hists__fprintf_nr_sample_events() 526 if (rep->mem_mode) { in hists__fprintf_nr_sample_events() 653 return hist_browser(rep->session->evlist, help, NULL, rep->min_percent); in report__gtk_browse_hists() 1073 stats_setup(rep); in __cmd_report() 1076 tasks_setup(rep); in __cmd_report() [all …]
|
| /linux/lib/zstd/compress/ |
| 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 …]
|
| 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 …]
|
| 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],
|
| 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 …]
|
| A D | zstd_opt.c | 561 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() 1089 { U32 i ; for (i=0; i<ZSTD_REP_NUM; i++) opt[0].rep[i] = rep[i]; } in ZSTD_compressBlock_opt_generic() 1157 opt[cur-1].rep[0], opt[cur-1].rep[1], opt[cur-1].rep[2]); in ZSTD_compressBlock_opt_generic() 1165 opt[cur].rep[0], opt[cur].rep[1], opt[cur].rep[2]); in ZSTD_compressBlock_opt_generic() 1181 ZSTD_memcpy(opt[cur].rep, opt[cur - 1].rep, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1271 ZSTD_memcpy(rep, opt[cur].rep, sizeof(repcodes_t)); in ZSTD_compressBlock_opt_generic() 1357 U32 rep[ZSTD_REP_NUM], in ZSTD_initStats_ultra() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| A D | en_rep.c | 205 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 295 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_update_vport_q_counter() local 574 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_add_sqs_fwd_rules() local 627 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_remove_sqs_fwd_rules() local 637 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_add_meta_tunnel_rule() local 679 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_open() local 702 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_close() local 726 rep = rpriv->rep; in mlx5e_is_uplink_rep() 780 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_change_carrier() local 839 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_build_rep_params() local [all …]
|
| A D | vport.c | 672 struct mlx5_hca_vport_context *rep) in mlx5_query_hca_vport_context() argument 751 struct mlx5_hca_vport_context *rep; in mlx5_query_hca_vport_system_image_guid() local 754 rep = kvzalloc(sizeof(*rep), GFP_KERNEL); in mlx5_query_hca_vport_system_image_guid() 755 if (!rep) in mlx5_query_hca_vport_system_image_guid() 760 *sys_image_guid = rep->sys_image_guid; in mlx5_query_hca_vport_system_image_guid() 762 kvfree(rep); in mlx5_query_hca_vport_system_image_guid() 770 struct mlx5_hca_vport_context *rep; in mlx5_query_hca_vport_node_guid() local 773 rep = kvzalloc(sizeof(*rep), GFP_KERNEL); in mlx5_query_hca_vport_node_guid() 774 if (!rep) in mlx5_query_hca_vport_node_guid() 779 *node_guid = rep->node_guid; in mlx5_query_hca_vport_node_guid() [all …]
|
| /linux/net/ceph/crush/ |
| A D | mapper.c | 471 int rep; in crush_choose_firstn() local 488 for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn() 661 int rep; in crush_choose_indep() local 673 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 683 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 688 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 694 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 784 out2, rep, in crush_choose_indep() 810 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() 825 for (rep = outpos; rep < endpos; rep++) { in crush_choose_indep() [all …]
|
| /linux/net/tipc/ |
| 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 …]
|
| /linux/net/vmw_vsock/ |
| 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 …]
|
| /linux/net/sunrpc/xprtrdma/ |
| A D | verbs.c | 955 rep = kzalloc(sizeof(*rep), XPRTRDMA_GFP_FLAGS); in rpcrdma_rep_create() 956 if (rep == NULL) in rpcrdma_rep_create() 962 if (!rep->rr_rdmabuf) in rpcrdma_rep_create() 968 xdr_buf_init(&rep->rr_hdrbuf, rdmab_data(rep->rr_rdmabuf), in rpcrdma_rep_create() 973 rep->rr_recv_wr.wr_cqe = &rep->rr_cqe; in rpcrdma_rep_create() 974 rep->rr_recv_wr.sg_list = &rep->rr_rdmabuf->rg_iov; in rpcrdma_rep_create() 980 return rep; in rpcrdma_rep_create() 983 kfree(rep); in rpcrdma_rep_create() 991 kfree(rep); in rpcrdma_rep_free() 1371 if (!rep) in rpcrdma_post_recvs() [all …]
|
| 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() 1481 req->rl_reply = rep; in rpcrdma_reply_handler() 1482 rep->rr_rqst = rqst; in rpcrdma_reply_handler() [all …]
|
| /linux/tools/testing/selftests/net/netfilter/ |
| 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()
|
| /linux/drivers/hid/ |
| 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 …]
|
| /linux/net/unix/ |
| A D | diag.c | 116 struct unix_diag_msg *rep; in sk_diag_fill() local 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 264 if (!rep) in unix_diag_get_exact() [all …]
|
| /linux/net/netlink/ |
| 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 …]
|
| /linux/drivers/s390/crypto/ |
| A D | zcrypt_ep11misc.c | 625 if (!rep) in ep11_query_info() 637 rep, sizeof(*rep) + sizeof(*rep_pl) + buflen); in ep11_query_info() 671 kfree(rep); in ep11_query_info() 881 if (!rep) in _ep11_genaeskey() 893 rep, sizeof(*rep) + sizeof(*rep_pl)); in _ep11_genaeskey() 1038 if (!rep) in ep11_cryptsingle() 1050 rep, sizeof(*rep) + rep_pl_size); in ep11_cryptsingle() 1201 if (!rep) in _ep11_unwrapkey() 1213 rep, sizeof(*rep) + sizeof(*rep_pl)); in _ep11_unwrapkey() 1361 if (!rep) in _ep11_wrapkey() [all …]
|
| /linux/Documentation/devicetree/bindings/media/i2c/ |
| 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 …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
| 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 …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_surface.c | 735 struct drm_vmw_surface_arg *rep = &arg->rep; in vmw_surface_define_ioctl() local 1105 struct drm_vmw_surface_create_req *rep = &arg->rep; in vmw_surface_reference_ioctl() local 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 1473 struct drm_vmw_gb_surface_ref_rep *rep = &arg->rep; in vmw_gb_surface_reference_ioctl() local 1483 rep->crep = rep_ext.crep; in vmw_gb_surface_reference_ioctl() 1502 struct drm_vmw_gb_surface_create_rep *rep = &arg->rep; in vmw_gb_surface_define_ext_ioctl() local 1521 struct drm_vmw_gb_surface_ref_ext_rep *rep = &arg->rep; in vmw_gb_surface_reference_ext_ioctl() local 1688 rep->buffer_map_handle = in vmw_gb_surface_define_internal() 1694 rep->buffer_size = 0; in vmw_gb_surface_define_internal() [all …]
|
| /linux/drivers/hid/intel-ish-hid/ |
| A D | ishtp-hid.c | 104 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/arch/x86/boot/ |
| A D | copy.S | 25 rep; movsl 28 rep; movsb 41 rep; stosl 44 rep; stosb
|