Lines Matching defs:shared_memory_amount
79 static unsigned long shared_memory_amount;
85 a = shared_memory_amount + alloc_size;
86 if (a < shared_memory_amount)
119 shared_memory_amount += alloc_size;
132 if (WARN_ON_ONCE(shared_memory_amount < alloc_size)) {
138 shared_memory_amount -= alloc_size;
1242 shared_memory_amount = 0;
1251 if (WARN_ON(shared_memory_amount))
1252 DMCRIT("shared_memory_amount leaked: %lu", shared_memory_amount);
1255 module_param_named(stats_current_allocated_bytes, shared_memory_amount, ulong, 0444);