Lines Matching refs:do_lock
69 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()
400 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 5, 8) < 0) in main()
435 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 10) < 0) in main()
438 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 13, 5) < 0) in main()
477 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
483 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 13, 5) < 0) in main()
518 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
524 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 14, 5) < 0) in main()
560 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
566 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 15, 5) < 0) in main()
601 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) in main()
604 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 16, 5) < 0) in main()