Lines Matching refs:do_lock
68 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()
502 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 6) < 0) { in main()
546 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
552 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 8) < 0) { in main()
596 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 10) < 0) { in main()
602 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 13, 5) < 0) { in main()
650 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
659 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 13, 5) < 0) { in main()
703 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
712 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 14, 5) < 0) { in main()
757 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
766 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 15, 5) < 0) { in main()
810 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
816 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 16, 5) < 0) { in main()