Searched refs:F_WRLCK (Results 1 - 25 of 54) sorted by relevance

123

/netbsd-current/lib/libc/gen/
H A Dlockf.c64 fl.l_type = F_WRLCK;
68 fl.l_type = F_WRLCK;
71 fl.l_type = F_WRLCK;
/netbsd-current/external/bsd/libbind/dist/bsd/
H A Dftruncate.c57 fl.l_type = F_WRLCK;
/netbsd-current/tools/compat/
H A Dflock.c51 fl.l_type = F_WRLCK;
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/
H A Dlockf.c50 # ifdef F_WRLCK
92 file_lock.l_type = F_WRLCK;
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dftruncate.c59 fl.l_type = F_WRLCK; /* write lock on file space */
/netbsd-current/external/gpl3/binutils.old/dist/gold/
H A Dftruncate.c76 fl.l_type = F_WRLCK; /* write lock on file space */
/netbsd-current/external/gpl3/binutils/dist/gold/
H A Dftruncate.c76 fl.l_type = F_WRLCK; /* write lock on file space */
/netbsd-current/external/gpl3/gdb.old/dist/gold/
H A Dftruncate.c76 fl.l_type = F_WRLCK; /* write lock on file space */
/netbsd-current/external/ibm-public/postfix/dist/src/util/
H A Dmyflock.c129 F_UNLCK, F_RDLCK, F_WRLCK
/netbsd-current/sys/kern/
H A Dvfs_lockf.c71 short lf_type; /* Lock type: F_RDLCK, F_WRLCK */
142 lock->lf_type == F_WRLCK ? "exclusive" :
165 lf->lf_type == F_WRLCK ? "exclusive" :
176 blk->lf_type == F_WRLCK ? "exclusive" :
486 if ((lock->lf_type == F_WRLCK || overlap->lf_type == F_WRLCK))
587 lock->lf_type == F_WRLCK) {
590 lock->lf_type = F_WRLCK;
661 overlap->lf_type == F_WRLCK)
692 overlap->lf_type == F_WRLCK) {
[all...]
H A Dsys_descrip.c277 case F_WRLCK:
302 fl->l_type != F_WRLCK &&
645 lf.l_type = F_WRLCK;
/netbsd-current/external/gpl2/lvm2/dist/lib/misc/
H A Dlvm-file.c41 .l_type = F_WRLCK,
207 * mode is F_WRLCK or F_RDLCK
237 (lock_type == F_WRLCK) ? "F_WRLCK" : "F_RDLCK",
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dflock.c71 arg.l_type = F_WRLCK;
/netbsd-current/external/bsd/am-utils/dist/conf/mtab/
H A Dmtab_isc3.c84 if (lockfile(mtlckf, F_WRLCK) < 0) {
H A Dmtab_svr4.c119 if (lockfile(mntent_lock_fd, F_WRLCK) < 0) {
H A Dmtab_file.c76 lk.l_type = F_WRLCK;
/netbsd-current/external/gpl2/lvm2/dist/daemons/cmirrord/
H A Dclogd.c100 lock.l_type = F_WRLCK;
/netbsd-current/external/bsd/ppp/usr.sbin/pppd/
H A Dtdb.c136 F_WRLCK, F_SETLKW) != 0) {
163 F_WRLCK, F_SETLKW) != 0) {
1152 tdb_brlock(&tdb, GLOBAL_LOCK, LOCK_SET, F_WRLCK, F_SETLKW);
1157 if (tdb_brlock(&tdb, ACTIVE_LOCK, LOCK_SET, F_WRLCK, F_SETLK) == 0) {
1159 tdb_brlock(&tdb, ACTIVE_LOCK, LOCK_CLEAR, F_WRLCK, F_SETLK);
1216 tdb_brlock(&tdb, GLOBAL_LOCK, LOCK_CLEAR, F_WRLCK, F_SETLKW);
/netbsd-current/tests/fs/vfs/
H A Dt_vnops.c800 l.l_type = F_RDLCK | F_WRLCK;
822 l.l_type = F_RDLCK | F_WRLCK;
898 { 0, 2, 0, F_WRLCK, SEEK_SET },
899 { 2, 1, 0, F_WRLCK, SEEK_SET },
900 { 7, 5, 0, F_WRLCK, SEEK_SET },
901 { 4, 3, 0, F_WRLCK, SEEK_SET },
/netbsd-current/external/gpl2/lvm2/dist/lib/filters/
H A Dfilter-persistent.c208 if ((lockfd = fcntl_lock_file(pf->file, F_WRLCK, 0)) < 0)
/netbsd-current/tests/kernel/
H A Dt_lockf.c94 fl.l_type = F_WRLCK;
/netbsd-current/sys/sys/
H A Dfcntl.h213 #define F_WRLCK 3 /* exclusive or write lock */ macro
/netbsd-current/bin/cat/
H A Dcat.c127 stdout_lock.l_type = F_WRLCK;
/netbsd-current/sys/fs/nfs/nlm/
H A Dnlm_advlock.c296 && fl->l_type == F_WRLCK) {
316 fl->l_type = F_WRLCK;
779 exclusive = (fl->l_type == F_WRLCK);
1053 exclusive = (fl->l_type == F_WRLCK);
1103 fl->l_type = F_WRLCK;
/netbsd-current/crypto/external/cpl/trousers/dist/src/tcs/ps/
H A Dtcsps.c65 fl.l_type = F_WRLCK;
82 fl.l_type = F_WRLCK;

Completed in 389 milliseconds

123