Lines Matching refs:do_lock
69 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()
460 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) { in main()
503 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
509 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 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_UNLCK, (short)0, 14, 5) < 0) { in main()
590 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) { in main()
596 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 16, 0) < 0) { in main()