HomeSort by relevance Sort by last modified time
    Searched refs:F_SETLK (Results 1 - 25 of 138) sorted by null

1 2 3 4 5 6

  /external/ppp/pppd/plugins/radius/
lock.c 27 res = fcntl(fd, F_SETLK, &fl);
45 return fcntl(fd, F_SETLK, &fl);
  /external/strace/xlat/
fcntlcmds.in 8 F_SETLK 6
fcntlcmds.h 20 #if !(defined(F_SETLK) || (defined(HAVE_DECL_F_SETLK) && HAVE_DECL_F_SETLK))
21 # define F_SETLK 6
99 XLAT(F_SETLK),
  /external/ltp/testcases/network/nfs/nfslock01/
nfs_flock.h 11 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLK)
13 lock_reg(fd, F_WRLCK, offset, whence, len, F_SETLK)
15 lock_reg(fd, F_UNLCK, offset, whence, len, F_SETLK)
  /external/strace/tests/
struct_flock.c 71 TEST_FLOCK_EINVAL(F_SETLK);
78 long rc = invoke_test_syscall(F_SETLK, &fl);
79 printf("%s(0, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET"
90 invoke_test_syscall(F_SETLK, &fl);
91 printf("%s(0, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET"
  /external/strace/tests-m32/
struct_flock.c 71 TEST_FLOCK_EINVAL(F_SETLK);
78 long rc = invoke_test_syscall(F_SETLK, &fl);
79 printf("%s(0, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET"
90 invoke_test_syscall(F_SETLK, &fl);
91 printf("%s(0, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET"
  /external/strace/tests-mx32/
struct_flock.c 71 TEST_FLOCK_EINVAL(F_SETLK);
78 long rc = invoke_test_syscall(F_SETLK, &fl);
79 printf("%s(0, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET"
90 invoke_test_syscall(F_SETLK, &fl);
91 printf("%s(0, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET"
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl21.c 212 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) {
332 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 0, 0) < 0) {
363 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 0, 0) < 0) {
396 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
402 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 1, 5) < 0) {
446 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
452 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 5) < 0) {
496 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
502 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 6) < 0) {
546 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0)
    [all...]
fcntl19.c 205 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) {
326 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
332 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 5) < 0) {
369 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
375 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 6) < 0) {
413 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
419 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 8) < 0) {
457 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 10) < 0) {
463 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) {
507 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0)
    [all...]
fcntl20.c 204 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) {
325 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
331 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 5) < 0) {
368 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
374 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 6) < 0) {
411 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
417 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 8) < 0) {
454 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 10) < 0) {
460 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) {
503 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0)
    [all...]
fcntl11.c 181 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0)
283 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0)
286 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 1, 5) < 0)
321 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0)
324 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 5) < 0)
359 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0)
362 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 6) < 0)
397 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0)
400 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 8) < 0)
435 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 10) < 0
    [all...]
fcntl13.c 69 if (fcntl(1, F_SETLK, (void *)-1) != -1) {
70 tst_resm(TFAIL, "F_SETLK: fcntl(2) failed to FAIL");
72 tst_resm(TFAIL, "F_SETLK: Expected EFAULT got %d",
75 tst_resm(TPASS, "F_SETLK: got EFAULT");
104 if (fcntl(1, F_SETLK, &flock) != -1)
fcntl22.c 66 TEST(fcntl(file, F_SETLK, &fl));
118 if (fcntl(file, F_SETLK, &fl) < 0)
fcntl09.c 42 * TEST TITLE : Basic test for fcntl(2) using F_SETLK argument.
157 * Call fcntl(2) with F_SETLK argument on fname
159 TEST(fcntl(fd, F_SETLK, &flocks));
164 "fcntl(%s, F_SETLK, &flocks) flocks.l_type = %s Failed, errno=%d : %s",
170 "fcntl(%s, F_SETLK, &flocks) flocks.l_type = %s returned %ld",
178 * Call fcntl(2) with F_SETLK argument on fname
180 TEST(fcntl(fd, F_SETLK, &flocks));
185 "fcntl(%s, F_SETLK, &flocks) flocks.l_type = F_UNLCK Failed, errno=%d : %s",
190 "fcntl(%s, F_SETLK, &flocks) flocks.l_type = F_UNLCK returned %ld",
fcntl15.c 121 if ((fcntl(fd_B, F_SETLK, &flock)) < 0) {
258 if ((fcntl(fd_C, F_SETLK, &flock)) >= 0) {
271 if ((fcntl(fd_C, F_SETLK, &flock)) >= 0) {
322 if ((fcntl(fd_C, F_SETLK, &flock)) < 0) {
336 if ((fcntl(fd_C, F_SETLK, &flock)) >= 0) {
342 if ((fcntl(fd_C, F_SETLK, &flock)) < 0) {
422 if ((fcntl(fd_A, F_SETLK, &flock)) < 0) {
436 if ((fcntl(fd_B, F_SETLK, &flock)) < 0) {
  /external/ltp/testcases/kernel/fs/doio/
file_lock.c 69 cmd = F_SETLK;
102 if (cmd == F_SETLK)
141 cmd = F_SETLK;
174 if (cmd == F_SETLK)
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
11-1.c 48 if (fcntl(fd, F_SETLK, &fl) == -1) {
82 if (fcntl(fd, F_SETLK, &fl) == -1) {
  /external/valgrind/none/tests/
mmap_fcntl_bug.c 44 if (fcntl(fd, F_SETLK, &fl) != 0)
56 if (fcntl(fd, F_SETLK, &fl) == 0)
  /external/clang/test/Sema/
warn-type-safety.c 123 #define F_SETLK 20
128 static const int F_SETLK_tag __attribute__(( type_tag_for_datatype(fcntl,struct flock *) )) = F_SETLK;
135 fcntl(0, F_SETLK, f); // no-warning
137 fcntl(0, F_SETLK, 10); // expected-warning {{argument type 'int' doesn't match specified 'fcntl' type tag that requires 'struct flock *'}}
142 fcntl(0, b ? F_DUPFD : F_SETLK, 10); // no-warning
  /bionic/libc/kernel/uapi/asm-mips/asm/
fcntl.h 35 #define F_SETLK 6
  /external/kernel-headers/original/uapi/asm-mips/asm/
fcntl.h 41 #define F_SETLK 6
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/x86_64-linux-gnu/bits/
fcntl.h 84 # define F_SETLK 6 /* Set record locking info (non-blocking). */
93 # define F_SETLK 6 /* Set record locking info (non-blocking). */
97 # define F_SETLK F_SETLK64 /* Set record locking info (non-blocking).*/
  /external/toybox/toys/pending/
userdel.c 45 if (fcntl(fileno(exfp), F_SETLK, &lock) < 0)
78 fcntl(fileno(exfp), F_SETLK, &lock);
  /libcore/ojluni/src/main/native/
FileSystemPreferences.c 98 rc = fcntl(fd, F_SETLK, &fl);
132 rc = fcntl(fd, F_SETLK, &fl);
  /prebuilts/go/darwin-x86/src/syscall/
flock.go 15 // FcntlFlock performs a fcntl syscall for the F_GETLK, F_SETLK or F_SETLKW command.

Completed in 108 milliseconds

1 2 3 4 5 6