Searched refs:netd (Results 1 – 2 of 2) sorted by relevance
349 struct proc_dir_entry *netd, *net_statd; in proc_net_ns_init() local361 netd = kmem_cache_zalloc(proc_dir_entry_cache, GFP_KERNEL); in proc_net_ns_init()362 if (!netd) in proc_net_ns_init()365 netd->subdir = RB_ROOT; in proc_net_ns_init()366 netd->data = net; in proc_net_ns_init()367 netd->nlink = 2; in proc_net_ns_init()368 netd->namelen = 3; in proc_net_ns_init()369 netd->parent = &proc_root; in proc_net_ns_init()370 netd->name = netd->inline_name; in proc_net_ns_init()371 memcpy(netd->name, "net", 4); in proc_net_ns_init()[all …]
561 static int init_dma_desc_rings(struct net_device *netd) in init_dma_desc_rings() argument564 struct sxgbe_priv_data *priv = netdev_priv(netd); in init_dma_desc_rings()573 dev_err(&netd->dev, "TX DMA ring allocation failed!\n"); in init_dma_desc_rings()585 ret = init_rx_ring(netd, queue_num, in init_dma_desc_rings()588 netdev_err(netd, "RX DMA ring allocation failed!!\n"); in init_dma_desc_rings()