Home
last modified time | relevance | path

Searched refs:buffers_allocated (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce/
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()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
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()
689 free_percpu(sc->buffers_allocated); in sc_alloc()
872 free_percpu(sc->buffers_allocated); in sc_free()
1452 this_cpu_inc(*sc->buffers_allocated); in sc_buffer_alloc()
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()
Dpio.h61 u32 __percpu *buffers_allocated;/* count of buffers allocated */ member
/Linux-v5.15/kernel/trace/
Dtrace.c3275 static int buffers_allocated; variable
3279 if (buffers_allocated) in trace_printk_init_buffers()
3305 buffers_allocated = 1; in trace_printk_init_buffers()
3321 if (!buffers_allocated) in trace_printk_start_comm()
3328 if (!buffers_allocated) in trace_printk_start_stop_comm()