Home
last modified time | relevance | path

Searched refs:ftruncate (Results 26 – 50 of 101) sorted by relevance

12345

/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dldprof.msg38 @ MSG_SYS_FTRUNC "%s: ftruncate failed: %s: profiling disabled\n"
H A Dprofile.c290 if (ftruncate(fd, Fsize) == -1) { in profile_open()
563 if (ftruncate(fd, in plt_cg_interp()
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dfiles.c192 (ftruncate(fd, 0) == -1)) { in open_locked()
/illumos-gate/usr/src/cmd/bhyve/test/tests/mevent/
H A Dvnode_zvol.c165 err = ftruncate(fd, 64 * MB); in main()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dscratchops.c258 (void) ftruncate(fileno(fp), woffs); in zonecfg_delete_scratch()
/illumos-gate/usr/src/boot/sys/sys/
H A Dtypes.h392 int ftruncate(int, off_t);
/illumos-gate/usr/src/lib/print/libpapi-lpd/common/
H A Dlpd-port.c229 (ftruncate(fd, 0) == 0)) in next_job_id()
594 ftruncate(fd, 0); in submit_job()
/illumos-gate/usr/src/lib/libresolv2/
H A DMakefile.com31 ftruncate.o readv.o strdup.o strtoul.o \
/illumos-gate/usr/src/cmd/dispadmin/
H A Ddispadmin.c340 if (ftruncate(fd, (off_t)0) == -1) in set_scheduler()
/illumos-gate/usr/src/cmd/mail/
H A Dcopylet.c65 ftruncate(fileno(f), pos); in copylet()
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/without_structs/
H A Dimplicit_dependencies_verbose.pretty816 {'call': 'ftruncate',
1783 'ftruncate': [{'call': 'fadvise64_64',
1909 {'call': 'ftruncate',
1994 {'call': 'ftruncate',
4596 {'call': 'ftruncate',
5553 {'call': 'ftruncate',
6175 {'call': 'ftruncate',
7045 {'call': 'ftruncate',
8240 {'call': 'ftruncate',
8427 {'call': 'ftruncate',
[all …]
/illumos-gate/usr/src/boot/include/
H A Dstdio.h435 int ftruncate(int, __off_t);
H A Dunistd.h394 int ftruncate(int, off_t);
/illumos-gate/usr/src/cmd/lp/cmd/lpsched/
H A Dfiles.c321 ftruncate(fd, len); in _alloc_req_id()
/illumos-gate/usr/src/cmd/logadm/
H A Dmain.c1208 (void) ftruncate(fo, 0); in docopytruncate()
1262 (void) ftruncate(fi, 0); in docopytruncate()
/illumos-gate/usr/src/lib/libuuid/common/
H A Duuid.c266 (void) ftruncate(fd, (off_t)sizeof (shared_buffer_t)); in map_state()
/illumos-gate/usr/src/tools/smatch/src/smatch_scripts/implicit_dependencies/with_structs/
H A Dimplicit_dependencies_verbose2111 {'call': 'ftruncate',
2301 {'call': 'ftruncate',
2551 {'call': 'ftruncate',
2754 {'call': 'ftruncate',
3474 {'call': 'ftruncate',
4322 {'call': 'ftruncate',
7705 {'call': 'ftruncate',
9030 {'call': 'ftruncate',
13248 {'call': 'ftruncate',
15635 {'call': 'ftruncate',
[all …]
/illumos-gate/usr/src/cmd/mailx/hdr/
H A Ddef.h392 #define trunc(stream) ftruncate(fileno(stream), (long)ftell(stream))
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_lock.c115 if (ftruncate(state_fd, size) != 0) { in rcmd_lock_init()
234 } else if (ftruncate(state_fd, newsize) != 0) { in get_req_entry()
H A Drcm_script.c567 (void) ftruncate(statefd->fd, 0); in open_state_file()
592 (void) ftruncate(statefd->fd, 0); in truncate_state_file()
621 if (ftruncate(statefd->fd, size) != 0) { in grow_state_file()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dbf.c807 return ftruncate(bfp->bf_disk_fd, 0);
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv_cache.c268 if (ftruncate(fd, length) < 0) { in create_cache_file_ch()
538 if (ftruncate(fd, newsize) < 0) { in remap_cache_file_ch()
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dlock.c1972 res = ftruncate(a_fd, lastPos-pls); in _decrementLockCount()
2008 res = ftruncate(a_fd, lastPos-pls); in _decrementLockCount()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dvfpops.c711 (void) ftruncate(fileno(a_vfp->_vfpFile), 0); in vfpTruncate()
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c259 if (ftruncate(dcp->dc_conf_fd, (off_t)0) == -1) { in dconf_write()

12345