Lines Matching refs:lkfile
116 int lkfile(int fd, int operation, int lklevel);
1461 lkfile(fd, LOCK_EX, LKLVL1); /* lock if lockfile is LKLVL1 */ in main()
1478 lkfile(fd, LOCK_UN, LKLVL1); /* release lock */ in main()
1495 lkfile(fd, LOCK_UN, LKLVL1); /* release lock */ in main()
1506 lkfile(fd, LOCK_UN, LKLVL1); /* release lock */ in main()
1537 lkfile(fd, LOCK_UN, LKLVL1); /* release lock */ in main()
2039 lkfile(fd, LOCK_EX, LKLVL0); /* get exclusive lock */ in growfile()
2061 lkfile(fd, LOCK_UN, LKLVL0); in growfile()
2079 lkfile(fd, LOCK_EX, LKLVL0); /* get exclusive lock */ in growfile()
2093 lkfile(fd, LOCK_UN, LKLVL0); /* release lock */ in growfile()
2192 lkfile(fd, LOCK_EX, LKLVL0); /* get exclusive lock */ in growfile()
2258 lkfile(fd, LOCK_UN, LKLVL0); in growfile()
2383 lkfile(fd, LOCK_EX, LKLVL0); in shrinkfile()
2389 lkfile(fd, LOCK_UN, LKLVL0); in shrinkfile()
2396 lkfile(fd, LOCK_UN, LKLVL0); in shrinkfile()
2417 lkfile(fd, LOCK_UN, LKLVL0); in shrinkfile()
2440 lkfile(fd, LOCK_UN, LKLVL0); in shrinkfile()
2461 lkfile(fd, LOCK_UN, LKLVL0); in shrinkfile()
2524 lkfile(fd, LOCK_SH, LKLVL0); in check_write()
2527 lkfile(fd, LOCK_UN, LKLVL0); in check_write()
2541 lkfile(fd, LOCK_UN, LKLVL0); in check_write()
2611 lkfile(fd, LOCK_UN, LKLVL0); in check_write()
2615 lkfile(fd, LOCK_UN, LKLVL0); in check_write()
2732 lkfile(fd, LOCK_SH, LKLVL0); in check_file()
2735 lkfile(fd, LOCK_UN, LKLVL0); in check_file()
2745 lkfile(fd, LOCK_UN, LKLVL0); in check_file()
2762 lkfile(fd, LOCK_UN, LKLVL0); in check_file()
2768 lkfile(fd, LOCK_SH, LKLVL0); /* get lock on file before getting file size */ in check_file()
2787 lkfile(fd, LOCK_UN, LKLVL0); in check_file()
2839 lkfile(fd, LOCK_UN, LKLVL0); in check_file()
2845 lkfile(fd, LOCK_UN, LKLVL0); in check_file()
2875 lkfile(fd, LOCK_UN, LKLVL0); in check_file()
2945 int lkfile(int fd, int operation, int lklevel) in lkfile() function