| /src/tools/compat/ |
| flock.c | 1 /* $NetBSD: flock.c,v 1.6 2008/04/28 20:24:12 martin Exp $ */ 33 * Emulate flock() with fcntl(), where available. 43 int flock(int fd, int op) { function 47 struct flock fl = {0};
|
| /src/sys/external/bsd/compiler_rt/dist/lib/profile/ |
| WindowsMMap.c | 120 int flock(int fd, int operation) function
|
| /src/sys/compat/linux32/common/ |
| linux32_fcntl.c | 82 conv_linux_flock(linux32, flock) 134 linux32, flock); local 138 linux32, flock, LINUX_F_SETLK); local
|
| /src/sys/arch/atari/stand/xxboot/ |
| xxboot.h | 41 #define flock 0x043e macro
|
| /src/lib/librefuse/refuse/ |
| v29.h | 82 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 93 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v29
|
| v30.h | 90 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 98 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v30
|
| v34.h | 78 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 85 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v34
|
| v35.h | 78 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 86 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v35
|
| v38.h | 78 int (*lock) (const char *, struct fuse_file_info *, int, struct flock *); 85 int (*flock) (const char *, struct fuse_file_info *, int); member in struct:fuse_operations_v38
|
| /src/external/bsd/am-utils/dist/conf/mtab/ |
| mtab_linux.c | 134 * The old code here used flock on a lock file /etc/mtab~ and deleted 139 * flock to that, and also proceeds, so that the second and third mount 143 * to delete the lock afterwards. Now the use of flock() is in principle 200 struct flock flock; local 230 flock.l_type = F_WRLCK; 231 flock.l_whence = SEEK_SET; 232 flock.l_start = 0; 233 flock.l_len = 0; 237 if (fcntl(lockfile_fd, F_SETLK, &flock) == -1) [all...] |
| /src/external/bsd/tmux/dist/ |
| compat.h | 287 #define flock(fd, op) (0) macro
|
| /src/external/gpl2/mkhybrid/dist/include/ |
| mconfig.h | 146 * DGUX hides its flock as dg_flock. 149 # define flock dg_flock macro 191 * If there is no flock defined by the system, use emulation
|
| /src/sys/sys/ |
| fcntl.h | 229 #define F_FLOCK 0x020 /* Use flock(2) semantics for lock */ 283 struct flock { struct 293 /* lock operations for flock(2) */ 343 int flock(int, int);
|
| /src/external/gpl3/binutils/dist/gprofng/libcollector/ |
| iotrace.c | 871 __real_flock = (int (*)(int, int))dlsym (dlflag, "flock"); 874 CALL_REAL (fprintf)(stderr, "iotrace_init COL_ERROR_IOINIT flock\n"); 3175 /*------------------------------------------------------------- flock */ 3177 flock (int fd, int operation) function 3182 if (NULL_PTR (flock)) 3185 return CALL_REAL (flock)(fd, operation); 3188 ret = CALL_REAL (flock)(fd, operation);
|
| /src/external/gpl3/binutils.old/dist/gprofng/libcollector/ |
| iotrace.c | 871 __real_flock = (int (*)(int, int))dlsym (dlflag, "flock"); 874 CALL_REAL (fprintf)(stderr, "iotrace_init COL_ERROR_IOINIT flock\n"); 3175 /*------------------------------------------------------------- flock */ 3177 flock (int fd, int operation) function 3182 if (NULL_PTR (flock)) 3185 return CALL_REAL (flock)(fd, operation); 3188 ret = CALL_REAL (flock)(fd, operation);
|
| /src/lib/librumphijack/ |
| hijack.c | 330 { DUALCALL_FLOCK, "flock", RSYS_NAME(FLOCK) }, 1636 flock(int fd, int operation) function 1640 DPRINTF(("flock -> %d (operation %d)\n", fd, operation)); 1644 op_flock = GETSYSCALL(rump, FLOCK); 1646 op_flock = GETSYSCALL(host, FLOCK);
|