Home
last modified time | relevance | path

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

/external/clang/test/Sema/
Dwarn-type-safety.c123 #define F_SETLK 20 macro
128 …tic const int F_SETLK_tag __attribute__(( type_tag_for_datatype(fcntl,struct flock *) )) = F_SETLK;
135 fcntl(0, F_SETLK, f); // no-warning in test_argument_with_type_tag()
137 …fcntl(0, F_SETLK, 10); // expected-warning {{argument type 'int' doesn't match specified 'fcntl' t… in test_argument_with_type_tag()
142 fcntl(0, b ? F_DUPFD : F_SETLK, 10); // no-warning in test_tag_expresssion()
/external/strace/xlat/
Dfcntlcmds.h22 #if defined(F_SETLK) || (defined(HAVE_DECL_F_SETLK) && HAVE_DECL_F_SETLK)
23 XLAT(F_SETLK),
88 #if defined(F_SETLK) || (defined(HAVE_DECL_F_SETLK) && HAVE_DECL_F_SETLK)
89 XLAT(F_SETLK),
Dfcntlcmds.in7 F_SETLK
29 F_SETLK
/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/valgrind/none/tests/
Dmmap_fcntl_bug.c44 if (fcntl(fd, F_SETLK, &fl) != 0) in main()
56 if (fcntl(fd, F_SETLK, &fl) == 0) in main()
/external/toybox/toys/pending/
Duserdel.c45 if (fcntl(fileno(exfp), F_SETLK, &lock) < 0) in update_groupfiles()
78 fcntl(fileno(exfp), F_SETLK, &lock); in update_groupfiles()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dfcntl.h40 #define F_SETLK 6 macro
/external/toybox/lib/
Dpassword.c136 ret = fcntl(fileno(exfp), F_SETLK, &lock); in update_password()
181 fcntl(fileno(exfp), F_SETLK, &lock); in update_password()
/external/strace/
Ddesc.c52 #if defined(F_SETLK64) && F_SETLK64 + 0 != F_SETLK
169 case F_SETLK: case F_SETLKW: in SYS_FUNC()
200 case F_SETLK: case F_SETLKW: in SYS_FUNC()
DNEWS381 * Fixed display of 32-bit fcntl(F_SETLK) on 64-bit architectures.
DChangeLog-CVS294 * desc.c (printflock): Fix display of fcntl(F_SETLK) on
/external/valgrind/memcheck/tests/
Dfile_locking.c33 return fcntl(fd, F_SETLK, &fl) >= 0; in lock_file()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h106 #define F_SETLK 6 macro
/external/bison/m4/
Dfcntl.m415 # - F_GETLK, F_SETLK, F_SETLKW
/external/e2fsprogs/lib/ext2fs/
Dtdb.c361 if (!probe && lck_type != F_SETLK) { in tdb_brlock()
488 return _tdb_lock(tdb, list, ltype, F_SETLK); in tdb_lock_nonblock()
714 return _tdb_lockall(tdb, F_WRLCK, F_SETLK); in tdb_lockall_nonblock()
732 return _tdb_lockall(tdb, F_RDLCK, F_SETLK); in tdb_lockall_read_nonblock()
802 return tdb->methods->tdb_brlock(tdb, off, F_WRLCK, F_SETLK, 1, 1); in tdb_write_lock_record()
811 return tdb->methods->tdb_brlock(tdb, off, F_UNLCK, F_SETLK, 0, 1); in tdb_write_unlock_record()
3884 (locked = (tdb->methods->tdb_brlock(tdb, ACTIVE_LOCK, F_WRLCK, F_SETLK, 0, 1) == 0))) { in tdb_open_ex()
3943 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.c414 fcntl(state_fd, F_SETLK, &fl); in get_clock()
/external/valgrind/include/vki/
Dvki-darwin.h279 #define VKI_F_SETLK F_SETLK
/external/valgrind/coregrind/
Dvgdb.c336 if (fcntl(fd, F_SETLK, &fl) < 0) { in acquire_lock()
/external/sqlite/dist/
Dsqlite3.c26139 }else if( op==F_SETLK ){
26161 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){
26926 rc = osFcntl(pFile->h, F_SETLK, &lock);
26934 rc = osFcntl(pFile->h, F_SETLK, pLock);
29599 lkType = (pFile->ctrlFlags & UNIXFILE_BLOCK)!=0 ? F_SETLKW : F_SETLK;
/external/sqlite/dist/orig/
Dsqlite3.c26121 }else if( op==F_SETLK ){
26143 if( s==(-1) && op==F_SETLK && (p->l_type==F_RDLCK || p->l_type==F_WRLCK) ){
26908 rc = osFcntl(pFile->h, F_SETLK, &lock);
26916 rc = osFcntl(pFile->h, F_SETLK, pLock);
29581 lkType = (pFile->ctrlFlags & UNIXFILE_BLOCK)!=0 ? F_SETLKW : F_SETLK;