qcacmn: Add high priority ordered workqueue APIs
Add APIs to support creation of a high priority, ordered, unbound workqueue. Change-Id: Ib7e39a7ca3fcc9ee1ed8886ca62c312a3e3e46a2 CRs-Fixed: 2602029
This commit is contained in:

committad av
nshrivas

förälder
2877d23b09
incheckning
e05c287f31
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -126,6 +126,18 @@ static inline qdf_workqueue_t *qdf_create_singlethread_workqueue(char *name)
|
||||
return __qdf_create_singlethread_workqueue(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_alloc_high_prior_ordered_workqueue - alloc high-prior ordered workqueue
|
||||
* @name: string
|
||||
*
|
||||
* Return: pointer of type qdf_workqueue_t
|
||||
*/
|
||||
static inline
|
||||
qdf_workqueue_t *qdf_alloc_high_prior_ordered_workqueue(char *name)
|
||||
{
|
||||
return __qdf_alloc_high_prior_ordered_workqueue(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* qdf_alloc_unbound_workqueue - allocate an unbound workqueue
|
||||
* @name: string
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -136,6 +136,18 @@ static inline __qdf_workqueue_t *__qdf_create_singlethread_workqueue(char *name)
|
||||
return create_singlethread_workqueue(name);
|
||||
}
|
||||
|
||||
/**
|
||||
* __qdf_alloc_high_prior_ordered_workqueue - alloc high-prior ordered workqueue
|
||||
* @name: string
|
||||
*
|
||||
* Return: pointer of type qdf_workqueue_t
|
||||
*/
|
||||
static inline
|
||||
__qdf_workqueue_t *__qdf_alloc_high_prior_ordered_workqueue(char *name)
|
||||
{
|
||||
return alloc_ordered_workqueue(name, WQ_HIGHPRI);
|
||||
}
|
||||
|
||||
/**
|
||||
* __qdf_alloc_unbound_workqueue - alloc an unbound workqueue
|
||||
* @name: string
|
||||
|
Referens i nytt ärende
Block a user