/external/ltp/testcases/kernel/fs/fs_bind/bin/ |
D | lockfile | 22 lockfile="/.nslock" 28 rm -f $lockfile 29 echo $$ >| ${lockfile}parent 32 otherpid="$(cat ${lockfile}child 2> /dev/null)" 42 rm -f $lockfile 43 echo $$ >| ${lockfile}child 46 otherpid="$(cat ${lockfile}parent 2> /dev/null)" 62 str=`cat $lockfile 2> /dev/null` 82 echo "$otherpid $ret" >| $lockfile
|
D | setupnslock | 3 lockfile="/.nslock" 9 rm -f $lockfile 10 echo $$ >| ${lockfile}parent 13 otherpid="$(cat ${lockfile}child 2> /dev/null)" 23 rm -f $lockfile 24 echo $$ >| ${lockfile}child 27 otherpid="$(cat ${lockfile}parent 2> /dev/null)" 43 str=`cat $lockfile 2> /dev/null` 62 echo "$otherpid $ret" >| $lockfile
|
D | setup | 40 lockfile="/.nslock" 44 rm -f $lockfile 45 echo $$ >| ${lockfile}parent 48 otherpid="$(cat ${lockfile}child 2> /dev/null)" 59 rm -f $lockfile 60 echo $$ >| ${lockfile}child 63 otherpid="$(cat ${lockfile}parent 2> /dev/null)" 75 pid=`cat $lockfile 2> /dev/null` 88 echo $otherpid > $lockfile
|
D | Makefile | 29 INSTALL_TARGETS := check_prop lockfile makedir setup setupnslock
|
/external/python/cpython2/Demo/pdist/ |
D | cvslock.py | 116 self.lockfile = None 149 if self.lockfile: 150 print "unlink", self.lockfile 152 os.unlink(self.lockfile) 155 self.lockfile = None 194 self.lockfile = self.cvsrfl 195 fp = open(self.lockfile, 'w') 215 self.lockfile = self.cvswfl 216 fp = open(self.lockfile, 'w')
|
/external/selinux/mcstrans/src/ |
D | mcstrans.init | 23 lockfile=/var/lock/subsys/$prog 58 touch $lockfile 68 rm -f $lockfile 78 [ -e $lockfile ] && restart
|
/external/rust/cxx/tools/bazel/ |
D | vendor.bzl | 7 lockfile = repository_ctx.path(repository_ctx.attr.lockfile) 8 workspace = lockfile.dirname.dirname 28 # Copy lockfile back to third-party/Cargo.lock to reflect any modification 57 "lockfile": attr.label( 58 doc = "A lockfile providing the set of crates to vendor",
|
/external/autotest/server/cros/tradefed/ |
D | tradefed_utils.py | 14 from autotest_lib.server.cros import lockfile 24 filelock = lockfile.FileLock(filename) 36 except (lockfile.AlreadyLocked, lockfile.LockTimeout):
|
/external/autotest/server/site_tests/power_DeferForFlashrom/ |
D | control | 12 This test verifies that flashrom creates a lockfile while performing 14 reboot requests while the lockfile exists.
|
/external/libcups/notifier/ |
D | dbus.c | 156 static int acquire_lock(int *fd, char *lockfile, size_t locksize); 608 char *lockfile, /* I - Lock filename buffer */ in acquire_lock() argument 622 snprintf(lockfile, locksize, "%s/cups-dbus-notifier-lockfile", tmpdir); in acquire_lock() 628 if ((*fd = open(lockfile, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR)) < 0) in acquire_lock()
|
/external/curl/tests/server/ |
D | util.c | 314 FILE *lockfile; in set_advisor_read_lock() local 319 lockfile = fopen(filename, "wb"); in set_advisor_read_lock() 320 } while((lockfile == NULL) && ((error = errno) == EINTR)); in set_advisor_read_lock() 321 if(lockfile == NULL) { in set_advisor_read_lock() 328 res = fclose(lockfile); in set_advisor_read_lock()
|
/external/ltp/testcases/kernel/fs/fs_bind/ |
D | TODO | 4 Factor out common bits of setup, setupnslock, and lockfile
|
/external/rust/cxx/ |
D | WORKSPACE | 25 lockfile = "//third-party:Cargo.lock",
|
/external/autotest/tko/ |
D | parse.py | 760 lockfile = open(os.path.join(path, ".parse.lock"), "w") 765 fcntl.flock(lockfile, flags) 769 lockfile.close() 779 fcntl.flock(lockfile, fcntl.LOCK_UN) 780 lockfile.close()
|
/external/openssh/ |
D | sshkey-xmss.c | 448 char *statefile = NULL, *ostatefile = NULL, *lockfile = NULL; in sshkey_xmss_get_state() local 470 if (asprintf(&lockfile, "%s.lock", filename) == -1 || in sshkey_xmss_get_state() 476 if ((lockfd = open(lockfile, O_CREAT|O_RDONLY, 0600)) == -1) { in sshkey_xmss_get_state() 478 PRINT("%s: cannot open/create: %s", __func__, lockfile); in sshkey_xmss_get_state() 484 PRINT("%s: cannot lock: %s", __func__, lockfile); in sshkey_xmss_get_state() 489 PRINT("%s: giving up on: %s", __func__, lockfile); in sshkey_xmss_get_state() 526 free(lockfile); in sshkey_xmss_get_state()
|
/external/autotest/client/common_lib/ |
D | packages.py | 408 lockfile = open(os.path.join(self.pkgmgr_dir, lockfile_name), 'w') 412 fcntl.flock(lockfile, fcntl.LOCK_EX) 443 fcntl.flock(lockfile, fcntl.LOCK_UN) 444 lockfile.close()
|
D | test.py | 640 lockfile = open(os.path.join(self.job.tmpdir, '.testlock'), 'w') 642 fcntl.flock(lockfile, fcntl.LOCK_EX) 649 fcntl.flock(lockfile, fcntl.LOCK_UN) 650 lockfile.close()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | growfiles.c | 231 int lockfile = 0; /* if set, do file locking */ variable 598 lockfile++; in main() 599 if (lockfile > 2) in main() 600 lockfile = 2; /* lockfile can only be 1 or 2 */ in main() 1059 Progname, Pid, Maxerrs, pre_alloc_space, lockfile); in main() 2285 if (Debug > 0 && lockfile) { in growfile() 2674 lockfile, (long)Woffset, Grow_incr, in check_write() 2949 if (lockfile == lklevel) { in lkfile()
|
/external/libcap-ng/libcap-ng-0.7/ |
D | ltmain.sh | 2139 lockfile="$output_obj.lock" 2143 lockfile= 2149 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 2150 func_echo "Waiting for $lockfile to be removed" 2154 if test -f "$lockfile"; then 2156 *** ERROR, $lockfile exists and contains: 2157 `cat $lockfile 2>/dev/null` 2170 $ECHO "$srcfile" > "$lockfile" 2174 func_append removelist " $lockfile" 2205 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|
/external/lmfit/build-aux/ |
D | ltmain.sh | 2139 lockfile="$output_obj.lock" 2143 lockfile= 2149 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 2150 func_echo "Waiting for $lockfile to be removed" 2154 if test -f "$lockfile"; then 2156 *** ERROR, $lockfile exists and contains: 2157 `cat $lockfile 2>/dev/null` 2170 $ECHO "$srcfile" > "$lockfile" 2174 func_append removelist " $lockfile" 2205 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|
/external/libnfnetlink/build-aux/ |
D | ltmain.sh | 2139 lockfile="$output_obj.lock" 2143 lockfile= 2149 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 2150 func_echo "Waiting for $lockfile to be removed" 2154 if test -f "$lockfile"; then 2156 *** ERROR, $lockfile exists and contains: 2157 `cat $lockfile 2>/dev/null` 2170 $ECHO "$srcfile" > "$lockfile" 2174 func_append removelist " $lockfile" 2205 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|
/external/llvm-project/polly/lib/External/ppcg/ |
D | ltmain.sh | 2139 lockfile="$output_obj.lock" 2143 lockfile= 2149 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 2150 func_echo "Waiting for $lockfile to be removed" 2154 if test -f "$lockfile"; then 2156 *** ERROR, $lockfile exists and contains: 2157 `cat $lockfile 2>/dev/null` 2170 $ECHO "$srcfile" > "$lockfile" 2174 func_append removelist " $lockfile" 2205 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|
/external/speex/ |
D | ltmain.sh | 2139 lockfile="$output_obj.lock" 2143 lockfile= 2149 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 2150 func_echo "Waiting for $lockfile to be removed" 2154 if test -f "$lockfile"; then 2156 *** ERROR, $lockfile exists and contains: 2157 `cat $lockfile 2>/dev/null` 2170 $ECHO "$srcfile" > "$lockfile" 2174 func_append removelist " $lockfile" 2205 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|
/external/libexif/ |
D | ltmain.sh | 2141 lockfile="$output_obj.lock" 2145 lockfile= 2151 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 2152 func_echo "Waiting for $lockfile to be removed" 2156 if test -f "$lockfile"; then 2158 *** ERROR, $lockfile exists and contains: 2159 `cat $lockfile 2>/dev/null` 2172 $ECHO "$srcfile" > "$lockfile" 2176 func_append removelist " $lockfile" 2207 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|
/external/libnetfilter_conntrack/build-aux/ |
D | ltmain.sh | 2139 lockfile="$output_obj.lock" 2143 lockfile= 2149 until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do 2150 func_echo "Waiting for $lockfile to be removed" 2154 if test -f "$lockfile"; then 2156 *** ERROR, $lockfile exists and contains: 2157 `cat $lockfile 2>/dev/null` 2170 $ECHO "$srcfile" > "$lockfile" 2174 func_append removelist " $lockfile" 2205 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|