Lines Matching refs:threaded
6157 * due to force-threaded interrupts and spinlock substitution.
6513 int dev_set_threaded(struct net_device *dev, bool threaded)
6518 if (dev->threaded == threaded)
6521 if (threaded) {
6526 threaded = false;
6533 WRITE_ONCE(dev->threaded, threaded);
6540 /* Setting/unsetting threaded mode on a napi might not immediately
6542 * polled. In this case, the switch between threaded mode and
6547 assign_bit(NAPI_STATE_THREADED, &napi->state, threaded);
6619 /* Create kthread for this napi if dev->threaded is set.
6620 * Clear dev->threaded if kthread creation failed so that
6621 * threaded mode will not be enabled in napi_enable().
6623 if (dev->threaded && napi_kthread_create(napi))
6624 dev->threaded = false;
6668 if (n->dev->threaded && n->thread)
11886 * This is called single threaded during boot, so no need