Searched refs:lock_file (Results 1 – 8 of 8) sorted by relevance
/external/ppp/pppd/ |
D | utils.c | 869 static char lock_file[MAXPATHLEN]; variable 883 strlcpy(lock_file, dev, sizeof(lock_file)); 890 error("Can't create lock file %s", lock_file); 909 slprintf(lock_file, sizeof(lock_file), "%s/LK.%03d.%03d.%03d", 928 slprintf(lock_file, sizeof(lock_file), "%s/LCK..%s", LOCK_DIR, dev); 931 while ((fd = open(lock_file, O_EXCL | O_CREAT | O_RDWR, 0644)) < 0) { 933 error("Can't create lock file %s: %m", lock_file); 938 fd = open(lock_file, O_RDONLY, 0); 942 error("Can't open existing lock file %s: %m", lock_file); 953 error("Can't read pid from lock file %s", lock_file); [all …]
|
D | sys-solaris.c | 2527 static char lock_file[40]; /* name of lock file created */ 2545 slprintf(lock_file, sizeof(lock_file), "%s%03d.%03d.%03d", 2549 while ((fd = open(lock_file, O_EXCL | O_CREAT | O_RDWR, 0644)) < 0) { 2551 && (fd = open(lock_file, O_RDONLY, 0)) >= 0) { 2555 error("Can't read pid from lock file %s", lock_file); 2562 if (unlink(lock_file) == 0) { 2576 error("Can't create lock file %s: %m", lock_file); 2577 lock_file[0] = 0; 2594 if (lock_file[0]) { 2595 unlink(lock_file); [all …]
|
/external/valgrind/memcheck/tests/ |
D | file_locking.c | 24 static int lock_file(const int fd) in lock_file() function 55 if (! lock_file(fd)) in open_lock_and_map()
|
/external/selinux/libsemanage/src/ |
D | semanage_store.c | 1760 const char *lock_name, const char *lock_file) in semanage_get_lock() argument 1766 if ((fd = open(lock_file, O_RDONLY)) == -1) { in semanage_get_lock() 1768 open(lock_file, O_RDWR | O_CREAT | O_TRUNC, in semanage_get_lock() 1771 lock_file); in semanage_get_lock() 1777 lock_file); in semanage_get_lock() 1797 lock_file); in semanage_get_lock() 1808 lock_name, lock_file); in semanage_get_lock() 1816 ERR(sh, "Could not get direct %s at %s.", lock_name, lock_file); in semanage_get_lock() 1831 const char *lock_file = semanage_files[SEMANAGE_TRANS_LOCK]; in semanage_get_trans_lock() local 1837 semanage_get_lock(sh, "transaction lock", lock_file); in semanage_get_trans_lock() [all …]
|
/external/fio/ |
D | file.h | 183 extern void lock_file(struct thread_data *, struct fio_file *, enum fio_ddir);
|
D | ioengines.c | 208 lock_file(td, io_u->file, io_u->ddir); in td_io_prep()
|
D | filesetup.c | 1376 void lock_file(struct thread_data *td, struct fio_file *f, enum fio_ddir ddir) in lock_file() function
|
/external/google-breakpad/src/tools/windows/dump_syms/testdata/ |
D | dump_syms_regtest64.sym | 1845 FUNC 4e3c 65 0 lock_file
|