| /src/usr.sbin/npf/npfctl/ |
| npf_var.c | 132 npfvar_add_elements(npfvar_t *vp, npfvar_t *vp2) 134 if (vp2 == NULL) 137 return vp2; 140 if (vp2->v_elements) { 141 vp->v_elements = vp2->v_elements; 143 } else if (vp2->v_elements) { 144 vp->v_last->e_next = vp2->v_elements; 146 if (vp2->v_elements) { 147 vp->v_last = vp2->v_last; 148 vp->v_count += vp2->v_count [all...] |
| /src/sys/ufs/lfs/ |
| lfs_bio.c | 118 static int lfs_reservebuf(struct lfs *, struct vnode *vp, struct vnode *vp2, 120 static int lfs_reserveavail(struct lfs *, struct vnode *vp, struct vnode *vp2, 155 struct vnode *vp2, int n, int bytes) 210 struct vnode *vp2, int fsb) 268 lfs_reserve(struct lfs *fs, struct vnode *vp, struct vnode *vp2, int fsb) 273 if (vp2) { 274 /* Make sure we're not in the process of reclaiming vp2 */ 284 KASSERT(vp2 == NULL || fsb < 0 || VOP_ISLOCKED(vp2)); 285 KASSERT(vp2 == NULL || vp2 != fs->lfs_unlockvp) [all...] |
| /src/tests/lib/libc/sys/ |
| t_mmap.c | 101 testloan(void *vp, void *vp2, char pat, int docheck) 137 (void)memset(vp2, pat, BUFSIZE); 250 char *vp, *vp2; local 264 vp2 = vp; 266 testloan(vp, vp2, 'A', 0); 267 testloan(vp, vp2, 'B', 1); 274 vp2 = mmap(NULL, BUFSIZE, PROT_READ | PROT_WRITE, 278 ATF_REQUIRE(vp2 != MAP_FAILED); 280 testloan(vp, vp2, 'E', 1); 283 ATF_REQUIRE(munmap(vp2, BUFSIZE) == 0) [all...] |
| /src/sys/fs/puffs/ |
| puffs_sys.h | 344 #define PUFFS_MSG_ENQUEUEWAIT2_NOERROR(pmp, park, vp1, vp2) \ 347 puffs_msg_wait2(pmp, park, vp1, vp2); \ 356 #define PUFFS_MSG_ENQUEUEWAIT2(pmp, park, vp1, vp2, var) \ 359 var = puffs_msg_wait2(pmp, park, vp1, vp2); \
|
| /src/usr.bin/mail/ |
| cmd3.c | 737 struct var *vp, *vp2; local 743 if ((vp2 = lookup(*ap)) == NULL) { 753 if (vp2 == variables[h]) { 755 v_free(vp2->v_name); 756 v_free(vp2->v_value); 757 free(vp2); 760 for (vp = variables[h]; vp->v_link != vp2; vp = vp->v_link) 762 vp->v_link = vp2->v_link; 763 v_free(vp2->v_name); 764 v_free(vp2->v_value) [all...] |
| /src/games/fortune/strfile/ |
| strfile.c | 138 static int cmp_str(const void *vp1, const void *vp2); 380 cmp_str(const void *vp1, const void *vp2) 387 p2 = (const STR *)vp2;
|
| /src/sbin/mount_qemufwcfg/ |
| virtdir.c | 45 compare(const void *vp1, const void *vp2) 48 const virt_dirent_t *tp2 = vp2;
|
| /src/sys/miscfs/specfs/ |
| spec_vnops.c | 378 vnode_t *vp2; local 394 for (vp2 = *vpp; vp2 != NULL; vp2 = vp2->v_specnext) { 395 KASSERT(vp2->v_specnode != NULL); 396 if (rdev == vp2->v_rdev && vp->v_type == vp2->v_type) { 400 if (vp2 == NULL) { 414 sn->sn_dev = vp2->v_specnode->sn_dev [all...] |
| /src/share/examples/refuse/virtdir/ |
| virtdir.c | 43 compare(const void *vp1, const void *vp2) 46 const virt_dirent_t *tp2 = (const virt_dirent_t *) vp2;
|
| /src/sys/kern/ |
| subr_percpu.c | 197 percpu_zero_cb(void *vp, void *vp2, struct cpu_info *ci) 199 size_t sz = (uintptr_t)vp2;
|
| /src/sys/dev/ |
| fss.c | 704 struct vnode *vp, *vp2; local 791 error = vn_open(NULL, pb2, 0, FREAD|FWRITE, 0, &vp2, NULL, NULL); 796 VOP_UNLOCK(vp2); 798 sc->sc_bs_vp = vp2; 800 if (vp2->v_type != VREG && vp2->v_type != VCHR) { 801 vrele(vp2);
|
| /src/bin/ksh/ |
| var.c | 884 struct tbl *vp2; local 889 vp2 = mytsearch(&l2->vars, vp->name, h); 890 if (vp2 != NULL) 891 vp2->flag &= ~EXPORT;
|
| /src/sys/dev/tprof/ |
| tprof.c | 456 tprof_init_percpu_counters_offset(void *vp, void *vp2, struct cpu_info *ci) 459 u_int counter = (uintptr_t)vp2;
|