Lines Matching refs:netd
334 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()
354 uid = netd->uid; in proc_net_ns_init()
358 gid = netd->gid; in proc_net_ns_init()
360 proc_set_user(netd, uid, gid); in proc_net_ns_init()
363 net_statd = proc_net_mkdir(net, "stat", netd); in proc_net_ns_init()
367 net->proc_net = netd; in proc_net_ns_init()
372 pde_free(netd); in proc_net_ns_init()