HomeSort by relevance Sort by last modified time
    Searched refs:lockfile (Results 1 - 25 of 48) sorted by null

1 2

  /external/ltp/testcases/kernel/fs/fs_bind/bin/
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
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
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
Makefile 29 INSTALL_TARGETS := check_prop lockfile makedir setup setupnslock
  /external/selinux/mcstrans/src/
mcstrans.init 23 lockfile=/var/lock/subsys/$prog
58 touch $lockfile
68 rm -f $lockfile
78 [ -e $lockfile ] && restart
  /build/soong/ui/build/
proc_sync_test.go 111 lockfile := lockOrFail(t)
112 defer removeTestLock(lockfile)
133 lockfile := lockOrFail(t)
134 defer removeTestLock(lockfile)
135 lockdir := filepath.Dir(lockfile.File.Name())
144 err = lockfile.tryLock()
149 reacquired, message, err := forkAndGetLock(filepath.Dir(lockfile.File.Name()))
157 err = lockfile.Unlock()
162 reacquired, message, err = forkAndGetLock(filepath.Dir(lockfile.File.Name()))
192 lockfile, err := newLock(lockpath
    [all...]
  /external/curl/tests/server/
util.c 279 FILE *lockfile; local
284 lockfile = fopen(filename, "wb");
285 } while((lockfile == NULL) && ((error = errno) == EINTR));
286 if(lockfile == NULL) {
293 res = fclose(lockfile);
  /external/autotest/server/cros/
tradefed_utils.py 15 from autotest_lib.server.cros import lockfile
24 filelock = lockfile.FileLock(filename)
27 # our needs. See /usr/lib64/python2.7/site-packages/lockfile/
36 except (lockfile.AlreadyLocked, lockfile.LockTimeout):
  /cts/apps/CtsVerifier/assets/scripts/power_monitors/
monsoon.py 65 lockfile = open(tmpname, "w")
66 try: # use a lockfile to ensure exclusive access
67 fcntl.lockf(lockfile, fcntl.LOCK_EX | fcntl.LOCK_NB)
72 return lockfile
200 lockfile = Power_Monitor.lock( dev )
215 lockfile.close()#will be re-locked once monsoon instance created
  /external/tensorflow/tensorflow/core/kernels/data/
cache_dataset_ops.cc 111 lockfile_(strings::StrCat(params.dataset->filename_, ".lockfile")),
167 // Attempt to read the contents of the lockfile.
176 "cache lockfile already exists ('",
179 "this cache prefix, delete the lockfile and re-initialize the "
180 "iterator. Lockfile contents: ",
184 std::unique_ptr<WritableFile> lockfile; local
186 dataset()->env_->NewWritableFile(lockfile_, &lockfile));
187 TF_RETURN_IF_ERROR(lockfile->Append(
  /external/autotest/tko/
parse.py 710 lockfile = open(os.path.join(path, ".parse.lock"), "w")
715 fcntl.flock(lockfile, flags)
719 lockfile.close()
728 fcntl.flock(lockfile, fcntl.LOCK_UN)
729 lockfile.close()
  /external/libunwind/aux/
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"; the
    [all...]
  /external/ltp/testcases/kernel/fs/doio/
growfiles.c 229 int lockfile = 0; /* if set, do file locking */ variable
595 lockfile++;
596 if (lockfile > 2)
597 lockfile = 2; /* lockfile can only be 1 or 2 */
1056 Progname, Pid, Maxerrs, pre_alloc_space, lockfile);
    [all...]
  /toolchain/binutils/binutils-2.27/
ltmain.sh     [all...]
  /external/autotest/client/common_lib/
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()
    [all...]
test.py 600 lockfile = open(os.path.join(self.job.tmpdir, '.testlock'), 'w')
602 fcntl.flock(lockfile, fcntl.LOCK_EX)
609 fcntl.flock(lockfile, fcntl.LOCK_UN)
610 lockfile.close()
    [all...]
  /external/cmockery/cmockery_0_1_2/
libtool     [all...]
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"; the
    [all...]
  /external/swiftshader/third_party/LLVM/autoconf/
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"; the
    [all...]
  /external/ImageMagick/config/
ltmain.sh     [all...]
  /external/curl/
ltmain.sh     [all...]
  /external/libcap-ng/libcap-ng-0.7/
ltmain.sh     [all...]
  /external/libedit/
ltmain.sh     [all...]
  /external/libevent/
ltmain.sh     [all...]
  /external/libexif/
ltmain.sh     [all...]

Completed in 271 milliseconds

1 2