Lines Matching refs:napi_id
891 * dev_get_by_napi_id - find a device by napi_id
892 * @napi_id: ID of the NAPI struct
900 struct net_device *dev_get_by_napi_id(unsigned int napi_id)
906 if (napi_id < MIN_NAPI_ID)
909 napi = napi_by_id(napi_id);
1387 n->dev->name, n->napi_id);
6158 struct napi_struct *napi_by_id(unsigned int napi_id)
6160 unsigned int hash = napi_id % HASH_SIZE(napi_hash);
6164 if (napi->napi_id == napi_id)
6262 static void __napi_busy_loop(unsigned int napi_id,
6276 napi = napi_by_id(napi_id);
6343 void napi_busy_loop_rcu(unsigned int napi_id,
6352 __napi_busy_loop(napi_id, loop_end, loop_end_arg, flags, budget);
6355 void napi_busy_loop(unsigned int napi_id,
6362 __napi_busy_loop(napi_id, loop_end, loop_end_arg, flags, budget);
6381 napi->napi_id = napi_gen_id;
6384 &napi_hash[napi->napi_id % HASH_SIZE(napi_hash)]);