Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_mem_input.c585 uint32_t buffers_allocated; in dce_mi_allocate_dmif() local
589 DMIF_BUFFERS_ALLOCATED, &buffers_allocated); in dce_mi_allocate_dmif()
591 if (buffers_allocated == 2) in dce_mi_allocate_dmif()
622 uint32_t buffers_allocated; in dce_mi_free_dmif() local
626 DMIF_BUFFERS_ALLOCATED, &buffers_allocated); in dce_mi_free_dmif()
628 if (buffers_allocated == 0) in dce_mi_free_dmif()
/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dpio.c688 ret += *per_cpu_ptr(sc->buffers_allocated, cpu); in get_buffers_allocated()
697 (*per_cpu_ptr(sc->buffers_allocated, cpu)) = 0; in reset_buffers_allocated()
726 sc->buffers_allocated = alloc_percpu(u32); in sc_alloc()
727 if (!sc->buffers_allocated) { in sc_alloc()
739 free_percpu(sc->buffers_allocated); in sc_alloc()
921 free_percpu(sc->buffers_allocated); in sc_free()
1481 this_cpu_inc(*sc->buffers_allocated); in sc_buffer_alloc()
Dpio_copy.c164 this_cpu_dec(*pbuf->sc->buffers_allocated); in pio_copy()
755 this_cpu_dec(*pbuf->sc->buffers_allocated); in seg_pio_copy_end()
Dpio.h103 u32 __percpu *buffers_allocated;/* count of buffers allocated */ member
/Linux-v4.19/kernel/trace/
Dtrace.c2839 static int buffers_allocated; variable
2843 if (buffers_allocated) in trace_printk_init_buffers()
2869 buffers_allocated = 1; in trace_printk_init_buffers()
2884 if (!buffers_allocated) in trace_printk_start_comm()
2891 if (!buffers_allocated) in trace_printk_start_stop_comm()