/freebsd-current/contrib/nvi/vi/ |
H A D | v_left.c | 30 v_left(SCR *sp, VICMD *vp) argument 38 if (vp->m_start.cno == 0) { 44 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; 45 if (vp->m_start.cno > cnt) 46 vp->m_stop.cno = vp->m_start.cno - cnt; 48 vp->m_stop.cno = 0; 55 if (ISMOTION(vp)) 56 --vp 68 v_cfirst(SCR *sp, VICMD *vp) argument 135 v_first(SCR *sp, VICMD *vp) argument 197 v_ncol(SCR *sp, VICMD *vp) argument 257 v_zero(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_right.c | 30 v_right(SCR *sp, VICMD *vp) argument 35 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { 56 vp->m_stop.cno = vp->m_start.cno + 57 (F_ISSET(vp, VC_C1SET) ? vp->count : 1); 58 if (vp->m_start.cno == len - 1 && !ISMOTION(vp)) { 62 if (vp->m_stop.cno >= len) { 63 vp 80 v_dollar(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_xchar.c | 30 v_xchar(SCR *sp, VICMD *vp) argument 35 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { 54 if (F_ISSET(vp, VC_C1SET)) 55 vp->m_stop.cno += vp->count - 1; 56 if (vp->m_stop.cno >= len - 1) { 57 vp->m_stop.cno = len - 1; 58 vp->m_final.cno = vp->m_start.cno ? vp 77 v_Xchar(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_put.c | 32 v_Put(SCR *sp, VICMD *vp) argument 36 if (F_ISSET(vp, VC_ISDOT)) 37 inc_buf(sp, vp); 44 for (cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; cnt--;) { 46 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, 47 &vp->m_start, &vp->m_final, 0)) 49 vp 63 v_put(SCR *sp, VICMD *vp) argument 103 inc_buf(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_scroll.c | 66 v_lgoto(SCR *sp, VICMD *vp) argument 70 if (F_ISSET(vp, VC_C1SET)) { 71 if (!db_exist(sp, vp->count)) { 76 if (vp->count == 1) { 82 v_eof(sp, &vp->m_start); 85 vp->m_stop.lno = vp->count; 89 vp->m_stop.lno = nlines ? nlines : 1; 91 goto_adjust(vp); 103 v_home(SCR *sp, VICMD *vp) argument 120 v_middle(SCR *sp, VICMD *vp) argument 141 v_bottom(SCR *sp, VICMD *vp) argument 151 goto_adjust(VICMD *vp) argument 204 v_up(SCR *sp, VICMD *vp) argument 226 v_cr(SCR *sp, VICMD *vp) argument 247 v_down(SCR *sp, VICMD *vp) argument 268 v_hpageup(SCR *sp, VICMD *vp) argument 292 v_hpagedown(SCR *sp, VICMD *vp) argument 320 v_pagedown(SCR *sp, VICMD *vp) argument 366 v_pageup(SCR *sp, VICMD *vp) argument 412 v_lineup(SCR *sp, VICMD *vp) argument 432 v_linedown(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_delete.c | 31 v_delete(SCR *sp, VICMD *vp) argument 37 lmode = F_ISSET(vp, VM_LMODE) ? CUT_LINEMODE : 0; 40 if (cut(sp, F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, 41 &vp->m_start, &vp->m_stop, 42 lmode | (F_ISSET(vp, VM_CUTREQ) ? CUT_NUMREQ : CUT_NUMOPT))) 46 if (del(sp, &vp->m_start, &vp->m_stop, lmode)) 53 if (!db_exist(sp, vp [all...] |
H A D | v_yank.c | 41 v_yank(SCR *sp, VICMD *vp) argument 46 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, &vp->m_start, 47 &vp->m_stop, F_ISSET(vp, VM_LMODE) ? CUT_LINEMODE : 0)) 49 sp->rptlines[L_YANKED] += (vp->m_stop.lno - vp->m_start.lno) + 1; 56 if (db_get(sp, vp->m_final.lno, DBG_FATAL, NULL, &len)) 67 if (!F_ISSET(vp, VM_LMOD [all...] |
H A D | v_mark.c | 34 v_mark(SCR *sp, VICMD *vp) argument 36 return (mark_set(sp, vp->character, &vp->m_start, 1)); 55 v_bmark(SCR *sp, VICMD *vp) argument 57 return (mark(sp, vp, 1, BQMARK)); 69 v_fmark(SCR *sp, VICMD *vp) argument 71 return (mark(sp, vp, 1, FQMARK)); 81 v_emark(SCR *sp, VICMD *vp) argument 85 smp = HMAP + vp->ev.e_lno; 90 vp 101 mark(SCR *sp, VICMD *vp, int getmark, enum which cmd) argument [all...] |
H A D | v_section.c | 61 v_sectionf(SCR *sp, VICMD *vp) argument 80 if (ISMOTION(vp)) { 81 if (vp->m_start.cno == 0) 82 F_SET(vp, VM_LMODE); 84 vp->m_stop = vp->m_start; 85 vp->m_stop.cno = 0; 86 if (nonblank(sp, vp->m_stop.lno, &vp->m_stop.cno)) 88 if (vp 169 v_sectionb(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_itxt.c | 65 v_iA(SCR *sp, VICMD *vp) argument 69 if (!db_get(sp, vp->m_start.lno, 0, NULL, &len)) 74 return (v_ia(sp, vp)); 85 v_ia(SCR *sp, VICMD *vp) argument 92 flags = set_txt_std(sp, vp, 0); 94 sp->lno = vp->m_start.lno; 111 return (v_txt(sp, vp, NULL, p, len, 112 0, OOBLNO, F_ISSET(vp, VC_C1SET) ? vp->count : 1, flags)); 122 v_iI(SCR *sp, VICMD *vp) argument 141 v_ii(SCR *sp, VICMD *vp) argument 174 v_iO(SCR *sp, VICMD *vp) argument 186 v_io(SCR *sp, VICMD *vp) argument 192 io(SCR *sp, VICMD *vp, enum which cmd) argument 242 v_change(SCR *sp, VICMD *vp) argument 382 v_Replace(SCR *sp, VICMD *vp) argument 416 v_subst(SCR *sp, VICMD *vp) argument 456 set_txt_std(SCR *sp, VICMD *vp, u_int32_t flags) argument [all...] |
H A D | v_paragraph.c | 68 v_paragraphf(SCR *sp, VICMD *vp) argument 91 if (ISMOTION(vp)) { 92 if (vp->m_start.cno == 0) 93 F_SET(vp, VM_LMODE); 95 vp->m_stop = vp->m_start; 96 vp->m_stop.cno = 0; 97 if (nonblank(sp, vp->m_stop.lno, &vp->m_stop.cno)) 99 if (vp 207 v_paragraphb(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_search.c | 37 v_searchb(SCR *sp, VICMD *vp) argument 39 return (v_exaddr(sp, vp, BACKWARD)); 49 v_searchf(SCR *sp, VICMD *vp) argument 51 return (v_exaddr(sp, vp, FORWARD)); 59 v_exaddr(SCR *sp, VICMD *vp, dir_t dir) argument 78 if (F_ISSET(vp, VC_ISDOT)) 79 return (v_search(sp, vp, 83 if (v_tcmd(sp, vp, dir == BACKWARD ? CH_BSEARCH : CH_FSEARCH, 100 vp->m_stop.lno = sp->lno; 101 vp 280 v_searchN(SCR *sp, VICMD *vp) argument 305 v_searchn(SCR *sp, VICMD *vp) argument 340 v_searchw(SCR *sp, VICMD *vp) argument 389 v_search(SCR *sp, VICMD *vp, CHAR_T *ptrn, size_t plen, u_int flags, dir_t dir) argument 452 v_correct(SCR *sp, VICMD *vp, int isdelta) argument [all...] |
H A D | v_word.c | 76 v_wordW(SCR *sp, VICMD *vp) argument 78 return (fword(sp, vp, BIGWORD)); 88 v_wordw(SCR *sp, VICMD *vp) argument 90 return (fword(sp, vp, LITTLEWORD)); 98 fword(SCR *sp, VICMD *vp, enum which type) argument 104 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; 105 cs.cs_lno = vp->m_start.lno; 106 cs.cs_cno = vp->m_start.cno; 118 if (ISMOTION(vp) 236 v_wordE(SCR *sp, VICMD *vp) argument 248 v_worde(SCR *sp, VICMD *vp) argument 258 eword(SCR *sp, VICMD *vp, enum which type) argument 382 v_wordB(SCR *sp, VICMD *vp) argument 394 v_wordb(SCR *sp, VICMD *vp) argument 404 bword(SCR *sp, VICMD *vp, enum which type) argument [all...] |
H A D | v_z.c | 30 v_z(SCR *sp, VICMD *vp) argument 39 if (F_ISSET(vp, VC_C1SET)) { 40 lno = vp->count; 44 lno = vp->m_start.lno; 47 vp->m_final.lno = lno; 48 vp->m_final.cno = vp->m_start.cno; 60 if (F_ISSET(vp, VC_C2SET) && vp->count2 != 0) { 61 if (vp [all...] |
/freebsd-current/sys/fs/nfsclient/ |
H A D | nfs_kdtrace.h | 54 #define KDTRACE_NFS_ACCESSCACHE_FLUSH_DONE(vp) do { \ 57 nfscl_accesscache_flush_done_id, (vp)); \ 60 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \ 63 nfscl_accesscache_get_hit_id, (vp), (uid), \ 67 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \ 70 nfscl_accesscache_get_miss_id, (vp), (uid), \ 74 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error) do { \ 77 nfscl_accesscache_load_done_id, (vp), (uid), \ 81 #define KDTRACE_NFS_ATTRCACHE_FLUSH_DONE(vp) do { \ 84 nfscl_attrcache_flush_done_id, (vp)); \ [all...] |
/freebsd-current/sys/nfs/ |
H A D | nfs_kdtrace.h | 46 #define KDTRACE_NFS_ACCESSCACHE_FLUSH_DONE(vp) do { \ 49 nfsclient_accesscache_flush_done_id, (vp)); \ 52 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \ 55 nfsclient_accesscache_get_hit_id, (vp), (uid), \ 59 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \ 62 nfsclient_accesscache_get_miss_id, (vp), (uid), \ 66 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error) do { \ 69 nfsclient_accesscache_load_done_id, (vp), (uid), \ 81 #define KDTRACE_NFS_ATTRCACHE_FLUSH_DONE(vp) do { \ 84 nfsclient_attrcache_flush_done_id, (vp)); \ [all...] |
/freebsd-current/sys/ddb/ |
H A D | db_variables.c | 60 struct db_variable *vp; local 65 for (vp = db_vars; vp < db_evars; vp++) { 66 if (!strcmp(db_tok_string, vp->name)) { 67 *varp = vp; 71 for (vp = db_regs; vp < db_eregs; vp++) { 72 if (!strcmp(db_tok_string, vp 85 struct db_variable *vp; local 96 struct db_variable *vp; local 105 db_read_variable(struct db_variable *vp, db_expr_t *valuep) argument 117 db_write_variable(struct db_variable *vp, db_expr_t value) argument 131 struct db_variable *vp; local [all...] |
/freebsd-current/usr.bin/mail/ |
H A D | vars.c | 47 struct var *vp; local 51 vp = lookup(name); 52 if (vp == NULL) { 53 if ((vp = calloc(1, sizeof(*vp))) == NULL) 55 vp->v_name = vcopy(name); 56 vp->v_link = variables[h]; 57 variables[h] = vp; 60 vfree(vp->v_value); 61 vp 104 struct var *vp; local 119 struct var *vp; local [all...] |
/freebsd-current/sys/ufs/ufs/ |
H A D | gjournal.h | 36 void ufs_gjournal_close(struct vnode *vp);
|
/freebsd-current/sys/fs/fuse/ |
H A D | fuse_node.h | 141 #define VTOFUD(vp) \ 142 ((struct fuse_vnode_data *)((vp)->v_data)) 143 #define VTOI(vp) (VTOFUD(vp)->nid) 145 fuse_vnode_attr_cache_valid(struct vnode *vp) argument 150 return (bintime_cmp(&(VTOFUD(vp)->attr_cache_timeout), &now, >)); 154 VTOVA(struct vnode *vp) argument 156 if (fuse_vnode_attr_cache_valid(vp)) 157 return &(VTOFUD(vp)->cached_attrs); 163 fuse_vnode_clear_attr_cache(struct vnode *vp) argument 184 fuse_vnode_setparent(struct vnode *vp, struct vnode *dvp) argument [all...] |
/freebsd-current/sys/fs/mntfs/ |
H A D | mntfs_vnops.c | 47 struct vnode *vp = ap->a_vp; local 49 dev_rel(vp->v_rdev); 71 struct vnode *vp; local 78 getnewvnode("mntfs", mp, &mntfs_vnodeops, &vp); 79 vp->v_type = VCHR; 80 vp->v_data = NULL; 82 vp->v_rdev = dev; 85 vn_lock(vp, LK_EXCLUSIVE | LK_RETRY); 86 vn_set_state(vp, VSTATE_CONSTRUCTED); 87 return (vp); 91 mntfs_freevp(struct vnode *vp) argument [all...] |
/freebsd-current/sys/kern/ |
H A D | vfs_subr.c | 108 static void delmntque(struct vnode *vp); 112 static int vtryrecycle(struct vnode *vp, bool isvnlru); 115 static void vn_seqc_write_end_free(struct vnode *vp); 118 static void vdropl_recycle(struct vnode *vp); 119 static void vdrop_recycle(struct vnode *vp); 124 static int v_inval_buf_range_locked(struct vnode *vp, struct bufobj *bo, 319 static void vdbatch_dequeue(struct vnode *vp); 428 struct vnode *vp; local 450 vp = nd.ni_vp; 452 if (VN_IS_DOOMED(vp)) { 476 struct vnode *vp; local 552 struct vnode *vp; local 562 vn_free_marker(struct vnode *vp) argument 623 struct vnode *vp; local 671 struct vnode *vp; local 1200 struct vnode *vp, *mvp; local 1326 struct vnode *vp; local 1863 vtryrecycle(struct vnode *vp, bool isvnlru) argument 2025 vn_free(struct vnode *vp) argument 2039 struct vnode *vp; local 2148 freevnode(struct vnode *vp) argument 2214 delmntque(struct vnode *vp) argument 2237 insmntque1_int(struct vnode *vp, struct mount *mp, bool dtr) argument 2293 insmntque(struct vnode *vp, struct mount *mp) argument 2299 insmntque1(struct vnode *vp, struct mount *mp) argument 2396 vinvalbuf(struct vnode *vp, int flags, int slpflag, int slptimeo) argument 2529 vtruncbuf(struct vnode *vp, off_t length, int blksize) argument 2591 v_inval_buf_range(struct vnode *vp, daddr_t startlbn, daddr_t endlbn, int blksize) argument 2614 v_inval_buf_range_locked(struct vnode *vp, struct bufobj *bo, daddr_t startlbn, daddr_t endlbn) argument 2779 bgetvp(struct vnode *vp, struct buf *bp) argument 2807 struct vnode *vp; local 2886 struct vnode *vp; local 3138 struct vnode *vp; local 3207 v_init_counters(struct vnode *vp) argument 3229 vget_prep_smr(struct vnode *vp) argument 3247 vget_prep(struct vnode *vp) argument 3261 vget_abort(struct vnode *vp, enum vgetstate vs) argument 3277 vget(struct vnode *vp, int flags) argument 3286 vget_finish(struct vnode *vp, int flags, enum vgetstate vs) argument 3311 vget_finish_ref(struct vnode *vp, enum vgetstate vs) argument 3340 vref(struct vnode *vp) argument 3350 vrefact(struct vnode *vp) argument 3360 vlazy(struct vnode *vp) argument 3384 vunlazy(struct vnode *vp) argument 3413 vunlazy_gone(struct vnode *vp) argument 3433 vdefer_inactive(struct vnode *vp) argument 3459 vdefer_inactive_unlocked(struct vnode *vp) argument 3489 vput_final(struct vnode *vp, enum vput_op func) argument 3605 vrele(struct vnode *vp) argument 3619 vput(struct vnode *vp) argument 3636 vunref(struct vnode *vp) argument 3647 vhold(struct vnode *vp) argument 3660 vholdnz(struct vnode *vp) argument 3693 vhold_smr(struct vnode *vp) argument 3732 vhold_recycle_free(struct vnode *vp) argument 3759 struct vnode *vp; local 3803 vdbatch_enqueue(struct vnode *vp) argument 3840 vdbatch_dequeue(struct vnode *vp) argument 3880 vdropl_final(struct vnode *vp) argument 3884 VNPASS(VN_IS_DOOMED(vp), vp); local 3907 vdrop(struct vnode *vp) argument 3919 vdropl_impl(struct vnode *vp, bool enqueue) argument 3954 vdropl(struct vnode *vp) argument 3972 vdropl_recycle(struct vnode *vp) argument 3979 vdrop_recycle(struct vnode *vp) argument 3991 vinactivef(struct vnode *vp) argument 4024 vinactive(struct vnode *vp) argument 4070 struct vnode *vp, *mvp, *rootvp = NULL; local 4185 vrecycle(struct vnode *vp) argument 4199 vrecyclel(struct vnode *vp) argument 4219 vgone(struct vnode *vp) argument 4230 vfs_notify_upper(struct vnode *vp, enum vfs_notify_upper_type event) argument 4270 vgonel(struct vnode *vp) argument 4289 vn_get_state(vp) == VSTATE_DEAD, vp); local 4362 ("vp %p bufobj not invalidated", vp)); local 4450 vn_printf(struct vnode *vp, const char *fmt, ...) argument 4588 struct vnode *vp; local 4610 struct vnode *vp; local 4626 struct vnode *vp; local 5015 vfs_deferred_inactive(struct vnode *vp, int lkflags) argument 5035 vfs_periodic_inactive_filter(struct vnode *vp, void *arg) argument 5044 struct vnode *vp, *mvp; local 5062 vfs_want_msync(struct vnode *vp) argument 5077 vfs_periodic_msync_inactive_filter(struct vnode *vp, void *arg __unused) argument 5090 struct vnode *vp, *mvp; local 5162 v_addpollinfo(struct vnode *vp) argument 5191 vn_pollrecord(struct vnode *vp, struct thread *td, int events) argument 5246 struct vnode *vp; local 5302 struct vnode *vp; local 5377 struct vnode *vp = ap->a_vp; local 5398 vn_need_pageq_flush(struct vnode *vp) argument 5411 vn_isdisk_error(struct vnode *vp, int *errp) argument 5434 vn_isdisk(struct vnode *vp) argument 5615 extattr_check_cred(struct vnode *vp, int attrnamespace, struct ucred *cred, struct thread *td, accmode_t accmode) argument 5664 vfs_badlock(const char *msg, const char *str, struct vnode *vp) argument 5680 assert_vi_locked(struct vnode *vp, const char *str) argument 5688 assert_vi_unlocked(struct vnode *vp, const char *str) argument 5696 assert_vop_locked(struct vnode *vp, const char *str) argument 5712 assert_vop_unlocked(struct vnode *vp, const char *str) argument 5727 assert_vop_elocked(struct vnode *vp, const char *str) argument 5804 struct vnode *vp; local 5811 VNPASS(VN_IS_DOOMED(vp), vp); local 5829 vop_fsync_debugprepost(struct vnode *vp, const char *name) argument 5939 struct vnode *vp = a->a_vp; local 5941 VNPASS(vn_get_state(vp) != VSTATE_UNINITIALIZED, vp); local 6012 struct vnode *vp; local 6023 struct vnode *vp; local 6036 struct vnode *vp, *tdvp; local 6049 struct vnode *vp, *tdvp; local 6126 struct vnode *vp; local 6139 struct vnode *dvp, *vp; local 6152 struct vnode *dvp, *vp; local 6207 struct vnode *dvp, *vp; local 6220 struct vnode *dvp, *vp; local 6238 struct vnode *vp; local 6249 struct vnode *vp; local 6262 struct vnode *vp; local 6273 struct vnode *vp; local 6284 struct vnode *vp; local 6295 struct vnode *vp; local 6496 struct vnode *vp = arg; local 6504 struct vnode *vp = arg; local 6513 struct vnode *vp = arg; local 6525 struct vnode *vp = ap->a_vp; local 6564 struct vnode *vp = (struct vnode *)kn->kn_hook; local 6575 struct vnode *vp = (struct vnode *)kn->kn_hook; local 6604 struct vnode *vp = (struct vnode *)kn->kn_hook; local 6623 struct vnode *vp = (struct vnode *)kn->kn_hook; local 6723 struct vnode *vp; local 6784 struct vnode *vp; local 6808 struct vnode *vp; local 6822 vfs_cache_root_set(struct mount *mp, struct vnode *vp) argument 6840 struct vnode *vp; local 6872 struct vnode *vp; local 6947 mnt_vnode_next_lazy_relock(struct vnode *mvp, struct mount *mp, struct vnode *vp) argument 6994 struct vnode *vp; local 7066 struct vnode *vp; local 7101 vn_dir_check_exec(struct vnode *vp, struct componentname *cnp) argument 7117 vn_seqc_write_begin_locked(struct vnode *vp) argument 7129 vn_seqc_write_begin(struct vnode *vp) argument 7138 vn_seqc_write_end_locked(struct vnode *vp) argument 7149 vn_seqc_write_end(struct vnode *vp) argument 7164 vn_seqc_init(struct vnode *vp) argument 7172 vn_seqc_write_end_free(struct vnode *vp) argument 7180 vn_irflag_set_locked(struct vnode *vp, short toset) argument 7193 vn_irflag_set(struct vnode *vp, short toset) argument 7202 vn_irflag_set_cond_locked(struct vnode *vp, short toset) argument 7212 vn_irflag_set_cond(struct vnode *vp, short toset) argument 7221 vn_irflag_unset_locked(struct vnode *vp, short tounset) argument 7234 vn_irflag_unset(struct vnode *vp, short tounset) argument 7243 vn_getsize_locked(struct vnode *vp, off_t *size, struct ucred *cred) argument 7260 vn_getsize(struct vnode *vp, off_t *size, struct ucred *cred) argument 7272 vn_set_state_validate(struct vnode *vp, __enum_uint8(vstate) state) argument [all...] |
/freebsd-current/bin/sh/ |
H A D | var.c | 155 struct var *vp; local 159 for (ip = varinit ; (vp = ip->var) != NULL ; ip++) { 160 if (find_var(ip->text, &vpp, &vp->name_len) != NULL) 162 vp->next = *vpp; 163 *vpp = vp; 164 vp->text = __DECONST(char *, ip->text); 165 vp->flags = ip->flags | VSTRFIXED | VTEXTFIXED; 166 vp->func = ip->func; 318 struct var *vp, **vpp; local 325 vp 547 struct var *vp; local 592 struct var *vp; local 648 struct var *vp; local 749 struct var *vp; local 790 struct var *vp; local 882 struct var *vp; local 939 struct var *vp, **vpp; local [all...] |
/freebsd-current/contrib/bearssl/T0/ |
H A D | TPointerNull.cs | 30 internal override bool ToBool(TValue vp) argument 35 internal override string ToString(TValue vp) argument
|
/freebsd-current/sys/security/mac/ |
H A D | mac_vfs.c | 84 struct vnode *vp, struct label *intlabel); 137 mac_vnode_init(struct vnode *vp) argument 141 vp->v_label = mac_vnode_label_alloc(); 143 vp->v_label = NULL; 191 mac_vnode_destroy(struct vnode *vp) argument 194 if (vp->v_label != NULL) { 195 mac_vnode_label_free(vp->v_label); 196 vp->v_label = NULL; 229 mac_devfs_update(struct mount *mp, struct devfs_dirent *de, struct vnode *vp) argument 232 MAC_POLICY_PERFORM_NOSLEEP(devfs_update, mp, de, de->de_label, vp, 237 mac_devfs_vnode_associate(struct mount *mp, struct devfs_dirent *de, struct vnode *vp) argument 246 mac_vnode_associate_extattr(struct mount *mp, struct vnode *vp) argument 259 mac_vnode_associate_singlelabel(struct mount *mp, struct vnode *vp) argument 276 mac_vnode_create_extattr(struct ucred *cred, struct mount *mp, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument 310 mac_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp, struct label *intlabel) argument 343 mac_vnode_execve_transition(struct ucred *old, struct ucred *new, struct vnode *vp, struct label *interpvplabel, struct image_params *imgp) argument 354 mac_vnode_execve_will_transition(struct ucred *old, struct vnode *vp, struct label *interpvplabel, struct image_params *imgp) argument 373 mac_vnode_check_access_impl(struct ucred *cred, struct vnode *vp, accmode_t accmode) argument 439 mac_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, acl_type_t type) argument 456 mac_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, int attrnamespace, const char *name) argument 475 mac_vnode_check_exec(struct ucred *cred, struct vnode *vp, struct image_params *imgp) argument 493 mac_vnode_check_getacl(struct ucred *cred, struct vnode *vp, acl_type_t type) argument 509 mac_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, int attrnamespace, const char *name) argument 528 mac_vnode_check_link(struct ucred *cred, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument 547 mac_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, int attrnamespace) argument 585 mac_vnode_check_mmap_impl(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_impl(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_impl(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp) argument 702 mac_vnode_check_readlink_impl(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_impl(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_impl(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 1032 vn_setlabel(struct vnode *vp, struct label *intlabel, struct ucred *cred) argument 1083 mac_vnode_assert_locked(struct vnode *vp, const char *func) argument [all...] |