/illumos-gate/usr/src/test/os-tests/tests/file-locking/ |
H A D | runtests.c | 116 flock_reinit(&fl, F_WRLCK); in assert_write_locked_by() 118 VERIFY3_IMPL(fl.l_type, ==, F_WRLCK, short); in assert_write_locked_by() 122 flock_reinit(&fl, F_WRLCK); in assert_write_locked_by() 124 VERIFY3_IMPL(fl.l_type, ==, F_WRLCK, short); in assert_write_locked_by() 130 VERIFY3_IMPL(fl.l_type, ==, F_WRLCK, short); in assert_write_locked_by() 136 VERIFY3_IMPL(fl.l_type, ==, F_WRLCK, short); in assert_write_locked_by() 147 flock_reinit(&fl, F_WRLCK); in assert_read_locked_by() 153 flock_reinit(&fl, F_WRLCK); in assert_read_locked_by() 177 flock_reinit(&fl, F_WRLCK); in assert_unlocked() 183 flock_reinit(&fl, F_WRLCK); in assert_unlocked() [all …]
|
H A D | acquire-lock.c | 113 acq_fcntl(fd, F_SETLKW, is_exclusive ? F_WRLCK : F_RDLCK); in acq_run() 116 acq_fcntl(fd, F_OFD_SETLKW, is_exclusive ? F_WRLCK : F_RDLCK); in acq_run()
|
/illumos-gate/usr/src/lib/libc/port/sys/ |
H A D | lockf.c | 62 l.l_type = F_WRLCK; in __lockf() 66 l.l_type = F_WRLCK; in __lockf() 70 l.l_type = F_WRLCK; in __lockf()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | fcntl.c | 158 #ifndef F_WRLCK in main() 162 if (F_WRLCK > f_lck) f_lck = F_WRLCK; in main() 200 #ifndef F_WRLCK in main()
|
H A D | asometh | 12 lock.l_type = F_WRLCK;
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | posix_fallocate.c | 66 lck.l_type = F_WRLCK; in posix_fallocate() 92 lck.l_type = F_WRLCK; in posix_fallocate64()
|
H A D | flock.c | 50 F_WRLCK : F_RDLCK; in flock()
|
H A D | truncate.c | 61 lck.l_type = F_WRLCK; /* setting a write lock */ in ftruncate()
|
H A D | lckpwdf.c | 78 flock.l_type = F_WRLCK; in lckpwdf()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/aso/ |
H A D | aso-fcntl.c | 61 lock.l_type = F_WRLCK; 133 lock.l_type = F_WRLCK; 177 lock.l_type = F_WRLCK;
|
/illumos-gate/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 73 lock.l_type = F_WRLCK; in _check_daemon_lock() 152 lock.l_type = F_WRLCK; in _enter_daemon_lock()
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | lock.c | 49 l.l_type = !strcmp(mode, "r") ? F_RDLCK : F_WRLCK; in lock()
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | ftruncate.c | 51 fl.l_type = F_WRLCK; in __ftruncate()
|
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/ |
H A D | yplckpwdf.c | 67 flock.l_type = F_WRLCK; in yplckpwdf()
|
/illumos-gate/usr/src/ucblib/libucb/port/sys/ |
H A D | flock.c | 69 fl.l_type |= F_WRLCK; in flock()
|
/illumos-gate/usr/src/cmd/sendmail/libsmutil/ |
H A D | lockfile.c | 51 lfd.l_type = F_WRLCK;
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | loadsave.c | 566 if (lockfile(fileno(fp), F_WRLCK)) { in save_token_data() 668 if (lockfile(fileno(fp), F_WRLCK)) { in save_token_object() 711 if (lockfile(fileno(fp), F_WRLCK)) { in save_public_token_object() 825 if (lockfile(fileno(fp), F_WRLCK)) { in save_private_token_object() 1222 if (lockfile(fileno(fp2), F_WRLCK)) { in delete_token_object() 1258 if (lockfile(fileno(fp2), F_WRLCK)) { in delete_token_object()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | putdgrp.c | 616 if (!lkdgrptab("a+", F_WRLCK)) { in _adddgrptabrec() 740 if (!lkdgrptab("r", F_WRLCK)) in _rmdgrptabrec() 810 if (!lkdgrptab("r", F_WRLCK)) in _rmdgrpmems()
|
H A D | putdev.c | 788 if (!lkdevtab("a+", F_WRLCK)) in _adddevtabrec() 865 if (!lkdevtab("r", F_WRLCK)) in _moddevtabrec() 1028 if (!lkdevtab("r", F_WRLCK)) in _rmdevtabrec() 1120 if (!lkdevtab("r", F_WRLCK)) in _rmdevtabattrs()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | lock_file.c | 83 lock_arg.l_type = F_WRLCK; in krb5_lock_file()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_dli.c | 141 F_WRLCK, DLI_NAME)); in di_dli_openw()
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 203 #define F_WRLCK 02 /* Write lock */ macro
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 254 #define F_WRLCK 3 /* exclusive or write lock */ macro
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | flock_impl.h | 298 (((lock1)->l_type == F_WRLCK) || \ 299 ((lock2)->l_type == F_WRLCK)) && \
|
/illumos-gate/usr/src/lib/pam_modules/authtok_check/ |
H A D | dict.c | 82 flock.l_type = F_WRLCK; in lock_db()
|