/freebsd/sys/kern/ |
H A D | vfs_extattr.c | 103 NDINIT(&nd, LOOKUP, FOLLOW | AUDITVNODE2, UIO_USERSPACE, in sys_extattrctl() 113 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_extattrctl() 326 NDINIT(&nd, LOOKUP, follow | AUDITVNODE1, pathseg, path); in kern_extattr_set_path() 512 NDINIT(&nd, LOOKUP, follow | AUDITVNODE1, pathseg, path); in kern_extattr_get_path() 664 NDINIT(&nd, LOOKUP, follow | AUDITVNODE1, pathseg, path); in kern_extattr_delete_path() 842 NDINIT(&nd, LOOKUP, follow | AUDITVNODE1, pathseg, path); in kern_extattr_list_path()
|
H A D | vfs_acl.c | 376 NDINIT(&nd, LOOKUP, follow | AUDITVNODE1, UIO_USERSPACE, path); in kern___acl_get_path() 415 NDINIT(&nd, LOOKUP, follow | AUDITVNODE1, UIO_USERSPACE, path); in kern___acl_set_path() 492 NDINIT(&nd, LOOKUP, follow, UIO_USERSPACE, path); in kern___acl_delete_path() 550 NDINIT(&nd, LOOKUP, follow, UIO_USERSPACE, path); in kern___acl_aclcheck_path()
|
H A D | vfs_mountroot.c | 349 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, fspath); in vfs_mountroot_shuffle() 353 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, in vfs_mountroot_shuffle() 383 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, "/dev"); in vfs_mountroot_shuffle() 723 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, dev); in parse_mount_dev_present() 947 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, "/.mount.conf"); in vfs_mountroot_readconf()
|
H A D | kern_ctf.c | 103 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, lf->pathname); in link_elf_ctf_get()
|
H A D | kern_acct.c | 213 NDINIT(&nd, LOOKUP, NOFOLLOW | AUDITVNODE1, UIO_USERSPACE, in sys_acct()
|
H A D | vfs_syscalls.c | 201 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_quotactl() 334 NDINIT(&nd, LOOKUP, FOLLOW | AUDITVNODE1, pathseg, path); in kern_statfs() 951 NDINIT(&nd, LOOKUP, FOLLOW | LOCKSHARED | LOCKLEAF | AUDITVNODE1, in kern_chdir() 996 NDINIT(&nd, LOOKUP, FOLLOW | LOCKSHARED | LOCKLEAF | AUDITVNODE1, in sys_chroot() 1834 NDINIT(&nd, DELETE, LOCKPARENT | DOWHITEOUT | AUDITVNODE1, in sys_undelete() 2625 NDINIT(&nd, LOOKUP, LOCKSHARED | LOCKLEAF | AUDITVNODE1 | flags, in kern_pathconf() 3330 NDINIT(&nd, LOOKUP, NOFOLLOW | AUDITVNODE1, pathseg, path); in kern_lutimes() 3490 NDINIT(&nd, LOOKUP, FOLLOW | AUDITVNODE1, pathseg, path); in kern_truncate() 4292 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_revoke()
|
H A D | subr_firmware.c | 297 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, fn); in try_binary_file()
|
H A D | imgact_binmisc.c | 165 NDINIT(&nd, LOOKUP, FOLLOW | ISOPEN, UIO_SYSSPACE, t); in imgact_binmisc_populate_interp()
|
H A D | kern_alq.c | 445 NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_SYSSPACE, file); in alq_open_flags()
|
H A D | kern_linker.c | 1964 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, result); in linker_lookup_file() 2014 NDINIT(&nd, LOOKUP, NOFOLLOW, UIO_SYSSPACE, pathbuf); in linker_hints_lookup()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_file_os.c | 74 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path); in zfs_file_open() 76 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path, td); in zfs_file_open()
|
/freebsd/sys/dev/veriexec/ |
H A D | verified_exec.c | 212 NDINIT(&nid, LOOKUP, FOLLOW, UIO_SYSSPACE, params->file); in verifiedexecioctl()
|
/freebsd/sys/sys/ |
H A D | namei.h | 211 #define NDINIT(ndp, op, flags, segflg, namep) \ macro
|
/freebsd/sys/security/mac/ |
H A D | mac_syscalls.c | 361 NDINIT(&nd, LOOKUP, LOCKLEAF | follow, UIO_USERSPACE, path_p); in kern___mac_get_path() 535 NDINIT(&nd, LOOKUP, LOCKLEAF | follow, UIO_USERSPACE, path_p); in kern___mac_set_path()
|
/freebsd/sys/security/mac_veriexec/ |
H A D | mac_veriexec.c | 935 NDINIT(&nd, LOOKUP, in mac_veriexec_syscall() 962 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, in mac_veriexec_syscall()
|
/freebsd/sys/compat/linux/ |
H A D | linux_util.c | 84 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, linux_emul_path); in linux_pwd_onexec()
|
/freebsd/sys/security/mac_veriexec_parser/ |
H A D | mac_veriexec_parser.c | 242 NDINIT(nid, LOOKUP, 0, UIO_SYSSPACE, path); in open_file()
|
/freebsd/sys/fs/nullfs/ |
H A D | null_vfsops.c | 131 NDINIT(ndp, LOOKUP, FOLLOW|LOCKLEAF, UIO_SYSSPACE, target); in nullfs_mount()
|
/freebsd/sys/dev/beri/virtio/ |
H A D | virtio_block.c | 241 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, sc->mdio->md_file); in open_file()
|
/freebsd/sys/fs/unionfs/ |
H A D | union_vfsops.c | 231 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, target); in unionfs_domount()
|
/freebsd/sys/fs/udf/ |
H A D | udf_vfsops.c | 217 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, fspec); in udf_mount()
|
/freebsd/sys/security/audit/ |
H A D | audit_syscalls.c | 801 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_auditctl()
|
/freebsd/sys/fs/cd9660/ |
H A D | cd9660_vfsops.c | 163 NDINIT(&ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, fspec); in cd9660_mount()
|
/freebsd/sys/fs/nfs/ |
H A D | nfs_commonport.c | 243 NDINIT(ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_USERSPACE, fname); in nfsrv_lookupfilename()
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_vfsops.c | 357 NDINIT(&ndp, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, from); in msdosfs_mount()
|