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

123

/netbsd-current/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-current/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 */
86 static char lockstr[] = "lockf";
[all...]
/netbsd-current/lib/libc/gen/
H A Dlockf.c1 /* $NetBSD: lockf.c,v 1.3 2008/04/28 20:22:59 martin Exp $ */
34 __RCSID("$NetBSD: lockf.c,v 1.3 2008/04/28 20:22:59 martin Exp $");
43 __weak_alias(lockf,_lockf)
48 lockf(int filedes, int function, off_t size)
H A Dutmpx.c273 if (lockf(fileno(fp), F_LOCK, (off_t)0) == -1)
298 if (lockf(fileno(fp), F_ULOCK, (off_t)0) == -1)
/netbsd-current/sys/fs/sysvbfs/
H A Dsysvbfs.h49 struct lockf *lockf; /* advlock */ member in struct:sysvbfs_node
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/
H A DMakefile.in30 md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c sockpair.c \
35 md5.o passwd.o sha1.o getpass.o lockf.o utils.o uuid.o sockpair.o \
H A Dlockf.c1 /* $NetBSD: lockf.c,v 1.3 2021/08/14 16:14:58 christos Exp $ */
22 * - lockf
32 __RCSID("$NetBSD: lockf.c,v 1.3 2021/08/14 16:14:58 christos Exp $");
43 # define LOCK_API "lockf"
79 return lockf( fd, F_LOCK, 0 );
83 return lockf( fd, F_ULOCK, 0 );
/netbsd-current/external/bsd/openldap/lib/liblutil/
H A DMakefile15 md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c \
/netbsd-current/sys/fs/v7fs/
H A Dv7fs_extern.h56 struct lockf *lockf; /* advlock */ member in struct:v7fs_node
/netbsd-current/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-current/external/bsd/am-utils/dist/conf/checkmount/
H A Dcheckmount_default.c76 if (lockf(fileno(mtab), F_LOCK, 0) < 0) {
/netbsd-current/sys/fs/efs/
H A Defs_inode.h32 struct lockf *ei_lockf; /* advisory lock */
/netbsd-current/sys/fs/cd9660/
H A Dcd9660_node.h73 struct lockf *i_lockf; /* head of byte-level lock list */
/netbsd-current/sys/fs/filecorefs/
H A Dfilecore_node.h95 struct lockf *i_lockf; /* head of byte-level lock list */
/netbsd-current/usr.bin/fstat/
H A Dzfs_znode.h101 struct lockf *z_lockf; /* head of byte-level lock list */
/netbsd-current/sys/fs/nilfs/
H A Dnilfs.h203 struct lockf *lockf; /* lock list */ member in struct:nilfs_node
/netbsd-current/sys/miscfs/specfs/
H A Dspecdev.h76 struct lockf *sd_lockf;
/netbsd-current/sys/fs/nfs/client/
H A Dnfsnode.h104 struct lockf *n_lockf; /* Locking record of file */
H A Dnfs_clnfsiod.c62 #include <sys/lockf.h>
/netbsd-current/sys/fs/udf/
H A Dudf.h399 struct lockf *lockf; /* lock list */ member in struct:udf_node
/netbsd-current/sys/nfs/
H A Dnfsnode.h158 struct lockf *n_lockf; /* Locking record of file */
/netbsd-current/sys/ufs/lfs/
H A Dlfs_inode.h139 struct lockf *i_lockf;/* Head of byte-level lock list. */
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/base/
H A Ddb.c112 heim_db_plug_lock_f_t lockf; member in struct:db_plugin
198 (plugin->lockf != NULL && plugin->unlockf == NULL) ||
224 plug->lockf = plugin->lockf;
510 if (db->plug->lockf == NULL)
514 ret = db->plug->lockf(db->db_data, read_only, error);
535 ret = db->plug->lockf(db->db_data, 0, error);
564 if (db->plug->commitf == NULL && db->plug->lockf == NULL)
/netbsd-current/tests/kernel/
H A Dt_lockf.c201 ret = lockf(fd, op, lk_size);
/netbsd-current/sys/fs/tmpfs/
H A Dtmpfs.h123 struct lockf * tn_lockf;

Completed in 249 milliseconds

123