Lines Matching defs:threaded
6084 * due to force-threaded interrupts and spinlock substitution.
6389 int dev_set_threaded(struct net_device *dev, bool threaded)
6394 if (dev->threaded == threaded)
6397 if (threaded) {
6402 threaded = false;
6409 dev->threaded = threaded;
6416 /* Setting/unsetting threaded mode on a napi might not immediately
6418 * polled. In this case, the switch between threaded mode and
6423 assign_bit(NAPI_STATE_THREADED, &napi->state, threaded);
6458 /* Create kthread for this napi if dev->threaded is set.
6459 * Clear dev->threaded if kthread creation failed so that
6460 * threaded mode will not be enabled in napi_enable().
6462 if (dev->threaded && napi_kthread_create(napi))
6463 dev->threaded = 0;
6506 if (n->dev->threaded && n->thread)
11578 * This is called single threaded during boot, so no need