···516516alloc_workqueue_noprof(const char *fmt, unsigned int flags, int max_active, ...);517517#define alloc_workqueue(...) alloc_hooks(alloc_workqueue_noprof(__VA_ARGS__))518518519519+/**520520+ * devm_alloc_workqueue - Resource-managed allocate a workqueue521521+ * @dev: Device to allocate workqueue for522522+ * @fmt: printf format for the name of the workqueue523523+ * @flags: WQ_* flags524524+ * @max_active: max in-flight work items, 0 for default525525+ * @...: args for @fmt526526+ *527527+ * Resource managed workqueue, see alloc_workqueue() for details.528528+ *529529+ * The workqueue will be automatically destroyed on driver detach. Typically530530+ * this should be used in drivers already relying on devm interafaces.531531+ *532532+ * RETURNS:533533+ * Pointer to the allocated workqueue on success, %NULL on failure.534534+ */535535+__printf(2, 5) struct workqueue_struct *536536+devm_alloc_workqueue(struct device *dev, const char *fmt, unsigned int flags,537537+ int max_active, ...);538538+519539#ifdef CONFIG_LOCKDEP520540/**521541 * alloc_workqueue_lockdep_map - allocate a workqueue with user-defined lockdep_map···592572 */593573#define alloc_ordered_workqueue(fmt, flags, args...) \594574 alloc_workqueue(fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), 1, ##args)575575+#define devm_alloc_ordered_workqueue(dev, fmt, flags, args...) \576576+ devm_alloc_workqueue(dev, fmt, WQ_UNBOUND | __WQ_ORDERED | (flags), 1, ##args)595577596578#define create_workqueue(name) \597579 alloc_workqueue("%s", __WQ_LEGACY | WQ_MEM_RECLAIM | WQ_PERCPU, 1, (name))