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)
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) {
460 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) {
503 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
509 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) {
546 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
552 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 14, 5) < 0) {
590 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
596 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 16, 0) < 0) {