Lines Matching refs:napi_id
168 static struct napi_struct *napi_by_id(unsigned int napi_id);
904 * dev_get_by_napi_id - find a device by napi_id
905 * @napi_id: ID of the NAPI struct
913 struct net_device *dev_get_by_napi_id(unsigned int napi_id)
919 if (napi_id < MIN_NAPI_ID)
922 napi = napi_by_id(napi_id);
1463 n->dev->name, n->napi_id);
6209 static struct napi_struct *napi_by_id(unsigned int napi_id)
6211 unsigned int hash = napi_id % HASH_SIZE(napi_hash);
6215 if (napi->napi_id == napi_id)
6287 void napi_busy_loop(unsigned int napi_id,
6301 napi = napi_by_id(napi_id);
6381 napi->napi_id = napi_gen_id;
6384 &napi_hash[napi->napi_id % HASH_SIZE(napi_hash)]);