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

1 2 3 4 5 6 7

  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl21.c 216 do_test(&fl, F_WRLCK, 0, 0, 0);
228 return ("F_WRLCK");
341 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0);
363 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 0, 0) < 0) {
372 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0);
373 compare_lock(&tl, (short)F_WRLCK, (short)0, 0, 0, parent_pid);
402 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 1, 5) < 0) {
411 do_test(&tl, F_WRLCK, 0, 0, 0);
412 compare_lock(&tl, (short)F_WRLCK, (short)0, 1, 5, parent_pid);
417 do_test(&tl, F_WRLCK, 0, 6, 0)
    [all...]
fcntl11.c 183 do_test(&fl, F_WRLCK, 0, 0, 0);
195 return ("F_WRLCK");
283 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0)
292 do_test(&tl, F_WRLCK, 0, 0, 0);
298 do_test(&tl, F_WRLCK, 0, 6, 0);
299 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid);
304 do_test(&tl, F_WRLCK, 0, 15, 0);
321 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0)
330 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0);
336 do_test(&tl, (short)F_WRLCK, (short)0, 10, 0)
    [all...]
fcntl19.c 209 do_test(&fl, F_WRLCK, 0, 0, 0);
221 return ("F_WRLCK");
326 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
341 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0);
342 compare_lock(&tl, (short)F_WRLCK, (short)0, 10, 5, parent_pid);
347 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0);
369 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
384 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0);
385 compare_lock(&tl, (short)F_WRLCK, (short)0, 11, 4, parent_pid);
390 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0)
    [all...]
fcntl14.c 54 #if SKIP == F_RDLCK || SKIP== F_WRLCK
55 #error invalid value for SKIP, must be distinct from F_RDLCK and F_WRLCK
88 {F_WRLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L,
93 {F_WRLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L,
95 F_WRLCK, 0, 0L, 0L, WILLBLOCK},
105 F_WRLCK, 0, 0L, 0L, WILLBLOCK},
109 {F_WRLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L,
117 {F_WRLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L,
122 F_WRLCK, 0, 0L, 5L, WILLBLOCK},
138 F_WRLCK, 0, 0L, 5L, WILLBLOCK}
    [all...]
fcntl20.c 208 do_test(&fl, F_WRLCK, 0, 0, 0);
220 return ("F_WRLCK");
340 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0);
346 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0);
383 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0);
389 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0);
426 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0);
432 do_test(&tl, (short)F_WRLCK, (short)0, 15, 0);
469 do_test(&tl, (short)F_WRLCK, (short)0, 0, 0);
475 do_test(&tl, (short)F_WRLCK, (short)0, 13, 0)
    [all...]
