Home
last modified time | relevance | path

Searched full:fsync (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/freebsd/lib/libsys/
H A Dfsync.238 .Nm fsync
47 .Fn fsync "int fd"
50 .Fn fsync
65 .Fn fsync ,
70 .Fn fsync
78 .Fn fsync .
83 .Fn fsync
86 .Rv -std fsync
89 .Fn fsync
110 .Xr fsync 1 ,
[all …]
H A Dsync.257 .Xr fsync 2
62 .Xr fsync 2 ,
H A Daio_error.257 .Xr fsync 2 .
84 .Xr fsync 2 ,
H A Daio_return.260 .Xr fsync 2 .
89 .Xr fsync 2 ,
H A Daio_waitcomplete.279 .Xr fsync 2 .
116 .Xr fsync 2 ,
H A Daio_fsync.254 .Xr fsync 2 ,
163 .Xr fsync 2 ,
/freebsd/tests/sys/fs/fusefs/
H A Dfsync.cc51 class Fsync: public FuseTest { class
64 in.body.fsync.fh == FH && in expect_fsync()
65 in.body.fsync.fsync_flags == flags); in expect_fsync()
84 class AioFsync: public Fsync {
123 * fuse(4) should NOT fsync during VOP_RELEASE or VOP_INACTIVE
128 TEST_F(Fsync, close) in TEST_F() argument
164 TEST_F(Fsync, eio) in TEST_F() argument
192 TEST_F(Fsync, enosys) in TEST_F() argument
217 TEST_F(Fsync, fdatasync) in TEST_F() argument
239 TEST_F(Fsync, fsync) in TEST_F() argument
[all …]
H A Dfsyncdir.cc125 ASSERT_NE(0, fsync(fd)); in TEST_F()
149 EXPECT_EQ(0, fsync(fd)) << strerror(errno); in TEST_F()
152 EXPECT_EQ(0, fsync(fd)) << strerror(errno); in TEST_F()
177 * isn't dirty, so fuse(4) should always send FUSE_FSYNCDIR on fsync(2)
179 TEST_F(FsyncDir, fsync) in TEST_F() argument
192 ASSERT_EQ(0, fsync(fd)) << strerror(errno); in TEST_F()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_fsync.c47 "Test error conditions of fsync(2) (PR kern/30)"); in ATF_TC_HEAD()
55 * The fsync(2) call should fail with EBADF in ATF_TC_BODY()
62 ATF_REQUIRE(fsync(-i) == -1); in ATF_TC_BODY()
75 ATF_REQUIRE(fsync(fd[0]) == -1); in ATF_TC_BODY()
80 ATF_REQUIRE(fsync(fd[1]) == -1); in ATF_TC_BODY()
90 atf_tc_set_md_var(tc, "descr", "A basic test of fsync(2)"); in ATF_TC_HEAD()
106 ATF_REQUIRE(fsync(fd) == 0); in ATF_TC_BODY()
/freebsd/contrib/opencsd/decoder/source/
H A Dtrc_frame_deformatter.cpp362 // FSYNC packets in the stream in checkForSync()
405 const uint32_t FSYNC_PATTERN = 0x7FFFFFFF; // LE host pattern for FSYNC in findfirstFSync()
428 const uint32_t FSYNC_PATTERN = 0x7FFFFFFF; // LE host pattern for FSYNC in checkForResetFSyncPatterns()
472 const uint32_t FSYNC_PATTERN = 0x7FFFFFFF; // LE host pattern for FSYNC in extractFrame()
474 const uint16_t FSYNC_START = 0xFFFF; // LE host pattern for start 2 bytes of fsync in extractFrame()
497 /* in this case the FSYNC pattern is output on both packed and unpacked cases */ in extractFrame()
510 … throw ocsdError(OCSD_ERR_SEV_ERROR, err, m_trc_curr_idx, "Incorrect FSYNC frame reset pattern"); in extractFrame()
527 // we know we are aligned at this point - could be FSYNC or HSYNCs here. in extractFrame()
529 // FSYNC - w/o HSYNCs, forces input to be aligned 4 byte multiples. in extractFrame()
541 // was there an fsync start at the end of the last buffer? in extractFrame()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/
H A Ddio_random.ksh66 # occasional calls to fsync(2), mixed with...
69 --bsrange=$page_size-1m --direct=1 --fsync=32 --numjobs=2 \
74 # occasional calls to fsync(2).
77 --bsrange=$page_size-1m --direct=0 --fsync=32 --numjobs=2 \
/freebsd/usr.bin/fsync/
H A Dfsync.129 .Nm fsync
44 .Xr fsync 2
52 .Xr fsync 2 ,
H A Dfsync.c59 if (fsync(fd) == -1) { in main()
60 warn("fsync %s", argv[i]); in main()
74 fprintf(stderr, "usage: fsync file ...\n"); in usage()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/failmode/
H A Dfailmode.kshlib31 ["fsync"]='dd if=/dev/urandom of=DATAFILE bs=128k count=1 conv=fsync'
53 # - helper: fsync|msync|osync|syncalways
79 log_must dd if=/dev/zero of=$datafile bs=128k count=1 conv=fsync
H A Dfailmode_fsync_wait.ksh31 typeset desc="fsync() blocks when pool suspends with failmode=wait"
35 log_must failmode_sync_test wait fsync
H A Dfailmode_fsync_continue.ksh31 typeset desc="fsync() returns when pool suspends with failmode=continue"
35 log_must failmode_sync_test continue fsync
/freebsd/tools/regression/nfsmmap/
H A DREADME9 Fsync, flushing the dirty range
16 This is the same as test1 without the fsync. The VM system
/freebsd/lib/libc/sys/
H A Dfsync.c38 fsync(int fd) in fsync() function
40 return (INTERPOS_SYS(fsync, fd)); in fsync()
/freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/
H A Dfsl,cpm1-tsa.yaml103 fsl,fsync-rising-edge:
107 clock. If 'fsync-rising-edge' is not present, pulses are sampled with
193 fsl,fsync-rising-edge;
H A Dfsl,qe-tsa.yaml103 fsl,fsync-rising-edge:
109 fsl,fsync-active-low:
198 fsl,fsync-rising-edge;
/freebsd/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dfsync_integrity_001_pos.ksh39 # transaction group, where an fsync is issued by a non-final writer.
69 …ned writes to the same blocks within the same transaction group, where an fsync is issued by a non…
/freebsd/bin/dd/
H A Ddd.1146 .It Cm fsync
151 .Cm fsync
289 .It Cm fsync
291 .Xr fsync 2
/freebsd/contrib/ntp/libntp/lib/isc/unix/
H A Dstdio.c119 r = fsync(fileno(f)); in isc_stdio_sync()
121 * fsync is not supported on sockets and pipes which in isc_stdio_sync()
/freebsd/tools/test/stress2/misc/
H A Dforce6.sh31 # Verify file integrity after a fsync(1) followed by a forced umount
51 fsync $file
H A Dsendfile21.sh33 # 3. fsync it
154 if (fsync(from) == -1)
155 err(1, "fsync()");

12345678910>>...12