struct parallel_data *pd;
int err = 0;
- might_sleep();
-
mutex_lock(&pinst->lock);
pd = padata_alloc_pd(pinst, cpumask);
{
int err;
- might_sleep();
-
mutex_lock(&pinst->lock);
cpumask_set_cpu(cpu, pinst->cpumask);
{
int err;
- might_sleep();
-
mutex_lock(&pinst->lock);
cpumask_clear_cpu(cpu, pinst->cpumask);
*/
void padata_start(struct padata_instance *pinst)
{
- might_sleep();
-
mutex_lock(&pinst->lock);
pinst->flags |= PADATA_INIT;
mutex_unlock(&pinst->lock);
*/
void padata_stop(struct padata_instance *pinst)
{
- might_sleep();
-
mutex_lock(&pinst->lock);
pinst->flags &= ~PADATA_INIT;
mutex_unlock(&pinst->lock);