| /src/sys/sys/ |
| lockf.h | 1 /* $NetBSD: lockf.h,v 1.20 2008/11/19 13:34:11 pooka 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);
|
| /src/sys/kern/ |
| vfs_lockf.c | 49 #include <sys/lockf.h> 57 * The lockf structure is a kernel structure which contains the information 58 * associated with a byte range lock. The lockf structures are linked into 69 TAILQ_HEAD(locklist, lockf); 71 struct lockf { struct 78 struct lockf **lf_head; /* Back pointer to the head of lockf list */ 79 struct lockf *lf_next; /* Next lock on this vnode, or blocking lock */ 81 TAILQ_ENTRY(lockf) lf_block;/* A request waiting for a lock */ 89 static char lockstr[] = "lockf"; [all...] |
| /src/lib/libc/gen/ |
| lockf.c | 1 /* $NetBSD: lockf.c,v 1.4 2012/06/25 22:32:43 abs Exp $ */ 34 __RCSID("$NetBSD: lockf.c,v 1.4 2012/06/25 22:32:43 abs Exp $"); 43 __weak_alias(lockf,_lockf) 48 lockf(int filedes, int function, off_t size)
|
| Makefile.inc | 24 isascii.c isatty.c isctype.c lockf.c nftw.c \ 75 lockf.3 _lwp_makecontext.3 makecontext.3 \
|
| utmpx.c | 273 if (lockf(fileno(fp), F_LOCK, (off_t)0) == -1) 298 if (lockf(fileno(fp), F_ULOCK, (off_t)0) == -1)
|
| /src/sys/fs/sysvbfs/ |
| sysvbfs.h | 49 struct lockf *lockf; /* advlock */ member in struct:sysvbfs_node
|
| /src/external/bsd/openldap/lib/liblutil/ |
| Makefile | 15 md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c \
|
| /src/sys/fs/v7fs/ |
| v7fs_extern.h | 56 struct lockf *lockf; /* advlock */ member in struct:v7fs_node
|
| /src/external/bsd/openldap/dist/libraries/liblutil/ |
| lockf.c | 1 /* $NetBSD: lockf.c,v 1.4 2025/09/05 21:16:23 christos Exp $ */ 22 * - lockf 32 __RCSID("$NetBSD: lockf.c,v 1.4 2025/09/05 21:16:23 christos Exp $"); 43 # define LOCK_API "lockf" 79 return lockf( fd, F_LOCK, 0 ); 83 return lockf( fd, F_ULOCK, 0 );
|
| /src/external/bsd/openldap/dist/servers/slapd/slapi/ |
| printmsg.c | 89 while ( lockf( fileno( fp ), F_LOCK, 0 ) != 0 ) { 109 lockf( fileno( fp ), F_ULOCK, 0 );
|
| /src/sys/fs/efs/ |
| efs_inode.h | 32 struct lockf *ei_lockf; /* advisory lock */
|
| /src/external/bsd/am-utils/dist/conf/checkmount/ |
| checkmount_default.c | 76 if (lockf(fileno(mtab), F_LOCK, 0) < 0) {
|
| /src/sys/fs/cd9660/ |
| cd9660_node.h | 73 struct lockf *i_lockf; /* head of byte-level lock list */
|
| /src/sys/fs/filecorefs/ |
| filecore_node.h | 95 struct lockf *i_lockf; /* head of byte-level lock list */
|
| /src/usr.bin/fstat/ |
| zfs_znode.h | 101 struct lockf *z_lockf; /* head of byte-level lock list */
|
| /src/sys/fs/nilfs/ |
| nilfs.h | 203 struct lockf *lockf; /* lock list */ member in struct:nilfs_node
|
| /src/sys/miscfs/specfs/ |
| specdev.h | 76 struct lockf *sd_lockf;
|
| /src/sys/fs/nfs/client/ |
| nfsnode.h | 104 struct lockf *n_lockf; /* Locking record of file */
|
| /src/sys/fs/udf/ |
| udf.h | 399 struct lockf *lockf; /* lock list */ member in struct:udf_node
|
| /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/ |
| unistd.d | 2413 int lockf(int, int, off_t); 2439 //int lockf(int, int, off_t); 2456 alias lockf64 lockf; 2469 int lockf(int, int, off_t) @trusted; 2478 int lockf(int, int, off_t); 2479 alias lockf lockf64; 2492 int lockf(int, int, off_t) @trusted; 2517 int lockf(int, int, off_t) @trusted; 2542 int lockf(int, int, off_t) @trusted; 2567 int lockf(int, int, off_t) @trusted [all...] |
| /src/sys/nfs/ |
| nfsnode.h | 161 struct lockf *n_lockf; /* Locking record of file */
|
| /src/sys/ufs/lfs/ |
| lfs_inode.h | 140 struct lockf *i_lockf;/* Head of byte-level lock list. */
|
| /src/crypto/external/bsd/heimdal/dist/lib/base/ |
| 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)
|
| /src/games/atc/ |
| log.c | 179 if (lockf(fileno(score_fp), F_LOCK, 1) < 0)
|
| /src/include/ |
| unistd.h | 278 int lockf(int, int, off_t);
|