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)
205 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) {
326 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
332 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 5) < 0) {
369 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
375 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 6) < 0) {
413 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
419 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 5, 8) < 0) {
457 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 10) < 0) {
463 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) {
507 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
513 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 13, 5) < 0) {
551 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
557 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 14, 5) < 0) {
596 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 10, 5) < 0) {
602 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 16, 0) < 0) {