HomeSort by: relevance | last modified time | path
    Searched defs:tvp (Results 1 - 25 of 39) sorted by relevancy

1 2

  /src/lib/libc/compat/gen/
compat_utime.c 64 struct timeval tv[2], *tvp; variable in typeref:struct:timeval[2]*
69 tvp = NULL;
74 tvp = tv;
76 return __utimes50(path, tvp);
  /src/lib/libc/gen/
utime.c 52 struct timeval tv[2], *tvp; local in function:utime
57 tvp = NULL;
62 tvp = tv;
64 return (utimes(path, tvp));
  /src/sys/compat/common/
vfs_syscalls_50.c 205 struct timeval tv[2], *tvp; local in function:compat_50_do_sys_utimes
213 tvp = tv;
215 tvp = NULL;
216 return do_sys_utimes(l, vp, path, flag, tvp, UIO_SYSSPACE);
  /src/sys/compat/linux/common/
linux_misc_notalpha.c 218 struct timeval tv[2], *tvp; local in function:linux_sys_utime
227 tvp = tv;
229 tvp = NULL;
232 tvp, UIO_SYSSPACE);
  /src/sys/miscfs/genfs/
genfs_rename.c 144 * . tvp (to vnode, or NULL), and
151 * . fdvp, fvp, tdvp, and tvp are referenced,
153 * . tdvp and tvp (if nonnull) are locked.
157 * . fdvp, fvp, tdvp, and tvp (if nonnull) are unreferenced, and
158 * . tdvp and tvp (if nonnull) are unlocked.
178 struct vnode *tvp = ap->a_tvp; local in function:genfs_insane_rename
193 KASSERT((tvp == NULL) || (VOP_ISLOCKED(tvp) == LK_EXCLUSIVE));
214 if ((tvp != NULL) && (tvp != tdvp)
554 struct vnode *fvp, *tvp; local in function:genfs_rename_enter_common
661 struct vnode *fvp, *tvp; local in function:genfs_rename_enter_separate
    [all...]
  /src/sys/kern/
vfs_getcwd.c 252 struct vnode *tvp = uvp;
255 vput(tvp);
338 struct vnode *tvp; local in function:getcwd_common
345 tvp = lvp->v_mount->mnt_vnodecovered;
349 if (tvp == NULL) {
354 vref(tvp);
356 lvp = tvp;
vfs_vnops.c 628 struct vnode *tvp = vp; local in function:vn_readdir
635 vrele(tvp);
  /src/sys/compat/linux32/common/
linux32_time.c 218 struct timeval tv[2], *tvp; local in function:linux32_sys_utime
230 tvp = tv;
232 tvp = NULL;
236 tvp, UIO_SYSSPACE);
  /src/sys/fs/unionfs/
unionfs_subr.c 799 struct vnode *tvp; local in function:unionfs_check_rmdir
863 lookuperr = VOP_LOOKUP(lvp, &tvp, &cn);
866 vput(tvp);
876 lookuperr = VOP_LOOKUP(uvp, &tvp, &cn);
879 vput(tvp);
unionfs_vnops.c 810 struct vnode *tvp; local in function:unionfs_read
815 tvp = (unp->un_uppervp != NULLVP ? unp->un_uppervp : unp->un_lowervp);
817 error = VOP_READ(tvp, ap->a_uio, ap->a_ioflag, ap->a_cred);
830 struct vnode *tvp; local in function:unionfs_write
835 tvp = (unp->un_uppervp != NULLVP ? unp->un_uppervp : unp->un_lowervp);
837 error = VOP_WRITE(tvp, ap->a_uio, ap->a_ioflag, ap->a_cred);
1021 struct vnode *tvp; local in function:unionfs_rename
1043 tvp = ap->a_tvp;
1050 rtvp = tvp;
1055 (tvp != NULLVP && fvp->v_mount != tvp->v_mount))
1731 struct vnode *tvp; local in function:unionfs_kqfilter
1744 struct vnode *tvp; local in function:unionfs_bmap
1757 struct vnode *tvp; local in function:unionfs_mmap
1770 struct vnode *tvp; local in function:unionfs_abortop
1783 struct vnode *tvp; local in function:unionfs_islocked
1796 struct vnode *tvp; local in function:unionfs_seek
1863 struct vnode *tvp; local in function:unionfs_revoke
    [all...]
  /src/sys/miscfs/umapfs/
