| /f-stack/freebsd/kern/ |
| H A D | vfs_lookup.c | 473 cnp->cn_nameptr = cnp->cn_pnbuf; in namei_getpath() 536 cnp->cn_origflags = cnp->cn_flags; in namei() 685 cnp->cn_nameptr = cnp->cn_pnbuf; in namei() 855 cnp->cn_namelen = cp - cnp->cn_nameptr; in lookup() 894 cnp->cn_nameptr[1] == '.' && cnp->cn_nameptr[0] == '.') in lookup() 904 cnp->cn_namelen == 1 && cnp->cn_nameptr[0] == '.' && in lookup() 905 (cnp->cn_nameiop == DELETE || cnp->cn_nameiop == RENAME)) { in lookup() 977 (cnp->cn_nameiop == DELETE || cnp->cn_nameiop == RENAME)) { in lookup() 1230 (cnp->cn_nameiop == DELETE || cnp->cn_nameiop == RENAME)) { in lookup() 1411 (cnp->cn_nameiop == DELETE || cnp->cn_nameiop == RENAME)) { in relookup() [all …]
|
| H A D | vfs_cache.c | 3763 cnp = fpl->cnp; in cache_fpl_handle_root() 3896 cnp = fpl->cnp; in cache_fpl_aborted_impl() 4021 cnp = fpl->cnp; in cache_can_fplookup() 4070 cnp = fpl->cnp; in cache_fplookup_negative_promote() 4094 cnp = fpl->cnp; in cache_fplookup_partial_setup() 4172 cnp = fpl->cnp; in cache_fplookup_final_child() 4215 cnp = fpl->cnp; in cache_fplookup_final_modifying() 4415 cnp = fpl->cnp; in cache_fplookup_final_withparent() 4479 cnp = fpl->cnp; in cache_fplookup_final() 4527 cnp = fpl->cnp; in cache_fplookup_degenerate() [all …]
|
| H A D | uipc_mqueue.c | 847 struct componentname *cnp; in mqfs_lookupx() local 856 cnp = ap->a_cnp; in mqfs_lookupx() 859 pname = cnp->cn_nameptr; in mqfs_lookupx() 860 namelen = cnp->cn_namelen; in mqfs_lookupx() 861 td = cnp->cn_thread; in mqfs_lookupx() 862 flags = cnp->cn_flags; in mqfs_lookupx() 863 nameiop = cnp->cn_nameiop; in mqfs_lookupx() 872 error = VOP_ACCESS(dvp, VEXEC, cnp->cn_cred, cnp->cn_thread); in mqfs_lookupx() 944 cnp->cn_flags |= SAVENAME; in mqfs_lookupx() 1002 pn = mqfs_create_file(pd, cnp->cn_nameptr, cnp->cn_namelen, in mqfs_create() [all …]
|
| H A D | vnode_if.src | 67 # on the flags and operation fields in the (cnp) structure. Note 73 IN struct componentname *cnp; 85 IN struct componentname *cnp; 97 IN struct componentname *cnp; 108 IN struct componentname *cnp; 121 IN struct componentname *cnp; 316 IN struct componentname *cnp; 328 IN struct componentname *cnp; 354 IN struct componentname *cnp; 367 IN struct componentname *cnp; [all …]
|
| H A D | vfs_subr.c | 6821 vn_dir_check_exec(struct vnode *vp, struct componentname *cnp) in vn_dir_check_exec() argument 6824 if ((cnp->cn_flags & NOEXECCHECK) != 0) { in vn_dir_check_exec() 6825 cnp->cn_flags &= ~NOEXECCHECK; in vn_dir_check_exec() 6829 return (VOP_ACCESS(vp, VEXEC, cnp->cn_cred, cnp->cn_thread)); in vn_dir_check_exec()
|
| /f-stack/freebsd/security/mac/ |
| H A D | mac_vfs.c | 297 dvp->v_label, vp, vp->v_label, cnp); in mac_vnode_create_extattr() 424 struct componentname *cnp, struct vattr *vap) in mac_vnode_check_create() argument 531 struct vnode *vp, struct componentname *cnp) in mac_vnode_check_link() argument 539 vp->v_label, cnp); in mac_vnode_check_link() 569 struct componentname *cnp) in mac_vnode_check_lookup_impl() argument 575 if ((cnp->cn_flags & NOMACCHECK) != 0) in mac_vnode_check_lookup_impl() 738 struct vnode *vp, struct componentname *cnp) in mac_vnode_check_rename_from() argument 746 vp->v_label, cnp); in mac_vnode_check_rename_from() 765 vp != NULL ? vp->v_label : NULL, samedir, cnp); in mac_vnode_check_rename_to() 914 struct vnode *vp, struct componentname *cnp) in mac_vnode_check_unlink() argument [all …]
|
| H A D | mac_framework.h | 449 struct componentname *cnp, struct vattr *vap); 461 struct vnode *vp, struct componentname *cnp); 466 struct componentname *cnp); 475 struct componentname *cnp) in mac_vnode_check_lookup() argument 480 return (mac_vnode_check_lookup_impl(cred, dvp, cnp)); in mac_vnode_check_lookup() 562 struct vnode *vp, struct componentname *cnp); 564 struct vnode *vp, int samedir, struct componentname *cnp); 637 struct vnode *vp, struct componentname *cnp); 641 struct vnode *dvp, struct vnode *vp, struct componentname *cnp);
|
| H A D | mac_policy.h | 561 struct componentname *cnp, struct vattr *vap); 580 struct componentname *cnp); 586 struct componentname *cnp); 613 struct componentname *cnp); 617 struct componentname *cnp); 642 struct componentname *cnp); 652 struct componentname *cnp);
|
| /f-stack/freebsd/security/mac_bsdextended/ |
| H A D | ugidfw_internal.h | 62 struct label *dvplabel, struct componentname *cnp, 78 struct componentname *cnp); 82 struct label *dvplabel, struct componentname *cnp); 91 struct componentname *cnp); 94 int samedir, struct componentname *cnp); 114 struct componentname *cnp);
|
| H A D | ugidfw_vnode.c | 89 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) in ugidfw_check_create_vnode() argument 139 struct componentname *cnp) in ugidfw_vnode_check_link() argument 162 struct label *dvplabel, struct componentname *cnp) in ugidfw_vnode_check_lookup() argument 195 struct componentname *cnp) in ugidfw_vnode_check_rename_from() argument 208 int samedir, struct componentname *cnp) in ugidfw_vnode_check_rename_to() argument 287 struct componentname *cnp) in ugidfw_vnode_check_unlink() argument
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_vnops_os.c | 967 cnp->cn_flags |= SAVENAME; in zfs_lookup() 973 cnp->cn_flags |= SAVENAME; in zfs_lookup() 1310 cnp->cn_nameiop = nameiop; in zfs_lookup_internal() 1313 cnp->cn_cred = kcred; in zfs_lookup_internal() 1314 cnp->cn_thread = curthread; in zfs_lookup_internal() 1322 a.a_cnp = cnp; in zfs_lookup_internal() 4559 strlcpy(nm, cnp->cn_nameptr, MIN(cnp->cn_namelen + 1, sizeof (nm))); in zfs_freebsd_lookup() 4561 return (zfs_lookup(ap->a_dvp, nm, ap->a_vpp, cnp, cnp->cn_nameiop, in zfs_freebsd_lookup() 4562 cnp->cn_cred, cnp->cn_thread, 0, cached)); in zfs_freebsd_lookup() 4690 return (zfs_rmdir_(ap->a_dvp, ap->a_vp, cnp->cn_nameptr, cnp->cn_cred)); in zfs_freebsd_rmdir() [all …]
|
| H A D | zfs_ctldir.c | 632 struct componentname *cnp = ap->a_cnp; in zfsctl_root_lookup() local 645 if (cnp->cn_namelen == 1 && *cnp->cn_nameptr == '.') { in zfsctl_root_lookup() 652 } else if (strncmp(cnp->cn_nameptr, "snapshot", cnp->cn_namelen) == 0) { in zfsctl_root_lookup() 907 struct componentname *cnp = ap->a_cnp; in zfsctl_snapdir_lookup() local 914 int nameiop = cnp->cn_nameiop; in zfsctl_snapdir_lookup() 915 int lkflags = cnp->cn_lkflags; in zfsctl_snapdir_lookup() 916 int flags = cnp->cn_flags; in zfsctl_snapdir_lookup() 924 if (cnp->cn_namelen == 1 && *cnp->cn_nameptr == '.') { in zfsctl_snapdir_lookup() 936 if (cnp->cn_namelen >= sizeof (name)) in zfsctl_snapdir_lookup()
|
| /f-stack/freebsd/sys/ |
| H A D | vnode.h | 639 #define cache_enter(dvp, vp, cnp) \ argument 640 cache_enter_time(dvp, vp, cnp, NULL, NULL) 642 struct componentname *cnp, struct timespec *tsp, 645 struct componentname *cnp, struct timespec *tsp, int *ticksp); 660 struct componentname *cnp); 663 cache_validate(struct vnode *dvp, struct vnode *vp, struct componentname *cnp) in cache_validate() argument 1083 int vn_dir_check_exec(struct vnode *vp, struct componentname *cnp);
|
| H A D | namei.h | 298 struct componentname *cnp);
|
| /f-stack/freebsd/security/mac_stub/ |
| H A D | mac_stub.c | 1366 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) in stub_vnode_check_create() argument 1416 struct componentname *cnp) in stub_vnode_check_link() argument 1432 struct label *dvplabel, struct componentname *cnp) in stub_vnode_check_lookup() argument 1512 struct componentname *cnp) in stub_vnode_check_rename_from() argument 1521 int samedir, struct componentname *cnp) in stub_vnode_check_rename_to() argument 1594 struct componentname *cnp) in stub_vnode_check_unlink() argument 1611 struct vnode *vp, struct label *vplabel, struct componentname *cnp) in stub_vnode_create_extattr() argument
|
| /f-stack/freebsd/contrib/device-tree/Bindings/sound/ |
| H A D | qcom,msm8916-wcd-analog.txt | 24 "cdc_ear_cnp_int" - earphone cnp interrupt.
|
| /f-stack/freebsd/security/mac_biba/ |
| H A D | mac_biba.c | 2912 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) in biba_vnode_check_create() argument 3035 struct componentname *cnp) in biba_vnode_check_link() argument 3076 struct label *dvplabel, struct componentname *cnp) in biba_vnode_check_lookup() argument 3271 struct componentname *cnp) in biba_vnode_check_rename_from() argument 3295 int samedir, struct componentname *cnp) in biba_vnode_check_rename_to() argument 3467 struct componentname *cnp) in biba_vnode_check_unlink() argument 3509 struct vnode *vp, struct label *vplabel, struct componentname *cnp) in biba_vnode_create_extattr() argument
|
| /f-stack/freebsd/security/mac_mls/ |
| H A D | mac_mls.c | 2544 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) in mls_vnode_check_create() argument 2667 struct componentname *cnp) in mls_vnode_check_link() argument 2708 struct label *dvplabel, struct componentname *cnp) in mls_vnode_check_lookup() argument 2903 struct componentname *cnp) in mls_vnode_check_rename_from() argument 2927 int samedir, struct componentname *cnp) in mls_vnode_check_rename_to() argument 3099 struct componentname *cnp) in mls_vnode_check_unlink() argument 3141 struct vnode *vp, struct label *vplabel, struct componentname *cnp) in mls_vnode_create_extattr() argument
|
| /f-stack/freebsd/security/mac_test/ |
| H A D | mac_test.c | 2489 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) in test_vnode_check_create() argument 2570 struct componentname *cnp) in test_vnode_check_link() argument 2597 struct label *dvplabel, struct componentname *cnp) in test_vnode_check_lookup() argument 2707 struct componentname *cnp) in test_vnode_check_rename_from() argument 2722 int samedir, struct componentname *cnp) in test_vnode_check_rename_to() argument 2843 struct componentname *cnp) in test_vnode_check_unlink() argument 2883 struct vnode *vp, struct label *vplabel, struct componentname *cnp) in test_vnode_create_extattr() argument
|
| /f-stack/freebsd/security/mac_lomac/ |
| H A D | mac_lomac.c | 2335 struct label *dvplabel, struct componentname *cnp, struct vattr *vap) in lomac_vnode_check_create() argument 2375 struct componentname *cnp) in lomac_vnode_check_link() argument 2562 struct componentname *cnp) in lomac_vnode_check_rename_from() argument 2586 int samedir, struct componentname *cnp) in lomac_vnode_check_rename_to() argument 2740 struct componentname *cnp) in lomac_vnode_check_unlink() argument 2782 struct vnode *vp, struct label *vplabel, struct componentname *cnp) in lomac_vnode_create_extattr() argument
|