Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/
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()
1230 shared_memory_amount = 0; in dm_statistics_init()
1239 if (WARN_ON(shared_memory_amount)) in dm_statistics_exit()
1240 DMCRIT("shared_memory_amount leaked: %lu", shared_memory_amount); in dm_statistics_exit()
1243 module_param_named(stats_current_allocated_bytes, shared_memory_amount, ulong, S_IRUGO);