F_WRLCK 51 lib/replace/replace.c fl.l_type = F_WRLCK; F_WRLCK 67 lib/tdb/common/dump.c if (tdb_lock(tdb, i, F_WRLCK) != 0) F_WRLCK 71 lib/tdb/common/dump.c return tdb_unlock(tdb, i, F_WRLCK); F_WRLCK 80 lib/tdb/common/dump.c return tdb_unlock(tdb, i, F_WRLCK); F_WRLCK 100 lib/tdb/common/dump.c if ((ret = tdb_lock(tdb, -1, F_WRLCK)) != 0) F_WRLCK 107 lib/tdb/common/dump.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 115 lib/tdb/common/dump.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 121 lib/tdb/common/dump.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 135 lib/tdb/common/dump.c return tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 104 lib/tdb/common/freelist.c if (tdb_lock(tdb, -1, F_WRLCK) != 0) F_WRLCK 184 lib/tdb/common/freelist.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 202 lib/tdb/common/freelist.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 206 lib/tdb/common/freelist.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 284 lib/tdb/common/freelist.c if (tdb_lock(tdb, -1, F_WRLCK) == -1) F_WRLCK 348 lib/tdb/common/freelist.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 357 lib/tdb/common/freelist.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 61 lib/tdb/common/freelistcheck.c if (tdb_lock(tdb, -1, F_WRLCK) == -1) { F_WRLCK 105 lib/tdb/common/freelistcheck.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 301 lib/tdb/common/io.c if (tdb_lock(tdb, -1, F_WRLCK) == -1) { F_WRLCK 360 lib/tdb/common/io.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 363 lib/tdb/common/io.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 55 lib/tdb/common/lock.c if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { F_WRLCK 104 lib/tdb/common/lock.c if (tdb_brlock(tdb, offset, F_WRLCK, F_SETLKW, 1, len) == 0) { F_WRLCK 416 lib/tdb/common/lock.c return _tdb_lockall(tdb, F_WRLCK, F_SETLKW); F_WRLCK 422 lib/tdb/common/lock.c return _tdb_lockall(tdb, F_WRLCK | TDB_MARK_LOCK, F_SETLKW); F_WRLCK 428 lib/tdb/common/lock.c return _tdb_unlockall(tdb, F_WRLCK | TDB_MARK_LOCK); F_WRLCK 434 lib/tdb/common/lock.c return _tdb_lockall(tdb, F_WRLCK, F_SETLK); F_WRLCK 440 lib/tdb/common/lock.c return _tdb_unlockall(tdb, F_WRLCK); F_WRLCK 465 lib/tdb/common/lock.c return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); F_WRLCK 473 lib/tdb/common/lock.c return tdb_lock_nonblock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); F_WRLCK 479 lib/tdb/common/lock.c return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); F_WRLCK 485 lib/tdb/common/lock.c return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); F_WRLCK 490 lib/tdb/common/lock.c return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); F_WRLCK 525 lib/tdb/common/lock.c return tdb->methods->tdb_brlock(tdb, off, F_WRLCK, F_SETLK, 1, 1); F_WRLCK 222 lib/tdb/common/open.c if (tdb->methods->tdb_brlock(tdb, GLOBAL_LOCK, F_WRLCK, F_SETLKW, 0, 1) == -1) { F_WRLCK 231 lib/tdb/common/open.c (locked = (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_WRLCK, F_SETLK, 0, 1) == 0))) { F_WRLCK 62 lib/tdb/common/tdb.c if (tdb_brlock(tdb, TDB_SEQNUM_OFS, F_WRLCK, F_SETLKW, 1, 1) != 0) { F_WRLCK 310 lib/tdb/common/tdb.c if (tdb_lock(tdb, -1, F_WRLCK) == -1) { F_WRLCK 335 lib/tdb/common/tdb.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 353 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) F_WRLCK 365 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), F_WRLCK); F_WRLCK 376 lib/tdb/common/tdb.c if (!(rec_ptr = tdb_find_lock_hash(tdb, key, hash, F_WRLCK, F_WRLCK 387 lib/tdb/common/tdb.c if (tdb_unlock(tdb, BUCKET(rec.full_hash), F_WRLCK) != 0) F_WRLCK 447 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) F_WRLCK 521 lib/tdb/common/tdb.c if (tdb_lock(tdb, -1, F_WRLCK) == -1) { F_WRLCK 527 lib/tdb/common/tdb.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 534 lib/tdb/common/tdb.c tdb_unlock(tdb, -1, F_WRLCK); F_WRLCK 565 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), F_WRLCK); F_WRLCK 579 lib/tdb/common/tdb.c if (tdb_lock(tdb, BUCKET(hash), F_WRLCK) == -1) F_WRLCK 606 lib/tdb/common/tdb.c tdb_unlock(tdb, BUCKET(hash), F_WRLCK); F_WRLCK 449 lib/tdb/common/transaction.c if (tdb_transaction_lock(tdb, F_WRLCK) == -1) { F_WRLCK 883 lib/tdb/common/transaction.c if (tdb_brlock(tdb, GLOBAL_LOCK, F_WRLCK, F_SETLKW, 0, 1) == -1) { F_WRLCK 238 lib/tdb/common/traverse.c struct tdb_traverse_lock tl = { NULL, 0, 0, F_WRLCK }; F_WRLCK 247 lib/tdb/common/traverse.c if (tdb_transaction_lock(tdb, F_WRLCK)) { F_WRLCK 188 source3/client/mtab.c flock.l_type = F_WRLCK; F_WRLCK 136 source3/lib/dbwrap_file.c fl.l_type = F_WRLCK; F_WRLCK 133 source3/lib/pidfile.c if (fcntl_lock(fd,SMB_F_SETLK,0,1,F_WRLCK)==False) { F_WRLCK 87 source3/lib/util_tdb.c return tdb_chainlock_with_timeout_internal(tdb, key, timeout, F_WRLCK); F_WRLCK 63 source3/locking/posix.c return (lock_type == READ_LOCK) ? F_RDLCK : F_WRLCK; F_WRLCK 107 source3/modules/gpfs.c if (leasetype == F_WRLCK) { F_WRLCK 201 source3/passdb/pdb_smbpasswd.c lock_type = F_WRLCK; F_WRLCK 223 source3/passdb/pdb_smbpasswd.c lock_type = F_WRLCK; F_WRLCK 767 source3/passdb/pdb_smbpasswd.c if (!pw_file_lock(lockfd, F_WRLCK, 5, &smbpasswd_state->pw_file_lock_depth)) { F_WRLCK 115 source3/smbd/oplock_linux.c if ( SMB_VFS_LINUX_SETLEASE(fsp, F_WRLCK) == -1) { F_WRLCK 934 source3/torture/cmd_vfs.c type |= F_WRLCK; F_WRLCK 111 source3/torture/locktest2.c lock.l_type = (op==READ_LOCK) ? F_RDLCK:F_WRLCK; F_WRLCK 78 source4/heimdal/lib/krb5/fcache.c l.l_type = exclusive ? F_WRLCK : F_RDLCK; F_WRLCK 80 source4/heimdal_build/replace.c lock.l_type = F_WRLCK; F_WRLCK 135 source4/ntvfs/sysdep/sys_lease_linux.c ret = fcntl(*fd, F_SETLEASE, F_WRLCK); F_WRLCK 105 source4/smbd/pidfile.c if (fcntl_lock(fd,F_SETLK,0,1,F_WRLCK)==false) { F_WRLCK 108 source4/torture/locktest2.c lock.l_type = (op==READ_LOCK) ? F_RDLCK:F_WRLCK; F_WRLCK 751 source4/torture/raw/samba3misc.c posix_lock.l_type = F_WRLCK;