Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/proc/
Dproc_net.c337 struct proc_dir_entry *netd, *net_statd; in proc_net_ns_init() local
343 netd = kmem_cache_zalloc(proc_dir_entry_cache, GFP_KERNEL); in proc_net_ns_init()
344 if (!netd) in proc_net_ns_init()
347 netd->subdir = RB_ROOT; in proc_net_ns_init()
348 netd->data = net; in proc_net_ns_init()
349 netd->nlink = 2; in proc_net_ns_init()
350 netd->namelen = 3; in proc_net_ns_init()
351 netd->parent = &proc_root; in proc_net_ns_init()
352 netd->name = netd->inline_name; in proc_net_ns_init()
353 memcpy(netd->name, "net", 4); in proc_net_ns_init()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_main.c561 static int init_dma_desc_rings(struct net_device *netd) in init_dma_desc_rings() argument
564 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()