Lines Matching refs:do_lock
68 int do_lock(int, short, short, int, int);
149 int do_lock(int cmd, short type, short whence, int start, int len)
212 if (do_lock(F_SETLK, (short)F_UNLCK, (short)0, 0, 0) < 0) {
332 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 0, 0) < 0) {
363 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 0, 0) < 0) {
396 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
402 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 1, 5) < 0) {
446 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
452 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 5) < 0) {
496 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
502 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 6) < 0) {
546 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
552 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 5, 8) < 0) {
596 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 10) < 0) {
602 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 13, 5) < 0) {
650 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
659 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 13, 5) < 0) {
703 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
712 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 14, 5) < 0) {
757 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
766 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 15, 5) < 0) {
810 if (do_lock(F_SETLK, (short)F_RDLCK, (short)0, 10, 5) < 0) {
816 if (do_lock(F_SETLK, (short)F_WRLCK, (short)0, 16, 5) < 0) {