/freebsd-10.1-release/contrib/gdb/gdb/ |
H A D | xcoffsolib.c | 41 struct vmap *vp = vmap; local 45 if (vp == NULL) 47 for (vp = vp->nxt; vp; vp = vp->nxt) 48 if (vp->tstart <= addr && addr < vp->tend) 52 vp 67 struct vmap *vp = vmap; local 121 struct vmap *vp = vmap; local [all...] |
/freebsd-10.1-release/contrib/nvi/vi/ |
H A D | v_left.c | 34 v_left(SCR *sp, VICMD *vp) argument 42 if (vp->m_start.cno == 0) { 48 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; 49 if (vp->m_start.cno > cnt) 50 vp->m_stop.cno = vp->m_start.cno - cnt; 52 vp->m_stop.cno = 0; 59 if (ISMOTION(vp)) 60 --vp 72 v_cfirst(SCR *sp, VICMD *vp) argument 139 v_first(SCR *sp, VICMD *vp) argument 201 v_ncol(SCR *sp, VICMD *vp) argument 261 v_zero(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_right.c | 34 v_right(SCR *sp, VICMD *vp) argument 39 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { 60 vp->m_stop.cno = vp->m_start.cno + 61 (F_ISSET(vp, VC_C1SET) ? vp->count : 1); 62 if (vp->m_start.cno == len - 1 && !ISMOTION(vp)) { 66 if (vp->m_stop.cno >= len) { 67 vp 84 v_dollar(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_mark.c | 38 v_mark(SCR *sp, VICMD *vp) argument 40 return (mark_set(sp, vp->character, &vp->m_start, 1)); 59 v_bmark(SCR *sp, VICMD *vp) argument 61 return (mark(sp, vp, 1, BQMARK)); 73 v_fmark(SCR *sp, VICMD *vp) argument 75 return (mark(sp, vp, 1, FQMARK)); 85 v_emark(SCR *sp, VICMD *vp) argument 89 smp = HMAP + vp->ev.e_lno; 94 vp 105 mark(SCR *sp, VICMD *vp, int getmark, enum which cmd) argument [all...] |
H A D | v_xchar.c | 34 v_xchar(SCR *sp, VICMD *vp) argument 39 if (db_eget(sp, vp->m_start.lno, NULL, &len, &isempty)) { 58 if (F_ISSET(vp, VC_C1SET)) 59 vp->m_stop.cno += vp->count - 1; 60 if (vp->m_stop.cno >= len - 1) { 61 vp->m_stop.cno = len - 1; 62 vp->m_final.cno = vp->m_start.cno ? vp 81 v_Xchar(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_put.c | 36 v_Put(SCR *sp, VICMD *vp) argument 40 if (F_ISSET(vp, VC_ISDOT)) 41 inc_buf(sp, vp); 48 for (cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; cnt--;) { 50 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, 51 &vp->m_start, &vp->m_final, 0)) 53 vp 67 v_put(SCR *sp, VICMD *vp) argument 107 inc_buf(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_scroll.c | 70 v_lgoto(SCR *sp, VICMD *vp) argument 74 if (F_ISSET(vp, VC_C1SET)) { 75 if (!db_exist(sp, vp->count)) { 80 if (vp->count == 1) { 86 v_eof(sp, &vp->m_start); 89 vp->m_stop.lno = vp->count; 93 vp->m_stop.lno = nlines ? nlines : 1; 95 goto_adjust(vp); 107 v_home(SCR *sp, VICMD *vp) argument 124 v_middle(SCR *sp, VICMD *vp) argument 145 v_bottom(SCR *sp, VICMD *vp) argument 155 goto_adjust(VICMD *vp) argument 208 v_up(SCR *sp, VICMD *vp) argument 230 v_cr(SCR *sp, VICMD *vp) argument 251 v_down(SCR *sp, VICMD *vp) argument 272 v_hpageup(SCR *sp, VICMD *vp) argument 296 v_hpagedown(SCR *sp, VICMD *vp) argument 324 v_pagedown(SCR *sp, VICMD *vp) argument 370 v_pageup(SCR *sp, VICMD *vp) argument 416 v_lineup(SCR *sp, VICMD *vp) argument 436 v_linedown(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_delete.c | 35 v_delete(SCR *sp, VICMD *vp) argument 41 lmode = F_ISSET(vp, VM_LMODE) ? CUT_LINEMODE : 0; 44 if (cut(sp, F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, 45 &vp->m_start, &vp->m_stop, 46 lmode | (F_ISSET(vp, VM_CUTREQ) ? CUT_NUMREQ : CUT_NUMOPT))) 50 if (del(sp, &vp->m_start, &vp->m_stop, lmode)) 57 if (!db_exist(sp, vp [all...] |
H A D | v_yank.c | 45 v_yank(SCR *sp, VICMD *vp) argument 50 F_ISSET(vp, VC_BUFFER) ? &vp->buffer : NULL, &vp->m_start, 51 &vp->m_stop, F_ISSET(vp, VM_LMODE) ? CUT_LINEMODE : 0)) 53 sp->rptlines[L_YANKED] += (vp->m_stop.lno - vp->m_start.lno) + 1; 60 if (db_get(sp, vp->m_final.lno, DBG_FATAL, NULL, &len)) 71 if (!F_ISSET(vp, VM_LMOD [all...] |
H A D | v_ch.c | 38 v_chrepeat(SCR *sp, VICMD *vp) argument 40 vp->character = VIP(sp)->lastckey; 47 return (v_chF(sp, vp)); 49 return (v_chf(sp, vp)); 51 return (v_chT(sp, vp)); 53 return (v_cht(sp, vp)); 67 v_chrrepeat(SCR *sp, VICMD *vp) argument 72 vp->character = VIP(sp)->lastckey; 80 rval = v_chf(sp, vp); 83 rval = v_chF(sp, vp); 106 v_cht(SCR *sp, VICMD *vp) argument 137 v_chf(SCR *sp, VICMD *vp) argument 194 v_chT(SCR *sp, VICMD *vp) argument 219 v_chF(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_section.c | 65 v_sectionf(SCR *sp, VICMD *vp) argument 84 if (ISMOTION(vp)) 85 if (vp->m_start.cno == 0) 86 F_SET(vp, VM_LMODE); 88 vp->m_stop = vp->m_start; 89 vp->m_stop.cno = 0; 90 if (nonblank(sp, vp->m_stop.lno, &vp->m_stop.cno)) 92 if (vp 172 v_sectionb(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_itxt.c | 69 v_iA(SCR *sp, VICMD *vp) argument 73 if (!db_get(sp, vp->m_start.lno, 0, NULL, &len)) 78 return (v_ia(sp, vp)); 89 v_ia(SCR *sp, VICMD *vp) argument 96 flags = set_txt_std(sp, vp, 0); 98 sp->lno = vp->m_start.lno; 115 return (v_txt(sp, vp, NULL, p, len, 116 0, OOBLNO, F_ISSET(vp, VC_C1SET) ? vp->count : 1, flags)); 126 v_iI(SCR *sp, VICMD *vp) argument 145 v_ii(SCR *sp, VICMD *vp) argument 178 v_iO(SCR *sp, VICMD *vp) argument 190 v_io(SCR *sp, VICMD *vp) argument 196 io(SCR *sp, VICMD *vp, enum which cmd) argument 246 v_change(SCR *sp, VICMD *vp) argument 386 v_Replace(SCR *sp, VICMD *vp) argument 420 v_subst(SCR *sp, VICMD *vp) argument 460 set_txt_std(SCR *sp, VICMD *vp, u_int32_t flags) argument [all...] |
H A D | v_paragraph.c | 67 v_paragraphf(SCR *sp, VICMD *vp) argument 90 if (ISMOTION(vp)) 91 if (vp->m_start.cno == 0) 92 F_SET(vp, VM_LMODE); 94 vp->m_stop = vp->m_start; 95 vp->m_stop.cno = 0; 96 if (nonblank(sp, vp->m_stop.lno, &vp->m_stop.cno)) 98 if (vp 205 v_paragraphb(SCR *sp, VICMD *vp) argument [all...] |
H A D | v_search.c | 41 v_searchb(SCR *sp, VICMD *vp) argument 43 return (v_exaddr(sp, vp, BACKWARD)); 53 v_searchf(SCR *sp, VICMD *vp) argument 55 return (v_exaddr(sp, vp, FORWARD)); 63 v_exaddr(SCR *sp, VICMD *vp, dir_t dir) argument 82 if (F_ISSET(vp, VC_ISDOT)) 83 return (v_search(sp, vp, 87 if (v_tcmd(sp, vp, dir == BACKWARD ? CH_BSEARCH : CH_FSEARCH, 104 vp->m_stop.lno = sp->lno; 105 vp 284 v_searchN(SCR *sp, VICMD *vp) argument 309 v_searchn(SCR *sp, VICMD *vp) argument 344 v_searchw(SCR *sp, VICMD *vp) argument 393 v_search(SCR *sp, VICMD *vp, CHAR_T *ptrn, size_t plen, u_int flags, dir_t dir) argument 456 v_correct(SCR *sp, VICMD *vp, int isdelta) argument [all...] |
H A D | v_word.c | 80 v_wordW(SCR *sp, VICMD *vp) argument 82 return (fword(sp, vp, BIGWORD)); 92 v_wordw(SCR *sp, VICMD *vp) argument 94 return (fword(sp, vp, LITTLEWORD)); 102 fword(SCR *sp, VICMD *vp, enum which type) argument 108 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; 109 cs.cs_lno = vp->m_start.lno; 110 cs.cs_cno = vp->m_start.cno; 122 if (ISMOTION(vp) 240 v_wordE(SCR *sp, VICMD *vp) argument 252 v_worde(SCR *sp, VICMD *vp) argument 262 eword(SCR *sp, VICMD *vp, enum which type) argument 386 v_wordB(SCR *sp, VICMD *vp) argument 398 v_wordb(SCR *sp, VICMD *vp) argument 408 bword(SCR *sp, VICMD *vp, enum which type) argument [all...] |
H A D | v_z.c | 34 v_z(SCR *sp, VICMD *vp) argument 43 if (F_ISSET(vp, VC_C1SET)) { 44 lno = vp->count; 48 lno = vp->m_start.lno; 51 vp->m_final.lno = lno; 52 vp->m_final.cno = vp->m_start.cno; 64 if (F_ISSET(vp, VC_C2SET) && vp->count2 != 0) { 65 if (vp [all...] |
/freebsd-10.1-release/sys/fs/nfsclient/ |
H A D | nfs_kdtrace.h | 46 #define KDTRACE_NFS_ACCESSCACHE_FLUSH_DONE(vp) do { \ 49 nfscl_accesscache_flush_done_id, (vp)); \ 52 #define KDTRACE_NFS_ACCESSCACHE_GET_HIT(vp, uid, mode) do { \ 55 nfscl_accesscache_get_hit_id, (vp), (uid), \ 59 #define KDTRACE_NFS_ACCESSCACHE_GET_MISS(vp, uid, mode) do { \ 62 nfscl_accesscache_get_miss_id, (vp), (uid), \ 66 #define KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, uid, rmode, error) do { \ 69 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-10.1-release/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-10.1-release/sys/fs/fuse/ |
H A D | fuse_node.h | 92 #define VTOFUD(vp) \ 93 ((struct fuse_vnode_data *)((vp)->v_data)) 94 #define VTOI(vp) (VTOFUD(vp)->nid) 95 #define VTOVA(vp) (&(VTOFUD(vp)->cached_attrs)) 96 #define VTOILLU(vp) ((uint64_t)(VTOFUD(vp) ? VTOI(vp) : 0)) 103 fuse_vnode_setparent(struct vnode *vp, struc argument [all...] |
H A D | fuse_io.h | 61 int fuse_io_dispatch(struct vnode *vp, struct uio *uio, int ioflag, 63 int fuse_io_strategy(struct vnode *vp, struct buf *bp); 64 int fuse_io_flushbuf(struct vnode *vp, int waitfor, struct thread *td); 65 int fuse_io_invalbuf(struct vnode *vp, struct thread *td);
|
/freebsd-10.1-release/usr.bin/mail/ |
H A D | vars.c | 53 struct var *vp; local 57 vp = lookup(name); 58 if (vp == NULL) { 59 vp = calloc(sizeof(*vp), 1); 60 vp->v_name = vcopy(name); 61 vp->v_link = variables[h]; 62 variables[h] = vp; 65 vfree(vp->v_value); 66 vp 109 struct var *vp; local 124 struct var *vp; local [all...] |
/freebsd-10.1-release/sys/ufs/ufs/ |
H A D | gjournal.h | 36 void ufs_gjournal_close(struct vnode *vp);
|
/freebsd-10.1-release/sys/ddb/ |
H A D | db_variables.c | 62 struct db_variable *vp; local 67 for (vp = db_vars; vp < db_evars; vp++) { 68 if (!strcmp(db_tok_string, vp->name)) { 69 *varp = vp; 73 for (vp = db_regs; vp < db_eregs; vp++) { 74 if (!strcmp(db_tok_string, vp 87 struct db_variable *vp; local 98 struct db_variable *vp; local 107 db_read_variable(struct db_variable *vp, db_expr_t *valuep) argument 119 db_write_variable(struct db_variable *vp, db_expr_t value) argument 133 struct db_variable *vp; local [all...] |
/freebsd-10.1-release/contrib/libarchive/test_utils/ |
H A D | test_utils.c | 89 const char *vp = test; local 91 while (*vp >= '0' && *vp <= '9') { 93 start += *vp - '0'; 94 ++vp; 96 if (*vp == '\0') { 98 } else if (*vp == '-') { 99 ++vp; 100 if (*vp == '\0') { 104 while (*vp > [all...] |
/freebsd-10.1-release/sys/security/mac/ |
H A D | mac_vfs.c | 87 struct vnode *vp, struct label *intlabel); 140 mac_vnode_init(struct vnode *vp) argument 144 vp->v_label = mac_vnode_label_alloc(); 146 vp->v_label = NULL; 194 mac_vnode_destroy(struct vnode *vp) argument 197 if (vp->v_label != NULL) { 198 mac_vnode_label_free(vp->v_label); 199 vp->v_label = NULL; 232 mac_devfs_update(struct mount *mp, struct devfs_dirent *de, struct vnode *vp) argument 235 MAC_POLICY_PERFORM_NOSLEEP(devfs_update, mp, de, de->de_label, vp, 240 mac_devfs_vnode_associate(struct mount *mp, struct devfs_dirent *de, struct vnode *vp) argument 249 mac_vnode_associate_extattr(struct mount *mp, struct vnode *vp) argument 262 mac_vnode_associate_singlelabel(struct mount *mp, struct vnode *vp) argument 279 mac_vnode_create_extattr(struct ucred *cred, struct mount *mp, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument 313 mac_vnode_setlabel_extattr(struct ucred *cred, struct vnode *vp, struct label *intlabel) argument 346 mac_vnode_execve_transition(struct ucred *old, struct ucred *new, struct vnode *vp, struct label *interpvplabel, struct image_params *imgp) argument 357 mac_vnode_execve_will_transition(struct ucred *old, struct vnode *vp, struct label *interpvplabel, struct image_params *imgp) argument 376 mac_vnode_check_access(struct ucred *cred, struct vnode *vp, accmode_t accmode) argument 442 mac_vnode_check_deleteacl(struct ucred *cred, struct vnode *vp, acl_type_t type) argument 459 mac_vnode_check_deleteextattr(struct ucred *cred, struct vnode *vp, int attrnamespace, const char *name) argument 478 mac_vnode_check_exec(struct ucred *cred, struct vnode *vp, struct image_params *imgp) argument 496 mac_vnode_check_getacl(struct ucred *cred, struct vnode *vp, acl_type_t type) argument 512 mac_vnode_check_getextattr(struct ucred *cred, struct vnode *vp, int attrnamespace, const char *name) argument 531 mac_vnode_check_link(struct ucred *cred, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument 550 mac_vnode_check_listextattr(struct ucred *cred, struct vnode *vp, int attrnamespace) argument 586 mac_vnode_check_mmap(struct ucred *cred, struct vnode *vp, int prot, int flags) argument 600 mac_vnode_check_mmap_downgrade(struct ucred *cred, struct vnode *vp, int *prot) argument 617 mac_vnode_check_mprotect(struct ucred *cred, struct vnode *vp, int prot) argument 633 mac_vnode_check_open(struct ucred *cred, struct vnode *vp, accmode_t accmode) argument 649 mac_vnode_check_poll(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp) argument 668 mac_vnode_check_read(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp) argument 703 mac_vnode_check_readlink(struct ucred *cred, struct vnode *vp) argument 719 mac_vnode_check_relabel(struct ucred *cred, struct vnode *vp, struct label *newlabel) argument 736 mac_vnode_check_rename_from(struct ucred *cred, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument 755 mac_vnode_check_rename_to(struct ucred *cred, struct vnode *dvp, struct vnode *vp, int samedir, struct componentname *cnp) argument 773 mac_vnode_check_revoke(struct ucred *cred, struct vnode *vp) argument 789 mac_vnode_check_setacl(struct ucred *cred, struct vnode *vp, acl_type_t type, struct acl *acl) argument 806 mac_vnode_check_setextattr(struct ucred *cred, struct vnode *vp, int attrnamespace, const char *name) argument 825 mac_vnode_check_setflags(struct ucred *cred, struct vnode *vp, u_long flags) argument 841 mac_vnode_check_setmode(struct ucred *cred, struct vnode *vp, mode_t mode) argument 857 mac_vnode_check_setowner(struct ucred *cred, struct vnode *vp, uid_t uid, gid_t gid) argument 874 mac_vnode_check_setutimes(struct ucred *cred, struct vnode *vp, struct timespec atime, struct timespec mtime) argument 893 mac_vnode_check_stat(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp) argument 912 mac_vnode_check_unlink(struct ucred *cred, struct vnode *dvp, struct vnode *vp, struct componentname *cnp) argument 931 mac_vnode_check_write(struct ucred *active_cred, struct ucred *file_cred, struct vnode *vp) argument 947 mac_vnode_relabel(struct ucred *cred, struct vnode *vp, struct label *newlabel) argument 1010 struct vnode *vp = ap->a_vp; local 1029 vn_setlabel(struct vnode *vp, struct label *intlabel, struct ucred *cred) argument [all...] |