Searched refs:F_LOCK (Results 1 – 3 of 3) sorted by relevance
/bionic/libc/include/bits/ |
D | lockf.h | 36 #define F_LOCK 1 macro
|
/bionic/libc/bionic/ |
D | lockf.cpp | 49 if (cmd == F_LOCK) { in lockf64()
|
/bionic/tests/ |
D | unistd_test.cpp | 1049 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, file_size)); in TEST() 1072 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, 0)); in TEST() 1094 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, -file_size)); in TEST() 1109 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, file_size)); in TEST() 1136 ASSERT_EQ(0, lockf64(tf.fd, F_LOCK, file_size/2)); in TEST()
|