Searched refs:flock (Results 1 - 4 of 4) sorted by relevance
/systemd/src/basic/ |
H A D | lockfile-util.c | 55 struct flock fl = { 70 r = flock(fd, operation); 132 static const struct flock fl = { 139 r = flock(f->fd, LOCK_EX|LOCK_NB);
|
H A D | user-util.c | 444 struct flock flock = { local 473 r = fcntl(fd, F_SETLKW, &flock);
|
/systemd/src/fsck/ |
H A D | fsck.c | 219 if (flock(fileno(console), LOCK_EX|LOCK_NB) < 0) 426 * The previous versions use flock for the device and conflict with
|
/systemd/src/udev/ |
H A D | udevd.c | 444 if (fd_lock >= 0 && flock(fd_lock, LOCK_SH|LOCK_NB) < 0) { 445 log_debug_errno(errno, "Unable to flock(%s), skipping event handling: %m", udev_device_get_devnode(d)); 1041 r = flock(fd, LOCK_EX|LOCK_NB);
|
Completed in 28 milliseconds