Searched refs:napi_id (Results 1 – 2 of 2) sorted by relevance
4450 struct napi_struct *napi_by_id(unsigned int napi_id) in napi_by_id() argument4452 unsigned int hash = napi_id % HASH_SIZE(napi_hash); in napi_by_id()4456 if (napi->napi_id == napi_id) in napi_by_id()4472 napi->napi_id = 0; in napi_hash_add()4473 while (!napi->napi_id) { in napi_hash_add()4474 napi->napi_id = ++napi_gen_id; in napi_hash_add()4475 if (napi_by_id(napi->napi_id)) in napi_hash_add()4476 napi->napi_id = 0; in napi_hash_add()4480 &napi_hash[napi->napi_id % HASH_SIZE(napi_hash)]); in napi_hash_add()
753 CHECK_SKB_FIELD(napi_id); in __copy_skb_header()