Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
173 error = kern_path(oldname, 0, &old_path); in init_link()
252 error = kern_path(filename, 0, &path); in init_utimes()
Dnamespace.c2428 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/
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.1.9/include/linux/
Dnamei.h60 extern int kern_path(const char *, unsigned, struct path *);
/linux-6.1.9/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()
Dpid_namespace.c297 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/
Dmount.c438 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/
Dshare_config.c175 ret = kern_path(share->path, 0, &share->vfs_path); in share_config_request()
/linux-6.1.9/fs/autofs/
Ddev-ioctl.c191 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/
Dsymlink.c122 ret = kern_path(symname, LOOKUP_FOLLOW|LOOKUP_DIRECTORY, path); in get_target()
/linux-6.1.9/fs/cachefiles/
Dcache.c39 ret = kern_path(cache->rootdirname, LOOKUP_DIRECTORY, &path); in cachefiles_add_cache()
/linux-6.1.9/fs/nfsd/
Dexport.c154 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()
Dnfs4recover.c656 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()
Dnfsctl.c291 error = kern_path(fo_path, 0, &path); in write_unlock_fs()
/linux-6.1.9/drivers/mtd/ubi/
Dkapi.c300 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in ubi_open_volume_path()
Dbuild.c1135 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
/linux-6.1.9/kernel/bpf/
Dinode.c590 int ret = kern_path(name, LOOKUP_FOLLOW, &path); in bpf_prog_get_type_path()
/linux-6.1.9/fs/ecryptfs/
Dmain.c527 rc = kern_path(dev_name, LOOKUP_FOLLOW | LOOKUP_DIRECTORY, &path); in ecryptfs_mount()
/linux-6.1.9/kernel/trace/
Dtrace_uprobe.c588 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/
Dbdev.c981 error = kern_path(pathname, LOOKUP_FOLLOW, &path); in lookup_bdev()
/linux-6.1.9/fs/gfs2/
Dops_fstype.c1684 error = kern_path(fc->source, LOOKUP_FOLLOW, &path); in gfs2_meta_get_tree()
/linux-6.1.9/fs/ksmbd/
Dvfs.c653 err = kern_path(oldname, LOOKUP_NO_SYMLINKS, &oldpath); in ksmbd_vfs_link()
/linux-6.1.9/fs/overlayfs/
Dsuper.c875 err = kern_path(name, LOOKUP_FOLLOW, path); in ovl_mount_dir_noesc()

12