Searched refs:lock_file (Results 1 – 6 of 6) sorted by relevance
/third_party/lwip/src/netif/ppp/ |
D | utils.c | 772 static char lock_file[MAXPATHLEN]; 786 ppp_strlcpy(lock_file, dev, sizeof(lock_file)); 793 ppp_error("Can't create lock file %s", lock_file); 812 ppp_slprintf(lock_file, sizeof(lock_file), "%s/LK.%03d.%03d.%03d", 831 ppp_slprintf(lock_file, sizeof(lock_file), "%s/LCK..%s", LOCK_DIR, dev); 834 while ((fd = open(lock_file, O_EXCL | O_CREAT | O_RDWR, 0644)) < 0) { 836 ppp_error("Can't create lock file %s: %m", lock_file); 841 fd = open(lock_file, O_RDONLY, 0); 845 ppp_error("Can't open existing lock file %s: %m", lock_file); 856 ppp_error("Can't read pid from lock file %s", lock_file); [all …]
|
/third_party/ltp/testcases/kernel/syscalls/mincore/ |
D | mincore04.c | 56 static void lock_file(void) in lock_file() function 91 lock_file(); in test_mincore()
|
/third_party/ltp/testcases/kernel/sched/sched_stress/ |
D | sched_tc6.c | 99 int lock_file(int, short, char *); 181 if (!lock_file(fd, F_WRLCK, filename)) /* set exclusive lock */ in main() 357 int lock_file(int fd, short lock_type, char *file) in lock_file() function
|
/third_party/libusb/ |
D | install.sh | 30 } 100<>$2/lock_file.lock
|
/third_party/ltp/pan/ |
D | zoolib.h | 49 int lock_file( FILE *fp, short ltype, char **errmsg );
|
/third_party/grpc/ |
D | install.sh | 25 } 100<>$1/lock_file.lock
|