Searched refs:buffers_allocated (Results 1 – 5 of 5) sorted by relevance
539 static int buffers_allocated; variable543 if (buffers_allocated) in trace_printk_init_buffers()570 buffers_allocated = 1; in trace_printk_init_buffers()585 if (!buffers_allocated) in trace_printk_start_comm()592 if (!buffers_allocated) in trace_printk_start_stop_comm()
751 uint32_t buffers_allocated; in dce_mi_allocate_dmif() local755 DMIF_BUFFERS_ALLOCATED, &buffers_allocated); in dce_mi_allocate_dmif()757 if (buffers_allocated == 2) in dce_mi_allocate_dmif()788 uint32_t buffers_allocated; in dce_mi_free_dmif() local792 DMIF_BUFFERS_ALLOCATED, &buffers_allocated); in dce_mi_free_dmif()794 if (buffers_allocated == 0) in dce_mi_free_dmif()
637 ret += *per_cpu_ptr(sc->buffers_allocated, cpu); in get_buffers_allocated()646 (*per_cpu_ptr(sc->buffers_allocated, cpu)) = 0; in reset_buffers_allocated()675 sc->buffers_allocated = alloc_percpu(u32); in sc_alloc()676 if (!sc->buffers_allocated) { in sc_alloc()688 free_percpu(sc->buffers_allocated); in sc_alloc()871 free_percpu(sc->buffers_allocated); in sc_free()1440 this_cpu_inc(*sc->buffers_allocated); in sc_buffer_alloc()
123 this_cpu_dec(*pbuf->sc->buffers_allocated); in pio_copy()713 this_cpu_dec(*pbuf->sc->buffers_allocated); in seg_pio_copy_end()
61 u32 __percpu *buffers_allocated;/* count of buffers allocated */ member