Home
last modified time | relevance | path

Searched refs:F_SETLK (Results 1 – 12 of 12) sorted by relevance

/external/ppp/pppd/plugins/radius/
Dlock.c27 res = fcntl(fd, F_SETLK, &fl); in do_lock_exclusive()
45 return fcntl(fd, F_SETLK, &fl); in do_unlock()
/external/kernel-headers/original/linux/
Dfcntl.h42 #define IS_SETLK32(cmd) ((cmd) == F_SETLK)
52 #define IS_SETLK64(cmd) ((cmd) == F_SETLK)
/external/strace/
Ddesc.c63 { F_SETLK, "F_SETLK" },
121 #ifdef F_SETLK
122 { F_SETLK, "F_SETLK" },
290 case F_SETLK: case F_SETLKW:
303 #if defined(F_SETLK64) && F_SETLK64+0!=F_SETLK
319 case F_SETLK: case F_SETLKW:
/external/chromium/chrome/browser/importer/
Dfirefox_profile_lock_posix.cc113 } else if (fcntl(lock_fd_, F_SETLK, &lock) == -1) { in LockWithFcntl()
/external/kernel-headers/original/asm-generic/
Dfcntl.h62 #define F_SETLK 6 macro
/external/valgrind/main/memcheck/tests/
Dfile_locking.c33 return fcntl(fd, F_SETLK, &fl) >= 0; in lock_file()
/external/e2fsprogs/lib/ext2fs/
Dtdb.c363 if (!probe && lck_type != F_SETLK) { in tdb_brlock()
490 return _tdb_lock(tdb, list, ltype, F_SETLK); in tdb_lock_nonblock()
716 return _tdb_lockall(tdb, F_WRLCK, F_SETLK); in tdb_lockall_nonblock()
734 return _tdb_lockall(tdb, F_RDLCK, F_SETLK); in tdb_lockall_read_nonblock()
804 return tdb->methods->tdb_brlock(tdb, off, F_WRLCK, F_SETLK, 1, 1); in tdb_write_lock_record()
813 return tdb->methods->tdb_brlock(tdb, off, F_UNLCK, F_SETLK, 0, 1); in tdb_write_unlock_record()
3888 (locked = (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_WRLCK, F_SETLK, 0, 1) == 0))) { in tdb_open_ex()
3947 if (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_UNLCK, F_SETLK, 0, 1) == -1) { in tdb_open_ex()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c409 fcntl(state_fd, F_SETLK, &fl); in get_clock()
/external/valgrind/main/include/vki/
Dvki-darwin.h279 #define VKI_F_SETLK F_SETLK
/external/valgrind/main/coregrind/m_syswrap/
Dsyswrap-aix5.c1301 case F_SETLK: in PRE()
/external/sqlite/dist/
Dsqlite3.c23349 }else if( op==F_SETLK ){
23371 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){
24152 s = fcntl(pFile->h, F_SETLK, &lock);
24174 if( (s = fcntl(pFile->h, F_SETLK, &lock))==(-1) ){
24181 if( fcntl(pFile->h, F_SETLK, &lock)!=0 ){
24224 s = fcntl(pFile->h, F_SETLK, &lock);
24354 if( fcntl(h, F_SETLK, &lock)==(-1) ){
24366 if( fcntl(h, F_SETLK, &lock)==(-1) ){
24378 if( fcntl(h, F_SETLK, &lock)==(-1) ){
24391 if( fcntl(h, F_SETLK, &lock)==(-1) ){
[all …]
Dsqlite3.c.orig23342 }else if( op==F_SETLK ){
23364 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){
24145 s = fcntl(pFile->h, F_SETLK, &lock);
24167 if( (s = fcntl(pFile->h, F_SETLK, &lock))==(-1) ){
24174 if( fcntl(pFile->h, F_SETLK, &lock)!=0 ){
24217 s = fcntl(pFile->h, F_SETLK, &lock);
24347 if( fcntl(h, F_SETLK, &lock)==(-1) ){
24359 if( fcntl(h, F_SETLK, &lock)==(-1) ){
24371 if( fcntl(h, F_SETLK, &lock)==(-1) ){
24384 if( fcntl(h, F_SETLK, &lock)==(-1) ){
[all …]