Lines Matching refs:do_lock
73 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()
463 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) { in main()
507 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) { in main()
513 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) { in main()
551 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) { in main()
557 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 14, 5) < 0) { in main()
596 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) { in main()
602 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 16, 0) < 0) { in main()