| /linux/drivers/platform/x86/tuxedo/nb04/ |
| H A D | wmi_ab.c | 486 struct lamp_array_attributes_report_t *rep) in handle_lamp_array_attributes_report() argument 490 rep->lamp_count = driver_data->lamp_count; in handle_lamp_array_attributes_report() 491 rep->bounding_box_width_in_micrometers = 368000; in handle_lamp_array_attributes_report() 492 rep->bounding_box_height_in_micrometers = 266000; in handle_lamp_array_attributes_report() 493 rep->bounding_box_depth_in_micrometers = 30000; in handle_lamp_array_attributes_report() 498 rep->lamp_array_kind = 1; in handle_lamp_array_attributes_report() 500 rep->min_update_interval_in_microseconds = 500; in handle_lamp_array_attributes_report() 502 return sizeof(*rep); in handle_lamp_array_attributes_report() 511 struct lamp_attributes_request_report_t *rep) in handle_lamp_attributes_request_report() argument 515 if (rep->lamp_id < driver_data->lamp_count) in handle_lamp_attributes_request_report() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | rep.c | 35 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 = kzalloc_objs(struct otx2_flow_config, 1); 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() 74 rep->flow_cfg->flow_ent[ent + allocated] = rsp->entry_list[ent]; in rvu_rep_mcam_flow_init() 88 sort(&rep->flow_cfg->flow_ent[0], allocated, in rvu_rep_mcam_flow_init() 89 sizeof(rep->flow_cfg->flow_ent[0]), mcam_entry_cmp, NULL); in rvu_rep_mcam_flow_init() [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-report.c | 130 struct report *rep = cb; in report__config() 139 rep->min_percent = pcnt; in report__config() 148 return perf_config_u64(&rep->queue_size, var, value); in report__config() 160 rep->skip_empty = perf_config_bool(var, value); in report__config() 173 struct report *rep = arg; in hist_iter__report_callback() 179 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__report_callback() 190 } else if (rep->mem_mode) { in hist_iter__report_callback() 215 struct report *rep = arg; in hist_iter__branch_callback() 220 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback() 223 if (!ui__has_annotation() && !rep in hist_iter__branch_callback() 128 struct report *rep = cb; report__config() local 171 struct report *rep = arg; hist_iter__report_callback() local 214 struct report *rep = arg; hist_iter__branch_callback() local 247 struct report *rep = container_of(tool, struct report, tool); process_feature_event() local 275 struct report *rep = container_of(tool, struct report, tool); process_sample_event() local 355 struct report *rep = container_of(tool, struct report, tool); process_read_event() local 371 report__setup_sample_type(struct report * rep) report__setup_sample_type() argument 478 hists__fprintf_nr_sample_events(struct hists * hists,struct report * rep,const char * evname,FILE * fp) hists__fprintf_nr_sample_events() argument 546 evlist__tui_block_hists_browse(struct evlist * evlist,struct report * rep) evlist__tui_block_hists_browse() argument 562 evlist__tty_browse_hists(struct evlist * evlist,struct report * rep,const char * help) evlist__tty_browse_hists() argument 620 report__warn_kptr_restrict(const struct report * rep) report__warn_kptr_restrict() argument 649 report__gtk_browse_hists(struct report * rep,const char * help) report__gtk_browse_hists() argument 664 report__browse_hists(struct report * rep) report__browse_hists() argument 708 report__collapse_hists(struct report * rep) report__collapse_hists() argument 758 struct report *rep = arg; hists__resort_cb() local 770 report__output_resort(struct report * rep) report__output_resort() argument 801 struct report *rep = container_of(tool, struct report, tool); count_lost_samples_event() local 821 stats_setup(struct report * rep) stats_setup() argument 831 stats_print(struct report * rep) stats_print() argument 840 tasks_setup(struct report * rep) tasks_setup() argument 1035 tasks_print(struct report * rep,FILE * fp) tasks_print() argument 1056 __cmd_report(struct report * rep) __cmd_report() argument 1266 struct report *rep = opt->value; parse_percent_limit() local [all...] |
| /linux/lib/zstd/compress/ |
| H A D | zstd_lazy.h | 41 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 44 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 47 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 50 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 53 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 56 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 59 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 62 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 86 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 89 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], [all …]
|
| H A D | zstd_opt.h | 26 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 29 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], 46 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 49 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 52 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 59 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
| H A D | zstd_fast.c | 192 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_noDict_generic() 215 U32 rep_offset1 = rep[0]; in ZSTD_compressBlock_fast_noDict_generic() 216 U32 rep_offset2 = rep[1]; in ZSTD_compressBlock_fast_noDict_generic() 370 rep[0] = rep_offset1 ? rep_offset1 : offsetSaved1; in ZSTD_compressBlock_fast_noDict_generic() 371 rep[1] = rep_offset2 ? rep_offset2 : offsetSaved2; in ZSTD_compressBlock_fast_noDict_generic() 426 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \ 429 … return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mml, cmov); \ 443 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast() 455 return ZSTD_compressBlock_fast_noDict_4_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast() 457 return ZSTD_compressBlock_fast_noDict_5_1(ms, seqStore, rep, src, srcSize); in ZSTD_compressBlock_fast() [all …]
|
| H A D | zstd_opt.c | 597 const U32 rep[ZSTD_REP_NUM], in ZSTD_insertBtAndGetAllMatches() 650 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches() 827 const U32 rep[ZSTD_REP_NUM], 839 const U32 rep[ZSTD_REP_NUM], in ZSTD_btGetAllMatches_internal() 850 …return ZSTD_insertBtAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll… in ZSTD_btGetAllMatches_internal() 862 const U32 rep[ZSTD_REP_NUM], \ 868 rep, ll0, lengthToBeat, ZSTD_##dictMode, mls); \ 1080 U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_opt_generic() 1126 … U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, ip, iend, rep, ll0, minMatch); in ZSTD_compressBlock_opt_generic() 1152 ZSTD_STATIC_ASSERT(sizeof(opt[0].rep[0]) == sizeof(rep[0])); in ZSTD_compressBlock_opt_generic() [all …]
|
| H A D | zstd_double_fast.c | 107 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_noDict_generic() 124 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_noDict_generic() 248 rep[0] = offset_1 ? offset_1 : offsetSaved1; in ZSTD_compressBlock_doubleFast_noDict_generic() 249 rep[1] = offset_2 ? offset_2 : offsetSaved2; in ZSTD_compressBlock_doubleFast_noDict_generic() 330 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 349 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 543 rep[0] = offset_1; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 544 rep[1] = offset_2; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 552 … ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \ 555 … return ZSTD_compressBlock_doubleFast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mls); \ [all …]
|
| H A D | zstd_lazy.c | 1519 U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_lazy_generic() 1535 U32 offset_1 = rep[0], offset_2 = rep[1]; in ZSTD_compressBlock_lazy_generic() 1775 rep[0] = offset_1 ? offset_1 : offsetSaved1; in ZSTD_compressBlock_lazy_generic() 1776 rep[1] = offset_2 ? offset_2 : offsetSaved2; in ZSTD_compressBlock_lazy_generic() 1786 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy() 1789 …return ZSTD_compressBlock_lazy_generic(ms, seqStore, rep, src, srcSize, search_hashChain, 0, ZSTD_… in ZSTD_compressBlock_greedy() 1793 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy_dictMatchState() 1796 …return ZSTD_compressBlock_lazy_generic(ms, seqStore, rep, src, srcSize, search_hashChain, 0, ZSTD_… in ZSTD_compressBlock_greedy_dictMatchState() 1800 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_greedy_dedicatedDictSearch() 1803 …return ZSTD_compressBlock_lazy_generic(ms, seqStore, rep, src, srcSize, search_hashChain, 0, ZSTD_… in ZSTD_compressBlock_greedy_dedicatedDictSearch() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_rep.c | 206 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 214 err = mlx5_core_query_vport_counter(esw->dev, 1, rep->vport - 1, 0, out); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 217 rep->vport, err); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 296 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_update_vport_q_counter() local 303 err = mlx5e_rep_query_aggr_q_counter(priv->mdev, rep->vport, out); in mlx5e_rep_update_vport_q_counter() 306 rep->vport, err); in mlx5e_rep_update_vport_q_counter() 442 struct mlx5_eswitch_rep *rep) in mlx5e_sqs2vport_stop() argument 452 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop() 469 static int mlx5e_sqs2vport_add_peers_rules(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep, in mlx5e_sqs2vport_add_peers_rules() argument 486 rep, rep_sq->sqn); in mlx5e_sqs2vport_add_peers_rules() [all …]
|
| H A D | vport.c | 793 struct mlx5_hca_vport_context *rep) in mlx5_query_hca_vport_context() argument 828 rep->field_select = MLX5_GET_PR(hca_vport_context, ctx, field_select); in mlx5_query_hca_vport_context() 829 rep->sm_virt_aware = MLX5_GET_PR(hca_vport_context, ctx, sm_virt_aware); in mlx5_query_hca_vport_context() 830 rep->has_smi = MLX5_GET_PR(hca_vport_context, ctx, has_smi); in mlx5_query_hca_vport_context() 831 rep->has_raw = MLX5_GET_PR(hca_vport_context, ctx, has_raw); in mlx5_query_hca_vport_context() 832 rep->policy = MLX5_GET_PR(hca_vport_context, ctx, vport_state_policy); in mlx5_query_hca_vport_context() 833 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context() 835 rep->vport_state = MLX5_GET_PR(hca_vport_context, ctx, vport_state); in mlx5_query_hca_vport_context() 836 rep->port_physical_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context() 838 rep->port_guid = MLX5_GET64_PR(hca_vport_context, ctx, port_guid); in mlx5_query_hca_vport_context() [all …]
|
| /linux/net/ceph/crush/ |
| H 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() 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/tipc/ |
| H A D | netlink_compat.c | 61 struct sk_buff *rep; member 242 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit() 264 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit() 265 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit() 289 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit() 290 if (!msg->rep) in tipc_nl_compat_dumpit() 294 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit() 299 kfree_skb(msg->rep); in tipc_nl_compat_dumpit() 300 msg->rep = NULL; in tipc_nl_compat_dumpit() 307 kfree_skb(msg->rep); in tipc_nl_compat_dumpit() [all …]
|
| /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 …]
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | verbs.c | 168 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep, in rpcrdma_wc_receive() 173 trace_xprtrdma_wc_receive(wc, &rep->rr_cid); in rpcrdma_wc_receive() 179 rpcrdma_set_xdrlen(&rep->rr_hdrbuf, wc->byte_len); in rpcrdma_wc_receive() 180 rep->rr_wc_flags = wc->wc_flags; in rpcrdma_wc_receive() 181 rep->rr_inv_rkey = wc->ex.invalidate_rkey; in rpcrdma_wc_receive() 183 ib_dma_sync_single_for_cpu(rdmab_device(rep->rr_rdmabuf), in rpcrdma_wc_receive() 184 rdmab_addr(rep->rr_rdmabuf), in rpcrdma_wc_receive() 187 rpcrdma_reply_handler(rep); in rpcrdma_wc_receive() 192 rpcrdma_rep_put(&r_xprt->rx_buf, rep); in rpcrdma_update_cm_private() 1041 struct rpcrdma_rep *rep; in rpcrdma_reps_unmap() 164 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep, rpcrdma_wc_receive() local 968 struct rpcrdma_rep *rep; rpcrdma_rep_create() local 1003 rpcrdma_rep_free(struct rpcrdma_rep * rep) rpcrdma_rep_free() argument 1026 rpcrdma_rep_put(struct rpcrdma_buffer * buf,struct rpcrdma_rep * rep) rpcrdma_rep_put() argument 1038 struct rpcrdma_rep *rep; rpcrdma_reps_unmap() local 1046 struct rpcrdma_rep *rep; rpcrdma_reps_destroy() local 1368 struct rpcrdma_rep *rep; rpcrdma_post_recvs() local 1410 struct rpcrdma_rep *rep; rpcrdma_post_recvs() local [all...] |
| H A D | rpc_rdma.c | 1082 rpcrdma_is_bcall(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep) in rpcrdma_is_bcall() 1086 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_is_bcall() 1089 if (rep->rr_proc != rdma_msg) in rpcrdma_is_bcall() 1106 if (*p++ != rep->rr_xid) in rpcrdma_is_bcall() 1122 rpcrdma_bc_receive_call(r_xprt, rep); in decode_rdma_segment() 1225 rpcrdma_decode_msg(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep, in rpcrdma_decode_msg() 1228 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_decode_msg() 1255 rpcrdma_decode_nomsg(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep) in rpcrdma_decode_nomsg() 1257 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_decode_nomsg() 1280 rpcrdma_decode_error(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep, in rpcrdma_decode_error() 474 struct rpcrdma_rep *rep = req->rl_reply; rpcrdma_sendctx_done() local 1072 rpcrdma_is_bcall(struct rpcrdma_xprt * r_xprt,struct rpcrdma_rep * rep) rpcrdma_is_bcall() argument 1213 rpcrdma_decode_msg(struct rpcrdma_xprt * r_xprt,struct rpcrdma_rep * rep,struct rpc_rqst * rqst) rpcrdma_decode_msg() argument 1243 rpcrdma_decode_nomsg(struct rpcrdma_xprt * r_xprt,struct rpcrdma_rep * rep) rpcrdma_decode_nomsg() argument 1268 rpcrdma_decode_error(struct rpcrdma_xprt * r_xprt,struct rpcrdma_rep * rep,struct rpc_rqst * rqst) rpcrdma_decode_error() argument 1303 rpcrdma_unpin_rqst(struct rpcrdma_rep * rep) rpcrdma_unpin_rqst() argument 1325 rpcrdma_complete_rqst(struct rpcrdma_rep * rep) rpcrdma_complete_rqst() argument 1378 rpcrdma_reply_handler(struct rpcrdma_rep * rep) rpcrdma_reply_handler() argument [all...] |
| /linux/tools/testing/selftests/net/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()
|
| /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 in sk_diag_fill() [all...] |
| /linux/net/unix/ |
| H A D | diag.c | 123 struct unix_diag_msg *rep; in sk_diag_fill() local 125 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill() 130 rep = nlmsg_data(nlh); in sk_diag_fill() 131 rep->udiag_family = AF_UNIX; in sk_diag_fill() 132 rep->udiag_type = sk->sk_type; in sk_diag_fill() 133 rep->udiag_state = READ_ONCE(sk->sk_state); in sk_diag_fill() 134 rep->pad = 0; in sk_diag_fill() 135 rep->udiag_ino = sk_ino; in sk_diag_fill() 136 sock_diag_save_cookie(sk, rep->udiag_cookie); in sk_diag_fill() 250 struct sk_buff *rep; in unix_diag_get_exact() local [all …]
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_ep11misc.c | 461 struct ep11_cprb *rep, size_t rep_len) in prep_urb() argument 468 u->resp = (u8 __user *)rep; in prep_urb() 539 static int check_reply_cprb(const struct ep11_cprb *rep, const char *func) in check_reply_cprb() argument 542 if (rep->ret_code) { in check_reply_cprb() 544 rep->ret_code); in check_reply_cprb() 545 if (rep->ret_code == 0x000c0003) in check_reply_cprb() 578 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_query_info() local 596 rep = alloc_cprbmem(sizeof(struct ep11_info_rep_pl) + buflen, xflags); in ep11_query_info() 597 if (!rep) in ep11_query_info() 599 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 D | bridge.c | 76 *vport_num = rpriv->rep->vport; in mlx5_esw_bridge_rep_vport_num_vhca_id_get() 93 struct net_device *rep; in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() local 98 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() 100 if (rep) in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() 101 return rep; in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() 107 static bool mlx5_esw_bridge_is_local(struct net_device *dev, struct net_device *rep, in mlx5_esw_bridge_is_local() argument 113 if (!mlx5_esw_bridge_dev_same_esw(rep, esw)) in mlx5_esw_bridge_is_local() 116 priv = netdev_priv(rep); in mlx5_esw_bridge_is_local() 130 struct net_device *upper = info->upper_dev, *rep; in mlx5_esw_bridge_port_changeupper() local 139 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/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_rep.c | 330 u8 rep; in rvu_rep_install_mcam_rules() local 338 rep = true; in rvu_rep_install_mcam_rules() 341 start + entry, rep); in rvu_rep_install_mcam_rules() 347 start + entry, rep); in rvu_rep_install_mcam_rules() 351 rep = false; in rvu_rep_install_mcam_rules() 363 rep = true; in rvu_rep_install_mcam_rules() 367 rep); in rvu_rep_install_mcam_rules() 374 rep); in rvu_rep_install_mcam_rules() 378 rep = false; in rvu_rep_install_mcam_rules() 449 int pf, vf, numvfs, hwvf, rep = 0; in rvu_mbox_handler_get_rep_cnt() local [all …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_surface.c | 82 struct drm_vmw_gb_surface_create_rep *rep, 87 struct drm_vmw_gb_surface_ref_ext_rep *rep, 716 struct drm_vmw_surface_arg *rep = &arg->rep; in vmw_surface_define_ioctl() local 858 rep->sid = user_srf->prime.base.handle; in vmw_surface_define_ioctl() 1074 struct drm_vmw_surface_create_req *rep = &arg->rep; in vmw_surface_reference_ioctl() local 1091 rep->flags = (uint32_t)srf->metadata.flags; in vmw_surface_reference_ioctl() 1092 rep->format = srf->metadata.format; in vmw_surface_reference_ioctl() 1093 memcpy(rep->mip_levels, srf->metadata.mip_levels, in vmw_surface_reference_ioctl() 1096 rep->size_addr; in vmw_surface_reference_ioctl() 1414 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 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/fs/xfs/scrub/ |
| H A D | cow_repair.c | 499 struct xfs_bmbt_irec *rep) in xrep_cow_find_mapping() argument 506 memcpy(rep, got, sizeof(*rep)); in xrep_cow_find_mapping() 520 rep->br_blockcount -= delta; in xrep_cow_find_mapping() 521 rep->br_startoff += delta; in xrep_cow_find_mapping() 522 rep->br_startblock += delta; in xrep_cow_find_mapping() 529 rep->br_blockcount -= delta; in xrep_cow_find_mapping() 552 struct xfs_bmbt_irec got, rep; in xrep_cow_replace_range() local 563 &rep); in xrep_cow_replace_range() 566 old_fsbno = rep.br_startblock; in xrep_cow_replace_range() 573 error = xrep_cow_alloc_rt(sc, &rep); in xrep_cow_replace_range() [all …]
|