Home
last modified time | relevance | path

Searched refs:s_flock (Results 1 – 2 of 2) sorted by relevance

/external/compiler-rt/lib/profile/
DInstrProfilingUtil.c82 struct flock s_flock; in lprofOpenFileEx() local
84 s_flock.l_whence = SEEK_SET; in lprofOpenFileEx()
85 s_flock.l_start = 0; in lprofOpenFileEx()
86 s_flock.l_len = 0; /* Until EOF. */ in lprofOpenFileEx()
87 s_flock.l_pid = getpid(); in lprofOpenFileEx()
89 s_flock.l_type = F_WRLCK; in lprofOpenFileEx()
94 while (fcntl(fd, F_SETLKW, &s_flock) == -1) { in lprofOpenFileEx()
DCMakeLists.txt32 struct flock s_flock;
34 s_flock.l_type = F_WRLCK;
35 fcntl(fd, F_SETLKW, &s_flock);