Home
last modified time | relevance | path

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

/systemd-251/src/core/
Ddynamic-user.c365 static int lockfp(int fd, int *fd_lock) { in lockfp() argument
368 *fd_lock = fd; in lockfp()
372 static void unlockfp(int *fd_lock) { in unlockfp() argument
373 if (*fd_lock < 0) in unlockfp()
375 lockf(*fd_lock, F_ULOCK, 0); in unlockfp()
376 *fd_lock = -1; in unlockfp()
/systemd-251/src/udev/
Dudevd.c582 _cleanup_close_ int fd_lock = -1; in worker_process_device() local
599 r = worker_lock_whole_disk(dev, &fd_lock); in worker_process_device()