Searched refs:flk (Results 1 – 4 of 4) sorted by relevance
/third_party/ntfs-3g/libntfs-3g/ |
D | unix_io.c | 119 struct flock flk; in ntfs_device_unix_io_open() local 170 memset(&flk, 0, sizeof(flk)); in ntfs_device_unix_io_open() 172 flk.l_type = F_RDLCK; in ntfs_device_unix_io_open() 174 flk.l_type = F_WRLCK; in ntfs_device_unix_io_open() 175 flk.l_whence = SEEK_SET; in ntfs_device_unix_io_open() 176 flk.l_start = flk.l_len = 0LL; in ntfs_device_unix_io_open() 177 if (fcntl(DEV_FD(dev), F_SETLK, &flk)) { in ntfs_device_unix_io_open() 205 struct flock flk; in ntfs_device_unix_io_close() local 218 memset(&flk, 0, sizeof(flk)); in ntfs_device_unix_io_close() 219 flk.l_type = F_UNLCK; in ntfs_device_unix_io_close() [all …]
|
/third_party/boost/libs/thread/test/ |
D | shared_mutex_locking_thread.hpp | 105 boost::unique_lock<boost::mutex> flk(finish_mutex); in operator ()() local 140 boost::unique_lock<boost::mutex> flk(finish_mutex); in operator ()() local
|
D | test_shared_mutex_part_2.cpp | 53 boost::unique_lock<boost::mutex> flk(finish_mutex); in operator ()() local
|
/third_party/ltp/testcases/kernel/fs/doio/ |
D | doio.c | 1961 struct flock flk; in lock_file_region() local 1963 flk.l_type = type; in lock_file_region() 1964 flk.l_whence = 0; in lock_file_region() 1965 flk.l_start = start; in lock_file_region() 1966 flk.l_len = nbytes; in lock_file_region() 1968 if (fcntl(fd, F_SETLKW, &flk) < 0) { in lock_file_region() 1971 fd, F_SETLKW, &flk, fname, type, in lock_file_region() 3503 struct flock flk; in do_fcntl() local 3515 flk.l_type = 0; in do_fcntl() 3516 flk.l_whence = SEEK_SET; in do_fcntl() [all …]
|