fcntl16.c 58 #if (SKIPVAL == F_RDLCK) || (SKIPVAL == F_WRLCK)
59 #error invalid SKIP, must not be F_RDLCK or F_WRLCK
79 {{F_WRLCK, 0, 0L, 0L, IGNORED},
94 {{F_WRLCK, 0, 0L, 0L, IGNORED},
105 {F_WRLCK, 0, 0L, 0L, IGNORED},
110 {{F_WRLCK, 0, 0L, 0L, IGNORED},
126 {{F_WRLCK, 0, 0L, 0L, IGNORED},
142 {{F_WRLCK, 0, 0L, 0L, IGNORED},
158 {{F_WRLCK, 0, 0L, 0L, IGNORED},
171 {{F_WRLCK, 0, 0L, 0L, IGNORED}
    [all...]
fcntl24.c 26 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_WRLCK argument.
140 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname
142 TEST(fcntl(fd, F_SETLEASE, F_WRLCK));
147 "fcntl(%s, F_SETLEASE, F_WRLCK) Failed, errno=%d : %s",
151 if (TEST_RETURN != F_WRLCK)
153 "fcntl(%s, F_GETLEASE) did not return F_WRLCK, returned %ld",
163 "fcntl(%s, F_SETLEASE, F_WRLCK)",
fcntl25.c 27 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_WRLCK argument.
141 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname
143 TEST(fcntl(fd, F_SETLEASE, F_WRLCK));
148 "fcntl(%s, F_SETLEASE, F_WRLCK) Failed, errno=%d : %s",
152 if (TEST_RETURN != F_WRLCK)
154 "fcntl(%s, F_GETLEASE) did not return F_WRLCK, returned %ld",
164 "fcntl(%s, F_SETLEASE, F_WRLCK)",
fcntl26.c 27 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_WRLCK argument.
141 * Call fcntl(2) with F_SETLEASE & F_WRLCK argument on fname
143 TEST(fcntl(fd, F_SETLEASE, F_WRLCK));
148 "fcntl(%s, F_SETLEASE, F_WRLCK) Failed, errno=%d : %s",
152 if (TEST_RETURN != F_WRLCK)
154 "fcntl(%s, F_GETLEASE) did not return F_WRLCK, returned %ld",
164 "fcntl(%s, F_SETLEASE, F_WRLCK)",
fcntl33.c 71 {F_WRLCK, OP_OPEN_RDONLY,
72 "open(O_RDONLY) conflicts with fcntl(F_SETLEASE, F_WRLCK)"},
73 {F_WRLCK, OP_OPEN_WRONLY,
74 "open(O_WRONLY) conflicts with fcntl(F_SETLEASE, F_WRLCK)"},
75 {F_WRLCK, OP_OPEN_RDWR,
76 "open(O_RDWR) conflicts with fcntl(F_SETLEASE, F_WRLCK)"},
77 {F_WRLCK, OP_TRUNCATE,
78 "truncate() conflicts with fcntl(F_SETLEASE, F_WRLCK)"},
129 "Cannot do fcntl(F_SETLEASE, F_WRLCK) "
186 case F_WRLCK
    [all...]
fcntl15.c 115 flock.l_type = F_WRLCK;
252 flock.l_type = F_WRLCK;
265 flock.l_type = F_WRLCK;
316 flock.l_type = F_WRLCK;
329 flock.l_type = F_WRLCK;
416 flock.l_type = F_WRLCK;
430 flock.l_type = F_WRLCK;
  /external/strace/xlat/
lockfcmds.h 14 #if defined(F_WRLCK) || (defined(HAVE_DECL_F_WRLCK) && HAVE_DECL_F_WRLCK)
15 XLAT(F_WRLCK),
  /external/ppp/pppd/plugins/radius/
lock.c 23 fl.l_type = F_WRLCK;
  /bionic/libc/bionic/
lockf.cpp 50 fl.l_type = F_WRLCK;
55 fl.l_type = F_WRLCK;
  /external/ltp/testcases/network/nfs/nfslock01/
nfs_flock.h 13 lock_reg(fd, F_WRLCK, offset, whence, len, F_SETLK)
19 lock_reg(fd, F_WRLCK, offset, whence, len, F_SETLKW)
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
11-1.c 31 .l_type = F_WRLCK,
44 printf("Child found lock is F_UNLCK, should be F_WRLCK\n");
69 .l_type = F_WRLCK,
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_fcntl.py 43 fcntl.F_WRLCK, 0)
45 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
49 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
  /toolchain/binutils/binutils-2.27/gold/
ftruncate.c 76 fl.l_type = F_WRLCK; /* write lock on file space */
  /external/python/cpython2/Lib/test/
test_fcntl.py 39 fcntl.F_WRLCK, 0)
41 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
45 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_fcntl.py 40 fcntl.F_WRLCK, 0)
42 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_fcntl.py 40 fcntl.F_WRLCK, 0)
42 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_fcntl.py 40 fcntl.F_WRLCK, 0)
42 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_fcntl.py 40 fcntl.F_WRLCK, 0)
42 lockdata = struct.pack('hhlllii', fcntl.F_WRLCK, 0, 0, 0, 0, 0, 0)
46 lockdata = struct.pack('hh'+start_len+'hh', fcntl.F_WRLCK, 0, 0, 0, 0, 0)
  /external/ltp/testcases/kernel/fs/doio/
file_lock.c 80 flocks.l_type = F_WRLCK;
152 flocks.l_type = F_WRLCK;
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
fcntl.h 112 #define F_WRLCK 3 ///< exclusive or write lock

Completed in 323 milliseconds

1 2 3 4 5 6 7