/external/toolchain-utils/ |
image_chromeos.py | 31 lock_file = '/tmp/image_chromeos_lock/image_chromeos_lock' variable
|
/external/libdaemon/libdaemon/ |
dpid.c | 74 static int lock_file(int fd, int enable) { function 122 if ((locked = lock_file(fd, 1)) < 0) 162 lock_file(fd, 0); 235 if ((locked = lock_file(fd, 1)) < 0) { 261 lock_file(fd, 0);
|
/external/toolchain-utils/binary_search_tool/ |
bisect_driver.py | 41 def lock_file(path, mode): function 86 with lock_file(path, 'a') as log: 203 with lock_file(list_filename, 'r') as list_file: 255 with lock_file(os.path.join(population_dir, '_DUPS'), 324 with lock_file(os.path.join(population_dir, '_LIST'), 'a') as object_list:
|
/external/ltp/testcases/kernel/sched/sched_stress/ |
sched_tc6.c | 99 int lock_file(int, short, char *); 181 if (!lock_file(fd, F_WRLCK, filename)) /* set exclusive lock */ 182 error("lock_file failed", __FILE__, __LINE__); 351 | lock_file () | 357 int lock_file(int fd, short lock_type, char *file) function
|
/external/ppp/pppd/ |
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); [all...] |
/external/selinux/libsemanage/src/ |
semanage_store.c | 1916 const char *lock_file = semanage_files[SEMANAGE_TRANS_LOCK]; local 1939 const char *lock_file = semanage_files[SEMANAGE_READ_LOCK]; local [all...] |