Home
last modified time | relevance | path

Searched refs:dentry (Results 1 – 19 of 19) sorted by relevance

/kernel/
Dcgroup.c561 static int cgroup_mkdir(struct inode *dir, struct dentry *dentry, int mode);
562 static int cgroup_rmdir(struct inode *unused_dir, struct dentry *dentry);
605 static void cgroup_diput(struct dentry *dentry, struct inode *inode) in cgroup_diput() argument
609 struct cgroup *cgrp = dentry->d_fsdata; in cgroup_diput()
641 static void remove_dir(struct dentry *d) in remove_dir()
643 struct dentry *parent = dget(d->d_parent); in remove_dir()
650 static void cgroup_clear_directory(struct dentry *dentry) in cgroup_clear_directory() argument
654 BUG_ON(!mutex_is_locked(&dentry->d_inode->i_mutex)); in cgroup_clear_directory()
656 node = dentry->d_subdirs.next; in cgroup_clear_directory()
657 while (node != &dentry->d_subdirs) { in cgroup_clear_directory()
[all …]
Drelay.c240 buf->chan->cb->remove_buf_file(buf->dentry); in relay_remove_buf()
310 static struct dentry *create_buf_file_default_callback(const char *filename, in create_buf_file_default_callback()
311 struct dentry *parent, in create_buf_file_default_callback()
322 static int remove_buf_file_default_callback(struct dentry *dentry) in remove_buf_file_default_callback() argument
411 struct dentry *dentry) in relay_set_buf_dentry() argument
413 buf->dentry = dentry; in relay_set_buf_dentry()
414 buf->dentry->d_inode->i_size = buf->early_bytes; in relay_set_buf_dentry()
417 static struct dentry *relay_create_buf_file(struct rchan *chan, in relay_create_buf_file()
421 struct dentry *dentry; in relay_create_buf_file() local
430 dentry = chan->cb->create_buf_file(tmpname, chan->parent, in relay_create_buf_file()
[all …]
Daudit_tree.c569 root_mnt = collect_mounts(path.mnt, path.dentry); in audit_trim_trees()
600 static int is_under(struct vfsmount *mnt, struct dentry *dentry, in is_under() argument
611 dentry = mnt->mnt_mountpoint; in is_under()
613 return is_subdir(dentry, path->dentry); in is_under()
661 mnt = collect_mounts(path.mnt, path.dentry); in audit_add_tree_rule()
715 struct dentry *dentry; in audit_tag_tree() local
721 tagged = collect_mounts(path.mnt, path.dentry); in audit_tag_tree()
732 dentry = dget(path.dentry); in audit_tag_tree()
735 if (dentry == tagged->mnt_root && dentry == mnt->mnt_root) in audit_tag_tree()
736 follow_up(&mnt, &dentry); in audit_tag_tree()
[all …]
Dauditsc.c822 context->pwd.dentry = NULL; in audit_free_names()
1455 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
1749 static void handle_path(const struct dentry *dentry) in handle_path() argument
1754 const struct dentry *d, *parent; in handle_path()
1764 d = dentry; in handle_path()
1837 if (!context->pwd.dentry) { in __audit_getname()
1912 static inline int audit_copy_fcaps(struct audit_names *name, const struct dentry *dentry) in audit_copy_fcaps() argument
1922 if (!dentry) in audit_copy_fcaps()
1925 rc = get_vfs_caps_from_disk(dentry, &caps); in audit_copy_fcaps()
1939 static void audit_copy_inode(struct audit_names *name, const struct dentry *dentry, in audit_copy_inode() argument
[all …]
Dcpuset.c2449 struct dentry *dentry; in cpuset_print_task_mems_allowed() local
2451 dentry = task_cs(tsk)->css.cgroup->dentry; in cpuset_print_task_mems_allowed()
2454 dentry ? (const char *)dentry->d_name.name : "/"); in cpuset_print_task_mems_allowed()
Dacct.c125 if (vfs_statfs(file->f_path.dentry, &sbuf)) in check_free_space()
227 if (!S_ISREG(file->f_path.dentry->d_inode->i_mode)) { in acct_on()
Drcutree_trace.c218 static struct dentry *rcudir, *datadir, *datadir_csv, *hierdir, *gpdir;
Dauditfilter.c176 ndp->path.dentry->d_inode, AUDIT_IN_WATCH); in audit_init_parent()
1241 watch->dev = ndw->path.dentry->d_inode->i_sb->s_dev; in audit_add_watch()
1242 watch->ino = ndw->path.dentry->d_inode->i_ino; in audit_add_watch()
1252 if (inotify_find_watch(audit_ih, ndp->path.dentry->d_inode, in audit_add_watch()
Drcupreempt_trace.c279 static struct dentry *rcudir, *statdir, *ctrsdir, *gpdir;
Dkprobes.c1383 struct dentry *dir, *file; in debugfs_kprobe_init()
Dfork.c320 struct inode *inode = file->f_path.dentry->d_inode; in dup_mmap()
/kernel/trace/
Dtrace_branch.c318 struct dentry *d_tracer; in ftrace_branch_init()
319 struct dentry *entry; in ftrace_branch_init()
Dtrace_sysprof.c325 void init_tracer_sysprof_debugfs(struct dentry *d_tracer) in init_tracer_sysprof_debugfs()
327 struct dentry *entry; in init_tracer_sysprof_debugfs()
Dtrace_stack.c339 struct dentry *d_tracer; in stack_trace_init()
340 struct dentry *entry; in stack_trace_init()
Dtrace.h379 struct dentry *tracing_init_dentry(void);
380 void init_tracer_sysprof_debugfs(struct dentry *d_tracer);
Dftrace.c1560 static __init int ftrace_init_dyn_debugfs(struct dentry *d_tracer) in ftrace_init_dyn_debugfs()
1562 struct dentry *entry; in ftrace_init_dyn_debugfs()
1684 static inline int ftrace_init_dyn_debugfs(struct dentry *d_tracer) { return 0; } in ftrace_init_dyn_debugfs()
1850 struct dentry *d_tracer; in ftrace_init_debugfs()
1851 struct dentry *entry; in ftrace_init_debugfs()
Dtrace.c3509 static struct dentry *d_tracer;
3511 struct dentry *tracing_init_dentry(void)
3536 struct dentry *d_tracer;
3537 struct dentry *entry;
Dring_buffer.c2521 struct dentry *d_tracer; in rb_init_debugfs()
2522 struct dentry *entry; in rb_init_debugfs()
/kernel/irq/
Dproc.c42 unsigned int irq = (int)(long)PDE(file->f_path.dentry->d_inode)->data; in irq_affinity_proc_write()