/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | mach_header.c | 426 struct fvmfile_command *fvp; local 429 fvp = (struct fvmfile_command *) 432 if (fvp->cmd == LC_FVMFILE) 433 return fvp; 434 fvp = (struct fvmfile_command *)((char *)fvp + fvp->cmdsize); 448 struct fvmfile_command *fvp = fvmfilefromheader(&_mh_execute_header); local 454 if (!fvp) 461 sgp->vmaddr = fvp [all...] |
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach-o/ |
H A D | mach_header.c | 463 struct fvmfile_command *fvp; local 466 fvp = (struct fvmfile_command *) 469 if (fvp->cmd == LC_FVMFILE) 470 return fvp; 471 fvp = (struct fvmfile_command *)((char *)fvp + fvp->cmdsize); 488 struct fvmfile_command *fvp = fvmfilefromheader(&_mh_execute_header); local 494 if (!fvp) 501 sgp->vmaddr = fvp [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_syscalls.c | 4632 vnode_t tvp, fvp, tdvp, sdvp; local 4647 fvp = fromnd.ni_vp; 4663 if (fvp->v_type == VDIR || (tvp && tvp->v_type == VDIR)) { 4671 if (fvp == tdvp) 4678 if (fvp == tvp) 4681 error = VNOP_COPYFILE(fvp, tdvp, tvp, &tond.ni_cnd, uap->mode, uap->flags, ctx); 4695 vnode_put(fvp); 4716 vnode_t fvp, fdvp; local 4734 fvp = tvp = NULL; 4743 fvp 6041 vnode_t fvp; local [all...] |
H A D | kpi_vfs.c | 3231 *#% exchange fvp L L L 3244 VNOP_EXCHANGE(vnode_t fvp, vnode_t tvp, int options, vfs_context_t ctx) argument 3253 a.a_fvp = fvp; 3257 thread_safe = THREAD_SAFE_FS(fvp); 3263 if (fvp < tvp) { 3264 lock_first = fvp; 3268 lock_second = fvp; 3278 _err = (*fvp->v_op[vnop_exchange_desc.vdesc_offset])(&a); 3564 *#% rename fvp U U U 3581 VNOP_RENAME(struct vnode *fdvp, struct vnode *fvp, struc argument 4766 VNOP_COPYFILE(struct vnode *fvp, struct vnode *tdvp, struct vnode *tvp, struct componentname *tcnp, int mode, int flags, vfs_context_t ctx) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/fdesc/ |
H A D | fdesc_vnops.c | 231 struct vnode *fvp; local 253 error = fdesc_allocvp(Fdevfd, FD_DEVFD, dvp->v_mount, &fvp, VDIR); 256 *vpp = fvp; 281 error = fdesc_allocvp(Flink, fd, dvp->v_mount, &fvp, VLNK); 284 VTOFDESC(fvp)->fd_link = ln; 285 *vpp = fvp; 320 error = fdesc_allocvp(Fdesc, FD_DESC+fd, dvp->v_mount, &fvp, VNON); 323 VTOFDESC(fvp)->fd_fd = fd; 324 *vpp = fvp;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | ufs_vnops.c | 735 struct vnode *fvp = ap->a_fvp; local 757 if (fvp == tvp) { 758 if (fvp->v_type == VDIR) { 765 printf("ufs_rename: fvp == tvp for directories\n"); 775 error = ufs_remove_internal(fdvp, fvp, fcnp, 0); 807 ip = VTOI(fvp); 838 if ( (error = ffs_update(fvp, &tv, &tv, 1)) ) { 980 (void) relookup(fdvp, &fvp, fcnp); 982 if (fvp != NULL) { 983 xp = VTOI(fvp); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_serv.c | 2506 vnode_t fvp, tvp, tdvp, fdvp, fdirp, tdirp; local 2538 fvp = tvp = NULL; 2577 fvp = fromni.ni_vp; 2588 fvtype = vnode_vtype(fvp); 2671 if (fvp == tdvp) { 2703 if ((error = nfsrv_authorize(fvp, fdvp, KAUTH_VNODE_DELETE, ctx, fnxo, 0)) != 0) 2708 vnode_isdir(fvp) ? KAUTH_VNODE_ADD_SUBDIRECTORY : KAUTH_VNODE_ADD_FILE, 2714 vnode_isdir(fvp) ? KAUTH_VNODE_ADD_SUBDIRECTORY : KAUTH_VNODE_ADD_FILE, 2731 if ((vnode_mount(fvp) != vnode_mount(tdvp)) || 2732 (tvp && (vnode_mount(fvp) ! [all...] |
H A D | nfs_vnops.c | 3234 vnode_t fvp = ap->a_fvp; local 3247 fnp = VTONFS(fvp); 3260 if (tvp && (tvp != fvp)) { 3276 fmp = vnode_mount(fvp); 3293 if (tvp && (tvp != fvp)) 3318 if (tvp && (tvp != fvp) && !tnp->n_sillyrename) { 3336 cache_purge(fvp); 3351 cache_enter(tdvp, fvp, tcnp);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/devfs/ |
H A D | devfs_vnops.c | 813 struct vnode *fvp = ap->a_fvp; local 839 fp = VTODN(fvp); 905 if ( (error = devfs_update(fvp, &now, &now)) ) { 911 if (fvp == tvp) { 912 if (fvp->v_type == VDIR) {
|
/macosx-10.5.8/xnu-1228.15.4/bsd/miscfs/union/ |
H A D | union_vnops.c | 1143 struct vnode *fvp = ap->a_fvp; local 1166 if (fvp->v_op == union_vnodeop_p) { /* always true */ 1167 struct union_node *un = VTOUNION(fvp); 1179 fvp = un->un_uppervp; 1206 return (VNOP_RENAME(fdvp, fvp, ap->a_fcnp, tdvp, tvp, ap->a_tcnp, ap->a_context));
|
H A D | union_subr.c | 757 * copyfile. copy the vnode (fvp) to the vnode (tvp) 758 * using a sequence of reads and writes. both (fvp) 763 union_copyfile(struct vnode *fvp, struct vnode *tvp, vfs_context_t context) argument 798 error = VNOP_READ(fvp, &uio, 0, context);
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_vfs.c | 1341 struct vnode *fvp; local 1368 fvp = (struct vnode *)fp->f_fglob->fg_data; 1369 if ((error = vnode_getwithref(fvp))) 1371 MAC_PERFORM(vnode_label_copy, fvp->v_label, vp->v_label); 1372 (void)vnode_put(fvp);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_vnops.c | 2279 struct vnode *fvp = ap->a_fvp; local 2309 error = hfs_lockfour(VTOC(fdvp), VTOC(fvp), VTOC(tdvp), tvp ? VTOC(tvp) : NULL, 2342 fcp = VTOC(fvp); 2384 if (vnode_isdir(fvp) && (fdvp != tdvp)) { 2407 * o fvp 2430 * o fdvp o fvp 2433 * o fvp 2435 if (tvp && vnode_isdir(tvp) && (tcp->c_entries != 0) && fvp != tvp) { 2447 * fdvp o fvp 2449 if (fdvp == fvp) { [all...] |