Lines Matching refs:ddir
25 struct dentry *ddir; member
210 psample->ddir = debugfs_create_dir("psample", nsim_dev->ddir); in nsim_dev_psample_init()
211 if (IS_ERR(psample->ddir)) { in nsim_dev_psample_init()
212 err = PTR_ERR(psample->ddir); in nsim_dev_psample_init()
218 debugfs_create_u32("rate", 0600, psample->ddir, &psample->rate); in nsim_dev_psample_init()
221 debugfs_create_u32("group_num", 0600, psample->ddir, in nsim_dev_psample_init()
225 debugfs_create_u32("trunc_size", 0600, psample->ddir, in nsim_dev_psample_init()
229 debugfs_create_u32("in_ifindex", 0600, psample->ddir, in nsim_dev_psample_init()
233 debugfs_create_u32("out_ifindex", 0600, psample->ddir, in nsim_dev_psample_init()
237 debugfs_create_u16("out_tc", 0600, psample->ddir, &psample->out_tc); in nsim_dev_psample_init()
240 debugfs_create_u64("out_tc_occ_max", 0600, psample->ddir, in nsim_dev_psample_init()
244 debugfs_create_u64("latency_max", 0600, psample->ddir, in nsim_dev_psample_init()
247 debugfs_create_file("enable", 0200, psample->ddir, nsim_dev, in nsim_dev_psample_init()
259 debugfs_remove_recursive(nsim_dev->psample->ddir); in nsim_dev_psample_exit()