Home
last modified time | relevance | path

Searched refs:buffers_allocated (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.c731 uint32_t buffers_allocated; in dce_mi_allocate_dmif() local
735 DMIF_BUFFERS_ALLOCATED, &buffers_allocated); in dce_mi_allocate_dmif()
737 if (buffers_allocated == 2) in dce_mi_allocate_dmif()
768 uint32_t buffers_allocated; in dce_mi_free_dmif() local
772 DMIF_BUFFERS_ALLOCATED, &buffers_allocated); in dce_mi_free_dmif()
774 if (buffers_allocated == 0) in dce_mi_free_dmif()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.c733 uint32_t buffers_allocated; in dce_mi_allocate_dmif() local
737 DMIF_BUFFERS_ALLOCATED, &buffers_allocated); in dce_mi_allocate_dmif()
739 if (buffers_allocated == 2) in dce_mi_allocate_dmif()
770 uint32_t buffers_allocated; in dce_mi_free_dmif() local
774 DMIF_BUFFERS_ALLOCATED, &buffers_allocated); in dce_mi_free_dmif()
776 if (buffers_allocated == 0) in dce_mi_free_dmif()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dpio.c680 ret += *per_cpu_ptr(sc->buffers_allocated, cpu); in get_buffers_allocated()
689 (*per_cpu_ptr(sc->buffers_allocated, cpu)) = 0; in reset_buffers_allocated()
718 sc->buffers_allocated = alloc_percpu(u32); in sc_alloc()
719 if (!sc->buffers_allocated) { in sc_alloc()
722 "Cannot allocate buffers_allocated per cpu counters\n" in sc_alloc()
731 free_percpu(sc->buffers_allocated); in sc_alloc()
914 free_percpu(sc->buffers_allocated); in sc_free()
1493 this_cpu_inc(*sc->buffers_allocated); in sc_buffer_alloc()
H A Dpio_copy.c164 this_cpu_dec(*pbuf->sc->buffers_allocated); in pio_copy()
754 this_cpu_dec(*pbuf->sc->buffers_allocated); in seg_pio_copy_end()
H A Dpio.h103 u32 __percpu *buffers_allocated;/* count of buffers allocated */ member
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/
H A Dpio.c638 ret += *per_cpu_ptr(sc->buffers_allocated, cpu); in get_buffers_allocated()
647 (*per_cpu_ptr(sc->buffers_allocated, cpu)) = 0; in reset_buffers_allocated()
676 sc->buffers_allocated = alloc_percpu(u32); in sc_alloc()
677 if (!sc->buffers_allocated) { in sc_alloc()
680 "Cannot allocate buffers_allocated per cpu counters\n" in sc_alloc()
689 free_percpu(sc->buffers_allocated); in sc_alloc()
872 free_percpu(sc->buffers_allocated); in sc_free()
1451 this_cpu_inc(*sc->buffers_allocated); in sc_buffer_alloc()
H A Dpio_copy.c123 this_cpu_dec(*pbuf->sc->buffers_allocated); in pio_copy()
713 this_cpu_dec(*pbuf->sc->buffers_allocated); in seg_pio_copy_end()
H A Dpio.h61 u32 __percpu *buffers_allocated;/* count of buffers allocated */ member
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace.c3195 static int buffers_allocated; variable
3199 if (buffers_allocated) in trace_printk_init_buffers()
3225 buffers_allocated = 1; in trace_printk_init_buffers()
3241 if (!buffers_allocated) in trace_printk_start_comm()
3248 if (!buffers_allocated) in trace_printk_start_stop_comm()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace.c3363 static int buffers_allocated; variable
3367 if (buffers_allocated) in trace_printk_init_buffers()
3393 buffers_allocated = 1; in trace_printk_init_buffers()
3409 if (!buffers_allocated) in trace_printk_start_comm()
3416 if (!buffers_allocated) in trace_printk_start_stop_comm()

Completed in 33 milliseconds