/netbsd-current/sys/sys/ |
H A D | lockf.h | 1 /* $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 D | vfs_lockf.c | 48 #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 D | lockf.c | 1 /* $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 D | utmpx.c | 273 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 D | sysvbfs.h | 49 struct lockf *lockf; /* advlock */ member in struct:sysvbfs_node
|
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | Makefile.in | 30 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 D | lockf.c | 1 /* $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 D | Makefile | 15 md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c \
|
/netbsd-current/sys/fs/v7fs/ |
H A D | v7fs_extern.h | 56 struct lockf *lockf; /* advlock */ member in struct:v7fs_node
|
/netbsd-current/external/bsd/openldap/dist/servers/slapd/slapi/ |
H A D | printmsg.c | 74 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 D | checkmount_default.c | 76 if (lockf(fileno(mtab), F_LOCK, 0) < 0) {
|
/netbsd-current/sys/fs/efs/ |
H A D | efs_inode.h | 32 struct lockf *ei_lockf; /* advisory lock */
|
/netbsd-current/sys/fs/cd9660/ |
H A D | cd9660_node.h | 73 struct lockf *i_lockf; /* head of byte-level lock list */
|
/netbsd-current/sys/fs/filecorefs/ |
H A D | filecore_node.h | 95 struct lockf *i_lockf; /* head of byte-level lock list */
|
/netbsd-current/usr.bin/fstat/ |
H A D | zfs_znode.h | 101 struct lockf *z_lockf; /* head of byte-level lock list */
|
/netbsd-current/sys/fs/nilfs/ |
H A D | nilfs.h | 203 struct lockf *lockf; /* lock list */ member in struct:nilfs_node
|
/netbsd-current/sys/miscfs/specfs/ |
H A D | specdev.h | 76 struct lockf *sd_lockf;
|
/netbsd-current/sys/fs/nfs/client/ |
H A D | nfsnode.h | 104 struct lockf *n_lockf; /* Locking record of file */
|
H A D | nfs_clnfsiod.c | 62 #include <sys/lockf.h>
|
/netbsd-current/sys/fs/udf/ |
H A D | udf.h | 399 struct lockf *lockf; /* lock list */ member in struct:udf_node
|
/netbsd-current/sys/nfs/ |
H A D | nfsnode.h | 158 struct lockf *n_lockf; /* Locking record of file */
|
/netbsd-current/sys/ufs/lfs/ |
H A D | lfs_inode.h | 139 struct lockf *i_lockf;/* Head of byte-level lock list. */
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/base/ |
H A D | db.c | 112 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 D | t_lockf.c | 201 ret = lockf(fd, op, lk_size);
|
/netbsd-current/sys/fs/tmpfs/ |
H A D | tmpfs.h | 123 struct lockf * tn_lockf;
|