Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/tty/
Dtty_buffer.c93 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); in tty_buffer_space_avail()
138 still_used = atomic_xchg(&buf->mem_used, 0); in tty_buffer_free_all()
173 if (atomic_read(&port->buf.mem_used) > port->buf.mem_limit) in tty_buffer_alloc()
182 atomic_add(size, &port->buf.mem_used); in tty_buffer_alloc()
200 WARN_ON(atomic_sub_return(b->size, &buf->mem_used) < 0); in tty_buffer_free()
603 atomic_set(&buf->mem_used, 0); in tty_buffer_init()
/kernel/linux/linux-5.10/drivers/hyperhold/
Dhp_core.c50 atomic64_t mem_used = ATOMIC64_INIT(0); variable
57 return atomic64_read(&mem_used) + hpio_memory() + space_memory(); in hyperhold_memory_used()
586 atomic64_add(PAGE_SIZE, &mem_used); in hyperhold_io_add_page()
698 atomic64_sub(sizeof(struct bio), &mem_used); in hpio_endio()
715 atomic64_add(sizeof(struct bio), &mem_used); in hpio_submit()
750 atomic64_sub(sizeof(struct bio), &mem_used); in hpio_submit()
/kernel/linux/linux-5.10/include/sound/
Dsoundfont.h73 int mem_used; /* used memory size */ member
/kernel/linux/linux-5.10/sound/synth/emux/
Dsoundfont.c746 sflist->mem_used += sp->v.truesize; in load_data()
1020 sflist->mem_used += smp->v.truesize; in load_guspatch()
1340 sflist->mem_used = 0; in snd_sf_init()
1471 sflist->mem_used -= sp->v.truesize; in snd_soundfont_remove_unlocked()
/kernel/linux/linux-5.10/drivers/block/zram/
Dzram_drv.c1009 u64 orig_size, mem_used = 0; in mm_stat_show() local
1017 mem_used = zs_get_total_pages(zram->mem_pool); in mm_stat_show()
1028 mem_used << PAGE_SHIFT, in mm_stat_show()
/kernel/linux/linux-5.10/include/linux/
Dtty.h92 atomic_t mem_used; /* In-use buffers excluding free list */ member