Home
last modified time | relevance | path

Searched refs:rep (Results 1 – 25 of 168) sorted by relevance

1234567

/Linux-v4.19/tools/perf/
Dbuiltin-report.c92 struct report *rep = cb; in report__config() local
101 rep->min_percent = pcnt; in report__config()
110 return perf_config_u64(&rep->queue_size, var, value); in report__config()
125 struct report *rep = arg; in hist_iter__report_callback() local
136 rep->nonany_branch_mode); in hist_iter__report_callback()
146 } else if (rep->mem_mode) { in hist_iter__report_callback()
171 struct report *rep = arg; in hist_iter__branch_callback() local
181 rep->nonany_branch_mode); in hist_iter__branch_callback()
190 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback()
208 struct report *rep = container_of(tool, struct report, tool); in process_feature_event() local
[all …]
/Linux-v4.19/block/
Dblk-zoned.c72 struct blk_zone *rep, in blkdev_report_zone() argument
77 if (rep->start < offset) in blkdev_report_zone()
80 rep->start -= offset; in blkdev_report_zone()
81 if (rep->start + rep->len > bdev->bd_part->nr_sects) in blkdev_report_zone()
84 if (rep->type == BLK_ZONE_TYPE_CONVENTIONAL) in blkdev_report_zone()
85 rep->wp = rep->start + rep->len; in blkdev_report_zone()
87 rep->wp -= offset; in blkdev_report_zone()
88 memcpy(zone, rep, sizeof(struct blk_zone)); in blkdev_report_zone()
308 struct blk_zone_report rep; in blkdev_report_zones_ioctl() local
325 if (copy_from_user(&rep, argp, sizeof(struct blk_zone_report))) in blkdev_report_zones_ioctl()
[all …]
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dib_rep.c48 mlx5_ib_nic_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_nic_rep_load() argument
54 mlx5_ib_nic_rep_unload(struct mlx5_eswitch_rep *rep) in mlx5_ib_nic_rep_unload() argument
56 rep->rep_if[REP_IB].priv = NULL; in mlx5_ib_nic_rep_unload()
60 mlx5_ib_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_vport_rep_load() argument
68 ibdev->rep = rep; in mlx5_ib_vport_rep_load()
75 rep->rep_if[REP_IB].priv = ibdev; in mlx5_ib_vport_rep_load()
81 mlx5_ib_vport_rep_unload(struct mlx5_eswitch_rep *rep) in mlx5_ib_vport_rep_unload() argument
85 if (!rep->rep_if[REP_IB].priv) in mlx5_ib_vport_rep_unload()
88 dev = mlx5_ib_rep_to_dev(rep); in mlx5_ib_vport_rep_unload()
90 rep->rep_if[REP_IB].priv = NULL; in mlx5_ib_vport_rep_unload()
[all …]
Dib_virt.c56 struct mlx5_hca_vport_context *rep; in mlx5_ib_get_vf_config() local
59 rep = kzalloc(sizeof(*rep), GFP_KERNEL); in mlx5_ib_get_vf_config()
60 if (!rep) in mlx5_ib_get_vf_config()
63 err = mlx5_query_hca_vport_context(mdev, 1, 1, vf + 1, rep); in mlx5_ib_get_vf_config()
70 info->linkstate = mlx_to_net_policy(rep->policy); in mlx5_ib_get_vf_config()
75 kfree(rep); in mlx5_ib_get_vf_config()
/Linux-v4.19/net/tipc/
Dnetlink_compat.c59 struct sk_buff *rep; member
209 if (tipc_skb_tailroom(msg->rep) <= 1) { in __tipc_nl_compat_dumpit()
230 if ((TIPC_SKB_MAX - msg->rep->len) <= 1) { in __tipc_nl_compat_dumpit()
231 char *tail = skb_tail_pointer(msg->rep); in __tipc_nl_compat_dumpit()
253 msg->rep = tipc_tlv_alloc(msg->rep_size); in tipc_nl_compat_dumpit()
254 if (!msg->rep) in tipc_nl_compat_dumpit()
258 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()
265 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
266 msg->rep = NULL; in tipc_nl_compat_dumpit()
272 kfree_skb(msg->rep); in tipc_nl_compat_dumpit()
[all …]
/Linux-v4.19/net/ceph/crush/
Dmapper.c467 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 …]
/Linux-v4.19/net/sunrpc/xprtrdma/
Dverbs.c162 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep, in rpcrdma_wc_receive() local
171 rpcrdma_set_xdrlen(&rep->rr_hdrbuf, wc->byte_len); in rpcrdma_wc_receive()
172 rep->rr_wc_flags = wc->wc_flags; in rpcrdma_wc_receive()
173 rep->rr_inv_rkey = wc->ex.invalidate_rkey; in rpcrdma_wc_receive()
175 ib_dma_sync_single_for_cpu(rdmab_device(rep->rr_rdmabuf), in rpcrdma_wc_receive()
176 rdmab_addr(rep->rr_rdmabuf), in rpcrdma_wc_receive()
180 rpcrdma_reply_handler(rep); in rpcrdma_wc_receive()
188 rpcrdma_set_xdrlen(&rep->rr_hdrbuf, 0); in rpcrdma_wc_receive()
435 struct rpcrdma_rep *rep; in rpcrdma_ia_remove() local
459 list_for_each_entry(rep, &buf->rb_recv_bufs, rr_list) in rpcrdma_ia_remove()
[all …]
Drpc_rdma.c980 rpcrdma_is_bcall(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep) in rpcrdma_is_bcall() argument
983 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_is_bcall()
986 if (rep->rr_proc != rdma_msg) in rpcrdma_is_bcall()
1001 if (*p++ != rep->rr_xid) in rpcrdma_is_bcall()
1013 rpcrdma_bc_receive_call(r_xprt, rep); in rpcrdma_is_bcall()
1123 rpcrdma_decode_msg(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep, in rpcrdma_decode_msg() argument
1126 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_decode_msg()
1153 rpcrdma_decode_nomsg(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep) in rpcrdma_decode_nomsg() argument
1155 struct xdr_stream *xdr = &rep->rr_stream; in rpcrdma_decode_nomsg()
1178 rpcrdma_decode_error(struct rpcrdma_xprt *r_xprt, struct rpcrdma_rep *rep, in rpcrdma_decode_error() argument
[all …]
/Linux-v4.19/net/vmw_vsock/
Ddiag.c26 struct vsock_diag_msg *rep; in sk_diag_fill() local
29 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
34 rep = nlmsg_data(nlh); in sk_diag_fill()
35 rep->vdiag_family = AF_VSOCK; in sk_diag_fill()
42 rep->vdiag_type = sk->sk_type; in sk_diag_fill()
43 rep->vdiag_state = sk->sk_state; in sk_diag_fill()
44 rep->vdiag_shutdown = sk->sk_shutdown; in sk_diag_fill()
45 rep->vdiag_src_cid = vsk->local_addr.svm_cid; in sk_diag_fill()
46 rep->vdiag_src_port = vsk->local_addr.svm_port; in sk_diag_fill()
47 rep->vdiag_dst_cid = vsk->remote_addr.svm_cid; in sk_diag_fill()
[all …]
/Linux-v4.19/lib/zstd/
Dzstd_opt.h426 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[1] = opt[cur - mlen].rep[0]; in ZSTD_compressBlock_opt_generic()
542 opt[cur].rep[0] = opt[cur].off - ZSTD_REP_MOVE_OPT; in ZSTD_compressBlock_opt_generic()
544 opt[cur].rep[2] = (opt[cur].off > 1) ? opt[cur - mlen].rep[1] : opt[cur - mlen].rep[2]; in ZSTD_compressBlock_opt_generic()
545 opt[cur].rep[1] = (opt[cur].off > 0) ? opt[cur - mlen].rep[0] : opt[cur - mlen].rep[1]; in ZSTD_compressBlock_opt_generic()
546 opt[cur].rep[0] = in ZSTD_compressBlock_opt_generic()
[all …]
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c107 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_update_hw_counters() local
112 err = mlx5_eswitch_get_vport_stats(esw, rep->vport, &vf_stats); in mlx5e_rep_update_hw_counters()
114 pr_warn("vport %d error %d reading stats\n", rep->vport, err); in mlx5e_rep_update_hw_counters()
197 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_attr_get() local
206 ether_addr_copy(attr->u.ppid.id, rep->hw_id); in mlx5e_attr_get()
216 struct mlx5_eswitch_rep *rep) in mlx5e_sqs2vport_stop() argument
224 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_stop()
233 struct mlx5_eswitch_rep *rep, in mlx5e_sqs2vport_start() argument
245 rpriv = mlx5e_rep_to_rep_priv(rep); in mlx5e_sqs2vport_start()
255 rep->vport, in mlx5e_sqs2vport_start()
[all …]
Dvport.c716 struct mlx5_hca_vport_context *rep) in mlx5_query_hca_vport_context() argument
751 rep->field_select = MLX5_GET_PR(hca_vport_context, ctx, field_select); in mlx5_query_hca_vport_context()
752 rep->sm_virt_aware = MLX5_GET_PR(hca_vport_context, ctx, sm_virt_aware); in mlx5_query_hca_vport_context()
753 rep->has_smi = MLX5_GET_PR(hca_vport_context, ctx, has_smi); in mlx5_query_hca_vport_context()
754 rep->has_raw = MLX5_GET_PR(hca_vport_context, ctx, has_raw); in mlx5_query_hca_vport_context()
755 rep->policy = MLX5_GET_PR(hca_vport_context, ctx, vport_state_policy); in mlx5_query_hca_vport_context()
756 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
758 rep->vport_state = MLX5_GET_PR(hca_vport_context, ctx, vport_state); in mlx5_query_hca_vport_context()
759 rep->port_physical_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context()
761 rep->port_guid = MLX5_GET64_PR(hca_vport_context, ctx, port_guid); in mlx5_query_hca_vport_context()
[all …]
Deswitch_offloads.c213 struct mlx5_eswitch_rep *rep; in esw_set_global_vlan_pop() local
218 rep = &esw->offloads.vport_reps[vf_vport]; in esw_set_global_vlan_pop()
219 if (!rep->rep_if[REP_ETH].valid) in esw_set_global_vlan_pop()
222 err = __mlx5_eswitch_set_vport_vlan(esw, rep->vport, 0, 0, val); in esw_set_global_vlan_pop()
853 struct mlx5_eswitch_rep *rep; in esw_offloads_init_reps() local
867 rep = &offloads->vport_reps[vport]; in esw_offloads_init_reps()
869 rep->vport = vport; in esw_offloads_init_reps()
870 ether_addr_copy(rep->hw_id, hw_id); in esw_offloads_init_reps()
881 struct mlx5_eswitch_rep *rep; in esw_offloads_unload_reps_type() local
885 rep = &esw->offloads.vport_reps[vport]; in esw_offloads_unload_reps_type()
[all …]
/Linux-v4.19/net/unix/
Ddiag.c116 struct unix_diag_msg *rep; in sk_diag_fill() local
118 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
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 = 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()
249 struct sk_buff *rep; in unix_diag_get_exact() local
[all …]
/Linux-v4.19/net/netlink/
Ddiag.c48 struct netlink_diag_msg *rep; in sk_diag_fill() local
51 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
56 rep = nlmsg_data(nlh); in sk_diag_fill()
57 rep->ndiag_family = AF_NETLINK; in sk_diag_fill()
58 rep->ndiag_type = sk->sk_type; in sk_diag_fill()
59 rep->ndiag_protocol = sk->sk_protocol; in sk_diag_fill()
60 rep->ndiag_state = sk->sk_state; in sk_diag_fill()
62 rep->ndiag_ino = sk_ino; in sk_diag_fill()
63 rep->ndiag_portid = nlk->portid; in sk_diag_fill()
64 rep->ndiag_dst_portid = nlk->dst_portid; in sk_diag_fill()
[all …]
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c91 struct drm_vmw_gb_surface_create_rep *rep,
96 struct drm_vmw_gb_surface_ref_ext_rep *rep,
717 struct drm_vmw_surface_arg *rep = &arg->rep; in vmw_surface_define_ioctl() local
889 rep->sid = user_srf->prime.base.hash.key; in vmw_surface_define_ioctl()
998 struct drm_vmw_surface_create_req *rep = &arg->rep; in vmw_surface_reference_ioctl() local
1015 rep->flags = (uint32_t)srf->flags; in vmw_surface_reference_ioctl()
1016 rep->format = srf->format; in vmw_surface_reference_ioctl()
1017 memcpy(rep->mip_levels, srf->mip_levels, sizeof(srf->mip_levels)); in vmw_surface_reference_ioctl()
1019 rep->size_addr; in vmw_surface_reference_ioctl()
1316 struct drm_vmw_gb_surface_create_rep *rep = &arg->rep; in vmw_gb_surface_define_ioctl() local
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dconn.c39 struct nvif_notify_conn_rep_v0 rep; in nvkm_conn_hpd() local
45 rep.mask = NVIF_NOTIFY_CONN_V0_UNPLUG; in nvkm_conn_hpd()
47 rep.mask = NVIF_NOTIFY_CONN_V0_PLUG; in nvkm_conn_hpd()
48 rep.version = 0; in nvkm_conn_hpd()
50 nvkm_event_send(&disp->hpd, rep.mask, index, &rep, sizeof(rep)); in nvkm_conn_hpd()
/Linux-v4.19/drivers/hid/intel-ish-hid/
Dishtp-hid.c76 static void ishtp_hid_request(struct hid_device *hid, struct hid_report *rep, in ishtp_hid_request() argument
81 unsigned int len = ((rep->size - 1) >> 3) + 1 + (rep->id > 0); in ishtp_hid_request()
90 hid_ishtp_get_report(hid, rep->id, rep->type); in ishtp_hid_request()
101 hid_output_report(rep, buf + header_size); in ishtp_hid_request()
102 hid_ishtp_set_feature(hid, buf, len, rep->id); in ishtp_hid_request()
/Linux-v4.19/arch/x86/boot/
Dcopy.S27 rep; movsl
30 rep; movsb
43 rep; stosl
46 rep; stosb
/Linux-v4.19/include/trace/events/
Drpcrdma.h22 const struct rpcrdma_rep *rep
25 TP_ARGS(rep),
28 __field(const void *, rep)
36 __entry->rep = rep;
37 __entry->r_xprt = rep->rr_rxprt;
38 __entry->xid = be32_to_cpu(rep->rr_xid);
39 __entry->version = be32_to_cpu(rep->rr_vers);
40 __entry->proc = be32_to_cpu(rep->rr_proc);
44 __entry->r_xprt, __entry->xid, __entry->rep,
52 const struct rpcrdma_rep *rep \
[all …]
/Linux-v4.19/lib/raid6/
Dunroll.awk12 if (/\$\$/) { rep = n } else { rep = 1 }
13 for (i = 0; i < rep; ++i) {
/Linux-v4.19/include/uapi/drm/
Dvmwgfx_drm.h243 struct drm_vmw_surface_arg rep; member
271 struct drm_vmw_surface_create_req rep; member
430 struct drm_vmw_bo_rep rep; member
962 struct drm_vmw_gb_surface_create_rep rep; member
1004 struct drm_vmw_gb_surface_ref_rep rep; member
1089 struct drm_vmw_context_arg rep; member
1167 struct drm_vmw_gb_surface_create_rep rep; member
1210 struct drm_vmw_gb_surface_ref_ext_rep rep; member
/Linux-v4.19/drivers/net/wireless/ath/ath5k/
Deeprom.c1601 struct ath5k_edge_power *rep; in ath5k_eeprom_read_ctl_info() local
1625 rep = ee->ee_ctl_pwr; in ath5k_eeprom_read_ctl_info()
1641 rep += AR5K_EEPROM_N_EDGES; in ath5k_eeprom_read_ctl_info()
1647 rep[j].freq = (val >> 8) & fmask; in ath5k_eeprom_read_ctl_info()
1648 rep[j + 1].freq = val & fmask; in ath5k_eeprom_read_ctl_info()
1652 rep[j].edge = (val >> 8) & pmask; in ath5k_eeprom_read_ctl_info()
1653 rep[j].flag = (val >> 14) & 1; in ath5k_eeprom_read_ctl_info()
1654 rep[j + 1].edge = val & pmask; in ath5k_eeprom_read_ctl_info()
1655 rep[j + 1].flag = (val >> 6) & 1; in ath5k_eeprom_read_ctl_info()
1659 rep[0].freq = (val >> 9) & fmask; in ath5k_eeprom_read_ctl_info()
[all …]
/Linux-v4.19/include/linux/mlx5/
Deswitch.h28 struct mlx5_eswitch_rep *rep);
29 void (*unload)(struct mlx5_eswitch_rep *rep);
30 void *(*get_proto_dev)(struct mlx5_eswitch_rep *rep);
/Linux-v4.19/drivers/media/i2c/
Dir-kbd-i2c.c510 int rep, i, l, p = 0, s, c = 0; in zilog_ir_format() local
574 for (rep = c / 3; rep >= 1; rep--) { in zilog_ir_format()
575 if (!memcmp(&codes[c - rep * 3], &codes[c - rep * 2], rep) && in zilog_ir_format()
576 !cmp_no_trail(&codes[c - rep], &codes[c - rep * 2], rep)) { in zilog_ir_format()
584 int leading = c - rep * 3; in zilog_ir_format()
586 if (leading >= ARRAY_SIZE(code_block->codes) - 3 - rep) { in zilog_ir_format()
591 dev_dbg(&rcdev->dev, "found trailing %d repeat\n", rep); in zilog_ir_format()
595 rep); in zilog_ir_format()
596 c = leading + 1 + rep; in zilog_ir_format()

1234567