Searched refs:mnt (Results 1 – 5 of 5) sorted by relevance
/kernel/ |
D | usermode_driver.c | 15 struct vfsmount *mnt; in blob_to_mnt() local 24 mnt = kern_mount(type); in blob_to_mnt() 26 if (IS_ERR(mnt)) in blob_to_mnt() 27 return mnt; in blob_to_mnt() 29 file = file_open_root(mnt->mnt_root, mnt, name, O_CREAT | O_WRONLY, 0700); in blob_to_mnt() 31 mntput(mnt); in blob_to_mnt() 41 mntput(mnt); in blob_to_mnt() 50 return mnt; in blob_to_mnt() 62 struct vfsmount *mnt; in umd_load_blob() local 64 if (WARN_ON_ONCE(info->wd.dentry || info->wd.mnt)) in umd_load_blob() [all …]
|
D | acct.c | 196 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()
|
D | audit_tree.c | 671 static int compare_root(struct vfsmount *mnt, void *arg) in compare_root() argument 673 return inode_to_key(d_backing_inode(mnt->mnt_root)) == in compare_root() 745 static int tag_mount(struct vfsmount *mnt, void *arg) in tag_mount() argument 747 return tag_chunk(d_backing_inode(mnt->mnt_root), arg); in tag_mount() 804 struct vfsmount *mnt; in audit_add_tree_rule() local 831 mnt = collect_mounts(&path); in audit_add_tree_rule() 833 if (IS_ERR(mnt)) { in audit_add_tree_rule() 834 err = PTR_ERR(mnt); in audit_add_tree_rule() 839 err = iterate_mounts(tag_mount, tree, mnt); in audit_add_tree_rule() 840 drop_collected_mounts(mnt); in audit_add_tree_rule()
|
D | auditsc.c | 904 context->pwd.mnt = NULL; in audit_free_names() 1632 if (context->pwd.dentry && context->pwd.mnt) { in audit_log_exit()
|
/kernel/trace/ |
D | trace.c | 9133 struct vfsmount *mnt; in trace_automount() local 9144 mnt = vfs_submount(mntpt, type, "tracefs", NULL); in trace_automount() 9146 if (IS_ERR(mnt)) in trace_automount() 9148 mntget(mnt); in trace_automount() 9150 return mnt; in trace_automount()
|