/Linux-v5.4/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-v5.4/tools/perf/arch/x86/util/ |
D | intel-bts.c | 277 int cnt = btsr->snapshot_ref_cnt, new_cnt = cnt * 2; in intel_bts_alloc_snapshot_refs() local 280 if (!new_cnt) in intel_bts_alloc_snapshot_refs() 281 new_cnt = 16; in intel_bts_alloc_snapshot_refs() 283 while (new_cnt <= idx) in intel_bts_alloc_snapshot_refs() 284 new_cnt *= 2; in intel_bts_alloc_snapshot_refs() 286 refs = calloc(new_cnt, sz); in intel_bts_alloc_snapshot_refs() 293 btsr->snapshot_ref_cnt = new_cnt; in intel_bts_alloc_snapshot_refs()
|
D | intel-pt.c | 838 int cnt = ptr->snapshot_ref_cnt, new_cnt = cnt * 2; in intel_pt_alloc_snapshot_refs() local 841 if (!new_cnt) in intel_pt_alloc_snapshot_refs() 842 new_cnt = 16; in intel_pt_alloc_snapshot_refs() 844 while (new_cnt <= idx) in intel_pt_alloc_snapshot_refs() 845 new_cnt *= 2; in intel_pt_alloc_snapshot_refs() 847 refs = calloc(new_cnt, sz); in intel_pt_alloc_snapshot_refs() 854 ptr->snapshot_ref_cnt = new_cnt; in intel_pt_alloc_snapshot_refs()
|
/Linux-v5.4/drivers/rtc/ |
D | sysfs.c | 314 size_t old_cnt = 0, add_cnt = 0, new_cnt; in rtc_add_groups() local 330 new_cnt = old_cnt + add_cnt + 1; in rtc_add_groups() 331 groups = devm_kcalloc(&rtc->dev, new_cnt, sizeof(*groups), GFP_KERNEL); in rtc_add_groups()
|
/Linux-v5.4/net/vmw_vsock/ |
D | virtio_transport.c | 274 int new_cnt; in virtio_transport_cancel_pkt() local 276 new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); in virtio_transport_cancel_pkt() 277 if (new_cnt + cnt >= virtqueue_get_vring_size(rx_vq) && in virtio_transport_cancel_pkt() 278 new_cnt < virtqueue_get_vring_size(rx_vq)) in virtio_transport_cancel_pkt()
|
/Linux-v5.4/drivers/vhost/ |
D | vsock.c | 301 int new_cnt; in vhost_transport_cancel_pkt() local 303 new_cnt = atomic_sub_return(cnt, &vsock->queued_replies); in vhost_transport_cancel_pkt() 304 if (new_cnt + cnt >= tx_vq->num && new_cnt < tx_vq->num) in vhost_transport_cancel_pkt()
|
/Linux-v5.4/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder_phys_cmd.c | 79 int new_cnt; in dpu_encoder_phys_cmd_pp_tx_done_irq() local 92 new_cnt = atomic_add_unless(&phys_enc->pending_kickoff_cnt, -1, 0); in dpu_encoder_phys_cmd_pp_tx_done_irq() 97 new_cnt, event); in dpu_encoder_phys_cmd_pp_tx_done_irq()
|
D | dpu_encoder_phys_vid.c | 294 int new_cnt = -1, old_cnt = -1; in dpu_encoder_phys_vid_vblank_irq() local 321 new_cnt = atomic_add_unless(&phys_enc->pending_kickoff_cnt, in dpu_encoder_phys_vid_vblank_irq()
|
/Linux-v5.4/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_verbs.c | 1027 int ocrdma_resize_cq(struct ib_cq *ibcq, int new_cnt, in ocrdma_resize_cq() argument 1033 if (new_cnt < 1 || new_cnt > cq->max_hw_cqe) { in ocrdma_resize_cq() 1037 ibcq->cqe = new_cnt; in ocrdma_resize_cq()
|
/Linux-v5.4/tools/lib/bpf/ |
D | libbpf.c | 3193 size_t new_cnt; in bpf_program__reloc_text() local 3211 new_cnt = prog->insns_cnt + text->insns_cnt; in bpf_program__reloc_text() 3212 new_insn = reallocarray(prog->insns, new_cnt, sizeof(*insn)); in bpf_program__reloc_text() 3230 prog->insns_cnt = new_cnt; in bpf_program__reloc_text()
|
/Linux-v5.4/drivers/infiniband/hw/qedr/ |
D | verbs.c | 939 int qedr_resize_cq(struct ib_cq *ibcq, int new_cnt, struct ib_udata *udata) in qedr_resize_cq() argument
|