Lines Matching defs:threaded
6734 * due to force-threaded interrupts and spinlock substitution.
7167 bool threaded = threaded_mode != NETDEV_NAPI_THREADED_DISABLED;
7170 assign_bit(NAPI_STATE_THREADED, &napi->state, threaded);
7175 enum netdev_napi_threaded threaded)
7177 if (threaded) {
7187 napi->config->threaded = threaded;
7189 /* Setting/unsetting threaded mode on a napi might not immediately
7191 * polled. In this case, the switch between threaded mode and
7195 if (!threaded && napi->thread) {
7200 napi_set_threaded_state(napi, threaded);
7207 enum netdev_napi_threaded threaded)
7214 if (threaded) {
7219 threaded = NETDEV_NAPI_THREADED_DISABLED;
7226 WRITE_ONCE(dev->threaded, threaded);
7230 WARN_ON_ONCE(napi_set_threaded(napi, threaded));
7234 dev->napi_config[i].threaded = threaded;
7240 * netif_threaded_enable() - enable threaded NAPIs
7243 * Enable threaded mode for the NAPI instances of the device. This may be useful
7471 WARN_ON_ONCE(napi_set_threaded(n, n->config->threaded));
7564 /* Create kthread for this napi if dev->threaded is set.
7565 * Clear dev->threaded if kthread creation failed so that
7566 * threaded mode will not be enabled in napi_enable().
7570 dev->threaded = NETDEV_NAPI_THREADED_DISABLED;
7637 if (n->dev->threaded && n->thread)
13213 * This is called single threaded during boot, so no need