Home
last modified time | relevance | path

Searched refs:nc (Results 1 – 5 of 5) sorted by relevance

/net/batman-adv/
Dnetwork-coding.c85 queue_delayed_work(batadv_event_workqueue, &bat_priv->nc.work, in batadv_nc_start_timer()
148 bat_priv->nc.timestamp_fwd_flush = jiffies; in batadv_nc_mesh_init()
149 bat_priv->nc.timestamp_sniffed_purge = jiffies; in batadv_nc_mesh_init()
151 if (bat_priv->nc.coding_hash || bat_priv->nc.decoding_hash) in batadv_nc_mesh_init()
154 bat_priv->nc.coding_hash = batadv_hash_new(128); in batadv_nc_mesh_init()
155 if (!bat_priv->nc.coding_hash) in batadv_nc_mesh_init()
158 batadv_hash_set_lock_class(bat_priv->nc.coding_hash, in batadv_nc_mesh_init()
161 bat_priv->nc.decoding_hash = batadv_hash_new(128); in batadv_nc_mesh_init()
162 if (!bat_priv->nc.decoding_hash) { in batadv_nc_mesh_init()
163 batadv_hash_destroy(bat_priv->nc.coding_hash); in batadv_nc_mesh_init()
[all …]
Dtypes.h844 struct batadv_priv_nc nc; member
/net/netfilter/
Dnfnetlink.c156 const struct nfnl_callback *nc; in nfnetlink_rcv_msg() local
182 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_msg()
183 if (!nc) { in nfnetlink_rcv_msg()
203 if (nc->call_rcu) { in nfnetlink_rcv_msg()
204 err = nc->call_rcu(net->nfnl, skb, nlh, in nfnetlink_rcv_msg()
212 nfnetlink_find_client(type, ss) != nc) in nfnetlink_rcv_msg()
214 else if (nc->call) in nfnetlink_rcv_msg()
215 err = nc->call(net->nfnl, skb, nlh, in nfnetlink_rcv_msg()
284 const struct nfnl_callback *nc; in nfnetlink_rcv_batch() local
365 nc = nfnetlink_find_client(type, ss); in nfnetlink_rcv_batch()
[all …]
Dnf_tables_api.c751 struct nft_chain *chain, *nc; in nft_flush_table() local
772 list_for_each_entry_safe(chain, nc, &ctx->table->chains, list) { in nft_flush_table()
/net/core/
Dskbuff.c357 struct page_frag_cache *nc; in __netdev_alloc_frag() local
362 nc = this_cpu_ptr(&netdev_alloc_cache); in __netdev_alloc_frag()
363 data = __alloc_page_frag(nc, fragsz, gfp_mask); in __netdev_alloc_frag()
385 struct page_frag_cache *nc = this_cpu_ptr(&napi_alloc_cache); in __napi_alloc_frag() local
387 return __alloc_page_frag(nc, fragsz, gfp_mask); in __napi_alloc_frag()
414 struct page_frag_cache *nc; in __netdev_alloc_skb() local
442 nc = this_cpu_ptr(&netdev_alloc_cache); in __netdev_alloc_skb()
443 data = __alloc_page_frag(nc, len, gfp_mask); in __netdev_alloc_skb()
444 pfmemalloc = nc->pfmemalloc; in __netdev_alloc_skb()
487 struct page_frag_cache *nc; in __napi_alloc_skb() local
[all …]