Lines Matching defs:napi_id
918 * dev_get_by_napi_id - find a device by napi_id
919 * @napi_id: ID of the NAPI struct
927 struct net_device *dev_get_by_napi_id(unsigned int napi_id)
933 if (napi_id < MIN_NAPI_ID)
936 napi = napi_by_id(napi_id);
1429 n->dev->name, n->napi_id);
6241 struct napi_struct *napi_by_id(unsigned int napi_id)
6243 unsigned int hash = napi_id % HASH_SIZE(napi_hash);
6247 if (napi->napi_id == napi_id)
6345 static void __napi_busy_loop(unsigned int napi_id,
6359 napi = napi_by_id(napi_id);
6426 void napi_busy_loop_rcu(unsigned int napi_id,
6435 __napi_busy_loop(napi_id, loop_end, loop_end_arg, flags, budget);
6438 void napi_busy_loop(unsigned int napi_id,
6445 __napi_busy_loop(napi_id, loop_end, loop_end_arg, flags, budget);
6464 napi->napi_id = napi_gen_id;
6467 &napi_hash[napi->napi_id % HASH_SIZE(napi_hash)]);