Home
last modified time | relevance | path

Searched refs:F_WRLCK (Results 1 – 10 of 10) 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/chromium/chrome/browser/importer/
Dfirefox_profile_lock_posix.cc104 lock.l_type = F_WRLCK; in LockWithFcntl()
/external/kernel-headers/original/asm-generic/
Dfcntl.h80 #define F_WRLCK 1 macro
/external/valgrind/main/memcheck/tests/
Dfile_locking.c28 fl.l_type = F_WRLCK; /* exclusive lock */ in lock_file()
/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.c175 { F_WRLCK, "F_WRLCK" },
/external/sqlite/dist/
Dsqlite3.c23358 }else if( p->l_type==F_WRLCK ){
23371 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){
23377 }else if( l2.l_type==F_WRLCK ){
23998 lock.l_type = F_WRLCK;
24150 lock.l_type = (eFileLock==SHARED_LOCK?F_RDLCK:F_WRLCK);
24212 lock.l_type = F_WRLCK;
26386 assert( lockType==F_WRLCK );
26397 assert( lockType==F_WRLCK );
26533 if( unixShmSystemLock(pShmNode, F_WRLCK, UNIX_SHM_DMS, 1)==SQLITE_OK ){
26777 rc = unixShmSystemLock(pShmNode, F_WRLCK, ofst+UNIX_SHM_BASE, n);
Dsqlite3.c.orig23351 }else if( p->l_type==F_WRLCK ){
23364 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){
23370 }else if( l2.l_type==F_WRLCK ){
23991 lock.l_type = F_WRLCK;
24143 lock.l_type = (eFileLock==SHARED_LOCK?F_RDLCK:F_WRLCK);
24205 lock.l_type = F_WRLCK;
26338 int lockType, /* F_UNLCK, F_RDLCK, or F_WRLCK */
26379 assert( lockType==F_WRLCK );
26390 assert( lockType==F_WRLCK );
26526 if( unixShmSystemLock(pShmNode, F_WRLCK, UNIX_SHM_DMS, 1)==SQLITE_OK ){
[all …]