Home
last modified time | relevance | path

Searched refs:LOCK_UN (Results 1 – 25 of 66) sorted by relevance

123

/external/strace/xlat/
Dflockcmds.h27 #if defined(LOCK_UN) || (defined(HAVE_DECL_LOCK_UN) && HAVE_DECL_LOCK_UN)
29 static_assert((LOCK_UN) == (8), "LOCK_UN != 8");
32 # define LOCK_UN 8
76 XLAT(LOCK_UN),
Dflockcmds.in4 LOCK_UN 8
/external/python/cpython3/Lib/test/
Dtest_fcntl.py68 fcntl.lockf(f, fcntl.LOCK_UN)
149 fcntl.flock(fileno, fcntl.LOCK_UN)
151 fcntl.flock(self.f, fcntl.LOCK_UN)
153 fcntl.flock(fileno, fcntl.LOCK_UN)
166 fcntl.lockf(self.f, fcntl.LOCK_UN)
177 fcntl.lockf(self.f, fcntl.LOCK_UN)
/external/ltp/testcases/kernel/fs/doio/
Dgrowfiles.c1478 lkfile(fd, LOCK_UN, LKLVL1); /* release lock */ in main()
1495 lkfile(fd, LOCK_UN, LKLVL1); /* release lock */ in main()
1506 lkfile(fd, LOCK_UN, LKLVL1); /* release lock */ in main()
1537 lkfile(fd, LOCK_UN, LKLVL1); /* release lock */ in main()
2061 lkfile(fd, LOCK_UN, LKLVL0); in growfile()
2093 lkfile(fd, LOCK_UN, LKLVL0); /* release lock */ in growfile()
2258 lkfile(fd, LOCK_UN, LKLVL0); in growfile()
2389 lkfile(fd, LOCK_UN, LKLVL0); in shrinkfile()
2396 lkfile(fd, LOCK_UN, LKLVL0); in shrinkfile()
2417 lkfile(fd, LOCK_UN, LKLVL0); in shrinkfile()
[all …]
Dfile_lock.c77 if (flags & LOCK_UN) in file_lock()
149 if (flags & LOCK_UN) in record_lock()
/external/cronet/components/metrics/serialization/
Dserialization_utils.cc185 result = flock(fd.get(), LOCK_UN); in ReadAndTruncateMetricsFromFile()
221 std::ignore = flock(file_descriptor.get(), LOCK_UN); in WriteMetricToFile()
232 std::ignore = flock(file_descriptor.get(), LOCK_UN); in WriteMetricToFile()
238 std::ignore = flock(file_descriptor.get(), LOCK_UN); in WriteMetricToFile()
/external/python/cpython2/Modules/
Dfcntlmodule.c271 #define LOCK_UN 8 /* unlock */ in fcntl_flock()
275 if (code == LOCK_UN) in fcntl_flock()
329 #define LOCK_UN 8 /* unlock */ in fcntl_lockf() macro
333 if (code == LOCK_UN) in fcntl_lockf()
444 if (ins(d, "LOCK_UN", (long)LOCK_UN)) return -1; in all_ins()
/external/python/cpython3/Modules/
Dfcntlmodule.c304 #define LOCK_UN 8 /* unlock */ in fcntl_flock_impl() macro
308 if (code == LOCK_UN) in fcntl_flock_impl()
385 #define LOCK_UN 8 /* unlock */ in fcntl_lockf_impl() macro
389 if (code == LOCK_UN) in fcntl_lockf_impl()
462 if (PyModule_AddIntMacro(m, LOCK_UN)) return -1; in all_ins()
/external/ltp/testcases/kernel/fs/doio/include/
Dfile_lock.h42 #define LOCK_UN 0x0002 macro
/external/musl/include/sys/
Dfile.h10 #define LOCK_UN 8 macro
/external/toybox/toys/other/
Dflock.c30 if (toys.optflags & FLAG_u) op = LOCK_UN; in flock_main()
/external/compiler-rt/lib/profile/
DWindowsMMap.h46 #define LOCK_UN 8 /* unlock */ macro
/external/ltp/testcases/kernel/syscalls/flock/
Dflock01.c21 {LOCK_UN, "Unlock"},
Dflock06.c40 TEST(flock(fd1, LOCK_UN)); in verify_flock()
Dflock03.c33 TEST(flock(fd, LOCK_UN)); in childfunc()
/external/autotest/client/bin/
Dautotestd53 fcntl.flock(exit_file, fcntl.LOCK_UN)
Dautotestd_monitor66 fcntl.flock(exit_code_file, fcntl.LOCK_UN)
/external/python/oauth2client/oauth2client/contrib/
D_fcntl_opener.py78 fcntl.lockf(self._fh.fileno(), fcntl.LOCK_UN)
/external/linux-kselftest/tools/testing/selftests/powerpc/nx-gzip/include/
Dnx_dbg.h42 flock(nx_gzip_log->_fileno, LOCK_UN); \
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h182 #define LOCK_UN 8 /* remove lock */ macro
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dlock.py121 fcntl.flock(target_file.fileno(), fcntl.LOCK_UN)
/external/tensorflow/tensorflow/tools/test/
Dupload_test_benchmarks.py125 fcntl.flock(fd, fcntl.LOCK_UN)
/external/chromium-trace/catapult/devil/devil/android/
Dports.py74 fcntl.flock(fp_lock, fcntl.LOCK_UN)
/external/toolchain-utils/
Dfile_lock_machine.py204 fcntl.lockf(fp, fcntl.LOCK_UN)
294 fcntl.lockf(f, fcntl.LOCK_UN)
/external/python/cpython2/Lib/plat-irix5/
DFILE.py235 LOCK_UN = 8 variable

123