Searched refs:usbfs_memory_usage (Results 1 – 1 of 1) sorted by relevance
121 static atomic_t usbfs_memory_usage; /* Total memory currently allocated */ variable138 atomic_add(amount, &usbfs_memory_usage); in usbfs_increase_memory_usage()139 if (atomic_read(&usbfs_memory_usage) <= lim) in usbfs_increase_memory_usage()141 atomic_sub(amount, &usbfs_memory_usage); in usbfs_increase_memory_usage()148 atomic_sub(amount, &usbfs_memory_usage); in usbfs_decrease_memory_usage()