/linux-6.1.9/fs/ |
D | init.c | 22 ret = kern_path(dir_name, LOOKUP_FOLLOW, &path); in init_mount() 38 ret = kern_path(name, lookup_flags, &path); in init_umount() 49 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chdir() 64 error = kern_path(filename, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in init_chroot() 88 error = kern_path(filename, lookup_flags, &path); in init_chown() 105 error = kern_path(filename, LOOKUP_FOLLOW, &path); in init_chmod() 118 error = kern_path(filename, LOOKUP_FOLLOW, &path); in init_eaccess() 132 error = kern_path(filename, lookup_flags, &path); in init_stat() 173 error = kern_path(oldname, 0, &old_path); in init_link() 252 error = kern_path(filename, 0, &path); in init_utimes()
|
D | namespace.c | 2428 err = kern_path(old_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in do_loopback() 2912 err = kern_path(old_name, LOOKUP_FOLLOW, &old_path); in do_move_mount_old()
|
/linux-6.1.9/security/tomoyo/ |
D | load_policy.c | 43 if (kern_path(tomoyo_loader, LOOKUP_FOLLOW, &path)) { in tomoyo_policy_loader_exists()
|
D | realpath.c | 303 if (pathname && kern_path(pathname, 0, &path) == 0) { in tomoyo_realpath_nofollow()
|
D | mount.c | 136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { in tomoyo_mount_acl()
|
/linux-6.1.9/include/linux/ |
D | namei.h | 60 extern int kern_path(const char *, unsigned, struct path *);
|
/linux-6.1.9/kernel/ |
D | audit_tree.c | 695 err = kern_path(tree->pathname, 0, &path); in audit_trim_trees() 828 err = kern_path(tree->pathname, 0, &path); in audit_add_tree_rule() 878 err = kern_path(new, 0, &path2); in audit_tag_tree() 886 err = kern_path(old, 0, &path1); in audit_tag_tree() 905 err = kern_path(tree->pathname, 0, &path2); in audit_tag_tree()
|
D | pid_namespace.c | 297 static struct ctl_path kern_path[] = { { .procname = "kernel", }, { } }; variable 456 register_sysctl_paths(kern_path, pid_ns_ctl_table); in pid_namespaces_init()
|
/linux-6.1.9/security/apparmor/ |
D | mount.c | 438 error = kern_path(dev_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in aa_bind_mount() 498 error = kern_path(orig_name, LOOKUP_FOLLOW, &old_path); in aa_move_mount() 546 error = kern_path(dev_name, LOOKUP_FOLLOW, &tmp_path); in aa_new_mount()
|
/linux-6.1.9/fs/ksmbd/mgmt/ |
D | share_config.c | 175 ret = kern_path(share->path, 0, &share->vfs_path); in share_config_request()
|
/linux-6.1.9/fs/autofs/ |
D | dev-ioctl.c | 191 err = kern_path(pathname, LOOKUP_MOUNTPOINT, &path); in find_autofs_mount() 524 err = kern_path(name, LOOKUP_FOLLOW | LOOKUP_MOUNTPOINT, in autofs_dev_ioctl_ismountpoint()
|
/linux-6.1.9/fs/configfs/ |
D | symlink.c | 122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
|
/linux-6.1.9/fs/cachefiles/ |
D | cache.c | 39 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_add_cache()
|
/linux-6.1.9/fs/nfsd/ |
D | export.c | 154 err = kern_path(buf, 0, &key.ek_path); in expkey_parse() 604 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse() 987 if (kern_path(name, 0, &path)) { in exp_rootfh()
|
D | nfs4recover.c | 656 status = kern_path(recdir, LOOKUP_FOLLOW, &path); in nfs4_reset_recoverydir() 2046 status = kern_path(nfs4_recoverydir(), LOOKUP_FOLLOW, &path); in nfsd4_client_tracking_init()
|
D | nfsctl.c | 291 error = kern_path(fo_path, 0, &path); in write_unlock_fs()
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | kapi.c | 300 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_open_volume_path()
|
D | build.c | 1135 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
|
/linux-6.1.9/kernel/bpf/ |
D | inode.c | 590 int ret = kern_path(name, LOOKUP_FOLLOW, &path); in bpf_prog_get_type_path()
|
/linux-6.1.9/fs/ecryptfs/ |
D | main.c | 527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
|
/linux-6.1.9/kernel/trace/ |
D | trace_uprobe.c | 588 ret = kern_path(filename, LOOKUP_FOLLOW, &path); in __trace_uprobe_create() 1589 ret = kern_path(name, LOOKUP_FOLLOW, &path); in create_local_trace_uprobe()
|
/linux-6.1.9/block/ |
D | bdev.c | 981 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
|
/linux-6.1.9/fs/gfs2/ |
D | ops_fstype.c | 1684 error = kern_path(fc->source, LOOKUP_FOLLOW, &path); in gfs2_meta_get_tree()
|
/linux-6.1.9/fs/ksmbd/ |
D | vfs.c | 653 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath); in ksmbd_vfs_link()
|
/linux-6.1.9/fs/overlayfs/ |
D | super.c | 875 err = kern_path(name, LOOKUP_FOLLOW, path); in ovl_mount_dir_noesc()
|