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

123

/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/definitions/unistd_h/
H A D1-1.c9 * int fsync(int fildes);
19 dummyvar = fsync;
/haiku-fatelf/src/system/libroot/posix/unistd/
H A Dsync.c19 fsync(int fd) function
/haiku-fatelf/src/bin/coreutils/lib/
H A Dfsync.c4 /* Emulate fsync on platforms that lack it, primarily Windows and
43 fsync (int fd) function
63 /* eg. Trying to fsync a tty. */
79 #error "This platform lacks fsync function, and Gnulib doesn't provide a replacement. This is a bug in Gnulib."
H A Dunistd.in.h349 <http://www.opengroup.org/susv3xsh/fsync.html>. */
351 extern int fsync (int fd);
354 # undef fsync macro
355 # define fsync(fd) \ macro
356 (GL_LINK_WARNING ("fsync is unportable - " \
357 "use gnulib module fsync for portability"), \
358 fsync (fd))
H A Dutimens.c211 fsync (fd);
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/fsync/
H A D5-1.c7 * The fsync( ) function shall fail if:
31 if (fsync(fd) == -1 && errno == EBADF)
H A D7-1.c7 * The fsync( ) function shall fail if:
13 * 2. fsync on the pipe, should fail with EINVAL;
29 #define TNAME "fsync/7-1.c"
42 if (fsync(fd[1]) == -1 && errno == EINVAL)
44 printf("Got EINVAL when fsync on pipe\n");
H A D4-1.c7 * Upon successful completion, fsync( ) shall return 0.
9 * to indicate the error. If the fsync( ) function fails.
28 #define TNAME "fsync/4-1.c"
62 if (fsync(fd) == -1)
64 printf(TNAME "Error at fsync(): %s\n",
/haiku-fatelf/headers/private/userlandfs/fuse/
H A Dfuse_compat.h35 int (*fsync) (const char *, int, struct fuse_file_info *); member in struct:fuse_operations_compat25
94 int (*fsync) (const char *, int, struct fuse_file_info_compat *); member in struct:fuse_operations_compat22
143 int (*fsync) (const char *, int); member in struct:fuse_operations_compat2
190 int (*fsync) (const char *, int); member in struct:fuse_operations_compat1
H A Dfuse_lowlevel_compat.h44 void (*fsync) (fuse_req_t req, fuse_ino_t ino, int datasync, member in struct:fuse_lowlevel_ops_compat25
111 void (*fsync) (fuse_req_t req, fuse_ino_t ino, int datasync, member in struct:fuse_lowlevel_ops_compat
/haiku-fatelf/src/tests/system/libroot/posix/bonnie++-1.03d/
H A Dbon_file.cpp196 if(fsync(fd))
201 if(m_sync_dir && fsync(m_directoryHandles[dir]))
226 if(fsync(m_directoryHandles[dir]))
242 if(fsync(m_directoryHandles[dir]))
366 if(fsync(m_directoryHandles[m_dirIndex[i]]))
470 if(fsync(m_directoryHandles[i]))
H A Dbon_io.cpp445 if(fsync(m_fd[i]))
494 if(fsync(m_fd[m_file_ind]))
H A Dzcav.cpp281 if(do_write && fsync(fd))
/haiku-fatelf/src/bin/network/wget/lib/
H A Dunistd.in.h271 <http://www.opengroup.org/susv3xsh/fsync.html>. */
273 extern int fsync (int fd);
276 # undef fsync macro
277 # define fsync(fd) \ macro
278 (GL_LINK_WARNING ("fsync is unportable - " \
279 "use gnulib module fsync for portability"), \
280 fsync (fd))
/haiku-fatelf/src/tests/system/libroot/posix/posixtestsuite/conformance/interfaces/mmap/
H A D13-1.c133 fsync(fd);
H A D14-1.c117 fsync(fd);
/haiku-fatelf/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dunix_io.c72 * fsync replacement which makes every effort to try to get the data down to
74 * it issues the proper fcntl for Mac OS X or does fsync where it is available
75 * or as a last resort calls the fsync function. Information on this problem
87 * Apple has disabled fsync() for internal disk drives in OS X.
95 * then fall back to a plain fsync.
97 ret = fsync(fildes);
100 ret = fsync(fildes);
193 ntfs_log_perror("Failed to fsync device %s", dev->d_name);
/haiku-fatelf/src/bin/network/tcpdump/lbl/
H A Dos-sunos4.h84 int fsync(int);
/haiku-fatelf/src/bin/network/tcpdump/libpcap/lbl/
H A Dos-sunos4.h84 int fsync(int);
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEFileSystem.cpp378 fVolumeCapabilities.Set(FS_VOLUME_CAPABILITY_SYNC, fFS->ops.fsync);
379 // emulated via fsync()
426 fNodeCapabilities.Set(FS_VNODE_CAPABILITY_FSYNC, fFS->ops.fsync);
H A Dfuse_fs.cpp122 if (fs->ops.fsync == NULL)
124 return fs->ops.fsync(path, datasync, fi);
/haiku-fatelf/headers/posix/
H A Dunistd.h193 extern int fsync(int fd);
/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A DBeOSKernelFileSystem.cpp152 fNodeCapabilities.Set(FS_VNODE_CAPABILITY_FSYNC, fFSOps->fsync);
H A DBeOSKernelVolume.cpp274 if (!fFSOps->fsync)
276 return fFSOps->fsync(fVolumeCookie, node);
/haiku-fatelf/src/system/kernel/device_manager/
H A DFileDevice.cpp285 return fsync(cookie->fd) == 0 ? B_OK : errno;

Completed in 180 milliseconds

123