Searched refs:hfs_truncate (Results 1 - 6 of 6) sorted by relevance

/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs.h691 extern int hfs_truncate(struct vnode *, off_t, int, int, int, vfs_context_t);
H A Dhfs_cnode.c354 * tell hfs_truncate to skip the ubc_setsize.
360 error = hfs_truncate(vp, (off_t)0, IO_NDELAY, 1, 0, ctx);
812 (void) hfs_truncate(vp, leof, IO_NDELAY, 0, 0, context);
820 * If the hfs_truncate didn't happen to flush the vnode's
H A Dhfs_xattr.c226 error = hfs_truncate(svp, 0, IO_NDELAY, 0, 0, ap->a_context);
1311 * hfs_truncate() and hfs_update()
1320 result = hfs_truncate(rvp, (off_t)0, IO_NDELAY, 0, 0, ap->a_context);
H A Dhfs_readwrite.c775 (void)hfs_truncate(vp, origFileSize, ioflag & IO_SYNC,
3017 panic("hfs_truncate: invoked on non-UBC object?!");
3168 * See the comment below in hfs_truncate for why we need to call
3345 hfs_truncate(struct vnode *vp, off_t length, int flags, int skipsetsize, function
3633 retval = hfs_truncate(vp, length, 0, 0, 0, ap->a_context);
H A Dhfs_vnops.c631 (void) hfs_truncate(vp, VTOF(vp)->ff_size, IO_NDELAY, 0, 0, ap->a_context);
1212 error = hfs_truncate(vp, vap->va_data_size, vap->va_vaflags & 0xffff, 1, 0, ap->a_context);
3119 * to use hfs_truncate to eliminate its data. If there is
4368 * tell hfs_truncate to skip the ubc_setsize.
4372 error = hfs_truncate(vp, len, IO_NOZEROFILL, 1, 0, ap->a_context);
4414 * We defered the ubc_setsize for hfs_truncate
H A Dhfs_hotfiles.c1919 error = hfs_truncate(vp, (off_t)filesize, IO_NDELAY, 0, 0, ctx);

Completed in 101 milliseconds