Lines Matching refs:LKLVL0
333 #define LKLVL0 1 /* file lock around write/read/trunc */ macro
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()