/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl06.c | 70 int do_lock(int, short, short, int, int); 101 if (do_lock(F_RSETLK, F_WRLCK, 0, 10, 5) == -1) 104 if (do_lock(F_RSETLK, F_UNLCK, 0, 5, 5) == -1) 138 int do_lock(int cmd, short type, short whence, int start, int len) function 151 if (do_lock(F_RSETLK, (short)F_UNLCK, (short)0, 0, 0) == -1) {
|
fcntl11.c | 69 int do_lock(int, short, short, int, int); 128 int do_lock(int cmd, short type, short whence, int start, int len) function 181 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) 283 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) 286 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 1, 5) < 0) 321 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) 324 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 5) < 0) 359 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) 362 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 6) < 0) 397 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0 [all...] |
fcntl19.c | 73 int do_lock(int, short, short, int, int); 142 int do_lock(int cmd, short type, short whence, int start, int len) function 205 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) { 326 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) { 332 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 5) < 0) { 369 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) { 375 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 6) < 0) { 413 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) { 419 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 8) < 0) { 457 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 10) < 0) [all...] |
fcntl20.c | 69 int do_lock(int, short, short, int, int); 141 int do_lock(int cmd, short type, short whence, int start, int len) function 204 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) { 325 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { 331 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 5) < 0) { 368 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { 374 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 6) < 0) { 411 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { 417 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 8) < 0) { 454 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 10) < 0) [all...] |
fcntl21.c | 68 int do_lock(int, short, short, int, int); 149 int do_lock(int cmd, short type, short whence, int start, int len) function 212 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) { 332 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 0, 0) < 0) { 363 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 0, 0) < 0) { 396 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { 402 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 1, 5) < 0) { 446 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { 452 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 5) < 0) { 496 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) [all...] |
/external/syslinux/dos/ |
syslinux.c | 411 static int do_lock(uint8_t level) function 446 err = do_lock(new_level); 465 err = do_lock(4);
|