Home
last modified time | relevance | path

Searched refs:netd (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/fs/proc/
Dproc_net.c334 struct proc_dir_entry *netd, *net_statd; in proc_net_ns_init() local
340 netd = kmem_cache_zalloc(proc_dir_entry_cache, GFP_KERNEL); in proc_net_ns_init()
341 if (!netd) in proc_net_ns_init()
344 netd->subdir = RB_ROOT; in proc_net_ns_init()
345 netd->data = net; in proc_net_ns_init()
346 netd->nlink = 2; in proc_net_ns_init()
347 netd->namelen = 3; in proc_net_ns_init()
348 netd->parent = &proc_root; in proc_net_ns_init()
349 netd->name = netd->inline_name; in proc_net_ns_init()
350 memcpy(netd->name, "net", 4); in proc_net_ns_init()
[all …]
/Linux-v5.4/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c556 static int init_dma_desc_rings(struct net_device *netd) in init_dma_desc_rings() argument
559 struct sxgbe_priv_data *priv = netdev_priv(netd); in init_dma_desc_rings()
568 dev_err(&netd->dev, "TX DMA ring allocation failed!\n"); in init_dma_desc_rings()
580 ret = init_rx_ring(netd, queue_num, in init_dma_desc_rings()
583 netdev_err(netd, "RX DMA ring allocation failed!!\n"); in init_dma_desc_rings()