/linux-6.12.1/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() 172 error = kern_path(oldname, 0, &old_path); in init_link() 250 error = kern_path(filename, 0, &path); in init_utimes()
|
D | namei.c | 2714 int kern_path(const char *name, unsigned int flags, struct path *path) in kern_path() function 2723 EXPORT_SYMBOL(kern_path);
|
/linux-6.12.1/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.12.1/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()
|
/linux-6.12.1/include/linux/ |
D | namei.h | 58 extern int kern_path(const char *, unsigned, struct path *);
|
/linux-6.12.1/security/apparmor/ |
D | mount.c | 439 error = kern_path(dev_name, LOOKUP_FOLLOW|LOOKUP_AUTOMOUNT, &old_path); in aa_bind_mount() 527 error = kern_path(orig_name, LOOKUP_FOLLOW, &old_path); in aa_move_mount_old() 565 error = kern_path(dev_name, LOOKUP_FOLLOW, &tmp_path); in aa_new_mount()
|
/linux-6.12.1/fs/smb/server/mgmt/ |
D | share_config.c | 192 ret = kern_path(share->path, 0, &share->vfs_path); in share_config_request()
|
/linux-6.12.1/fs/autofs/ |
D | dev-ioctl.c | 196 err = kern_path(pathname, LOOKUP_MOUNTPOINT, &path); in find_autofs_mount() 610 err = kern_path(name, LOOKUP_FOLLOW | LOOKUP_MOUNTPOINT, in autofs_dev_ioctl_ismountpoint()
|
/linux-6.12.1/fs/configfs/ |
D | symlink.c | 122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
|
/linux-6.12.1/fs/cachefiles/ |
D | cache.c | 40 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_add_cache()
|
/linux-6.12.1/fs/nfsd/ |
D | export.c | 154 err = kern_path(buf, 0, &key.ek_path); in expkey_parse() 632 err = kern_path(buf, 0, &exp.ex_path); in svc_export_parse() 1028 if (kern_path(name, 0, &path)) { in exp_rootfh()
|
D | nfs4recover.c | 657 status = kern_path(recdir, LOOKUP_FOLLOW, &path); in nfs4_reset_recoverydir() 2048 status = kern_path(nfs4_recoverydir(), LOOKUP_FOLLOW, &path); in check_for_legacy_methods()
|
D | nfsctl.c | 277 error = kern_path(fo_path, 0, &path); in write_unlock_fs()
|
/linux-6.12.1/fs/ecryptfs/ |
D | main.c | 513 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
|
/linux-6.12.1/drivers/mtd/ubi/ |
D | kapi.c | 296 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_get_num_by_path()
|
D | build.c | 1175 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
|
/linux-6.12.1/kernel/trace/ |
D | trace_uprobe.c | 592 ret = kern_path(filename, LOOKUP_FOLLOW, &path); in __trace_uprobe_create() 1625 ret = kern_path(name, LOOKUP_FOLLOW, &path); in create_local_trace_uprobe()
|
/linux-6.12.1/fs/overlayfs/ |
D | params.c | 237 err = kern_path(name, LOOKUP_FOLLOW, path); in ovl_mount_dir_noesc()
|
/linux-6.12.1/kernel/bpf/ |
D | inode.c | 587 int ret = kern_path(name, LOOKUP_FOLLOW, &path); in bpf_prog_get_type_path()
|
/linux-6.12.1/block/ |
D | bdev.c | 1164 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
|
/linux-6.12.1/tools/testing/selftests/bpf/bpf_testmod/ |
D | bpf_testmod.c | 497 err = kern_path("/proc/self/exe", LOOKUP_FOLLOW, &uprobe.path); in testmod_register_uprobe()
|
/linux-6.12.1/fs/gfs2/ |
D | ops_fstype.c | 1678 error = kern_path(fc->source, LOOKUP_FOLLOW, &path); in gfs2_meta_get_tree()
|
/linux-6.12.1/fs/smb/server/ |
D | vfs.c | 646 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath); in ksmbd_vfs_link()
|