Searched refs:vp (Results 251 - 275 of 444) sorted by relevance

<<1112131415161718

/freebsd-11-stable/sys/security/mac_biba/
H A Dmac_biba.c990 struct label *delabel, struct vnode *vp, struct label *vplabel)
1002 struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
1301 biba_kld_check_load(struct ucred *cred, struct vnode *vp, argument
1745 struct shmfd *vp, struct label *shmlabel)
1853 struct shmfd *vp, struct label *shmlabel)
2332 biba_system_check_acct(struct ucred *cred, struct vnode *vp, argument
2358 biba_system_check_auditctl(struct ucred *cred, struct vnode *vp, argument
2402 biba_system_check_swapoff(struct ucred *cred, struct vnode *vp, argument
2421 biba_system_check_swapon(struct ucred *cred, struct vnode *vp, argument
2822 struct vnode *vp, struc
989 biba_devfs_update(struct mount *mp, struct devfs_dirent *de, struct label *delabel, struct vnode *vp, struct label *vplabel) argument
1001 biba_devfs_vnode_associate(struct mount *mp, struct label *mntlabel, struct devfs_dirent *de, struct label *delabel, struct vnode *vp, struct label *vplabel) argument
1744 biba_posixshm_check_read(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *vp, struct label *shmlabel) argument
1852 biba_posixshm_check_write(struct ucred *active_cred, struct ucred *file_cred, struct shmfd *vp, struct label *shmlabel) argument
2821 biba_vnode_associate_extattr(struct mount *mp, struct label *mplabel, struct vnode *vp, struct label *vplabel) argument
2862 biba_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel, struct vnode *vp, struct label *vplabel) argument
2928 biba_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, struct label *vplabel, acl_type_t type) argument
2946 biba_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
2964 biba_vnode_check_exec(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct image_params *imgp, struct label *execlabel) argument
2996 biba_vnode_check_getacl(struct ucred *cred, struct vnode *vp, struct label *vplabel, acl_type_t type) argument
3014 biba_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
3032 biba_vnode_check_link(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
3056 biba_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace) argument
3092 biba_vnode_check_mmap(struct ucred *cred, struct vnode *vp, struct label *vplabel, int prot, int flags) argument
3120 biba_vnode_check_open(struct ucred *cred, struct vnode *vp, struct label *vplabel, accmode_t accmode) argument
3145 biba_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
3163 biba_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
3199 biba_vnode_check_readlink(struct ucred *cred, struct vnode *vp, struct label *vplabel) argument
3217 biba_vnode_check_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *newlabel) argument
3268 biba_vnode_check_rename_from(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
3292 biba_vnode_check_rename_to(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, int samedir, struct componentname *cnp) argument
3318 biba_vnode_check_revoke(struct ucred *cred, struct vnode *vp, struct label *vplabel) argument
3336 biba_vnode_check_setacl(struct ucred *cred, struct vnode *vp, struct label *vplabel, acl_type_t type, struct acl *acl) argument
3354 biba_vnode_check_setextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
3374 biba_vnode_check_setflags(struct ucred *cred, struct vnode *vp, struct label *vplabel, u_long flags) argument
3392 biba_vnode_check_setmode(struct ucred *cred, struct vnode *vp, struct label *vplabel, mode_t mode) argument
3410 biba_vnode_check_setowner(struct ucred *cred, struct vnode *vp, struct label *vplabel, uid_t uid, gid_t gid) argument
3428 biba_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct timespec atime, struct timespec mtime) argument
3446 biba_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
3464 biba_vnode_check_unlink(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
3488 biba_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
3506 biba_vnode_create_extattr(struct ucred *cred, struct mount *mp, struct label *mplabel, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
3529 biba_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *newlabel) argument
3541 biba_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *intlabel) argument
[all...]
/freebsd-11-stable/bin/sh/
H A Dvar.h65 struct var *vp; /* the variable that was made local */ member in struct:localvar
/freebsd-11-stable/sys/sys/
H A Dextattr.h67 int extattr_check_cred(struct vnode *vp, int attrnamespace,
H A Dimgact.h61 struct vnode *vp; /* pointer to vnode of file to exec */ member in struct:image_params
62 struct vm_object *object; /* The vm object for this vp */
H A Dbuf.h161 * Buffer vp reassignments are illegal in this case.
493 #define bread(vp, blkno, size, cred, bpp) \
494 breadn_flags(vp, blkno, size, NULL, NULL, 0, cred, 0, bpp)
495 #define bread_gb(vp, blkno, size, cred, gbflags, bpp) \
496 breadn_flags(vp, blkno, size, NULL, NULL, 0, cred, \
498 #define breadn(vp, blkno, size, rablkno, rabsize, cnt, cred, bpp) \
499 breadn_flags(vp, blkno, size, rablkno, rabsize, cnt, cred, 0, bpp)
556 int vfs_bio_getpages(struct vnode *vp, struct vm_page **ma, int count,
H A Dmount.h203 #define MNT_VNODE_FOREACH_ALL(vp, mp, mvp) \
204 for (vp = __mnt_vnode_first_all(&(mvp), (mp)); \
205 (vp) != NULL; vp = __mnt_vnode_next_all(&(mvp), (mp)))
222 #define MNT_VNODE_FOREACH_ACTIVE(vp, mp, mvp) \
223 for (vp = __mnt_vnode_first_active(&(mvp), (mp)); \
224 (vp) != NULL; vp = __mnt_vnode_next_active(&(mvp), (mp)))
795 #define VFS_KNOTE_LOCKED(vp, hint) do \
797 if (((vp)
[all...]
/freebsd-11-stable/sys/fs/devfs/
H A Ddevfs_vfsops.c211 struct vnode *vp; local
216 error = devfs_allocv(dmp->dm_rootdir, mp, LK_EXCLUSIVE, &vp);
219 vp->v_vflag |= VV_ROOT;
220 *vpp = vp;
/freebsd-11-stable/sys/compat/svr4/
H A Dimgact_svr4.c119 VOP_UNLOCK(imgp->vp, 0);
148 error = vn_rdwr(UIO_READ, imgp->vp, (void *)vmaddr, file_offset,
182 OBJT_VNODE, imgp->vp, file_offset);
229 vn_lock(imgp->vp, LK_EXCLUSIVE | LK_RETRY);
H A Dsvr4_misc.c247 struct vnode *vp; local
274 vp = fp->f_vnode;
275 if (vp->v_type != VDIR) {
293 vn_lock(vp, LK_SHARED | LK_RETRY);
311 error = mac_vnode_check_readdir(td->td_ucred, vp);
316 error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag,
411 VOP_UNLOCK(vp, 0);
426 struct vnode *vp; local
453 vp = fp->f_vnode;
454 if (vp
624 struct vnode *vp; local
[all...]
/freebsd-11-stable/sys/ddb/
H A Ddb_sym.c77 db_var_db_cpu(struct db_variable *vp, db_expr_t *valuep, int op) argument
104 db_var_curcpu(struct db_variable *vp, db_expr_t *valuep, int op) argument
129 db_var_db_vnet(struct db_variable *vp, db_expr_t *valuep, int op) argument
152 db_var_curvnet(struct db_variable *vp, db_expr_t *valuep, int op) argument
/freebsd-11-stable/sys/i386/linux/
H A Dimgact_linux.c118 VOP_UNLOCK(imgp->vp, 0);
147 error = vn_rdwr(UIO_READ, imgp->vp, (void *)vmaddr, file_offset,
175 MAP_PRIVATE | MAP_FIXED, OBJT_VNODE, imgp->vp, file_offset);
221 vn_lock(imgp->vp, LK_EXCLUSIVE | LK_RETRY);
/freebsd-11-stable/sys/kern/
H A Dvfs_mountroot.c292 struct vnode *vp, *vporoot, *vpdevfs; local
342 vp = nd.ni_vp;
343 error = (vp->v_type == VDIR) ? 0 : ENOTDIR;
345 error = vinvalbuf(vp, V_SAVE, 0, 0);
347 cache_purge(vp);
348 mporoot->mnt_vnodecovered = vp;
349 vp->v_mountedhere = mporoot;
352 VOP_UNLOCK(vp, 0);
354 vput(vp);
367 vp
[all...]
H A Dkern_shutdown.c403 struct vnode *oldrootvnode, *vp; local
414 vp = curproc->p_textvp;
415 error = vn_lock(vp, LK_SHARED);
418 mp = vp->v_mount;
422 VOP_UNLOCK(vp, 0);
424 vn_lock(vp, LK_SHARED | LK_RETRY);
427 VOP_UNLOCK(vp, 0);
430 if (vp->v_iflag & VI_DOOMED) {
431 VOP_UNLOCK(vp, 0);
436 VOP_UNLOCK(vp,
[all...]
H A Dkern_descrip.c486 struct vnode *vp; local
636 vp = fp->f_vnode;
646 error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_SETLK,
657 error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_SETLK,
661 error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_UNLCK,
673 error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader,
712 (void) VOP_ADVLOCK(vp, (caddr_t)p->p_leader,
748 vp = fp->f_vnode;
749 error = VOP_ADVLOCK(vp, (caddr_t)p->p_leader, F_GETLK, flp,
767 vp
1403 struct vnode *vp; local
2066 struct vnode *vp; local
2245 struct vnode *vp; local
2381 struct vnode *vp; local
2892 struct vnode *vp; local
3035 struct vnode *vp; local
3059 pwd_chroot(struct thread *td, struct vnode *vp) argument
3088 pwd_chdir(struct thread *td, struct vnode *vp) argument
3107 pwd_chroot_chdir(struct thread *td, struct vnode *vp) argument
3419 export_vnode_to_kinfo(struct vnode *vp, int fd, int fflags, struct kinfo_file *kif, int flags) argument
3484 export_vnode_to_sb(struct vnode *vp, int fd, int fflags, struct export_fd_buf *efbuf) argument
3650 export_vnode_for_osysctl(struct vnode *vp, int type, struct kinfo_file *kif, struct kinfo_ofile *okif, struct filedesc *fdp, struct sysctl_req *req) argument
[all...]
/freebsd-11-stable/usr.sbin/jail/
H A Dconfig.c133 struct cfparam *p, *vp, *tp; local
196 TAILQ_FOREACH(vp, &j->params, tq)
197 if (!strcmp(vp->name, v->name))
199 if (!vp || TAILQ_EMPTY(&vp->val)) {
205 TAILQ_FOREACH(vp, &j->params, tq)
206 if (vp->gen == pgen)
207 vp->flags |= PF_BAD;
210 if (vp->flags & PF_BAD)
212 if (vp
[all...]
/freebsd-11-stable/sys/fs/unionfs/
H A Dunion_vfsops.c358 struct vnode *vp; local
361 vp = ump->um_rootvp;
364 vp, VOP_ISLOCKED(vp));
366 vref(vp);
368 vn_lock(vp, flags);
370 *vpp = vp;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzfs_znode.h229 vnode_t *vp = zp->z_vnode; local
231 ASSERT(vp != NULL && vp->v_data == zp);
232 return (vp);
235 VTOZ(vnode_t *vp) argument
237 znode_t *zp = (znode_t *)vp->v_data;
239 ASSERT(zp != NULL && zp->z_vnode == vp);
/freebsd-11-stable/sys/security/mac_bsdextended/
H A Dmac_bsdextended.c229 struct ucred *cred, struct vnode *vp, struct vattr *vap, int acc_mode)
304 match = (bcmp(&(vp->v_mount->mnt_stat.f_fsid),
426 ugidfw_check(struct ucred *cred, struct vnode *vp, struct vattr *vap, argument
443 vp, vap, acc_mode);
456 ugidfw_check_vp(struct ucred *cred, struct vnode *vp, int acc_mode) argument
463 error = VOP_GETATTR(vp, &vap, cred);
466 return (ugidfw_check(cred, vp, &vap, acc_mode));
228 ugidfw_rulecheck(struct mac_bsdextended_rule *rule, struct ucred *cred, struct vnode *vp, struct vattr *vap, int acc_mode) argument
/freebsd-11-stable/sys/security/mac_test/
H A Dmac_test.c510 struct label *direntlabel, struct vnode *vp, struct label *vplabel)
521 struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
915 test_kld_check_load(struct ucred *cred, struct vnode *vp, argument
1989 test_system_check_acct(struct ucred *cred, struct vnode *vp, argument
2013 test_system_check_auditctl(struct ucred *cred, struct vnode *vp, argument
2048 test_system_check_swapoff(struct ucred *cred, struct vnode *vp, argument
2061 test_system_check_swapon(struct ucred *cred, struct vnode *vp, argument
2424 struct vnode *vp, struct label *vplabel)
2437 struct vnode *vp, struct label *vplabel)
2447 test_vnode_check_access(struct ucred *cred, struct vnode *vp, argument
509 test_devfs_update(struct mount *mp, struct devfs_dirent *devfs_dirent, struct label *direntlabel, struct vnode *vp, struct label *vplabel) argument
520 test_devfs_vnode_associate(struct mount *mp, struct label *mplabel, struct devfs_dirent *de, struct label *delabel, struct vnode *vp, struct label *vplabel) argument
2423 test_vnode_associate_extattr(struct mount *mp, struct label *mplabel, struct vnode *vp, struct label *vplabel) argument
2436 test_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel, struct vnode *vp, struct label *vplabel) argument
2499 test_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, struct label *vplabel, acl_type_t type) argument
2512 test_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
2525 test_vnode_check_exec(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct image_params *imgp, struct label *execlabel) argument
2540 test_vnode_check_getacl(struct ucred *cred, struct vnode *vp, struct label *vplabel, acl_type_t type) argument
2553 test_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
2566 test_vnode_check_link(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
2581 test_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace) argument
2607 test_vnode_check_mmap(struct ucred *cred, struct vnode *vp, struct label *vplabel, int prot, int flags) argument
2620 test_vnode_check_open(struct ucred *cred, struct vnode *vp, struct label *vplabel, accmode_t accmode) argument
2633 test_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
2648 test_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
2676 test_vnode_check_readlink(struct ucred *cred, struct vnode *vp, struct label *vplabel) argument
2689 test_vnode_check_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *newlabel) argument
2703 test_vnode_check_rename_from(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
2718 test_vnode_check_rename_to(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, int samedir, struct componentname *cnp) argument
2733 test_vnode_check_revoke(struct ucred *cred, struct vnode *vp, struct label *vplabel) argument
2746 test_vnode_check_setacl(struct ucred *cred, struct vnode *vp, struct label *vplabel, acl_type_t type, struct acl *acl) argument
2759 test_vnode_check_setextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
2772 test_vnode_check_setflags(struct ucred *cred, struct vnode *vp, struct label *vplabel, u_long flags) argument
2785 test_vnode_check_setmode(struct ucred *cred, struct vnode *vp, struct label *vplabel, mode_t mode) argument
2798 test_vnode_check_setowner(struct ucred *cred, struct vnode *vp, struct label *vplabel, uid_t uid, gid_t gid) argument
2811 test_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct timespec atime, struct timespec mtime) argument
2824 test_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
2839 test_vnode_check_unlink(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
2854 test_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
2879 test_vnode_create_extattr(struct ucred *cred, struct mount *mp, struct label *mplabel, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
2903 test_vnode_execve_transition(struct ucred *old, struct ucred *new, struct vnode *vp, struct label *filelabel, struct label *interpvplabel, struct image_params *imgp, struct label *execlabel) argument
2919 test_vnode_execve_will_transition(struct ucred *old, struct vnode *vp, struct label *filelabel, struct label *interpvplabel, struct image_params *imgp, struct label *execlabel) argument
2968 test_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *label) argument
2980 test_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *intlabel) argument
[all...]
/freebsd-11-stable/sys/vm/
H A Dvm_fault.c127 struct vnode *vp; member in struct:faultstate
160 if (fs->vp != NULL) {
161 vput(fs->vp);
162 fs->vp = NULL;
277 MPASS(fs->vp == NULL);
526 struct vnode *vp; local
538 fs.vp = NULL;
596 if (fs.vp == NULL /* avoid locked vnode leak */ &&
879 (vp = fs.object->handle) != fs.vp) {
[all...]
/freebsd-11-stable/sys/security/mac_mls/
H A Dmac_mls.c956 struct label *delabel, struct vnode *vp, struct label *vplabel)
968 struct devfs_dirent *de, struct label *delabel, struct vnode *vp,
2045 mls_system_check_acct(struct ucred *cred, struct vnode *vp, argument
2067 mls_system_check_auditctl(struct ucred *cred, struct vnode *vp, argument
2086 mls_system_check_swapon(struct ucred *cred, struct vnode *vp, argument
2455 struct vnode *vp, struct label *vplabel)
2466 error = vn_extattr_get(vp, IO_NODELOCKED, MAC_MLS_EXTATTR_NAMESPACE,
2495 struct vnode *vp, struct label *vplabel)
2560 mls_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, argument
2578 mls_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, argument
955 mls_devfs_update(struct mount *mp, struct devfs_dirent *de, struct label *delabel, struct vnode *vp, struct label *vplabel) argument
967 mls_devfs_vnode_associate(struct mount *mp, struct label *mplabel, struct devfs_dirent *de, struct label *delabel, struct vnode *vp, struct label *vplabel) argument
2454 mls_vnode_associate_extattr(struct mount *mp, struct label *mplabel, struct vnode *vp, struct label *vplabel) argument
2494 mls_vnode_associate_singlelabel(struct mount *mp, struct label *mplabel, struct vnode *vp, struct label *vplabel) argument
2596 mls_vnode_check_exec(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct image_params *imgp, struct label *execlabel) argument
2628 mls_vnode_check_getacl(struct ucred *cred, struct vnode *vp, struct label *vplabel, acl_type_t type) argument
2646 mls_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
2664 mls_vnode_check_link(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
2687 mls_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace) argument
2724 mls_vnode_check_mmap(struct ucred *cred, struct vnode *vp, struct label *vplabel, int prot, int flags) argument
2752 mls_vnode_check_open(struct ucred *cred, struct vnode *vp, struct label *vplabel, accmode_t accmode) argument
2777 mls_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
2795 mls_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
2831 mls_vnode_check_readlink(struct ucred *cred, struct vnode *vp, struct label *vplabel) argument
2849 mls_vnode_check_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *newlabel) argument
2900 mls_vnode_check_rename_from(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
2924 mls_vnode_check_rename_to(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, int samedir, struct componentname *cnp) argument
2950 mls_vnode_check_revoke(struct ucred *cred, struct vnode *vp, struct label *vplabel) argument
2968 mls_vnode_check_setacl(struct ucred *cred, struct vnode *vp, struct label *vplabel, acl_type_t type, struct acl *acl) argument
2986 mls_vnode_check_setextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
3006 mls_vnode_check_setflags(struct ucred *cred, struct vnode *vp, struct label *vplabel, u_long flags) argument
3024 mls_vnode_check_setmode(struct ucred *cred, struct vnode *vp, struct label *vplabel, mode_t mode) argument
3042 mls_vnode_check_setowner(struct ucred *cred, struct vnode *vp, struct label *vplabel, uid_t uid, gid_t gid) argument
3060 mls_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct timespec atime, struct timespec mtime) argument
3078 mls_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
3096 mls_vnode_check_unlink(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
3120 mls_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
3138 mls_vnode_create_extattr(struct ucred *cred, struct mount *mp, struct label *mplabel, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
3161 mls_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *label) argument
3173 mls_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct label *intlabel) argument
[all...]
/freebsd-11-stable/tools/regression/doat/
H A Ddoat.c50 void *vp; member in union:param
320 tests[3].tests[0].params[2].vp = &buf;
325 tests[3].tests[1].params[2].vp = &buf;
330 tests[3].tests[2].params[2].vp = &buf;
335 tests[3].tests[2].params[2].vp = &buf;
340 tests[3].tests[3].params[2].vp = &buf;
345 tests[3].tests[4].params[2].vp = &buf;
355 tests[4].tests[0].params[2].vp = times;
359 tests[4].tests[1].params[2].vp = times;
363 tests[4].tests[2].params[2].vp
[all...]
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_misc.c314 struct vnode *vp; local
339 vp = fp->f_vnode;
340 if (vp->v_type != VDIR) { /* XXX vnode readdir op should do this */
350 vn_lock(vp, LK_SHARED | LK_RETRY);
368 error = mac_vnode_check_readdir(td->td_ucred, vp);
377 if ((error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &ncookies, &cookies)) != 0)
456 VOP_UNLOCK(vp, 0);
467 struct vnode *vp; local
496 vp = fp->f_vnode;
497 if (vp
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dsh.hist.c506 struct varent *vp = adrof(STRtestHashTimings); local
507 if (vp && vp->vec) {
509 Char **vals = vp->vec;
1073 struct varent *vp = adrof(STRhistory); local
1075 if (vp && vp->vec != NULL && vp->vec[0] && vp->vec[1])
1076 cp = vp
1119 dohist(Char **vp, struct command *c) argument
[all...]
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_lookup.c77 #define OFSFMT(vp) ((vp)->v_mount->mnt_maxsymlinklen <= 0)
1423 ufs_dir_dd_ino(struct vnode *vp, struct ucred *cred, ino_t *dd_ino, argument
1430 ASSERT_VOP_LOCKED(vp, "ufs_dir_dd_ino");
1431 if (vp->v_type != VDIR)
1436 if ((ddvp = vn_dir_dd_ino(vp)) != NULL) {
1437 KASSERT(ddvp->v_mount == vp->v_mount,
1446 error = vn_rdwr(UIO_READ, vp, (caddr_t)&dirbuf,
1452 if (OFSFMT(vp))
1474 struct vnode *tvp, *vp, *vp local
[all...]

Completed in 207 milliseconds

<<1112131415161718