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

1 2 3 4 5

  /external/strace/xlat/
lockfcmds.h 11 #if defined(F_RDLCK) || (defined(HAVE_DECL_F_RDLCK) && HAVE_DECL_F_RDLCK)
12 XLAT(F_RDLCK),
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl16.c 58 #if (SKIPVAL == F_RDLCK) || (SKIPVAL == F_WRLCK)
59 #error invalid SKIP, must not be F_RDLCK or F_WRLCK
83 {F_RDLCK, 0, 0L, 5L, NOBLOCK},
85 {F_RDLCK, 0, 6L, 5L, NOBLOCK},
89 {F_RDLCK, 0, 0L, 0L, IGNORED},
98 {F_RDLCK, 0, 0L, 5L, WILLBLOCK},
100 {F_RDLCK, 0, 6L, 5L, WILLBLOCK},
114 {F_RDLCK, 0, 2L, 3L, WILLBLOCK},
116 {F_RDLCK, 0, 6L, 3L, WILLBLOCK},
121 {F_RDLCK, 0, 3L, 5L, IGNORED}
    [all...]
fcntl21.c 226 return ("F_RDLCK");
332 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 0, 0) < 0) {
342 compare_lock(&tl, (short)F_RDLCK, (short)0, 0, 0, parent_pid);
396 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
418 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid);
446 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
468 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid);
496 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
518 compare_lock(&tl, (short)F_RDLCK, (short)0, 11, 4, parent_pid);
546 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0)
    [all...]
fcntl20.c 218 return ("F_RDLCK");
325 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
341 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 5, parent_pid);
368 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
384 compare_lock(&tl, (short)F_RDLCK, (short)0, 11, 4, parent_pid);
411 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
427 compare_lock(&tl, (short)F_RDLCK, (short)0, 13, 2, parent_pid);
454 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 10) < 0) {
470 compare_lock(&tl, (short)F_RDLCK, (short)0, 10, 3, parent_pid);
476 compare_lock(&tl, (short)F_RDLCK, (short)0, 18, 2, parent_pid)
    [all...]
fcntl11.c 193 return ("F_RDLCK");
286 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 1, 5) < 0)
293 compare_lock(&tl, (short)F_RDLCK, (short)0, 1, 5, parent_pid);
324 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 5) < 0)
331 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 5, parent_pid);
362 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 6) < 0)
369 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 6, parent_pid);
400 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 8) < 0)
407 compare_lock(&tl, (short)F_RDLCK, (short)0, 5, 8, parent_pid);
438 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 13, 5) < 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
90 F_RDLCK, 0, 0L, 0L, WILLBLOCK},
98 {F_RDLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L,
100 F_RDLCK, 0, 0L, 0L, NOBLOCK},
103 {F_RDLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L,
114 F_RDLCK, 0, 0L, 5L, WILLBLOCK},
125 {F_RDLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L,
130 F_RDLCK, 0, 0L, 5L, NOBLOCK},
133 {F_RDLCK, 0, 0L, 0L, SKIP, 0, 0L, 0L
    [all...]
fcntl23.c 26 * TEST TITLE : Basic test for fcntl(2) using F_SETLEASE & F_RDLCK argument.
134 * Call fcntl(2) with F_SETLEASE & F_RDLCK argument on fname
136 TEST(fcntl(fd, F_SETLEASE, F_RDLCK));
141 "fcntl(%s, F_SETLEASE, F_RDLCK) Failed, errno=%d : %s",
146 if (TEST_RETURN != F_RDLCK)
148 "fcntl(%s, F_GETLEASE) did not return F_RDLCK, returned %ld",
158 "fcntl(%s, F_SETLEASE, F_RDLCK)",
fcntl33.c 79 {F_RDLCK, OP_OPEN_WRONLY,
80 "open(O_WRONLY) conflicts with fcntl(F_SETLEASE, F_RDLCK)"},
81 {F_RDLCK, OP_OPEN_RDWR,
82 "open(O_RDWR) conflicts with fcntl(F_SETLEASE, F_RDLCK)"},
83 {F_RDLCK, OP_TRUNCATE,
84 "truncate() conflicts with fcntl(F_SETLEASE, F_RDLCK)"},
187 TEST(fcntl(fd, F_SETLEASE, F_RDLCK));
190 case F_RDLCK:
fcntl05.c 143 flocks.l_type = F_RDLCK;
  /external/strace/tests/
fcntl64.c 44 .l_type = F_RDLCK,
49 printf("%s(0, %s, {l_type=F_RDLCK, l_whence=SEEK_SET"
65 .l_type = F_RDLCK,
69 printf("%s(0, F_SETLK64, {l_type=F_RDLCK, l_whence=SEEK_SET"
fcntl.c 44 .l_type = F_RDLCK,
struct_flock.c 58 .l_type = F_RDLCK,
63 printf("%s(0, %s, {l_type=F_RDLCK, l_whence=SEEK_SET"
75 .l_type = F_RDLCK,
79 printf("%s(0, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET"
  /external/strace/tests-m32/
fcntl64.c 44 .l_type = F_RDLCK,
49 printf("%s(0, %s, {l_type=F_RDLCK, l_whence=SEEK_SET"
65 .l_type = F_RDLCK,
69 printf("%s(0, F_SETLK64, {l_type=F_RDLCK, l_whence=SEEK_SET"
fcntl.c 44 .l_type = F_RDLCK,
struct_flock.c 58 .l_type = F_RDLCK,
63 printf("%s(0, %s, {l_type=F_RDLCK, l_whence=SEEK_SET"
75 .l_type = F_RDLCK,
79 printf("%s(0, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET"
  /external/strace/tests-mx32/
fcntl64.c 44 .l_type = F_RDLCK,
49 printf("%s(0, %s, {l_type=F_RDLCK, l_whence=SEEK_SET"
65 .l_type = F_RDLCK,
69 printf("%s(0, F_SETLK64, {l_type=F_RDLCK, l_whence=SEEK_SET"
fcntl.c 44 .l_type = F_RDLCK,
struct_flock.c 58 .l_type = F_RDLCK,
63 printf("%s(0, %s, {l_type=F_RDLCK, l_whence=SEEK_SET"
75 .l_type = F_RDLCK,
79 printf("%s(0, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET"
  /external/ltp/testcases/network/nfs/nfslock01/
nfs_flock.h 11 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLK)
17 lock_reg(fd, F_RDLCK, offset, whence, len, F_SETLKW)
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/asm-generic/
fcntl.h 136 #ifndef F_RDLCK
137 #define F_RDLCK 0
  /bionic/libc/kernel/uapi/asm-generic/
fcntl.h 126 #ifndef F_RDLCK
127 #define F_RDLCK 0
  /external/kernel-headers/original/uapi/asm-generic/
fcntl.h 165 #ifndef F_RDLCK
166 #define F_RDLCK 0
  /external/ltp/testcases/kernel/fs/doio/
file_lock.c 82 flocks.l_type = F_RDLCK;
154 flocks.l_type = F_RDLCK;
  /bionic/libc/bionic/
lockf.cpp 60 fl.l_type = F_RDLCK;
  /device/linaro/bootloader/edk2/StdLib/Include/sys/
fcntl.h 110 #define F_RDLCK 1 ///< shared or read lock

Completed in 741 milliseconds

1 2 3 4 5