Searched refs:f_lock (Results 1 – 3 of 3) sorted by relevance
22 char *f_lock; member56 tc->f_lock); in verify_flock()61 tst_res(TPASS, "Parent had %s", tc->f_lock); in verify_flock()
1294 struct flock f_lock; in pa_lock_fd() local1298 f_lock.l_type = (short) (b ? F_WRLCK : F_UNLCK); in pa_lock_fd()1299 f_lock.l_whence = SEEK_SET; in pa_lock_fd()1300 f_lock.l_start = 0; in pa_lock_fd()1301 f_lock.l_len = 0; in pa_lock_fd()1303 if (fcntl(fd, F_SETLKW, &f_lock) >= 0) in pa_lock_fd()1308 f_lock.l_type = F_RDLCK; in pa_lock_fd()1309 if (fcntl(fd, F_SETLKW, &f_lock) >= 0) in pa_lock_fd()
2741 file_lock f_lock("my_file");2745 //This will call "f_lock.sharable_lock()".2746 sharable_lock<file_lock> sh_lock(f_lock);2765 file_lock f_lock("my_file");2769 //This will call "f_lock.lock()".2770 scoped_lock<file_lock> e_lock(f_lock);2788 file_lock f_lock("my_file");2790 scoped_lock<file_lock> e_lock(f_lock);2792 //Compilation error, f_lock has no "unlock_and_lock_sharable()" member!2793 sharable_lock<file_lock> e_lock(move(f_lock));[all …]