Lines Matching refs:flock
1200 Locking is based on flock, which is available in libc and also as a shell
1205 A) Take flock(LOCK_EX) on /sys/fs/resctrl
1211 A) Take flock(LOCK_SH) on /sys/fs/resctrl
1218 $ flock -s /sys/fs/resctrl/ find /sys/fs/resctrl
1228 $ flock /sys/fs/resctrl/ ./create-dir.sh
1244 ret = flock(fd, LOCK_SH);
1246 perror("flock");
1256 ret = flock(fd, LOCK_EX);
1258 perror("flock");
1268 ret = flock(fd, LOCK_UN);
1270 perror("flock");