Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce/
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()
/Linux-v5.10/drivers/infiniband/hw/hfi1/
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()
731 free_percpu(sc->buffers_allocated); in sc_alloc()
914 free_percpu(sc->buffers_allocated); in sc_free()
1491 this_cpu_inc(*sc->buffers_allocated); in sc_buffer_alloc()
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()
Dpio.h103 u32 __percpu *buffers_allocated;/* count of buffers allocated */ member
/Linux-v5.10/kernel/trace/
Dtrace.c3163 static int buffers_allocated; variable
3167 if (buffers_allocated) in trace_printk_init_buffers()
3193 buffers_allocated = 1; in trace_printk_init_buffers()
3209 if (!buffers_allocated) in trace_printk_start_comm()
3216 if (!buffers_allocated) in trace_printk_start_stop_comm()