Home
last modified time | relevance | path

Searched refs:lfs_truncate (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/ufs/lfs/
H A Dulfs_inode.c104 error = lfs_truncate(vp, (off_t)0, 0, NOCRED); in ulfs_inactive()
H A Dlfs_extern.h169 int lfs_truncate(struct vnode *, off_t, int, kauth_cred_t);
H A Dlfs_inode.c213 lfs_truncate(struct vnode *ovp, off_t length, int ioflag, kauth_cred_t cred) in lfs_truncate() function
289 (void) lfs_truncate(ovp, osize, in lfs_truncate()
305 (void) lfs_truncate(ovp, osize, in lfs_truncate()
H A Dlfs_rfw.c121 lfs_truncate(vp, (off_t)0, 0, NOCRED); in lfs_rf_valloc()
348 lfs_truncate(vp, lfs_dino_getsize(fs, dip), 0, in update_inoblk()
H A Dulfs_vnops.c358 error = lfs_truncate(vp, vap->va_size, 0, cred); in ulfs_setattr()
750 error = lfs_truncate(vp, (off_t)0, IO_SYNC, cnp->cn_cred); in ulfs_rmdir()
H A Dulfs_readwrite.c556 (void) lfs_truncate(vp, osize, ioflag & IO_SYNC, cred); in ulfs_post_write_update()
H A Dlfs_alloc.c917 error = lfs_truncate(vp, 0, 0, NOCRED); in lfs_free_orphans()
H A DCHANGES64 for writing, since that could trigger a miscounting in lfs_truncate.
H A Dulfs_lookup.c952 (void) lfs_truncate(dvp, (off_t)ulr->ulr_endoff, IO_SYNC, cr); in ulfs_direnter()
H A Dlfs_rename.c918 error = lfs_truncate(tvp, (off_t)0, IO_SYNC, cred); in ulfs_gro_rename()
H A Dlfs_vfsops.c2540 lfs_truncate(ivp, ivp->v_size + (noff << lfs_sb_getbshift(fs)), 0, in lfs_resize_fs()