/macosx-10.10.1/xnu-2782.1.97/bsd/sys/ |
H A D | lockf.h | 59 * @(#)lockf.h 8.1 (Berkeley) 6/11/93 60 * $FreeBSD: src/sys/sys/lockf.h,v 1.16 2004/04/07 04:19:49 imp Exp $ 82 * The lockf structure is a kernel structure which contains the information 83 * associated with a byte range lock. The lockf structures are linked into 88 TAILQ_HEAD(locklist, lockf); 92 struct lockf { struct 98 struct lockf **lf_head; /* Back pointer to the head of the locf list */ 100 struct lockf *lf_next; /* Pointer to the next lock on this inode */ 102 TAILQ_ENTRY(lockf) lf_block;/* A request waiting for a lock */ 122 void lf_print(char *, struct lockf *); [all...] |
H A D | Makefile | 25 ioctl_compat.h ipc.h kernel.h kernel_types.h kern_event.h loadable_fs.h lock.h lockf.h \ 76 ioctl_compat.h kernel.h kernel_types.h kern_event.h lctx.h lock.h lockf.h \
|
H A D | vnode_internal.h | 91 struct lockf; 172 struct lockf *v_lockf; /* advisory lock list head */
|
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/ |
H A D | kern_lockf.c | 77 #include <sys/lockf.h> 91 void lf_print(const char *tag, struct lockf *lock); 92 void lf_printlist(const char *tag, struct lockf *lock); 110 MALLOC_DEFINE(M_LOCKF, "lockf", "Byte-range locking structures"); 112 #define NOLOCKF (struct lockf *)0 129 static int lf_clearlock(struct lockf *); 130 static overlap_t lf_findoverlap(struct lockf *, 131 struct lockf *, int, struct lockf ***, struct lockf **); [all...] |
H A D | kern_malloc.c | 183 "lockf", /* 40 M_LOCKF */ 387 { SOX(lockf), KMZ_CREATEZONE_ACCT, TRUE }, /* 40 M_LOCKF */
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/aso/ |
H A D | aso.c | 113 Asolock_f lockf; 235 state.lockf = ASO_METHOD->lockf; 260 if (!meth->lockf && !(meth->type & ASO_INTRINSIC)) 266 state.lockf = ASO_METHOD->lockf; 283 state.lockf = meth->lockf; 306 * error checking state.lockf() call 314 if ((r = state.lockf(dat [all...] |
/macosx-10.10.1/ruby-106/ruby/missing/ |
H A D | flock.c | 57 /* Emulate flock() with lockf() or fcntl(). This is just to increase 103 return lockf (fd, F_LOCK, 0); 111 return lockf (fd, F_TLOCK, 0); 115 return lockf (fd, F_ULOCK, 0);
|
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/libraries/liblutil/ |
H A D | lockf.c | 20 * - lockf 38 # define LOCK_API "lockf" 74 return lockf( fd, F_LOCK, 0 ); 78 return lockf( fd, F_ULOCK, 0 );
|
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/slapi/ |
H A D | printmsg.c | 72 while ( lockf( fileno( fp ), F_LOCK, 0 ) != 0 ) { 88 lockf( fileno( fp ), F_ULOCK, 0 );
|
/macosx-10.10.1/ruby-106/ruby/lib/cgi/ |
H A D | session.rb | 397 lockf = File.open(@path+".lock", "r") 398 lockf.flock File::LOCK_SH 407 lockf.close if lockf 417 lockf = File.open(@path+".lock", File::CREAT|File::RDWR, 0600) 418 lockf.flock File::LOCK_EX 427 lockf.close if lockf
|
/macosx-10.10.1/cron-39/lib/ |
H A D | compat.c | 172 * locks, since the 'lockf' system call in SYSV doesn't make any 192 i = lockf (fd, F_LOCK, 0); 197 i = lockf (fd, F_TLOCK, 0); 204 i = lockf (fd, F_ULOCK, 0);
|
/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/ |
H A D | lockf.c | 1 /* $NetBSD: lockf.c,v 1.3 2008/04/28 20:22:59 martin Exp $ */ 32 __FBSDID("$FreeBSD: src/lib/libc/gen/lockf.c,v 1.10 2009/03/04 01:01:26 delphij Exp $"); 48 lockf(int filedes, int function, off_t size) function
|
/macosx-10.10.1/procmail-14/procmail/src/ |
H A D | locking.c | 212 if((ret|=lockf(fd,F_TLOCK,(off_t)0))&&(errno==EAGAIN||errno==EACCES|| 221 { lockf(fd,F_ULOCK,(off_t)0); 236 ret=lockf(fd,F_LOCK,(off_t)0); 240 { lockf(fd,F_ULOCK,(off_t)0); 267 i|=lockf(oldfdlock,F_ULOCK,(off_t)0);lseek(oldfdlock,curp,SEEK_SET);
|
H A D | autoconf | 315 lockf(0,F_LOCK,(off_t)0); 348 $FGREP lockf _autotst.rrr >$DEVNULL && echo "#undef F_LOCK" >>_locktst.h 562 printf(", lockf()"); 621 oldlockoffset=tell(oldfdlock),fd|=lockf(oldfdlock,F_LOCK,(off_t)0); 646 i|=lockf(oldfdlock,F_LOCK,(off_t)2);i|=lockf(oldfdlock,F_ULOCK,(off_t)0);
|
/macosx-10.10.1/xnu-2782.1.97/tools/tests/libMicro/ |
H A D | cascade_lockf.c | 84 "notes: thread cascade using lockf file locking\n", 136 return (lockf(files[index], F_LOCK, 0) == -1); 142 return (lockf(files[index], F_ULOCK, 0) == -1);
|
/macosx-10.10.1/CPANInternal-159.1/Data-UUID-1.219/ |
H A D | UUID.h | 102 # define LOCK(f) lockf(fileno(f),F_LOCK,0); 103 # define UNLOCK(f) lockf(fileno(f),F_ULOCK,0);
|
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/servers/slapd/ |
H A D | alock.c | 57 res = lockf (fd, F_LOCK, (off_t) ALOCK_SLOT_SIZE); 81 # error alock needs lockf, fcntl, or _locking 98 res = lockf (fd, F_ULOCK, (off_t) ALOCK_SLOT_SIZE); 117 # error alock needs lockf, fcntl, or _locking 132 res = lockf (fd, F_TEST, (off_t) ALOCK_SLOT_SIZE); 166 # error alock needs lockf, fcntl, or _locking
|
/macosx-10.10.1/sudo-73/src/ |
H A D | fileops.c | 105 return lockf(fd, op, 0) == 0;
|
/macosx-10.10.1/Libc-1044.1.2/include/ |
H A D | unistd.h | 651 int lockf(int, int, off_t) __DARWIN_ALIAS_C(lockf); variable 654 int lockf(int, int, off_t) LIBC_ALIAS_C(lockf); variable
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/include/ |
H A D | aso.h | 74 Asolock_f lockf; member in struct:Asometh_s
|
/macosx-10.10.1/lsof-53/lsof/dialects/darwin/kmem/ |
H A D | dlsof.h | 199 #include <sys/lockf.h>
|
H A D | dnode.c | 353 struct lockf lf, *lff, *lfp;
|
/macosx-10.10.1/xnu-2782.1.97/tools/lldbmacros/ |
H A D | memory.py | 1496 def GetVnodeLock(lockf): 1498 params: lockf - value representing v_lockf member in struct vnode * 1502 lockf_flags = lockf.lf_flags 1503 lockf_type = lockf.lf_type 1517 lockf_proc = Cast(lockf.lf_id, 'proc *') 1520 vnode_lock_output += ("ID {: <#019x}").format(int(lockf.lf_id)) 1535 vnode_lock_output += ("{: #018x} ..").format(lockf.lf_start) 1536 vnode_lock_output += ("{: #018x}\n").format(lockf.lf_end)
|
/macosx-10.10.1/emacs-93/emacs/lib-src/ |
H A D | movemail.c | 423 status = lockf (indesc, F_LOCK, 0);
|
/macosx-10.10.1/cups-408/cups/cups/ |
H A D | file.c | 997 return (lockf(fp->fd, block ? F_LOCK : F_TLOCK, 0)); 2019 return (lockf(fp->fd, F_ULOCK, 0));
|