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;
1208 shared_memory_amount = 0;
1217 if (WARN_ON(shared_memory_amount))
1218 DMCRIT("shared_memory_amount leaked: %lu", shared_memory_amount);
1221 module_param_named(stats_current_allocated_bytes, shared_memory_amount, ulong, S_IRUGO);