Home
last modified time | relevance | path

Searched refs:F_GETLK (Results 1 - 25 of 107) sorted by relevance

12345

/third_party/musl/arch/generic/bits/
H A Dfcntl.h34 #define F_GETLK 12 macro
38 #define F_GETLK 5 macro
/third_party/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl18.c83 retval = fcntl(fd, F_GETLK, (struct flock *)INVAL_FLAG); in main()
85 tst_resm(TPASS, "Test F_GETLK: for errno EFAULT PASSED"); in main()
87 tst_resm(TFAIL, "Test F_GETLK: for errno EFAULT FAILED"); in main()
106 retval = fcntl(fd, F_GETLK, (struct flock *)INVAL_FLAG); in main()
108 tst_resm(TPASS, "Test F_GETLK: for errno EFAULT PASSED"); in main()
110 tst_resm(TFAIL, "Test F_GETLK: for errno EFAULT FAILED"); in main()
H A Dfcntl05.c20 * Basic test for fcntl(2) using F_GETLK argument.
39 /* F_GETLK will change flock.l_type to F_UNLCK, so need to reset */ in verify_fcntl()
42 TST_EXP_PASS(fcntl(fd, F_GETLK, &flocks), "fcntl(%d, F_GETLK, &flocks)", fd); in verify_fcntl()
H A Dfcntl13.c37 {-1, F_GETLK, &flock, "F_GETLK", EBADF}
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Dfcntl.h33 #define F_GETLK 12 macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
H A Dfcntl.h38 #define F_GETLK 12 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dfcntl.h33 #define F_GETLK 12 macro
/third_party/musl/porting/liteos_m/user/include/bits/
H A Dfcntl.h33 #define F_GETLK 12 macro
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dfcntl.h33 #define F_GETLK 12 macro
/third_party/musl/arch/aarch64/bits/
H A Dfcntl.h27 #define F_GETLK 5 macro
/third_party/musl/arch/m68k/bits/
H A Dfcntl.h33 #define F_GETLK 12 macro
/third_party/musl/arch/mipsn32/bits/
H A Dfcntl.h33 #define F_GETLK 33 macro
/third_party/musl/arch/arm/bits/
H A Dfcntl.h33 #define F_GETLK 12 macro
/third_party/musl/arch/mips/bits/
H A Dfcntl.h33 #define F_GETLK 33 macro
/third_party/musl/arch/mips64/bits/
H A Dfcntl.h33 #define F_GETLK 14 macro
/third_party/musl/arch/powerpc/bits/
H A Dfcntl.h33 #define F_GETLK 12 macro
/third_party/musl/arch/powerpc64/bits/
H A Dfcntl.h28 #define F_GETLK 5 macro
/third_party/musl/arch/s390x/bits/
H A Dfcntl.h28 #define F_GETLK 5 macro
/third_party/musl/arch/x32/bits/
H A Dfcntl.h33 #define F_GETLK 5 macro
/third_party/musl/porting/liteos_a/user/src/misc/
H A Dlockf.c17 if (fcntl(fd, F_GETLK, &l) < 0) in lockf()
/third_party/musl/src/misc/
H A Dlockf.c18 if (fcntl(fd, F_GETLK, &l) < 0) in lockf()
/third_party/ltp/testcases/network/nfs/nfslock01/
H A Dnfs_flock_func.c33 if (fcntl(fd, F_GETLK, &lock) < 0) { in lock_test()
34 perror("F_GETLK"); in lock_test()
/third_party/musl/libc-test/src/functional/
H A Dfcntl.c41 _exit(fcntl(fd, F_GETLK, &fl) || fl.l_pid != getppid()); in main()
/third_party/musl/src/fcntl/
H A Dfcntl.c43 case F_GETLK: in fcntl()
/third_party/musl/porting/liteos_a/user/src/fcntl/
H A Dfcntl.c40 case F_GETLK: in fcntl()

Completed in 6 milliseconds

12345