Home
last modified time | relevance | path

Searched refs:do_lock (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl11.c69 int do_lock(int, short, short, int, int);
128 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() function
181 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) in unlock_file()
283 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
286 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 1, 5) < 0) in main()
321 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
324 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 5) < 0) in main()
359 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
362 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 6) < 0) in main()
397 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
[all …]
Dfcntl21.c68 int do_lock(int, short, short, int, int);
149 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() function
212 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) { in unlock_file()
332 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 0, 0) < 0) { in main()
363 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 0, 0) < 0) { in main()
396 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
402 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 1, 5) < 0) { in main()
446 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
452 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 5) < 0) { in main()
496 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
[all …]
Dfcntl20.c69 int do_lock(int, short, short, int, int);
141 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() function
204 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) { in unlock_file()
325 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
331 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 5) < 0) { in main()
368 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
374 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 6) < 0) { in main()
411 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
417 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 8) < 0) { in main()
454 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 10) < 0) { in main()
[all …]
Dfcntl19.c73 int do_lock(int, short, short, int, int);
142 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() function
205 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) { in unlock_file()
326 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) { in main()
332 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 5) < 0) { in main()
369 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) { in main()
375 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 6) < 0) { in main()
413 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) { in main()
419 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 8) < 0) { in main()
457 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 10) < 0) { in main()
[all …]
Dfcntl06.c70 int do_lock(int, short, short, int, int);
101 if (do_lock(F_RSETLK, F_WRLCK, 0, 10, 5) == -1) in main()
104 if (do_lock(F_RSETLK, F_UNLCK, 0, 5, 5) == -1) in main()
138 int do_lock(int cmd, short type, short whence, int start, int len) in do_lock() function
151 if (do_lock(F_RSETLK, (short)F_UNLCK, (short)0, 0, 0) == -1) { in unlock_file()
/external/tensorflow/tensorflow/core/kernels/
Dtraining_op_helpers.h141 OpKernelContext* ctx, bool do_lock, bool sparse, in MaybeLockVariableInputMutexesInOrder() argument
150 if (!do_lock && !any_resource) { in MaybeLockVariableInputMutexesInOrder()
181 if (!sparse || do_lock) { in MaybeLockVariableInputMutexesInOrder()
/external/libchrome/base/files/
Dfile_posix.cc75 File::Error CallFcntlFlock(PlatformFile file, bool do_lock) { in CallFcntlFlock() argument
77 lock.l_type = do_lock ? F_WRLCK : F_UNLCK; in CallFcntlFlock()
106 File::Error CallFcntlFlock(PlatformFile file, bool do_lock) { in CallFcntlFlock() argument