/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
H A D | ib_rep.c | 11 mlx5_ib_set_vport_rep(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_set_vport_rep() argument 17 vport_index = rep->vport_index; in mlx5_ib_set_vport_rep() 19 ibdev->port[vport_index].rep = rep; in mlx5_ib_set_vport_rep() 20 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_set_vport_rep() 23 mlx5_ib_get_rep_netdev(dev->priv.eswitch, rep->vport); in mlx5_ib_set_vport_rep() 30 mlx5_ib_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_vport_rep_load() argument 37 if (rep->vport == MLX5_VPORT_UPLINK) in mlx5_ib_vport_rep_load() 40 return mlx5_ib_set_vport_rep(dev, rep); in mlx5_ib_vport_rep_load() 54 vport_index = rep in mlx5_ib_vport_rep_load() 70 mlx5_ib_vport_rep_unload(struct mlx5_eswitch_rep *rep) mlx5_ib_vport_rep_unload() argument 86 mlx5_ib_vport_get_proto_dev(struct mlx5_eswitch_rep *rep) mlx5_ib_vport_get_proto_dev() argument 144 struct mlx5_eswitch_rep *rep; create_flow_rule_vport_sq() local [all...] |
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-report.c | 112 struct report *rep = cb; in report__config() local 121 rep->min_percent = pcnt; in report__config() 130 return perf_config_u64(&rep->queue_size, var, value); in report__config() 145 struct report *rep = arg; in hist_iter__report_callback() local 152 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__report_callback() 163 } else if (rep->mem_mode) { in hist_iter__report_callback() 188 struct report *rep = arg; in hist_iter__branch_callback() local 194 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback() 197 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__branch_callback() 220 struct report *rep in process_feature_event() local 246 struct report *rep = container_of(tool, struct report, tool); process_sample_event() local 320 struct report *rep = container_of(tool, struct report, tool); process_read_event() local 338 report__setup_sample_type(struct report *rep) report__setup_sample_type() argument 445 hists__fprintf_nr_sample_events(struct hists *hists, struct report *rep, const char *evname, FILE *fp) hists__fprintf_nr_sample_events() argument 510 perf_evlist__tui_block_hists_browse(struct evlist *evlist, struct report *rep) perf_evlist__tui_block_hists_browse() argument 528 perf_evlist__tty_browse_hists(struct evlist *evlist, struct report *rep, const char *help) perf_evlist__tty_browse_hists() argument 578 report__warn_kptr_restrict(const struct report *rep) report__warn_kptr_restrict() argument 607 report__gtk_browse_hists(struct report *rep, const char *help) report__gtk_browse_hists() argument 622 report__browse_hists(struct report *rep) report__browse_hists() argument 668 report__collapse_hists(struct report *rep) report__collapse_hists() argument 703 struct report *rep = arg; hists__resort_cb() local 716 report__output_resort(struct report *rep) report__output_resort() argument 730 stats_setup(struct report *rep) stats_setup() argument 736 stats_print(struct report *rep) stats_print() argument 744 tasks_setup(struct report *rep) tasks_setup() argument 823 tasks_print(struct report *rep, FILE *fp) tasks_print() argument 890 __cmd_report(struct report *rep) __cmd_report() argument 1089 struct report *rep = opt->value; parse_percent_limit() local [all...] |
/kernel/linux/linux-6.6/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_NU [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() 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, sr in ZSTD_compressBlock_fast() 93 ZSTD_compressBlock_fast_noDict_generic( ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], void const* src, size_t srcSize, U32 const mls, U32 const hasStep) ZSTD_compressBlock_fast_noDict_generic() argument 335 ZSTD_compressBlock_fast( ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], void const* src, size_t srcSize) ZSTD_compressBlock_fast() argument 372 ZSTD_compressBlock_fast_dictMatchState_generic( ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], void const* src, size_t srcSize, U32 const mls, U32 const hasStep) ZSTD_compressBlock_fast_dictMatchState_generic() argument 527 ZSTD_compressBlock_fast_dictMatchState( ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], void const* src, size_t srcSize) ZSTD_compressBlock_fast_dictMatchState() argument 548 ZSTD_compressBlock_fast_extDict_generic( ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], void const* src, size_t srcSize, U32 const mls, U32 const hasStep) ZSTD_compressBlock_fast_extDict_generic() argument 658 ZSTD_compressBlock_fast_extDict( ZSTD_matchState_t* ms, seqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], void const* src, size_t srcSize) ZSTD_compressBlock_fast_extDict() argument [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/ |
H A D | ib_rep.c | 12 struct mlx5_eswitch_rep *rep, in mlx5_ib_set_vport_rep() 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 in mlx5_ib_vport_rep_load() 11 mlx5_ib_set_vport_rep(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep, int vport_index) mlx5_ib_set_vport_rep() argument 129 mlx5_ib_rep_to_dev(struct mlx5_eswitch_rep *rep) mlx5_ib_rep_to_dev() argument 135 mlx5_ib_vport_rep_unload(struct mlx5_eswitch_rep *rep) mlx5_ib_vport_rep_unload() argument 216 struct mlx5_eswitch_rep *rep; create_flow_rule_vport_sq() local [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 in fill_switchdev_info() [all...] |
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-report.c | 124 struct report *rep = cb; in report__config() local 133 rep->min_percent = pcnt; in report__config() 142 return perf_config_u64(&rep->queue_size, var, value); in report__config() 154 rep->skip_empty = perf_config_bool(var, value); in report__config() 167 struct report *rep = arg; in hist_iter__report_callback() local 174 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__report_callback() 185 } else if (rep->mem_mode) { in hist_iter__report_callback() 210 struct report *rep = arg; in hist_iter__branch_callback() local 216 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback() 219 if (!ui__has_annotation() && !rep in hist_iter__branch_callback() 242 struct report *rep = container_of(session->tool, struct report, tool); process_feature_event() local 270 struct report *rep = container_of(tool, struct report, tool); process_sample_event() local 346 struct report *rep = container_of(tool, struct report, tool); process_read_event() local 364 report__setup_sample_type(struct report *rep) report__setup_sample_type() argument 471 hists__fprintf_nr_sample_events(struct hists *hists, struct report *rep, const char *evname, FILE *fp) hists__fprintf_nr_sample_events() argument 536 evlist__tui_block_hists_browse(struct evlist *evlist, struct report *rep) evlist__tui_block_hists_browse() argument 553 evlist__tty_browse_hists(struct evlist *evlist, struct report *rep, const char *help) evlist__tty_browse_hists() argument 604 report__warn_kptr_restrict(const struct report *rep) report__warn_kptr_restrict() argument 633 report__gtk_browse_hists(struct report *rep, const char *help) report__gtk_browse_hists() argument 648 report__browse_hists(struct report *rep) report__browse_hists() argument 692 report__collapse_hists(struct report *rep) report__collapse_hists() argument 727 struct report *rep = arg; hists__resort_cb() local 739 report__output_resort(struct report *rep) report__output_resort() argument 770 struct report *rep = container_of(tool, struct report, tool); count_lost_samples_event() local 785 stats_setup(struct report *rep) stats_setup() argument 794 stats_print(struct report *rep) stats_print() argument 803 tasks_setup(struct report *rep) tasks_setup() argument 888 tasks_print(struct report *rep, FILE *fp) tasks_print() argument 955 __cmd_report(struct report *rep) __cmd_report() argument 1158 struct report *rep = opt->value; parse_percent_limit() local [all...] |
/kernel/linux/linux-5.10/net/tipc/ |
H A D | netlink_compat.c | 60 struct sk_buff *rep; member 240 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit() 262 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit() 263 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit() 287 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit() 288 if (!msg->rep) in tipc_nl_compat_dumpit() 292 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit() 297 kfree_skb(msg->rep); in tipc_nl_compat_dumpit() 298 msg->rep = NULL; in tipc_nl_compat_dumpit() 305 kfree_skb(msg->rep); in tipc_nl_compat_dumpit() [all...] |
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 46 #include "en/rep/tc.h" 47 #include "en/rep/neigh.h" 179 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 184 err = mlx5_eswitch_get_vport_stats(esw, rep->vport, &vf_stats); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 187 rep->vport, err); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 381 struct mlx5_eswitch_rep *rep) in mlx5e_sqs2vport_stop() 389 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop() 398 struct mlx5_eswitch_rep *rep, in mlx5e_sqs2vport_start() 410 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_start() 380 mlx5e_sqs2vport_stop(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep) mlx5e_sqs2vport_stop() argument 397 mlx5e_sqs2vport_start(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep, u32 *sqns_array, int sqns_num) mlx5e_sqs2vport_start() argument 441 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_add_sqs_fwd_rules() local 470 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_remove_sqs_fwd_rules() local 479 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_open() local 502 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_close() local 518 struct mlx5_eswitch_rep *rep; mlx5e_is_uplink_rep() local 617 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_change_carrier() local 685 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_build_rep_params() local 725 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_build_rep_netdev() local 795 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_create_rep_ttc_table() local 824 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_create_rep_root_ft() local 860 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_destroy_rep_root_ft() local 871 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_create_rep_vport_rx_rule() local 1206 mlx5e_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) mlx5e_vport_rep_load() argument 1290 mlx5e_vport_rep_unload(struct mlx5_eswitch_rep *rep) mlx5e_vport_rep_unload() argument 1311 mlx5e_vport_rep_get_proto_dev(struct mlx5_eswitch_rep *rep) mlx5e_vport_rep_get_proto_dev() argument [all...] |
/kernel/linux/linux-6.6/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() 927 struct rpcrdma_rep *rep; rpcrdma_rep_create() local 962 rpcrdma_rep_free(struct rpcrdma_rep *rep) rpcrdma_rep_free() argument 968 rpcrdma_rep_destroy(struct rpcrdma_rep *rep) rpcrdma_rep_destroy() argument 996 rpcrdma_rep_put(struct rpcrdma_buffer *buf, struct rpcrdma_rep *rep) rpcrdma_rep_put() argument 1008 struct rpcrdma_rep *rep; rpcrdma_reps_unmap() local 1018 struct rpcrdma_rep *rep; rpcrdma_reps_destroy() local 1334 struct rpcrdma_rep *rep; rpcrdma_post_recvs() local 1381 struct rpcrdma_rep *rep; rpcrdma_post_recvs() local [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 in rpcrdma_decode_msg() 1292 rpcrdma_decode_nomsg(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep) rpcrdma_decode_nomsg() argument 1317 rpcrdma_decode_error(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep, struct rpc_rqst *rqst) rpcrdma_decode_error() argument 1352 rpcrdma_unpin_rqst(struct rpcrdma_rep *rep) rpcrdma_unpin_rqst() argument 1374 rpcrdma_complete_rqst(struct rpcrdma_rep *rep) rpcrdma_complete_rqst() argument 1427 rpcrdma_reply_handler(struct rpcrdma_rep *rep) rpcrdma_reply_handler() argument [all...] |
/kernel/linux/linux-5.10/net/ceph/crush/ |
H A D | mapper.c | 444 * @stable: stable mode starts rep=0 in the recursive call for all replicas 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() 620 dprintk("skip rep\n"); in crush_choose_firstn() 658 int rep; in crush_choose_indep() local 670 for (rep = outpos; rep < endpo in crush_choose_indep() [all...] |
/kernel/linux/linux-6.6/net/ceph/crush/ |
H A D | mapper.c | 444 * @stable: stable mode starts rep=0 in the recursive call for all replicas 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() 620 dprintk("skip rep\n"); in crush_choose_firstn() 658 int rep; in crush_choose_indep() local 670 for (rep = outpos; rep < endpo in crush_choose_indep() [all...] |
/kernel/linux/linux-5.10/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 in sk_diag_fill() [all...] |
/kernel/linux/linux-6.6/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 in sk_diag_fill() [all...] |
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
H A D | verbs.c | 83 static void rpcrdma_rep_destroy(struct rpcrdma_rep *rep); 184 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep, in rpcrdma_wc_receive() local 195 rpcrdma_set_xdrlen(&rep->rr_hdrbuf, wc->byte_len); in rpcrdma_wc_receive() 196 rep->rr_wc_flags = wc->wc_flags; in rpcrdma_wc_receive() 197 rep->rr_inv_rkey = wc->ex.invalidate_rkey; in rpcrdma_wc_receive() 199 ib_dma_sync_single_for_cpu(rdmab_device(rep->rr_rdmabuf), in rpcrdma_wc_receive() 200 rdmab_addr(rep->rr_rdmabuf), in rpcrdma_wc_receive() 203 rpcrdma_reply_handler(rep); in rpcrdma_wc_receive() 208 rpcrdma_rep_destroy(rep); in rpcrdma_wc_receive() 964 struct rpcrdma_rep *rep; in rpcrdma_rep_create() local 996 rpcrdma_rep_destroy(struct rpcrdma_rep *rep) rpcrdma_rep_destroy() argument 1014 rpcrdma_rep_put(struct rpcrdma_buffer *buf, struct rpcrdma_rep *rep) rpcrdma_rep_put() argument 1023 struct rpcrdma_rep *rep; rpcrdma_reps_unmap() local 1033 struct rpcrdma_rep *rep; rpcrdma_reps_destroy() local 1253 rpcrdma_recv_buffer_put(struct rpcrdma_rep *rep) rpcrdma_recv_buffer_put() argument 1399 struct rpcrdma_rep *rep; rpcrdma_post_recvs() local 1443 struct rpcrdma_rep *rep; rpcrdma_post_recvs() local [all...] |
/kernel/linux/linux-6.6/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() 445 ft260_dbg("rep in ft260_i2c_write() 471 struct ft260_i2c_write_request_report *rep = ft260_smbus_write() local 502 struct ft260_i2c_read_request_report rep; ft260_i2c_read() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 47 #include "en/rep/tc.h" 48 #include "en/rep/neigh.h" 49 #include "en/rep/bridge.h" 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() 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 377 mlx5e_sqs2vport_stop(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep) mlx5e_sqs2vport_stop() argument 441 mlx5e_sqs2vport_start(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep, u32 *sqns_array, int sqns_num) mlx5e_sqs2vport_start() argument 514 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_add_sqs_fwd_rules() local 567 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_remove_sqs_fwd_rules() local 577 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_add_meta_tunnel_rule() local 619 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_open() local 642 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_close() local 658 struct mlx5_eswitch_rep *rep; mlx5e_is_uplink_rep() local 720 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_change_carrier() local 779 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_build_rep_params() local 901 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_create_rep_ttc_table() local 929 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_create_rep_root_ft() local 965 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_destroy_rep_root_ft() local 976 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_create_rep_vport_rx_rule() local 1228 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_event_mpesw() local 1368 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_vnic_reporter_diagnose() local 1444 mlx5e_vport_uplink_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) mlx5e_vport_uplink_rep_load() argument 1466 mlx5e_vport_vf_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) mlx5e_vport_vf_rep_load() argument 1533 mlx5e_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) mlx5e_vport_rep_load() argument 1559 mlx5e_vport_rep_unload(struct mlx5_eswitch_rep *rep) mlx5e_vport_rep_unload() argument 1580 mlx5e_vport_rep_get_proto_dev(struct mlx5_eswitch_rep *rep) mlx5e_vport_rep_get_proto_dev() argument 1589 mlx5e_vport_rep_event_unpair(struct mlx5_eswitch_rep *rep, struct mlx5_eswitch *peer_esw) mlx5e_vport_rep_event_unpair() argument 1610 mlx5e_vport_rep_event_pair(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep, struct mlx5_eswitch *peer_esw) mlx5e_vport_rep_event_pair() argument 1662 mlx5e_vport_rep_event(struct mlx5_eswitch *esw, struct mlx5_eswitch_rep *rep, enum mlx5_switchdev_event event, void *data) mlx5e_vport_rep_event() argument [all...] |
/kernel/linux/linux-6.6/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 in readlog() [all...] |
/kernel/linux/linux-5.10/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...] |
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-5.10/lib/zstd/ |
H A D | zstd_opt.h | 426 U32 offset, rep[ZSTD_REP_NUM]; in ZSTD_compressBlock_opt_generic() local 435 rep[i] = ctx->rep[i]; in ZSTD_compressBlock_opt_generic() 450 const S32 repCur = (i == ZSTD_REP_MOVE_OPT) ? (rep[0] - 1) : rep[i]; in ZSTD_compressBlock_opt_generic() 509 opt[0].rep[i] = rep[i]; in ZSTD_compressBlock_opt_generic() 540 opt[cur].rep[2] = opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic() 541 opt[cur].rep[ in ZSTD_compressBlock_opt_generic() 725 U32 offset, rep[ZSTD_REP_NUM]; ZSTD_compressBlock_opt_extDict_generic() local [all...] |
/kernel/linux/linux-5.10/net/unix/ |
H A D | diag.c | 128 struct unix_diag_msg *rep; in sk_diag_fill() local 130 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill() 135 rep = nlmsg_data(nlh); in sk_diag_fill() 136 rep->udiag_family = AF_UNIX; in sk_diag_fill() 137 rep->udiag_type = sk->sk_type; in sk_diag_fill() 138 rep->udiag_state = sk->sk_state; in sk_diag_fill() 139 rep->pad = 0; in sk_diag_fill() 140 rep->udiag_ino = sk_ino; in sk_diag_fill() 141 sock_diag_save_cookie(sk, rep->udiag_cookie); in sk_diag_fill() 266 struct sk_buff *rep; in unix_diag_get_exact() local [all...] |