/Linux-v4.19/tools/perf/util/ |
D | bpf-prologue.h | 19 struct bpf_insn *new_prog, size_t *new_cnt, 28 size_t *new_cnt, in bpf__gen_prologue() argument 31 if (!new_cnt) in bpf__gen_prologue() 33 *new_cnt = 0; in bpf__gen_prologue()
|
D | bpf-prologue.c | 359 struct bpf_insn *new_prog, size_t *new_cnt, in bpf__gen_prologue() argument 369 if (!new_prog || !new_cnt) in bpf__gen_prologue() 386 *new_cnt = pos_get_cnt(&pos); in bpf__gen_prologue() 498 *new_cnt = pos_get_cnt(&pos); in bpf__gen_prologue()
|
/Linux-v4.19/tools/perf/arch/x86/util/ |
D | intel-bts.c | 282 int cnt = btsr->snapshot_ref_cnt, new_cnt = cnt * 2; in intel_bts_alloc_snapshot_refs() local 285 if (!new_cnt) in intel_bts_alloc_snapshot_refs() 286 new_cnt = 16; in intel_bts_alloc_snapshot_refs() 288 while (new_cnt <= idx) in intel_bts_alloc_snapshot_refs() 289 new_cnt *= 2; in intel_bts_alloc_snapshot_refs() 291 refs = calloc(new_cnt, sz); in intel_bts_alloc_snapshot_refs() 298 btsr->snapshot_ref_cnt = new_cnt; in intel_bts_alloc_snapshot_refs()
|
D | intel-pt.c | 809 int cnt = ptr->snapshot_ref_cnt, new_cnt = cnt * 2; in intel_pt_alloc_snapshot_refs() local 812 if (!new_cnt) in intel_pt_alloc_snapshot_refs() 813 new_cnt = 16; in intel_pt_alloc_snapshot_refs() 815 while (new_cnt <= idx) in intel_pt_alloc_snapshot_refs() 816 new_cnt *= 2; in intel_pt_alloc_snapshot_refs() 818 refs = calloc(new_cnt, sz); in intel_pt_alloc_snapshot_refs() 825 ptr->snapshot_ref_cnt = new_cnt; in intel_pt_alloc_snapshot_refs()
|
/Linux-v4.19/drivers/rtc/ |
D | rtc-sysfs.c | 323 size_t old_cnt = 0, add_cnt = 0, new_cnt; in rtc_add_groups() local 339 new_cnt = old_cnt + add_cnt + 1; in rtc_add_groups() 340 groups = devm_kcalloc(&rtc->dev, new_cnt, sizeof(*groups), GFP_KERNEL); in rtc_add_groups()
|
/Linux-v4.19/net/vmw_vsock/ |
D | virtio_transport.c | 248 int new_cnt; in virtio_transport_cancel_pkt() local 250 new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); in virtio_transport_cancel_pkt() 251 if (new_cnt + cnt >= virtqueue_get_vring_size(rx_vq) && in virtio_transport_cancel_pkt() 252 new_cnt < virtqueue_get_vring_size(rx_vq)) in virtio_transport_cancel_pkt()
|
/Linux-v4.19/drivers/vhost/ |
D | vsock.c | 261 int new_cnt; in vhost_transport_cancel_pkt() local 263 new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); in vhost_transport_cancel_pkt() 264 if (new_cnt + cnt >= tx_vq->num && new_cnt < tx_vq->num) in vhost_transport_cancel_pkt()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder_phys_cmd.c | 95 int new_cnt; in dpu_encoder_phys_cmd_pp_tx_done_irq() local 108 new_cnt = atomic_add_unless(&phys_enc->pending_kickoff_cnt, -1, 0); in dpu_encoder_phys_cmd_pp_tx_done_irq() 113 new_cnt, event); in dpu_encoder_phys_cmd_pp_tx_done_irq()
|
D | dpu_encoder_phys_vid.c | 308 int new_cnt = -1, old_cnt = -1; in dpu_encoder_phys_vid_vblank_irq() local 335 new_cnt = atomic_add_unless(&phys_enc->pending_kickoff_cnt, in dpu_encoder_phys_vid_vblank_irq()
|
/Linux-v4.19/tools/lib/bpf/ |
D | libbpf.c | 1177 size_t new_cnt; in bpf_program__reloc_text() local 1194 new_cnt = prog->insns_cnt + text->insns_cnt; in bpf_program__reloc_text() 1195 new_insn = reallocarray(prog->insns, new_cnt, sizeof(*insn)); in bpf_program__reloc_text() 1204 prog->insns_cnt = new_cnt; in bpf_program__reloc_text()
|
/Linux-v4.19/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1084 int ocrdma_resize_cq(struct ib_cq *ibcq, int new_cnt, in ocrdma_resize_cq() argument 1090 if (new_cnt < 1 || new_cnt > cq->max_hw_cqe) { in ocrdma_resize_cq() 1094 ibcq->cqe = new_cnt; in ocrdma_resize_cq()
|
/Linux-v4.19/drivers/infiniband/hw/qedr/ |
D | verbs.c | 1002 int qedr_resize_cq(struct ib_cq *ibcq, int new_cnt, struct ib_udata *udata) in qedr_resize_cq() argument
|