Searched refs:vp (Results 26 - 50 of 444) sorted by relevance

1234567891011>>

/freebsd-11-stable/sys/security/mac/
H A Dmac_vfs.c86 struct vnode *vp, struct label *intlabel);
139 mac_vnode_init(struct vnode *vp) argument
143 vp->v_label = mac_vnode_label_alloc();
145 vp->v_label = NULL;
193 mac_vnode_destroy(struct vnode *vp) argument
196 if (vp->v_label != NULL) {
197 mac_vnode_label_free(vp->v_label);
198 vp->v_label = NULL;
231 mac_devfs_update(struct mount *mp, struct devfs_dirent *de, struct vnode *vp) argument
234 MAC_POLICY_PERFORM_NOSLEEP(devfs_update, mp, de, de->de_label, vp,
239 mac_devfs_vnode_associate(struct mount *mp, struct devfs_dirent *de, struct vnode *vp) argument
248 mac_vnode_associate_extattr(struct mount *mp, struct vnode *vp) argument
261 mac_vnode_associate_singlelabel(struct mount *mp, struct vnode *vp) argument
278 mac_vnode_create_extattr(struct ucred *cred, struct mount *mp, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
312 mac_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp, struct label *intlabel) argument
345 mac_vnode_execve_transition(struct ucred *old, struct ucred *new, struct vnode *vp, struct label *interpvplabel, struct image_params *imgp) argument
356 mac_vnode_execve_will_transition(struct ucred *old, struct vnode *vp, struct label *interpvplabel, struct image_params *imgp) argument
375 mac_vnode_check_access(struct ucred *cred, struct vnode *vp, accmode_t accmode) argument
441 mac_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, acl_type_t type) argument
458 mac_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, int attrnamespace, const char *name) argument
477 mac_vnode_check_exec(struct ucred *cred, struct vnode *vp, struct image_params *imgp) argument
495 mac_vnode_check_getacl(struct ucred *cred, struct vnode *vp, acl_type_t type) argument
511 mac_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, int attrnamespace, const char *name) argument
530 mac_vnode_check_link(struct ucred *cred, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
549 mac_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, int attrnamespace) argument
585 mac_vnode_check_mmap(struct ucred *cred, struct vnode *vp, int prot, int flags) argument
599 mac_vnode_check_mmap_downgrade(struct ucred *cred, struct vnode *vp, int *prot) argument
616 mac_vnode_check_mprotect(struct ucred *cred, struct vnode *vp, int prot) argument
632 mac_vnode_check_open(struct ucred *cred, struct vnode *vp, accmode_t accmode) argument
648 mac_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp) argument
667 mac_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp) argument
702 mac_vnode_check_readlink(struct ucred *cred, struct vnode *vp) argument
718 mac_vnode_check_relabel(struct ucred *cred, struct vnode *vp, struct label *newlabel) argument
735 mac_vnode_check_rename_from(struct ucred *cred, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
754 mac_vnode_check_rename_to(struct ucred *cred, struct vnode *dvp, struct vnode *vp, int samedir, struct componentname *cnp) argument
772 mac_vnode_check_revoke(struct ucred *cred, struct vnode *vp) argument
788 mac_vnode_check_setacl(struct ucred *cred, struct vnode *vp, acl_type_t type, struct acl *acl) argument
805 mac_vnode_check_setextattr(struct ucred *cred, struct vnode *vp, int attrnamespace, const char *name) argument
824 mac_vnode_check_setflags(struct ucred *cred, struct vnode *vp, u_long flags) argument
840 mac_vnode_check_setmode(struct ucred *cred, struct vnode *vp, mode_t mode) argument
856 mac_vnode_check_setowner(struct ucred *cred, struct vnode *vp, uid_t uid, gid_t gid) argument
873 mac_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, struct timespec atime, struct timespec mtime) argument
892 mac_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp) argument
911 mac_vnode_check_unlink(struct ucred *cred, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument
930 mac_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp) argument
946 mac_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *newlabel) argument
1009 struct vnode *vp = ap->a_vp; local
1028 vn_setlabel(struct vnode *vp, struct label *intlabel, struct ucred *cred) argument
[all...]
H A Dmac_system.c129 mac_kld_check_load(struct ucred *cred, struct vnode *vp) argument
133 ASSERT_VOP_LOCKED(vp, "mac_kld_check_load");
135 MAC_POLICY_CHECK(kld_check_load, cred, vp, vp->v_label);
136 MAC_CHECK_PROBE2(kld_check_load, error, cred, vp);
158 mac_system_check_acct(struct ucred *cred, struct vnode *vp) argument
162 if (vp != NULL) {
163 ASSERT_VOP_LOCKED(vp, "mac_system_check_acct");
166 MAC_POLICY_CHECK(system_check_acct, cred, vp,
167 vp !
190 mac_system_check_swapon(struct ucred *cred, struct vnode *vp) argument
206 mac_system_check_swapoff(struct ucred *cred, struct vnode *vp) argument
[all...]
/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_inode.c74 struct vnode *vp = ap->a_vp; local
75 struct inode *ip = VTOI(vp);
88 ufs_gjournal_close(vp);
96 qsyncvp(vp);
98 if ((ip->i_effnlink == 0 && DOINGSOFTDEP(vp)) ||
101 if (vn_start_secondary_write(vp, &mp, V_NOWAIT) != 0) {
103 if ((vp->v_iflag & VI_DOOMED) != 0) {
105 (void) vn_start_secondary_write(vp, &mp,
119 VI_LOCK(vp);
120 vp
181 ufs_prepare_reclaim(struct vnode *vp) argument
215 struct vnode *vp = ap->a_vp; local
[all...]
/freebsd-11-stable/sys/kern/
H A Dvfs_subr.c102 static void delmntque(struct vnode *vp);
106 static int vtryrecycle(struct vnode *vp);
339 struct vnode *vp; local
361 vp = nd.ni_vp;
363 if ((vp->v_iflag & VI_DOOMED) != 0) {
375 vgone(vp);
387 struct vnode *vp; local
403 vp = fp->f_vnode;
405 error = vn_lock(vp, LK_EXCLUSIVE);
410 vgone(vp);
463 struct vnode *vp; local
505 struct vnode *vp; local
951 struct vnode *vp; local
1067 struct vnode *vp; local
1292 vtryrecycle(struct vnode *vp) argument
1448 struct vnode *vp; local
1564 delmntque(struct vnode *vp) argument
1596 insmntque_stddtr(struct vnode *vp, void *dtr_arg) argument
1609 insmntque1(struct vnode *vp, struct mount *mp, void (*dtr)(struct vnode *, void *), void *dtr_arg) argument
1658 insmntque(struct vnode *vp, struct mount *mp) argument
1759 vinvalbuf(struct vnode *vp, int flags, int slpflag, int slptimeo) argument
1884 vtruncbuf(struct vnode *vp, off_t length, int blksize) argument
2065 bgetvp(struct vnode *vp, struct buf *bp) argument
2093 struct vnode *vp; local
2174 struct vnode *vp; local
2426 struct vnode *vp; local
2504 v_init_counters(struct vnode *vp) argument
2516 v_incr_usecount_locked(struct vnode *vp) argument
2535 v_incr_usecount(struct vnode *vp) argument
2557 v_incr_devcount(struct vnode *vp) argument
2572 v_decr_devcount(struct vnode *vp) argument
2598 vget(struct vnode *vp, int flags, struct thread *td) argument
2658 vref(struct vnode *vp) argument
2667 vrefl(struct vnode *vp) argument
2677 vrefact(struct vnode *vp) argument
2708 vrefcnt(struct vnode *vp) argument
2724 vputx(struct vnode *vp, int func) argument
2813 vrele(struct vnode *vp) argument
2825 vput(struct vnode *vp) argument
2835 vunref(struct vnode *vp) argument
2845 _vhold(struct vnode *vp, bool locked) argument
2903 _vdrop(struct vnode *vp, bool locked) argument
3014 vinactive(struct vnode *vp, struct thread *td) argument
3077 struct vnode *vp, *mvp, *rootvp = NULL; local
3194 vrecycle(struct vnode *vp) argument
3215 vgone(struct vnode *vp) argument
3232 vfs_notify_upper(struct vnode *vp, int event) argument
3289 vgonel(struct vnode *vp) argument
3351 ("vp %p bufobj not invalidated", vp)); local
3395 vcount(struct vnode *vp) argument
3427 vn_printf(struct vnode *vp, const char *fmt, ...) argument
3534 struct vnode *vp; local
3556 struct vnode *vp; local
3572 struct vnode *vp; local
3920 struct vnode *vp; local
4059 struct vnode *vp, *mvp; local
4112 v_addpollinfo(struct vnode *vp) argument
4141 vn_pollrecord(struct vnode *vp, struct thread *td, int events) argument
4191 struct vnode *vp; local
4246 struct vnode *vp; local
4320 struct vnode *vp = ap->a_vp; local
4344 vn_isdisk(struct vnode *vp, int *errp) argument
4493 extattr_check_cred(struct vnode *vp, int attrnamespace, struct ucred *cred, struct thread *td, accmode_t accmode) argument
4549 vfs_badlock(const char *msg, const char *str, struct vnode *vp) argument
4565 assert_vi_locked(struct vnode *vp, const char *str) argument
4573 assert_vi_unlocked(struct vnode *vp, const char *str) argument
4581 assert_vop_locked(struct vnode *vp, const char *str) argument
4593 assert_vop_unlocked(struct vnode *vp, const char *str) argument
4601 assert_vop_elocked(struct vnode *vp, const char *str) argument
5042 struct vnode *vp = arg; local
5050 struct vnode *vp = arg; local
5059 struct vnode *vp = arg; local
5069 struct vnode *vp = arg; local
5078 struct vnode *vp = ap->a_vp; local
5114 struct vnode *vp = (struct vnode *)kn->kn_hook; local
5125 struct vnode *vp = (struct vnode *)kn->kn_hook; local
5154 struct vnode *vp = (struct vnode *)kn->kn_hook; local
5173 struct vnode *vp = (struct vnode *)kn->kn_hook; local
5226 vfs_mark_atime(struct vnode *vp, struct ucred *cred) argument
5295 struct vnode *vp; local
5328 struct vnode *vp; local
5398 struct vnode *vp, *nvp; local
5456 struct vnode *vp; local
5490 vn_dir_check_exec(struct vnode *vp, struct componentname *cnp) argument
[all...]
H A Dvfs_hash.c59 vfs_hash_index(struct vnode *vp) argument
62 return (vp->v_hash + vp->v_mount->mnt_hashseed);
76 struct vnode *vp; local
81 LIST_FOREACH(vp, vfs_hash_bucket(mp, hash), v_hashlist) {
82 if (vp->v_hash != hash)
84 if (vp->v_mount != mp)
86 if (fn != NULL && fn(vp, arg))
88 vhold(vp);
90 error = vget(vp, flag
110 struct vnode *vp; local
137 vfs_hash_remove(struct vnode *vp) argument
146 vfs_hash_insert(struct vnode *vp, u_int hash, int flags, struct thread *td, struct vnode **vpp, vfs_hash_cmp_t *fn, void *arg) argument
187 vfs_hash_rehash(struct vnode *vp, u_int hash) argument
202 struct vnode *vp; local
[all...]
/freebsd-11-stable/contrib/nvi/vi/
H A Dv_match.c37 v_match(SCR *sp, VICMD *vp) argument
63 if (db_eget(sp, vp->m_start.lno, &p, &len, &isempty)) {
68 for (off = vp->m_start.cno;; ++off) {
83 cs.cs_lno = vp->m_start.lno;
105 vp->m_stop.lno = cs.cs_lno;
106 vp->m_stop.cno = cs.cs_cno;
118 if (vp->m_start.lno < vp->m_stop.lno ||
119 (vp->m_start.lno == vp
[all...]
H A Dv_replace.c46 v_replace(SCR *sp, VICMD *vp) argument
70 if (db_get(sp, vp->m_start.lno, DBG_FATAL, &p, &len))
87 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1;
88 vp->m_stop.lno = vp->m_start.lno;
89 vp->m_stop.cno = vp->m_start.cno + cnt - 1;
90 if (vp->m_stop.cno > len - 1) {
91 v_eol(sp, &vp
[all...]
H A Dvi.c69 VICMD cmd = { 0 }, *vp; local
78 vp = &cmd;
81 F_SET(vp, VM_RCM_SET);
108 if (F_ISSET(vp, VM_RCM_SET | VM_RCM_SETFNB | VM_RCM_SETNNB)) {
132 vp->kp = &vikeys[':'];
137 memset(vp, 0, sizeof(VICMD));
152 switch (v_cmd(sp, DOT, vp, NULL, &comcount, &mapped)) {
168 if (F_ISSET(vp->kp, V_SECURE) && O_ISSET(sp, O_SECURE)) {
169 ex_emsg(sp, KEY_NAME(sp, vp->key), EXM_SECURE);
178 if (F_ISSET(vp, VC_ISDO
451 v_cmd( SCR *sp, VICMD *dp, VICMD *vp, VICMD *ismotion, int *comcountp, int *mappedp) argument
717 v_motion( SCR *sp, VICMD *dm, VICMD *vp, int *mappedp) argument
1095 v_alias( SCR *sp, VICMD *vp, VIKEYS const *kp) argument
1233 v_comlog( SCR *sp, VICMD *vp) argument
[all...]
H A Dv_status.c34 v_status(SCR *sp, VICMD *vp) argument
36 (void)msgq_status(sp, vp->m_start.lno, MSTAT_SHOWLAST);
H A Dv_sentence.c55 v_sentencef(SCR *sp, VICMD *vp) argument
62 cs.cs_lno = vp->m_start.lno;
63 cs.cs_cno = vp->m_start.cno;
67 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1;
79 if (vp->m_start.lno != cs.cs_lno ||
80 vp->m_start.cno != cs.cs_cno)
148 if (vp->m_start.lno == cs.cs_lno && vp->m_start.cno == cs.cs_cno) {
153 okret: vp
194 v_sentenceb(SCR *sp, VICMD *vp) argument
[all...]
/freebsd-11-stable/sys/security/mac_bsdextended/
H A Dugidfw_vnode.c64 ugidfw_vnode_check_access(struct ucred *cred, struct vnode *vp, argument
68 return (ugidfw_check_vp(cred, vp, ugidfw_accmode2mbi(accmode)));
96 ugidfw_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, argument
100 return (ugidfw_check_vp(cred, vp, MBI_ADMIN));
104 ugidfw_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, argument
108 return (ugidfw_check_vp(cred, vp, MBI_WRITE));
112 ugidfw_vnode_check_exec(struct ucred *cred, struct vnode *vp, argument
117 return (ugidfw_check_vp(cred, vp, MBI_READ|MBI_EXEC));
121 ugidfw_vnode_check_getacl(struct ucred *cred, struct vnode *vp, argument
125 return (ugidfw_check_vp(cred, vp, MBI_STA
129 ugidfw_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
137 ugidfw_vnode_check_link(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *label, struct componentname *cnp) argument
153 ugidfw_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace) argument
169 ugidfw_vnode_check_open(struct ucred *cred, struct vnode *vp, struct label *vplabel, accmode_t accmode) argument
185 ugidfw_vnode_check_readdlink(struct ucred *cred, struct vnode *vp, struct label *vplabel) argument
193 ugidfw_vnode_check_rename_from(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
206 ugidfw_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
221 ugidfw_vnode_check_revoke(struct ucred *cred, struct vnode *vp, struct label *vplabel) argument
229 ugidfw_check_setacl_vnode(struct ucred *cred, struct vnode *vp, struct label *vplabel, acl_type_t type, struct acl *acl) argument
237 ugidfw_vnode_check_setextattr(struct ucred *cred, struct vnode *vp, struct label *vplabel, int attrnamespace, const char *name) argument
245 ugidfw_vnode_check_setflags(struct ucred *cred, struct vnode *vp, struct label *vplabel, u_long flags) argument
253 ugidfw_vnode_check_setmode(struct ucred *cred, struct vnode *vp, struct label *vplabel, mode_t mode) argument
261 ugidfw_vnode_check_setowner(struct ucred *cred, struct vnode *vp, struct label *vplabel, uid_t uid, gid_t gid) argument
269 ugidfw_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, struct label *vplabel, struct timespec atime, struct timespec utime) argument
277 ugidfw_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp, struct label *vplabel) argument
285 ugidfw_vnode_check_unlink(struct ucred *cred, struct vnode *dvp, struct label *dvplabel, struct vnode *vp, struct label *vplabel, struct componentname *cnp) argument
[all...]
H A Dugidfw_internal.h38 int ugidfw_check(struct ucred *cred, struct vnode *vp, struct vattr *vap,
40 int ugidfw_check_vp(struct ucred *cred, struct vnode *vp, int acc_mode);
45 int ugidfw_system_check_acct(struct ucred *cred, struct vnode *vp,
47 int ugidfw_system_check_auditctl(struct ucred *cred, struct vnode *vp,
49 int ugidfw_system_check_swapon(struct ucred *cred, struct vnode *vp,
55 int ugidfw_vnode_check_access(struct ucred *cred, struct vnode *vp,
64 int ugidfw_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp,
67 struct vnode *vp, struct label *vplabel, int attrnamespace,
69 int ugidfw_vnode_check_exec(struct ucred *cred, struct vnode *vp,
72 int ugidfw_vnode_check_getacl(struct ucred *cred, struct vnode *vp,
[all...]
H A Dugidfw_system.c64 ugidfw_system_check_acct(struct ucred *cred, struct vnode *vp, argument
68 if (vp != NULL)
69 return (ugidfw_check_vp(cred, vp, MBI_WRITE));
75 ugidfw_system_check_auditctl(struct ucred *cred, struct vnode *vp, argument
79 if (vp != NULL)
80 return (ugidfw_check_vp(cred, vp, MBI_WRITE));
86 ugidfw_system_check_swapon(struct ucred *cred, struct vnode *vp, argument
90 return (ugidfw_check_vp(cred, vp, MBI_WRITE));
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dpolicy.h46 int secpolicy_basic_link(vnode_t *vp, cred_t *cr);
47 int secpolicy_vnode_owner(vnode_t *vp, cred_t *cr, uid_t owner);
48 int secpolicy_vnode_chown(vnode_t *vp, cred_t *cr, uid_t owner);
50 int secpolicy_vnode_remove(vnode_t *vp, cred_t *cr);
51 int secpolicy_vnode_access(cred_t *cr, vnode_t *vp, uid_t owner,
53 int secpolicy_vnode_access2(cred_t *cr, vnode_t *vp, uid_t owner,
55 int secpolicy_vnode_any_access(cred_t *cr, vnode_t *vp, uid_t owner);
56 int secpolicy_vnode_setdac(vnode_t *vp, cred_t *cr, uid_t owner);
57 int secpolicy_vnode_setattr(cred_t *cr, vnode_t *vp, struct vattr *vap,
61 int secpolicy_vnode_setids_setgids(vnode_t *vp, cred_
[all...]
H A Dvnode.h68 vn_is_readonly(vnode_t *vp) argument
70 return (vp->v_mount->mnt_flag & MNT_RDONLY);
72 #define vn_vfswlock(vp) (0)
73 #define vn_vfsunlock(vp) do { } while (0)
74 #define vn_ismntpt(vp) ((vp)->v_type == VDIR && (vp)->v_mountedhere != NULL)
75 #define vn_mountedvfs(vp) ((vp)->v_mountedhere)
76 #define vn_has_cached_data(vp) \
207 zfs_vn_rdwr(enum uio_rw rw, vnode_t *vp, caddr_t base, ssize_t len, offset_t offset, enum uio_seg seg, int ioflag, int ulimit, cred_t *cr, ssize_t *residp) argument
233 zfs_vop_fsync(vnode_t *vp, int flag, cred_t *cr) argument
252 zfs_vop_close(vnode_t *vp, int flag, int count, offset_t offset, cred_t *cr) argument
[all...]
/freebsd-11-stable/sys/dev/vxge/vxgehal/
H A Dvxgehal-doorbells.c54 __hal_vpath_handle_t *vp = (__hal_vpath_handle_t *) vpath_handle; local
58 hldev = (__hal_device_t *) vp->vpath->hldev;
68 db_ptr = &vp->vpath->nofl_db->control_0;
70 vxge_os_pio_mem_write64(vp->vpath->hldev->header.pdev,
71 vp->vpath->hldev->header.regh0,
77 vxge_os_pio_mem_write64(vp->vpath->hldev->header.pdev,
78 vp->vpath->hldev->header.regh0,
99 __hal_vpath_handle_t *vp = (__hal_vpath_handle_t *) vpath_handle; local
103 hldev = (__hal_device_t *) vp->vpath->hldev;
111 vxge_os_pio_mem_write64(vp
146 __hal_vpath_handle_t *vp = (__hal_vpath_handle_t *) vpath_handle; local
190 __hal_vpath_handle_t *vp = (__hal_vpath_handle_t *) vpath_handle; local
241 __hal_vpath_handle_t *vp = (__hal_vpath_handle_t *) vpath_handle; local
[all...]
/freebsd-11-stable/lib/libprocstat/
H A Dcommon_kvm.h40 int devfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
41 int isofs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
42 int msdosfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
43 int nfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
44 int smbfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
45 int udf_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
46 int ufs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
47 int zfs_filestat(kvm_t *kd, struct vnode *vp, struct vnstat *vn);
48 void *getvnodedata(struct vnode *vp);
49 struct mount *getvnodemount(struct vnode *vp);
[all...]
/freebsd-11-stable/libexec/bootpd/
H A Ddovend.c54 byte *vp = buf; local
61 return (vp - buf); \
79 *vp++ = TAG_TIME_OFFSET;/* -1 byte */
80 *vp++ = 4; /* -1 byte */
81 insert_u_long(htonl(hp->time_offset), &vp); /* -4 bytes */
90 *vp++ = TAG_SWAP_SERVER;/* -1 byte */
91 *vp++ = 4; /* -1 byte */
92 insert_u_long(hp->swap_server.s_addr, &vp); /* -4 bytes */
102 *vp++ = TAG_ROOT_PATH;
103 *vp
[all...]
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clnode.c100 struct vnode *vp; local
132 vp = nvp;
133 KASSERT(vp->v_bufobj.bo_bsize != 0, ("ncl_nget: bo_bsize == 0"));
134 vp->v_bufobj.bo_ops = &buf_ops_newnfs;
135 vp->v_data = np;
136 np->n_vnode = vp;
150 lockmgr(vp->v_vnlock, LK_EXCLUSIVE | LK_NOWITNESS, NULL);
151 VN_LOCK_AREC(vp);
152 VN_LOCK_ASHARE(vp);
159 if (vp
206 ncl_releasesillyrename(struct vnode *vp, struct thread *td) argument
236 struct vnode *vp = ap->a_vp; local
282 struct vnode *vp = ap->a_vp; local
349 ncl_invalcaches(struct vnode *vp) argument
[all...]
/freebsd-11-stable/sys/sys/
H A Dvnode.h216 #define VN_KNLIST_EMPTY(vp) ((vp)->v_pollinfo == NULL || \
217 KNLIST_EMPTY(&(vp)->v_pollinfo->vpi_selinfo.si_note))
219 #define VN_KNOTE(vp, b, a) \
221 if (!VN_KNLIST_EMPTY(vp)) \
222 KNOTE(&vp->v_pollinfo->vpi_selinfo.si_note, (b), \
225 #define VN_KNOTE_LOCKED(vp, b) VN_KNOTE(vp, b, KNF_LISTLOCKED)
226 #define VN_KNOTE_UNLOCKED(vp, b) VN_KNOTE(vp,
577 vn_canvmio(struct vnode *vp) argument
[all...]
/freebsd-11-stable/sys/fs/nullfs/
H A Dnull_subr.c57 #define NULL_NHASH(vp) (&null_node_hashtbl[vfs_hash_index(vp) & null_hash_mask])
103 struct vnode *vp; local
123 vp = NULLTOV(a);
124 vref(vp);
126 return (vp);
167 null_destroy_proto(struct vnode *vp, void *xp) argument
170 lockmgr(&vp->v_lock, LK_EXCLUSIVE, NULL);
171 VI_LOCK(vp);
172 vp
182 null_insmntque_dtr(struct vnode *vp, void *xp) argument
204 struct vnode *vp; local
[all...]
H A Dnull_vnops.c235 * We require at least one vp.
239 panic ("null_bypass: no vp's in map");
256 * that aren't. (We must always map first vp or vclean fails.)
266 * of vrele'ing their vp's. We must account for
315 * XXX - even though some ops have vpp returned vp's,
335 struct vnode *lvp, *vp; local
338 vp = ap->a_vp;
339 lvp = NULLVPTOLOWERVP(vp);
340 KASSERT(vp->v_writecount + ap->a_inc >= 0, ("wrong writecount inc"));
341 if (vp
363 struct vnode *vp, *ldvp, *lvp; local
439 struct vnode *vp, *ldvp; local
455 struct vnode *vp = ap->a_vp; local
510 struct vnode *vp = ap->a_vp; local
536 struct vnode *vp = ap->a_vp; local
571 struct vnode *lvp, *vp; local
638 struct vnode *vp = ap->a_vp; local
710 struct vnode *vp = ap->a_vp; local
750 struct vnode *vp, *lvp; local
782 struct vnode *vp; local
824 struct vnode *vp = ap->a_vp; local
836 struct vnode *vp; local
867 struct vnode *vp = ap->a_vp; local
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Dsh.exp.c184 expr(Char ***vp) argument
186 return (exp0(vp, 0));
190 exp0(Char ***vp, int ignore) argument
192 tcsh_number_t p1 = exp1(vp, ignore);
194 etraci("exp0 p1", p1, vp);
195 while (**vp && eq(**vp, STRor2)) {
198 (*vp)++;
201 exp0(vp, (ignore & TEXP_IGNORE) || p1) :
202 exp1(vp, (ignor
213 exp1(Char ***vp, int ignore) argument
237 exp2x(Char ***vp, int ignore) argument
260 exp2a(Char ***vp, int ignore) argument
283 exp2b(Char ***vp, int ignore) argument
306 exp2c(Char ***vp, int ignore) argument
349 exp3(Char ***vp, int ignore) argument
395 exp3a(Char ***vp, int ignore) argument
424 exp4(Char ***vp, int ignore) argument
461 exp5(Char ***vp, int ignore) argument
517 exp6(Char ***vp, int ignore) argument
606 filetest(Char *cp, Char ***vp, int ignore) argument
1036 etraci(const char *str, tcsh_number_t i, Char ***vp) argument
1047 etracc(const char *str, const Char *cp, Char ***vp) argument
[all...]
/freebsd-11-stable/contrib/one-true-awk/
H A Dtran.c281 Awkfloat setfval(Cell *vp, Awkfloat f) /* set float val of a Cell */ argument
285 if ((vp->tval & (NUM | STR)) == 0)
286 funnyvar(vp, "assign to");
287 if (isfld(vp)) {
289 fldno = atoi(vp->nval);
293 } else if (isrec(vp)) {
297 if (freeable(vp))
298 xfree(vp->sval); /* free any previous string */
299 vp->tval &= ~STR; /* mark string invalid */
300 vp
307 funnyvar(Cell *vp, const char *rw) argument
317 setsval(Cell *vp, const char *s) argument
347 getfval(Cell *vp) argument
365 get_str_val(Cell *vp, char **fmt) argument
392 getsval(Cell *vp) argument
397 getpssval(Cell *vp) argument
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/
H A Dvnode.c86 vn_rele_async(vnode_t *vp, taskq_t *taskq) argument
88 VERIFY(vp->v_count > 0);
89 if (refcount_release_if_not_last(&vp->v_usecount)) {
90 vdrop(vp);
94 (task_func_t *)vrele, vp, TQ_SLEEP) != 0);

Completed in 279 milliseconds

1234567891011>>