Home
last modified time | relevance | path

Searched refs:mnt (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dacct.c196 struct vfsmount *mnt, *internal; in acct_on() local
237 mnt = file->f_path.mnt; in acct_on()
238 file->f_path.mnt = internal; in acct_on()
249 pin_insert(&acct->pin, mnt); in acct_on()
255 __mnt_drop_write(mnt); in acct_on()
256 mntput(mnt); in acct_on()
Daudit_tree.c673 static int compare_root(struct vfsmount *mnt, void *arg) in compare_root() argument
675 return inode_to_key(d_backing_inode(mnt->mnt_root)) == in compare_root()
747 static int tag_mount(struct vfsmount *mnt, void *arg) in tag_mount() argument
749 return tag_chunk(d_backing_inode(mnt->mnt_root), arg); in tag_mount()
806 struct vfsmount *mnt; in audit_add_tree_rule() local
833 mnt = collect_mounts(&path); in audit_add_tree_rule()
835 if (IS_ERR(mnt)) { in audit_add_tree_rule()
836 err = PTR_ERR(mnt); in audit_add_tree_rule()
841 err = iterate_mounts(tag_mount, tree, mnt); in audit_add_tree_rule()
842 drop_collected_mounts(mnt); in audit_add_tree_rule()
Dsysctl_binary.c1282 struct vfsmount *mnt; in binary_sysctl() local
1305 mnt = task_active_pid_ns(current)->proc_mnt; in binary_sysctl()
1306 file = file_open_root(mnt->mnt_root, mnt, pathname, flags, 0); in binary_sysctl()
Dauditsc.c875 context->pwd.mnt = NULL; in audit_free_names()
1551 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
/kernel/trace/
Dtrace.c8625 struct vfsmount *mnt; in trace_automount() local
8636 mnt = vfs_submount(mntpt, type, "tracefs", NULL); in trace_automount()
8638 if (IS_ERR(mnt)) in trace_automount()
8640 mntget(mnt); in trace_automount()
8642 return mnt; in trace_automount()