Home
last modified time | relevance | path

Searched refs:lockf (Results 1 – 25 of 53) sorted by relevance

123

/netbsd-src/sys/kern/
H A Dvfs_lockf.c49 #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 {
78 struct lockf **lf_head; /* Back pointer to the head of lockf list */ argument
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";
68 struct lockf { global() struct
75 lf_headlockf global() argument
76 lf_nextlockf global() argument
86 lf_uiplockf global() argument
[all...]
/netbsd-src/sys/sys/
H A Dlockf.h44 struct lockf;
46 int lf_advlock(struct vop_advlock_args *, struct lockf **, off_t);
/netbsd-src/sys/fs/sysvbfs/
H A Dsysvbfs.h49 struct lockf *lockf; /* advlock */ member
/netbsd-src/lib/libc/gen/
H A Dlockf.c43 __weak_alias(lockf,_lockf) in __weak_alias() argument
48 lockf(int filedes, int function, off_t size) in __weak_alias()
H A Dutmpx.c273 if (lockf(fileno(fp), F_LOCK, (off_t)0) == -1) in pututxline()
298 if (lockf(fileno(fp), F_ULOCK, (off_t)0) == -1) in pututxline()
/netbsd-src/sys/fs/v7fs/
H A Dv7fs_extern.h56 struct lockf *lockf; /* advlock */ member
/netbsd-src/external/bsd/openldap/dist/servers/slapd/slapi/
H A Dprintmsg.c74 while ( lockf( fileno( fp ), F_LOCK, 0 ) != 0 ) { in slapi_int_log_error()
90 lockf( fileno( fp ), F_ULOCK, 0 ); in slapi_int_log_error()
/netbsd-src/external/bsd/openldap/dist/libraries/liblutil/
H A Dlockf.c79 return lockf( fd, F_LOCK, 0 ); in lutil_lockf()
83 return lockf( fd, F_ULOCK, 0 ); in lutil_unlockf()
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 \
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/
H A Dunistd.d2456 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;
2592 int lockf(int, int, off_t) @trusted;
2645 int lockf(int, int, off_t);
[all …]
/netbsd-src/sys/fs/nilfs/
H A Dnilfs.h203 struct lockf *lockf; /* lock list */ member
/netbsd-src/sys/fs/udf/
H A Dudf.h399 struct lockf *lockf; /* lock list */ member
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/base/
H A Ddb.c112 heim_db_plug_lock_f_t lockf; member
198 (plugin->lockf != NULL && plugin->unlockf == NULL) || in heim_db_register()
224 plug->lockf = plugin->lockf; in heim_db_register()
510 if (db->plug->lockf == NULL) in heim_db_begin()
514 ret = db->plug->lockf(db->db_data, read_only, error); in heim_db_begin()
535 ret = db->plug->lockf(db->db_data, 0, error); in heim_db_begin()
564 if (db->plug->commitf == NULL && db->plug->lockf == NULL) in heim_db_commit()
/netbsd-src/external/bsd/openldap/lib/liblutil/
H A DMakefile15 md5.c passwd.c sha1.c getpass.c lockf.c utils.c uuid.c \
/netbsd-src/sys/fs/efs/
H A Defs_inode.h32 struct lockf *ei_lockf; /* advisory lock */
/netbsd-src/external/bsd/am-utils/dist/conf/checkmount/
H A Dcheckmount_default.c76 if (lockf(fileno(mtab), F_LOCK, 0) < 0) {
/netbsd-src/sys/fs/filecorefs/
H A Dfilecore_node.h95 struct lockf *i_lockf; /* head of byte-level lock list */
/netbsd-src/usr.bin/fstat/
H A Dzfs_znode.h101 struct lockf *z_lockf; /* head of byte-level lock list */
/netbsd-src/sys/fs/cd9660/
H A Dcd9660_node.h73 struct lockf *i_lockf; /* head of byte-level lock list */
/netbsd-src/sys/miscfs/specfs/
H A Dspecdev.h76 struct lockf *sd_lockf;
/netbsd-src/sys/fs/nfs/client/
H A Dnfsnode.h104 struct lockf *n_lockf; /* Locking record of file */
/netbsd-src/sys/nfs/
H A Dnfsnode.h161 struct lockf *n_lockf; /* Locking record of file */
/netbsd-src/sys/ufs/lfs/
H A Dlfs_inode.h139 struct lockf *i_lockf;/* Head of byte-level lock list. */
/netbsd-src/sys/fs/tmpfs/
H A Dtmpfs.h123 struct lockf * tn_lockf;
/netbsd-src/tests/kernel/
H A Dt_lockf.c201 ret = lockf(fd, op, lk_size); in dolock()

123