Home
last modified time | relevance | path

Searched refs:kern_path (Results 1 – 25 of 32) sorted by relevance

12

/linux-6.12.1/fs/
Dinit.c22 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()
Dnamei.c2714 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/
Dload_policy.c43 if (kern_path(tomoyo_loader, LOOKUP_FOLLOW, &path)) { in tomoyo_policy_loader_exists()
Drealpath.c303 if (pathname && kern_path(pathname, 0, &path) == 0) { in tomoyo_realpath_nofollow()
Dmount.c136 if (!dev_name || kern_path(dev_name, LOOKUP_FOLLOW, &path)) { in tomoyo_mount_acl()
/linux-6.12.1/kernel/
Daudit_tree.c695 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/
Dnamei.h58 extern int kern_path(const char *, unsigned, struct path *);
/linux-6.12.1/security/apparmor/
Dmount.c439 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/
Dshare_config.c192 ret = kern_path(share->path, 0, &share->vfs_path); in share_config_request()
/linux-6.12.1/fs/autofs/
Ddev-ioctl.c196 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/
Dsymlink.c122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
/linux-6.12.1/fs/cachefiles/
Dcache.c40 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_add_cache()
/linux-6.12.1/fs/nfsd/
Dexport.c154 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()
Dnfs4recover.c657 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()
Dnfsctl.c277 error = kern_path(fo_path, 0, &path); in write_unlock_fs()
/linux-6.12.1/fs/ecryptfs/
Dmain.c513 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
/linux-6.12.1/drivers/mtd/ubi/
Dkapi.c296 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_get_num_by_path()
Dbuild.c1175 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
/linux-6.12.1/kernel/trace/
Dtrace_uprobe.c592 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/
Dparams.c237 err = kern_path(name, LOOKUP_FOLLOW, path); in ovl_mount_dir_noesc()
/linux-6.12.1/kernel/bpf/
Dinode.c587 int ret = kern_path(name, LOOKUP_FOLLOW, &path); in bpf_prog_get_type_path()
/linux-6.12.1/block/
Dbdev.c1164 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
/linux-6.12.1/tools/testing/selftests/bpf/bpf_testmod/
Dbpf_testmod.c497 err = kern_path("/proc/self/exe", LOOKUP_FOLLOW, &uprobe.path); in testmod_register_uprobe()
/linux-6.12.1/fs/gfs2/
Dops_fstype.c1678 error = kern_path(fc->source, LOOKUP_FOLLOW, &path); in gfs2_meta_get_tree()
/linux-6.12.1/fs/smb/server/
Dvfs.c646 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath); in ksmbd_vfs_link()

12