Searched refs:lockfd (Results 1 – 3 of 3) sorted by relevance
/openbmc/u-boot/tools/env/ |
H A D | fw_env_main.c | 209 int lockfd = -1; in main() local 252 lockfd = open(lockname, O_WRONLY | O_CREAT | O_TRUNC, 0666); in main() 253 if (-1 == lockfd) { in main() 258 if (-1 == flock(lockfd, LOCK_EX)) { in main() 260 close(lockfd); in main() 280 flock(lockfd, LOCK_UN); in main() 281 close(lockfd); in main()
|
/openbmc/openbmc/poky/bitbake/bin/ |
H A D | bitbake-server | 26 lockfd = int(sys.argv[2]) variable 54 bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface, p…
|
/openbmc/openbmc/poky/bitbake/lib/bb/server/ |
H A D | process.py | 647 def execServer(lockfd, readypipeinfd, lockname, sockname, server_timeout, xmlrpcinterface, profile): argument 655 bitbake_lock = os.fdopen(lockfd, "w")
|