Lines Matching refs:ddir

308 	nsim_dev->ddir = debugfs_create_dir(dev_ddir_name, nsim_dev_ddir);  in nsim_dev_debugfs_init()
309 if (IS_ERR(nsim_dev->ddir)) in nsim_dev_debugfs_init()
310 return PTR_ERR(nsim_dev->ddir); in nsim_dev_debugfs_init()
311 nsim_dev->ports_ddir = debugfs_create_dir("ports", nsim_dev->ddir); in nsim_dev_debugfs_init()
314 debugfs_create_bool("fw_update_status", 0600, nsim_dev->ddir, in nsim_dev_debugfs_init()
316 debugfs_create_u32("fw_update_overwrite_mask", 0600, nsim_dev->ddir, in nsim_dev_debugfs_init()
318 debugfs_create_u32("max_macs", 0600, nsim_dev->ddir, in nsim_dev_debugfs_init()
320 debugfs_create_bool("test1", 0600, nsim_dev->ddir, in nsim_dev_debugfs_init()
324 nsim_dev->ddir, in nsim_dev_debugfs_init()
327 debugfs_create_bool("dont_allow_reload", 0600, nsim_dev->ddir, in nsim_dev_debugfs_init()
329 debugfs_create_bool("fail_reload", 0600, nsim_dev->ddir, in nsim_dev_debugfs_init()
331 debugfs_create_file("trap_flow_action_cookie", 0600, nsim_dev->ddir, in nsim_dev_debugfs_init()
334 nsim_dev->ddir, in nsim_dev_debugfs_init()
337 nsim_dev->ddir, in nsim_dev_debugfs_init()
340 nsim_dev->ddir, in nsim_dev_debugfs_init()
342 debugfs_create_file("max_vfs", 0600, nsim_dev->ddir, in nsim_dev_debugfs_init()
345 nsim_dev->nodes_ddir = debugfs_create_dir("rate_nodes", nsim_dev->ddir); in nsim_dev_debugfs_init()
351 nsim_dev->ddir, in nsim_dev_debugfs_init()
358 debugfs_remove_recursive(nsim_dev->ddir); in nsim_dev_debugfs_init()
366 debugfs_remove_recursive(nsim_dev->ddir); in nsim_dev_debugfs_exit()
399 nsim_dev_port->ddir = debugfs_create_dir(port_ddir_name, in nsim_dev_port_debugfs_init()
401 if (IS_ERR(nsim_dev_port->ddir)) in nsim_dev_port_debugfs_init()
402 return PTR_ERR(nsim_dev_port->ddir); in nsim_dev_port_debugfs_init()
408 debugfs_create_u16("tx_share", 0400, nsim_dev_port->ddir, in nsim_dev_port_debugfs_init()
410 debugfs_create_u16("tx_max", 0400, nsim_dev_port->ddir, in nsim_dev_port_debugfs_init()
414 nsim_dev_port->ddir, in nsim_dev_port_debugfs_init()
418 debugfs_create_symlink("dev", nsim_dev_port->ddir, dev_link_name); in nsim_dev_port_debugfs_init()
425 debugfs_remove_recursive(nsim_dev_port->ddir); in nsim_dev_port_debugfs_exit()
1206 struct dentry *ddir; member
1256 nsim_node->ddir = debugfs_create_dir(node->name, nsim_dev->nodes_ddir); in nsim_rate_node_new()
1258 debugfs_create_u16("tx_share", 0400, nsim_node->ddir, &nsim_node->tx_share); in nsim_rate_node_new()
1259 debugfs_create_u16("tx_max", 0400, nsim_node->ddir, &nsim_node->tx_max); in nsim_rate_node_new()
1261 nsim_node->ddir, in nsim_rate_node_new()
1275 debugfs_remove_recursive(nsim_node->ddir); in nsim_rate_node_del()
1507 nsim_dev->ddir, in nsim_dev_reload_create()