Searched refs:lockf (Results 1 - 25 of 58) sorted by relevance

123

/netbsd-6-1-5-RELEASE/regress/sys/kern/lockf/
H A DMakefile5 PROG= lockf
9 @if ./lockf ; then \
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dlockf.h1 /* $NetBSD: lockf.h,v 1.19 2008/05/28 13:35:32 ad Exp $ */
34 * @(#)lockf.h 8.2 (Berkeley) 10/26/94
44 struct lockf;
46 int lf_advlock(struct vop_advlock_args *, struct lockf **, off_t);
/netbsd-6-1-5-RELEASE/regress/sys/kern/
H A DMakefile3 SUBDIR+= execve getcwd lockf lockf2 ras \
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dvfs_lockf.c48 #include <sys/lockf.h>
54 * The lockf structure is a kernel structure which contains the information
55 * associated with a byte range lock. The lockf structures are linked into
66 TAILQ_HEAD(locklist, lockf);
68 struct lockf { struct
75 struct lockf **lf_head; /* Back pointer to the head of lockf list */
76 struct lockf *lf_next; /* Next lock on this vnode, or blocking lock */
78 TAILQ_ENTRY(lockf) lf_block;/* A request waiting for a lock */
87 static char lockstr[] = "lockf";
[all...]
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dlockf.c1 /* $NetBSD: lockf.c,v 1.2 2000/01/22 22:19:11 mycroft Exp $ */
34 __RCSID("$NetBSD: lockf.c,v 1.2 2000/01/22 22:19:11 mycroft Exp $");
43 __weak_alias(lockf,_lockf)
48 lockf(filedes, function, size)
H A Dutmpx.c272 if (lockf(fileno(fp), F_LOCK, (off_t)0) == -1)
297 if (lockf(fileno(fp), F_ULOCK, (off_t)0) == -1)
H A DMakefile.inc20 isascii.c isatty.c isctype.c lockf.c nftw.c \
70 lockf.3 _lwp_makecontext.3 makecontext.3 \
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/liblutil/
H A Dlockf.c3 /* OpenLDAP: pkg/ldap/libraries/liblutil/lockf.c,v 1.15.2.5 2010/04/13 20:23:06 kurt Exp */
22 * - lockf
40 # define LOCK_API "lockf"
76 return lockf( fd, F_LOCK, 0 );
80 return lockf( fd, F_ULOCK, 0 );
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/slapi/
H A Dprintmsg.c74 while ( lockf( fileno( fp ), F_LOCK, 0 ) != 0 ) {
90 lockf( fileno( fp ), F_ULOCK, 0 );
/netbsd-6-1-5-RELEASE/sys/fs/sysvbfs/
H A Dsysvbfs.h49 struct lockf *lockf; /* advlock */ member in struct:sysvbfs_node
/netbsd-6-1-5-RELEASE/sys/fs/v7fs/
H A Dv7fs_extern.h57 struct lockf *lockf; /* advlock */ member in struct:v7fs_node
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/conf/checkmount/
H A Dcheckmount_default.c80 if (lockf(fileno(mtab), F_LOCK, 0) < 0) {
/netbsd-6-1-5-RELEASE/external/bsd/openldap/lib/liblutil/
H A DMakefile15 md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c \
/netbsd-6-1-5-RELEASE/sys/fs/efs/
H A Defs_inode.h32 struct lockf *ei_lockf; /* advisory lock */
/netbsd-6-1-5-RELEASE/regress/sys/kern/lockf2/
H A Dlockf2.c46 ret = lockf(fd, op, size);
/netbsd-6-1-5-RELEASE/sys/fs/filecorefs/
H A Dfilecore_node.h95 struct lockf *i_lockf; /* head of byte-level lock list */
/netbsd-6-1-5-RELEASE/sys/fs/smbfs/
H A Dsmbfs_node.h77 struct lockf * n_lockf; /* Locking records of file */
/netbsd-6-1-5-RELEASE/sys/fs/nilfs/
H A Dnilfs.h208 struct lockf *lockf; /* lock list */ member in struct:nilfs_node
/netbsd-6-1-5-RELEASE/sys/fs/cd9660/
H A Dcd9660_node.h74 struct lockf *i_lockf; /* head of byte-level lock list */
/netbsd-6-1-5-RELEASE/sys/miscfs/specfs/
H A Dspecdev.h76 struct lockf *sd_lockf;
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/
H A Dalock.c59 res = lockf (fd, F_LOCK, (off_t) ALOCK_SLOT_SIZE);
83 # error alock needs lockf, fcntl, or _locking
100 res = lockf (fd, F_ULOCK, (off_t) ALOCK_SLOT_SIZE);
119 # error alock needs lockf, fcntl, or _locking
134 res = lockf (fd, F_TEST, (off_t) ALOCK_SLOT_SIZE);
168 # error alock needs lockf, fcntl, or _locking
/netbsd-6-1-5-RELEASE/sys/fs/udf/
H A Dudf.h394 struct lockf *lockf; /* lock list */ member in struct:udf_node
/netbsd-6-1-5-RELEASE/sys/ufs/ufs/
H A Dufs_wapbl.c83 #include <sys/lockf.h>
/netbsd-6-1-5-RELEASE/include/
H A Dunistd.h262 int lockf(int, int, off_t);
/netbsd-6-1-5-RELEASE/games/atc/
H A Dlog.c159 if (lockf(fileno(score_fp), F_LOCK, 1) < 0)

Completed in 150 milliseconds

123