Searched refs:fsync (Results 1 - 25 of 79) sorted by relevance

1234

/freebsd-11-stable/usr.bin/fsync/
H A DMakefile3 PROG= fsync
H A Dfsync.c32 __FBSDID("$FreeBSD: stable/11/usr.bin/fsync/fsync.c 330449 2018-03-05 07:26:05Z eadler $");
64 if (fsync(fd) == -1) {
65 warn("fsync %s", argv[i]);
79 fprintf(stderr, "usage: fsync file ...\n");
/freebsd-11-stable/lib/libc/sys/
H A Dfsync.c44 fsync(int fd) function
H A Dinterposing_table.c48 SLOT(fsync, __sys_fsync),
H A DMakefile.inc42 fsync \
169 fsync.2 \
374 MLINKS+=fsync.2 fdatasync.2
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_fsync.c47 "Test error conditions of fsync(2) (PR kern/30)");
55 * The fsync(2) call should fail with EBADF
62 ATF_REQUIRE(fsync(-i) == -1);
75 ATF_REQUIRE(fsync(fd[0]) == -1);
80 ATF_REQUIRE(fsync(fd[1]) == -1);
90 atf_tc_set_md_var(tc, "descr", "A basic test of fsync(2)");
106 ATF_REQUIRE(fsync(fd) == 0);
/freebsd-11-stable/tools/regression/nfsmmap/test1/
H A Dtest1.c34 fsync(fd);
/freebsd-11-stable/usr.sbin/pw/
H A Dgrupd.c82 fsync(tfd);
H A Dpw_nis.c72 fsync(tfd);
H A Dpwupd.c119 fsync(tfd);
/freebsd-11-stable/contrib/ntp/lib/isc/unix/
H A Dstdio.c119 r = fsync(fileno(f));
121 * fsync is not supported on sockets and pipes which
/freebsd-11-stable/sbin/reboot/
H A Dnextboot.sh130 fsync ${nextboot_tmp}
/freebsd-11-stable/sbin/clri/
H A Dclri.c155 (void)fsync(fd);
/freebsd-11-stable/sys/xen/interface/io/
H A Dfsif.h159 struct fsif_sync_request fsync; member in union:fsif_request::__anon13553
/freebsd-11-stable/tools/test/upsdl/
H A Dupsdl.c69 status = fsync(fd);
72 perror("fsync failed");
/freebsd-11-stable/contrib/netbsd-tests/kernel/
H A Dt_lockf.c141 fsync(fd);
234 fsync(fd);
/freebsd-11-stable/sys/kern/
H A Dcapabilities.conf216 fsync
H A Dposix4_mib.c90 P1B_SYSCTL(CTL_P1003_1B_FSYNC, fsync);
/freebsd-11-stable/sys/compat/freebsd32/
H A Dcapabilities.conf104 fsync
/freebsd-11-stable/bin/rm/
H A Drm.c468 if (fsync(fd) || lseek(fd, (off_t)0, SEEK_SET))
471 if (fsync(fd) || lseek(fd, (off_t)0, SEEK_SET))
474 if (!fsync(fd) && !close(fd)) {
/freebsd-11-stable/contrib/libpcap/lbl/
H A Dos-sunos4.h81 int fsync(int);
/freebsd-11-stable/contrib/tcpdump/lbl/
H A Dos-sunos4.h82 int fsync(int);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_utils.cpp154 fsync(Fd);
/freebsd-11-stable/contrib/dma/
H A Dspool.c147 if (fflush(it->queuef) != 0 || fsync(fileno(it->queuef)) != 0)
237 if (fflush(queue->mailf) != 0 || fsync(fileno(queue->mailf)) != 0)
/freebsd-11-stable/usr.bin/dpv/
H A Ddpv.c177 fsync(out);
223 fsync(out);

Completed in 273 milliseconds

1234