Searched refs:F_SETLK (Results 1 – 12 of 12) sorted by relevance
/external/ppp/pppd/plugins/radius/ |
D | lock.c | 27 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/ |
D | fcntl.h | 42 #define IS_SETLK32(cmd) ((cmd) == F_SETLK) 52 #define IS_SETLK64(cmd) ((cmd) == F_SETLK)
|
/external/strace/ |
D | desc.c | 63 { 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/ |
D | firefox_profile_lock_posix.cc | 113 } else if (fcntl(lock_fd_, F_SETLK, &lock) == -1) { in LockWithFcntl()
|
/external/kernel-headers/original/asm-generic/ |
D | fcntl.h | 62 #define F_SETLK 6 macro
|
/external/valgrind/main/memcheck/tests/ |
D | file_locking.c | 33 return fcntl(fd, F_SETLK, &fl) >= 0; in lock_file()
|
/external/e2fsprogs/lib/ext2fs/ |
D | tdb.c | 363 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/ |
D | gen_uuid.c | 409 fcntl(state_fd, F_SETLK, &fl); in get_clock()
|
/external/valgrind/main/include/vki/ |
D | vki-darwin.h | 279 #define VKI_F_SETLK F_SETLK
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-aix5.c | 1301 case F_SETLK: in PRE()
|
/external/sqlite/dist/ |
D | sqlite3.c | 23349 }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 …]
|
D | sqlite3.c.orig | 23342 }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 …]
|