umap_vnops.c 532 struct vnode *tvp; local in function:umap_rename
562 tvp = ap->a_tvp;
563 if (tvp) {
564 if (tvp->v_mount != vp->v_mount)
565 tvp = NULL;
567 vref(tvp);
570 if (tvp) {
572 VTOLAYER(tvp)->layer_flags |= LAYERFS_REMOVED;
573 vrele(tvp);
  /src/usr.sbin/lpr/lpc/
cmds.c 924 struct timeval tvp[2]; local in function:touch
927 tvp[0].tv_sec = tvp[1].tv_sec = --mtime;
928 tvp[0].tv_usec = tvp[1].tv_usec = 0;
930 ret = utimes(q->q_name, tvp);
  /src/usr.sbin/screenblank/
screenblank.c 95 struct timespec timo_on, timo_off, *tvp, tv; local in function:main
221 tvp = &timo_on;
267 tvp = &timo_off;
273 tvp = &timo_on;
277 tv = *tvp;
402 cvt_arg(char *arg, struct timespec *tvp)
431 tvp->tv_sec = seconds;
435 tvp->tv_nsec = nanoseconds;
  /src/sys/ufs/ext2fs/
ext2fs_vnops.c 624 struct vnode *tvp; local in function:ext2fs_mkdir
638 error = ext2fs_makeinode(ap->a_vap, ap->a_dvp, &tvp, ap->a_cnp, 0);
643 ip = VTOI(tvp);
690 error = ufs_bufio(UIO_WRITE, tvp, (void *)&dirtemplate,
710 uvm_vnp_setsize(tvp, ext2fs_size(ip));
728 vput(tvp);
730 VOP_UNLOCK(tvp);
731 *ap->a_vpp = tvp;
989 struct vnode *tvp; local in function:ext2fs_makeinode
1001 error = vcache_new(dvp->v_mount, dvp, vap, cnp->cn_cred, NULL, &tvp);
    [all...]
  /src/sys/fs/msdosfs/
msdosfs_rename.c 79 * . tvp (to vnode, or NULL), and
86 * . fdvp, fvp, tdvp, and tvp are referenced,
88 * . tdvp and tvp (if nonnull) are locked.
92 * . fdvp, fvp, tdvp, and tvp (if nonnull) are unreferenced, and
93 * . tdvp and tvp are unlocked.
110 struct vnode *tvp = ap->a_tvp; local in function:msdosfs_rename
125 KASSERT((tvp == NULL) || (VOP_ISLOCKED(tvp) == LK_EXCLUSIVE));
141 if ((tvp != NULL) && (tvp != tdvp)
    [all...]
  /src/lib/libc/resolv/
res_send.c 1207 struct timeval tv, *tvp; local in function:pselect
1212 tvp = &tv;
1215 tvp = NULL;
1218 n = select(nfds, rfds, wfds, efds, tvp);
  /src/sys/fs/sysvbfs/
sysvbfs_vnops.c 559 struct vnode *tvp = ap->a_tvp; local in function:sysvbfs_rename
569 (tvp && (fvp->v_mount != tvp->v_mount))) {
576 KDASSERT(tvp == NULL ? true : tvp->v_type == VREG);
591 if (tvp != NULL) {
598 /* tdvp == tvp probably can't happen with this fs, but safety first */
599 if (tdvp == tvp)
603 if (tvp)
604 vput(tvp);
    [all...]
  /src/sys/fs/union/
union_subr.c 623 * copyfile. copy the vnode (fvp) to the vnode (tvp)
625 * and (tvp) are locked on entry and exit.
628 union_copyfile(struct vnode *fvp, struct vnode *tvp, kauth_cred_t cred,
674 error = VOP_WRITE(tvp, &uio, 0, cred);
1119 struct vnode *tvp; local in function:union_check_rmdir
1178 error = VOP_LOOKUP(un->un_uppervp, &tvp, &cn);
1184 vrele(tvp);
  /src/usr.sbin/mrouted/
main.c 107 struct timeval timeout, *tvp = &timeout; local in function:main
303 tvp = &timeout;
304 tvp->tv_sec = 0;
305 tvp->tv_usec = 500000L;
308 snmp_select_info(&nfds, &rfds, tvp, &block);
310 tvp = NULL; /* block without timeout */
311 if ((n = select(nfds, &rfds, NULL, NULL, tvp)) < 0)
  /src/sys/compat/netbsd32/
netbsd32_compat_50.c 86 struct timeval **tvp)
92 *tvp = NULL;
102 *tvp = tv;
232 struct timeval tv[2], *tvp; local in function:compat_50_netbsd32_utimes
234 error = get_utimes32(SCARG_P32(uap, tptr), tv, &tvp);
239 tvp, UIO_SYSSPACE);
301 struct timeval tv[2], *tvp; local in function:compat_50_netbsd32_futimes
303 error = get_utimes32(SCARG_P32(uap, tptr), tv, &tvp);
311 error = do_sys_utimes(l, fp->f_vnode, NULL, 0, tvp, UIO_SYSSPACE);
537 struct timeval tv[2], *tvp; local in function:compat_50_netbsd32_lutimes
    [all...]
netbsd32_fs.c 333 struct timeval **tvp)
339 *tvp = NULL;
349 *tvp = tv;
383 struct timeval tv[2], *tvp; local in function:netbsd32___utimes50
385 error = get_utimes32(SCARG_P32(uap, tptr), tv, &tvp);
390 tvp, UIO_SYSSPACE);
495 struct timeval tv[2], *tvp; local in function:netbsd32___futimes50
497 error = get_utimes32(SCARG_P32(uap, tptr), tv, &tvp);
505 error = do_sys_utimes(l, fp->f_vnode, NULL, 0, tvp, UIO_SYSSPACE);
548 struct timeval tv[2], *tvp; local in function:netbsd32___lutimes50
    [all...]
  /src/sys/compat/linux/arch/alpha/
linux_osf1.c 471 struct timeval tv, *tvp; local in function:linux_sys_osf1_settimeofday
475 tvp = NULL;
484 tvp = &tv;
489 return settimeofday1(tvp, false, (const void *)SCARG(uap, tzp), l, true);
496 struct timeval tv[2], *tvp; local in function:linux_sys_osf1_utimes
500 tvp = NULL;
513 tvp = tv;
517 tvp, UIO_SYSSPACE);
  /src/bin/ksh/
c_ksh.c 763 struct tbl *tvp; local in function:c_typeset
769 for (tvp = vp; tvp; tvp = tvp->u.array)
770 if (tvp->flag & ISSET) {
  /src/sys/fs/v7fs/
v7fs_vnops.c 784 struct vnode *tvp = a->a_tvp; local in function:v7fs_rename
798 to_name, fvp, tvp);
801 (tvp && (fvp->v_mount != tvp->v_mount))) {
811 if (error == 0 && tvp) {
813 &((struct v7fs_node *)tvp->v_data)->inode;
816 uvm_vnp_setsize(tvp, v7fs_inode_filesize(inode));
822 if (tvp)
823 vput(tvp); /* locked on entry */
824 if (tdvp == tvp)
    [all...]
  /src/sys/ufs/chfs/
chfs_vnops.c 1135 struct vnode *tvp = ap->a_tvp; local in function:chfs_rename
1146 KASSERT(IMPLIES(tvp != NULL, VOP_ISLOCKED(tvp) == LK_EXCLUSIVE));
1151 if (tvp) {
1152 dbg("tvp not null\n");
1153 ip = VTOI(tvp);
1154 if (tvp->v_type == VDIR) {
1164 vput(tvp);
1166 VFS_VGET(tdvp->v_mount, old->ino, LK_EXCLUSIVE, &tvp);
1167 ip = VTOI(tvp);
    [all...]

Completed in 30 milliseconds

1 2