Home
last modified time | relevance | path

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

/openbmc/linux/drivers/md/
H A Ddm-stats.c79 static unsigned long shared_memory_amount; variable
85 a = shared_memory_amount + alloc_size; in __check_shared_memory()
86 if (a < shared_memory_amount) in __check_shared_memory()
119 shared_memory_amount += alloc_size; in claim_shared_memory()
132 if (WARN_ON_ONCE(shared_memory_amount < alloc_size)) { in free_shared_memory()
138 shared_memory_amount -= alloc_size; in free_shared_memory()
1242 shared_memory_amount = 0; in dm_statistics_init()
1251 if (WARN_ON(shared_memory_amount)) in dm_statistics_exit()
1252 DMCRIT("shared_memory_amount leaked: %lu", shared_memory_amount); in dm_statistics_exit()
1255 module_param_named(stats_current_allocated_bytes, shared_memory_amount, ulong, 0444);