/external/ltp/testcases/kernel/fs/fs_bind/bin/ |
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 | 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 | 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/autotest/server/cros/ |
D | tradefed_utils.py | 15 from autotest_lib.server.cros import lockfile 24 filelock = lockfile.FileLock(filename) 36 except (lockfile.AlreadyLocked, lockfile.LockTimeout):
|
/external/curl/tests/server/ |
D | util.c | 279 FILE *lockfile; in set_advisor_read_lock() local 284 lockfile = fopen(filename, "wb"); in set_advisor_read_lock() 285 } while((lockfile == NULL) && ((error = errno) == EINTR)); in set_advisor_read_lock() 286 if(lockfile == NULL) { in set_advisor_read_lock() 293 res = fclose(lockfile); in set_advisor_read_lock()
|
/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/libunwind/aux/ |
D | ltmain.sh | 490 lockfile="$output_obj.lock" 491 removelist="$removelist $output_obj $lockfile" 495 lockfile= 501 until $run ln "$0" "$lockfile" 2>/dev/null; do 502 $show "Waiting for $lockfile to be removed" 506 if test -f "$lockfile"; then 508 *** ERROR, $lockfile exists and contains: 509 `cat $lockfile 2>/dev/null` 521 echo $srcfile > "$lockfile" 579 test x"`cat $lockfile 2>/dev/null`" != x"$srcfile"; then [all …]
|
/external/autotest/tko/ |
D | parse.py | 743 lockfile = open(os.path.join(path, ".parse.lock"), "w") 748 fcntl.flock(lockfile, flags) 752 lockfile.close() 762 fcntl.flock(lockfile, fcntl.LOCK_UN) 763 lockfile.close()
|
/external/ltp/testcases/kernel/fs/fs_bind/ |
D | TODO | 4 Factor out common bits of setup, setupnslock, and lockfile
|
/external/autotest/client/common_lib/ |
D | packages.py | 402 lockfile = open(os.path.join(self.pkgmgr_dir, lockfile_name), 'w') 406 fcntl.flock(lockfile, fcntl.LOCK_EX) 437 fcntl.flock(lockfile, fcntl.LOCK_UN) 438 lockfile.close()
|
D | test.py | 569 lockfile = open(os.path.join(self.job.tmpdir, '.testlock'), 'w') 571 fcntl.flock(lockfile, fcntl.LOCK_EX) 578 fcntl.flock(lockfile, fcntl.LOCK_UN) 579 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/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/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 …]
|
/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/libxkbcommon/xkbcommon/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/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/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/cmockery/cmockery_0_1_2/ |
D | ltmain.sh | 842 lockfile="$output_obj.lock" 843 removelist="$removelist $output_obj $lockfile" 848 lockfile= 854 until $run ln "$progpath" "$lockfile" 2>/dev/null; do 855 $show "Waiting for $lockfile to be removed" 859 if test -f "$lockfile"; then 861 *** ERROR, $lockfile exists and contains: 862 `cat $lockfile 2>/dev/null` 874 $echo "$srcfile" > "$lockfile" 936 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|
D | libtool | 1194 lockfile="$output_obj.lock" 1195 removelist="$removelist $output_obj $lockfile" 1200 lockfile= 1206 until $run ln "$progpath" "$lockfile" 2>/dev/null; do 1207 $show "Waiting for $lockfile to be removed" 1211 if test -f "$lockfile"; then 1213 *** ERROR, $lockfile exists and contains: 1214 `cat $lockfile 2>/dev/null` 1226 $echo "$srcfile" > "$lockfile" 1288 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|
/external/swiftshader/third_party/LLVM/autoconf/ |
D | ltmain.sh | 842 lockfile="$output_obj.lock" 843 removelist="$removelist $output_obj $lockfile" 848 lockfile= 854 until $run ln "$progpath" "$lockfile" 2>/dev/null; do 855 $show "Waiting for $lockfile to be removed" 859 if test -f "$lockfile"; then 861 *** ERROR, $lockfile exists and contains: 862 `cat $lockfile 2>/dev/null` 874 $echo "$srcfile" > "$lockfile" 936 test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then [all …]
|