Home
last modified time | relevance | path

Searched refs:F_WRLCK (Results 1 – 13 of 13) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dtdb.c344 if ((rw_type == F_WRLCK) && (tdb->read_only || tdb->traverse_read)) { in tdb_brlock()
386 if (tdb_brlock(tdb, offset, F_WRLCK, F_SETLKW, 1, len) == 0) { in tdb_brlock_upgrade()
698 return _tdb_lockall(tdb, F_WRLCK, F_SETLKW); in tdb_lockall()
704 return _tdb_lockall(tdb, F_WRLCK | TDB_MARK_LOCK, F_SETLKW); in tdb_lockall_mark()
710 return _tdb_unlockall(tdb, F_WRLCK | TDB_MARK_LOCK); in tdb_lockall_unmark()
716 return _tdb_lockall(tdb, F_WRLCK, F_SETLK); in tdb_lockall_nonblock()
722 return _tdb_unlockall(tdb, F_WRLCK); in tdb_unlockall()
747 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); in tdb_chainlock()
755 return tdb_lock_nonblock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK); in tdb_chainlock_nonblock()
761 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_WRLCK | TDB_MARK_LOCK); in tdb_chainlock_mark()
[all …]
/external/ppp/pppd/plugins/radius/
Dlock.c23 fl.l_type = F_WRLCK; in do_lock_exclusive()
/external/valgrind/main/none/tests/
Dmmap_fcntl_bug.c30 fl.l_type = F_WRLCK; in main()
/external/chromium/chrome/browser/importer/
Dfirefox_profile_lock_posix.cc104 lock.l_type = F_WRLCK; in LockWithFcntl()
/external/valgrind/main/memcheck/tests/
Dfile_locking.c28 fl.l_type = F_WRLCK; /* exclusive lock */ in lock_file()
/external/kernel-headers/original/asm-generic/
Dfcntl.h138 #define F_WRLCK 1 macro
/external/e2fsprogs/misc/
Duuidd.c253 fl.l_type = F_WRLCK; in server_loop()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c330 fl.l_type = F_WRLCK; in get_clock()
/external/strace/
Ddesc.c187 { F_WRLCK, "F_WRLCK" },
/external/okhttp/src/main/java/libcore/io/
DOsConstants.java159 public static final int F_WRLCK = placeholder(); field in OsConstants
/external/valgrind/main/coregrind/
Dvgdb.c1268 fl.l_type = F_WRLCK; in acquire_lock()
/external/sqlite/dist/orig/
Dsqlite3.c25631 }else if( p->l_type==F_WRLCK ){
25644 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){
25650 }else if( l2.l_type==F_WRLCK ){
26295 lock.l_type = F_WRLCK;
26345 lock.l_type = F_WRLCK;
26492 lock.l_type = (eFileLock==SHARED_LOCK?F_RDLCK:F_WRLCK);
26551 lock.l_type = F_WRLCK;
28792 assert( lockType==F_WRLCK );
28803 assert( lockType==F_WRLCK );
28969 if( unixShmSystemLock(pShmNode, F_WRLCK, UNIX_SHM_DMS, 1)==SQLITE_OK ){
[all …]
/external/sqlite/dist/
Dsqlite3.c25642 }else if( p->l_type==F_WRLCK ){
25655 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){
25661 }else if( l2.l_type==F_WRLCK ){
26306 lock.l_type = F_WRLCK;
26356 lock.l_type = F_WRLCK;
26503 lock.l_type = (eFileLock==SHARED_LOCK?F_RDLCK:F_WRLCK);
26562 lock.l_type = F_WRLCK;
28805 assert( lockType==F_WRLCK );
28816 assert( lockType==F_WRLCK );
28982 if( unixShmSystemLock(pShmNode, F_WRLCK, UNIX_SHM_DMS, 1)==SQLITE_OK ){
[all …]