Home
last modified time | relevance | path

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

/linux/drivers/tty/
A Dtty_buffer.c93 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); in tty_buffer_space_avail()
139 still_used = atomic_xchg(&buf->mem_used, 0); in tty_buffer_free_all()
175 if (atomic_read(&port->buf.mem_used) > port->buf.mem_limit) in tty_buffer_alloc()
183 atomic_add(size, &port->buf.mem_used); in tty_buffer_alloc()
201 WARN_ON(atomic_sub_return(b->size, &buf->mem_used) < 0); in tty_buffer_free()
590 atomic_set(&buf->mem_used, 0); in tty_buffer_init()
/linux/include/linux/
A Dtty_buffer.h44 atomic_t mem_used; /* In-use buffers excluding free list */ member
/linux/include/sound/
A Dsoundfont.h73 int mem_used; /* used memory size */ member
/linux/sound/synth/emux/
A Dsoundfont.c752 sflist->mem_used += sp->v.truesize; in load_data()
1028 sflist->mem_used += smp->v.truesize; in load_guspatch()
1351 sflist->mem_used = 0; in snd_sf_init()
1483 sflist->mem_used -= sp->v.truesize; in snd_soundfont_remove_unlocked()
/linux/drivers/block/zram/
A Dzram_drv.c1096 u64 orig_size, mem_used = 0; in mm_stat_show() local
1104 mem_used = zs_get_total_pages(zram->mem_pool); in mm_stat_show()
1115 mem_used << PAGE_SHIFT, in mm_stat_show()

Completed in 18 milliseconds