Lines Matching refs:ddir
32 struct dentry *ddir; member
235 state->ddir = debugfs_create_dir(name, nsim_dev->ddir_bpf_bound_progs); in nsim_bpf_create_prog()
236 if (IS_ERR(state->ddir)) { in nsim_bpf_create_prog()
237 ret = PTR_ERR(state->ddir); in nsim_bpf_create_prog()
242 debugfs_create_u32("id", 0400, state->ddir, &prog->aux->id); in nsim_bpf_create_prog()
243 debugfs_create_file("state", 0400, state->ddir, in nsim_bpf_create_prog()
245 debugfs_create_bool("loaded", 0400, state->ddir, &state->is_loaded); in nsim_bpf_create_prog()
280 debugfs_remove_recursive(state->ddir); in nsim_bpf_destroy_prog()
590 nsim_dev->ddir); in nsim_bpf_dev_init()
600 debugfs_create_bool("bpf_bind_accept", 0600, nsim_dev->ddir, in nsim_bpf_dev_init()
602 debugfs_create_u32("bpf_bind_verifier_delay", 0600, nsim_dev->ddir, in nsim_bpf_dev_init()
605 debugfs_create_bool("bpf_bind_verifier_accept", 0600, nsim_dev->ddir, in nsim_bpf_dev_init()
619 struct dentry *ddir = ns->nsim_dev_port->ddir; in nsim_bpf_init() local
627 debugfs_create_u32("bpf_offloaded_id", 0400, ddir, in nsim_bpf_init()
631 debugfs_create_bool("bpf_tc_accept", 0600, ddir, in nsim_bpf_init()
633 debugfs_create_bool("bpf_tc_non_bound_accept", 0600, ddir, in nsim_bpf_init()
636 debugfs_create_bool("bpf_xdpdrv_accept", 0600, ddir, in nsim_bpf_init()
639 debugfs_create_bool("bpf_xdpoffload_accept", 0600, ddir, in nsim_bpf_init()
643 debugfs_create_bool("bpf_map_accept", 0600, ddir, in nsim_bpf_init()