Searched refs:flock (Results 1 – 25 of 38) sorted by relevance
12
/systemd-251/src/shared/ |
D | lockfile-util.c | 39 struct flock fl = { in make_lock_file() 54 r = flock(fd, operation); in make_lock_file() 116 static const struct flock fl = { in release_lock_file() 123 r = flock(f->fd, LOCK_EX|LOCK_NB); in release_lock_file()
|
D | loop-util.c | 179 if (flock(lock_fd, LOCK_EX) < 0) in loop_configure() 370 if (flock(loop, LOCK_EX) < 0) in attach_empty_file() 526 if (flock(control, LOCK_EX) < 0) in loop_device_make_internal() 559 if (flock(control, LOCK_UN) < 0) in loop_device_make_internal() 950 return RET_NERRNO(flock(d->fd, operation)); in loop_device_flock()
|
D | blockdev-util.c | 237 if (flock(lock_fd, operation) < 0) in lock_whole_block_device()
|
/systemd-251/docs/ |
D | BLOCK_DEVICE_LOCKING.md | 11 [(`flock(2)`)](http://man7.org/linux/man-pages/man2/flock.2.html) on block 25 lock using [`flock(2)`](http://man7.org/linux/man-pages/man2/flock.2.html) on 27 device the partition belongs to). If this lock cannot be taken (i.e. `flock()` 63 themselves. However, do note that `flock()` locks are advisory only. This means 71 `flock(2)` man page. 73 And please keep in mind: BSD file locks (`flock()`) and POSIX file locks
|
D | TEMPORARY_DIRECTORIES.md | 115 take a BSD file lock ([`flock(dir_fd, 116 LOCK_SH)`](http://man7.org/linux/man-pages/man2/flock.2.html)) on that 129 [`flock`](http://man7.org/linux/man-pages/man1/flock.1.html) tool of the
|
/systemd-251/src/udev/ |
D | udevadm-lock.c | 228 if (flock(fd, LOCK_EX|LOCK_NB) < 0) { in lock_device() 240 if (flock(fd, LOCK_EX) < 0) in lock_device() 265 if (flock(fd, LOCK_EX) < 0) { in lock_device()
|
/systemd-251/src/basic/ |
D | user-util.c | 688 struct flock flock = { in take_etc_passwd_lock() local 717 r = fcntl(fd, F_SETLKW, &flock); in take_etc_passwd_lock()
|
D | syscall-list.txt | 90 flock
|
D | syscalls-alpha.txt | 90 flock 131
|
D | syscalls-arc.txt | 90 flock 32
|
D | syscalls-arm.txt | 90 flock 143
|
D | syscalls-arm64.txt | 90 flock 32
|
D | syscalls-i386.txt | 90 flock 143
|
D | syscalls-ia64.txt | 90 flock 1145
|
D | syscalls-loongarch64.txt | 90 flock 32
|
D | syscalls-m68k.txt | 90 flock 143
|
D | syscalls-mips64.txt | 90 flock 5071
|
D | syscalls-mips64n32.txt | 90 flock 6071
|
D | syscalls-mipso32.txt | 90 flock 4143
|
D | syscalls-powerpc.txt | 90 flock 143
|
D | syscalls-powerpc64.txt | 90 flock 143
|
D | syscalls-riscv32.txt | 90 flock 32
|
D | syscalls-riscv64.txt | 90 flock 32
|
/systemd-251/src/fsck/ |
D | fsck.c | 195 if (flock(fileno(console), LOCK_EX|LOCK_NB) < 0) in process_progress()
|
/systemd-251/src/sysupdate/ |
D | sysupdate-partition.c | 295 if (flock(fd, LOCK_EX) < 0) in patch_partition()
|
12