| /kernel/bpf/ |
| A D | inode.c | 144 static void bpf_dentry_finalize(struct dentry *dentry, struct inode *inode, in bpf_dentry_finalize() argument 148 dget(dentry); in bpf_dentry_finalize() 154 struct dentry *dentry, umode_t mode) in bpf_mkdir() argument 346 static int bpf_mkprog(struct dentry *dentry, umode_t mode, void *arg) in bpf_mkprog() argument 352 static int bpf_mkmap(struct dentry *dentry, umode_t mode, void *arg) in bpf_mkmap() argument 361 static int bpf_mklink(struct dentry *dentry, umode_t mode, void *arg) in bpf_mklink() argument 371 bpf_lookup(struct inode *dir, struct dentry *dentry, unsigned flags) in bpf_lookup() argument 384 struct dentry *dentry, const char *target) in bpf_symlink() argument 420 struct dentry *dentry; in bpf_iter_link_pin_kernel() local 431 dput(dentry); in bpf_iter_link_pin_kernel() [all …]
|
| A D | token.c | 128 sb = path.dentry->d_sb; in bpf_token_create() 130 if (path.dentry != sb->s_root) in bpf_token_create()
|
| /kernel/ |
| A D | relay.c | 347 struct dentry *dentry) in relay_set_buf_dentry() argument 349 buf->dentry = dentry; in relay_set_buf_dentry() 357 struct dentry *dentry; in relay_create_buf_file() local 368 if (IS_ERR(dentry)) in relay_create_buf_file() 369 dentry = NULL; in relay_create_buf_file() 373 return dentry; in relay_create_buf_file() 384 struct dentry *dentry; in relay_open_buf() local 395 if (!dentry) in relay_open_buf() 476 struct dentry *parent, in relay_open() 542 struct dentry *dentry; member [all …]
|
| A D | audit_fsnotify.c | 78 struct dentry *dentry; in audit_alloc_mark() local 85 dentry = kern_path_locked(pathname, &path); in audit_alloc_mark() 86 if (IS_ERR(dentry)) in audit_alloc_mark() 87 return ERR_CAST(dentry); /* returning an error */ in audit_alloc_mark() 88 inode = path.dentry->d_inode; in audit_alloc_mark() 100 audit_update_mark(audit_mark, dentry->d_inode); in audit_alloc_mark() 110 dput(dentry); in audit_alloc_mark()
|
| A D | auditsc.c | 943 context->pwd.dentry = NULL; in audit_free_names() 2110 static void handle_path(const struct dentry *dentry) in handle_path() argument 2124 d = dentry; in handle_path() 2188 if (!context->pwd.dentry) in audit_alloc_name() 2242 const struct dentry *dentry) in audit_copy_fcaps() argument 2247 if (!dentry) in audit_copy_fcaps() 2266 const struct dentry *dentry, in audit_copy_inode() argument 2280 audit_copy_fcaps(name, dentry); in audit_copy_inode() 2289 void __audit_inode(struct filename *name, const struct dentry *dentry, in __audit_inode() argument 2383 handle_path(dentry); in __audit_inode() [all …]
|
| A D | kexec_handover.c | 88 struct dentry *sub_fdt_dir; 553 struct dentry *file; 556 static int kho_debugfs_fdt_add(struct list_head *list, struct dentry *dir, in kho_debugfs_fdt_add() 560 struct dentry *file; in kho_debugfs_fdt_add() 616 struct dentry *dir; 717 static struct dentry *debugfs_root; 883 struct dentry *dir, *f, *sub_fdt_dir; in kho_out_debugfs_init() 918 struct dentry *dir; 973 struct dentry *sub_fdt_dir; in kho_in_debugfs_init()
|
| A D | fail_function.c | 34 static struct dentry *fei_debugfs_dir; 157 struct dentry *dir; in fei_debugfs_add_attr() 317 struct dentry *dir; in fei_debugfs_init()
|
| A D | audit_watch.c | 138 struct inode *inode = d_backing_inode(path->dentry); in audit_init_parent() 350 struct dentry *d; in audit_get_nd() 362 inode_unlock(d_backing_inode(parent->dentry)); in audit_get_nd() 432 parent = audit_find_parent(d_backing_inode(parent_path.dentry)); in audit_add_watch()
|
| A D | audit_tree.c | 704 for (struct path *p = paths; p->dentry; p++) { in audit_trim_trees() 705 struct inode *inode = p->dentry->d_inode; in audit_trim_trees() 745 for (struct path *p = paths; p->dentry; p++) { in tag_mounts() 746 int err = tag_chunk(p->dentry->d_inode, tree); in tag_mounts()
|
| /kernel/trace/rv/ |
| A D | rv.h | 5 struct dentry *root_dir; 6 struct dentry *monitors_dir; 26 struct dentry *get_monitors_root(void); 34 int init_rv_reactors(struct dentry *root_dir); 41 static inline int init_rv_reactors(struct dentry *root_dir) in init_rv_reactors()
|
| A D | rv_reactors.c | 424 struct dentry *tmp; in reactor_populate_monitor() 451 int init_rv_reactors(struct dentry *root_dir) in init_rv_reactors() 453 struct dentry *available, *reacting; in init_rv_reactors()
|
| A D | rv.c | 157 struct dentry *get_monitors_root(void) in get_monitors_root() 424 struct dentry *root = parent ? parent->root_d : get_monitors_root(); in create_monitor_dir() 426 struct dentry *tmp; in create_monitor_dir() 841 struct dentry *tmp; in rv_init_interface()
|
| /kernel/gcov/ |
| A D | fs.c | 59 struct dentry *dentry; member 60 struct dentry **links; 476 static void add_links(struct gcov_node *node, struct dentry *parent) in add_links() 485 node->links = kcalloc(num, sizeof(struct dentry *), GFP_KERNEL); in add_links() 556 node->dentry = debugfs_create_file(deskew(node->name), 0600, in new_node() 557 parent->dentry, node, &gcov_data_fops); in new_node() 559 node->dentry = debugfs_create_dir(node->name, parent->dentry); in new_node() 561 add_links(node, parent->dentry); in new_node() 594 debugfs_remove(node->dentry); in release_node() 871 root_node.dentry = debugfs_create_dir("gcov", NULL); in gcov_fs_init() [all …]
|
| /kernel/trace/ |
| A D | trace.h | 347 struct dentry *d_max_latency; 399 struct dentry *dir; 400 struct dentry *options; 401 struct dentry *percpu_dir; 580 struct dentry *entry; 670 struct dentry *trace_create_file(const char *name, 672 struct dentry *parent, 1164 struct dentry *parent); 1174 struct dentry *d_tracer); 1186 struct dentry *parent) in ftrace_create_function_files() [all …]
|
| A D | trace_osnoise.c | 2677 static int init_timerlat_stack_tracefs(struct dentry *top_dir) in init_timerlat_stack_tracefs() 2679 struct dentry *tmp; in init_timerlat_stack_tracefs() 2689 static int init_timerlat_stack_tracefs(struct dentry *top_dir) in init_timerlat_stack_tracefs() 2697 struct dentry *timerlat_fd; in osnoise_create_cpu_timerlat_fd() 2698 struct dentry *per_cpu; in osnoise_create_cpu_timerlat_fd() 2699 struct dentry *cpu_dir; in osnoise_create_cpu_timerlat_fd() 2738 static int init_timerlat_tracefs(struct dentry *top_dir) in init_timerlat_tracefs() 2740 struct dentry *tmp; in init_timerlat_tracefs() 2755 static int init_timerlat_tracefs(struct dentry *top_dir) in init_timerlat_tracefs() 2770 struct dentry *top_dir; in init_tracefs() [all …]
|
| A D | trace_hwlat.c | 57 static struct dentry *hwlat_sample_width; /* sample width us */ 58 static struct dentry *hwlat_sample_window; /* sample window us */ 59 static struct dentry *hwlat_thread_mode; /* hwlat thread mode */ 769 struct dentry *top_dir; in init_tracefs()
|
| A D | trace_stat.c | 37 struct dentry *file; 45 static struct dentry *stat_dir;
|
| A D | trace_uprobe.c | 421 struct inode *comp_inode = d_real_inode(comp->path.dentry); in trace_uprobe_has_same_uprobe() 425 if (comp_inode != d_real_inode(orig->path.dentry) || in trace_uprobe_has_same_uprobe() 484 struct inode *new_inode = d_real_inode(new->path.dentry); in validate_ref_ctr_offset() 487 if (new_inode == d_real_inode(tmp->path.dentry) && in validate_ref_ctr_offset() 603 if (!d_is_reg(path.dentry)) { in __trace_uprobe_create() 1122 struct inode *inode = d_real_inode(tu->path.dentry); in trace_uprobe_enable() 1650 if (!d_is_reg(path.dentry)) { in create_local_trace_uprobe()
|
| /kernel/dma/ |
| A D | debug.c | 807 struct dentry *dentry = debugfs_create_dir("dma-api", NULL); in dma_debug_fs_init() local 809 debugfs_create_bool("disabled", 0444, dentry, &global_disable); in dma_debug_fs_init() 810 debugfs_create_u32("error_count", 0444, dentry, &error_count); in dma_debug_fs_init() 811 debugfs_create_u32("all_errors", 0644, dentry, &show_all_errors); in dma_debug_fs_init() 812 debugfs_create_u32("num_errors", 0644, dentry, &show_num_errors); in dma_debug_fs_init() 813 debugfs_create_u32("num_free_entries", 0444, dentry, &num_free_entries); in dma_debug_fs_init() 814 debugfs_create_u32("min_free_entries", 0444, dentry, &min_free_entries); in dma_debug_fs_init() 815 debugfs_create_u32("nr_total_entries", 0444, dentry, &nr_total_entries); in dma_debug_fs_init() 816 debugfs_create_file("driver_filter", 0644, dentry, NULL, &filter_fops); in dma_debug_fs_init() 817 debugfs_create_file("dump", 0444, dentry, NULL, &dump_fops); in dma_debug_fs_init()
|
| A D | map_benchmark.c | 25 struct dentry *debugfs; 303 struct dentry *entry; in __map_benchmark_probe()
|
| /kernel/printk/ |
| A D | index.c | 18 static struct dentry *dfs_index; 184 struct dentry *dfs_root = debugfs_create_dir("printk", NULL); in pi_init()
|
| /kernel/sched/ |
| A D | debug.c | 285 static struct dentry *sd_dentry; 470 static struct dentry *debugfs_sched; 474 struct dentry *d_fair; in debugfs_fair_server_init() 482 struct dentry *d_cpu; in debugfs_fair_server_init() 495 struct dentry __maybe_unused *numa; in sched_init_debug() 564 static void register_sd(struct sched_domain *sd, struct dentry *parent) in register_sd() 618 struct dentry *d_cpu; in update_sched_domain_debugfs() 627 struct dentry *d_sd; in update_sched_domain_debugfs()
|
| /kernel/power/ |
| A D | energy_model.c | 38 static struct dentry *rootdir; 70 struct dentry *pd) in em_debug_create_ps() 74 struct dentry *d; in em_debug_create_ps() 122 struct dentry *d; in em_debug_create_pd()
|
| /kernel/irq/ |
| A D | debugfs.c | 10 static struct dentry *irq_dir; 240 struct dentry *root_dir; in irq_debugfs_init()
|
| /kernel/locking/ |
| A D | lock_events.c | 146 struct dentry *d_counts = debugfs_create_dir(LOCK_EVENTS_DIR, NULL); in init_lockevent_counts()
|