/kernel/bpf/ |
D | inode.c | 122 static int bpf_mkdir(struct inode *dir, struct dentry *dentry, umode_t mode) in bpf_mkdir() argument 136 d_instantiate(dentry, inode); in bpf_mkdir() 137 dget(dentry); in bpf_mkdir() 142 static int bpf_mkobj_ops(struct inode *dir, struct dentry *dentry, in bpf_mkobj_ops() argument 152 inode->i_private = dentry->d_fsdata; in bpf_mkobj_ops() 154 d_instantiate(dentry, inode); in bpf_mkobj_ops() 155 dget(dentry); in bpf_mkobj_ops() 160 static int bpf_mkobj(struct inode *dir, struct dentry *dentry, umode_t mode, in bpf_mkobj() argument 166 dentry->d_fsdata == NULL) in bpf_mkobj() 171 return bpf_mkobj_ops(dir, dentry, mode, &bpf_prog_iops); in bpf_mkobj() [all …]
|
/kernel/ |
D | relay.c | 303 static struct dentry *create_buf_file_default_callback(const char *filename, in create_buf_file_default_callback() 304 struct dentry *parent, in create_buf_file_default_callback() 315 static int remove_buf_file_default_callback(struct dentry *dentry) in remove_buf_file_default_callback() argument 408 struct dentry *dentry) in relay_set_buf_dentry() argument 410 buf->dentry = dentry; in relay_set_buf_dentry() 411 d_inode(buf->dentry)->i_size = buf->early_bytes; in relay_set_buf_dentry() 414 static struct dentry *relay_create_buf_file(struct rchan *chan, in relay_create_buf_file() 418 struct dentry *dentry; in relay_create_buf_file() local 427 dentry = chan->cb->create_buf_file(tmpname, chan->parent, in relay_create_buf_file() 433 return dentry; in relay_create_buf_file() [all …]
|
D | audit_fsnotify.c | 87 struct dentry *dentry; in audit_alloc_mark() local 94 dentry = kern_path_locked(pathname, &path); in audit_alloc_mark() 95 if (IS_ERR(dentry)) in audit_alloc_mark() 96 return (void *)dentry; /* returning an error */ in audit_alloc_mark() 97 inode = path.dentry->d_inode; in audit_alloc_mark() 109 audit_update_mark(audit_mark, dentry->d_inode); in audit_alloc_mark() 118 dput(dentry); in audit_alloc_mark() 183 inode = ((struct path *)data)->dentry->d_inode; in audit_mark_handle_event()
|
D | auditsc.c | 884 context->pwd.dentry = NULL; in audit_free_names() 1425 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit() 1612 static void handle_path(const struct dentry *dentry) in handle_path() argument 1617 const struct dentry *d, *parent; in handle_path() 1627 d = dentry; in handle_path() 1742 if (!context->pwd.dentry) in __audit_getname() 1752 void __audit_inode(struct filename *name, const struct dentry *dentry, in __audit_inode() argument 1756 struct inode *inode = d_backing_inode(dentry); in __audit_inode() 1827 handle_path(dentry); in __audit_inode() 1828 audit_copy_inode(n, dentry, inode); in __audit_inode() [all …]
|
D | audit_watch.c | 150 struct inode *inode = d_backing_inode(path->dentry); in audit_init_parent() 365 struct dentry *d = kern_path_locked(watch->path, parent); in audit_get_nd() 368 inode_unlock(d_backing_inode(parent->dentry)); in audit_get_nd() 434 parent = audit_find_parent(d_backing_inode(parent_path.dentry)); in audit_add_watch() 489 inode = d_backing_inode(((struct path *)data)->dentry); in audit_watch_handle_event()
|
D | audit.c | 1719 const struct dentry *dentry) in audit_copy_fcaps() argument 1724 if (!dentry) in audit_copy_fcaps() 1727 rc = get_vfs_caps_from_disk(dentry, &caps); in audit_copy_fcaps() 1741 void audit_copy_inode(struct audit_names *name, const struct dentry *dentry, in audit_copy_inode() argument 1751 audit_copy_fcaps(name, dentry); in audit_copy_inode() 1972 audit_copy_inode(name, link->dentry, d_backing_inode(link->dentry)); in audit_log_link_denied()
|
D | cgroup.c | 2083 static struct dentry *cgroup_mount(struct file_system_type *fs_type, in cgroup_mount() 2093 struct dentry *dentry; in cgroup_mount() local 2251 dentry = kernfs_mount(fs_type, flags, root->kf_root, in cgroup_mount() 2260 if (!IS_ERR(dentry) && ns != &init_cgroup_ns) { in cgroup_mount() 2261 struct dentry *nsdentry; in cgroup_mount() 2272 nsdentry = kernfs_node_dentry(cgrp->kn, dentry->d_sb); in cgroup_mount() 2273 dput(dentry); in cgroup_mount() 2274 dentry = nsdentry; in cgroup_mount() 2277 if (IS_ERR(dentry) || !new_sb) in cgroup_mount() 2290 return dentry; in cgroup_mount() [all …]
|
D | audit.h | 210 const struct dentry *dentry,
|
/kernel/gcov/ |
D | fs.c | 57 struct dentry *dentry; member 58 struct dentry **links; 66 static struct dentry *reset_dentry; 366 static void add_links(struct gcov_node *node, struct dentry *parent) in add_links() 375 node->links = kcalloc(num, sizeof(struct dentry *), GFP_KERNEL); in add_links() 448 node->dentry = debugfs_create_file(deskew(node->name), 0600, in new_node() 449 parent->dentry, node, &gcov_data_fops); in new_node() 451 node->dentry = debugfs_create_dir(node->name, parent->dentry); in new_node() 452 if (!node->dentry) { in new_node() 458 add_links(node, parent->dentry); in new_node() [all …]
|
/kernel/trace/ |
D | trace.h | 251 struct dentry *dir; 252 struct dentry *options; 253 struct dentry *percpu_dir; 254 struct dentry *event_dir; 373 struct dentry *entry; 579 struct dentry *trace_create_file(const char *name, 581 struct dentry *parent, 585 struct dentry *tracing_init_dentry(void); 865 struct dentry *parent); 871 void ftrace_init_tracefs(struct trace_array *tr, struct dentry *d_tracer); [all …]
|
D | trace_hwlat.c | 61 static struct dentry *hwlat_sample_width; /* sample width us */ 62 static struct dentry *hwlat_sample_window; /* sample window us */ 527 struct dentry *d_tracer; in init_tracefs() 528 struct dentry *top_dir; in init_tracefs()
|
D | trace_stat.c | 36 struct dentry *file; 44 static struct dentry *stat_dir; 276 struct dentry *d_tracing; in tracing_stat_init()
|
D | trace_events.c | 714 struct dentry *dir = file->dir; in remove_event_file_dir() 715 struct dentry *child; in remove_event_file_dir() 1876 static struct dentry * 1878 struct trace_event_file *file, struct dentry *parent) in event_subsystem_dir() 1882 struct dentry *entry; in event_subsystem_dir() 1952 event_create_dir(struct dentry *parent, struct trace_event_file *file) in event_create_dir() 1957 struct dentry *d_events; in event_create_dir() 2842 create_event_toplevel_files(struct dentry *parent, struct trace_array *tr) in create_event_toplevel_files() 2844 struct dentry *d_events; in create_event_toplevel_files() 2845 struct dentry *entry; in create_event_toplevel_files() [all …]
|
D | trace.c | 4604 static void trace_create_enum_file(struct dentry *d_tracer) in trace_create_enum_file() 4611 static inline void trace_create_enum_file(struct dentry *d_tracer) { } in trace_create_enum_file() 6590 static struct dentry *tracing_get_dentry(struct trace_array *tr) in tracing_get_dentry() 6603 static struct dentry *tracing_dentry_percpu(struct trace_array *tr, int cpu) in tracing_dentry_percpu() 6605 struct dentry *d_tracer; in tracing_dentry_percpu() 6622 static struct dentry * 6623 trace_create_cpu_file(const char *name, umode_t mode, struct dentry *parent, in trace_create_cpu_file() 6626 struct dentry *ret = trace_create_file(name, mode, parent, data, fops); in trace_create_cpu_file() 6636 struct dentry *d_percpu = tracing_dentry_percpu(tr, cpu); in tracing_init_tracefs_percpu() 6637 struct dentry *d_cpu; in tracing_init_tracefs_percpu() [all …]
|
D | blktrace.c | 296 static struct dentry *blk_tree_root; 409 static int blk_remove_buf_file_callback(struct dentry *dentry) in blk_remove_buf_file_callback() argument 411 debugfs_remove(dentry); in blk_remove_buf_file_callback() 416 static struct dentry *blk_create_buf_file_callback(const char *filename, in blk_create_buf_file_callback() 417 struct dentry *parent, in blk_create_buf_file_callback() 457 struct dentry *dir = NULL; in do_blk_trace_setup()
|
D | trace_printk.c | 362 struct dentry *d_tracer; in init_trace_printk_function_export()
|
D | trace_stack.c | 466 struct dentry *d_tracer; in stack_trace_init()
|
D | ftrace.c | 1033 static __init void ftrace_profile_tracefs(struct dentry *d_tracer) in ftrace_profile_tracefs() 1036 struct dentry *entry; in ftrace_profile_tracefs() 1074 static __init void ftrace_profile_tracefs(struct dentry *d_tracer) in ftrace_profile_tracefs() 4813 struct dentry *parent) in ftrace_create_filter_files() 4842 static __init int ftrace_init_dyn_tracefs(struct dentry *d_tracer) in ftrace_init_dyn_tracefs() 5191 static inline int ftrace_init_dyn_tracefs(struct dentry *d_tracer) { return 0; } in ftrace_init_dyn_tracefs() 5591 void ftrace_init_tracefs(struct trace_array *tr, struct dentry *d_tracer) in ftrace_init_tracefs() 5598 struct dentry *d_tracer) in ftrace_init_tracefs_toplevel()
|
D | trace_functions.c | 55 struct dentry *parent) in ftrace_create_function_files()
|
/kernel/rcu/ |
D | tiny_plugin.h | 112 static struct dentry *rcudir; 116 struct dentry *retval; in rcutiny_trace_init()
|
D | tree_trace.c | 429 static struct dentry *rcudir; 434 struct dentry *retval; in rcutree_trace_init() 435 struct dentry *rspdir; in rcutree_trace_init()
|
/kernel/time/ |
D | timekeeping_debug.c | 59 struct dentry *d; in tk_debug_sleep_time_init()
|
D | test_udelay.c | 32 static struct dentry *udelay_test_debugfs_file;
|
/kernel/power/ |
D | qos.c | 598 static int register_pm_qos_misc(struct pm_qos_object *qos, struct dentry *d) in register_pm_qos_misc() 702 struct dentry *d; in pm_qos_power_init()
|
/kernel/locking/ |
D | qspinlock_stat.h | 211 struct dentry *d_qstat = debugfs_create_dir("qlockstat", NULL); in init_qspinlock_stat()
|