Lines Matching defs:line

72 #define	_rm_assert(c, what, file, line)
591 _rm_wlock_debug(struct rmlock *rm, const char *file, int line)
599 curthread, rm->lock_object.lo_name, file, line));
601 ("rm_wlock() of destroyed rmlock @ %s:%d", file, line));
602 _rm_assert(rm, RA_UNLOCKED, file, line);
605 file, line, NULL);
609 LOCK_LOG_LOCK("RMWLOCK", &rm->lock_object, 0, 0, file, line);
610 WITNESS_LOCK(&rm->lock_object, LOP_EXCLUSIVE, file, line);
615 _rm_wunlock_debug(struct rmlock *rm, const char *file, int line)
622 ("rm_wunlock() of destroyed rmlock @ %s:%d", file, line));
623 _rm_assert(rm, RA_WLOCKED, file, line);
624 WITNESS_UNLOCK(&rm->lock_object, LOP_EXCLUSIVE, file, line);
625 LOCK_LOG_LOCK("RMWUNLOCK", &rm->lock_object, 0, 0, file, line);
632 int trylock, const char *file, int line)
644 rm->lock_object.lo_name, file, line));
650 curthread, rm->lock_object.lo_name, file, line));
652 ("rm_rlock() of destroyed rmlock @ %s:%d", file, line));
656 rm->lock_object.lo_name, file, line));
657 WITNESS_CHECKORDER(&rm->lock_object, LOP_NEWORDER, file, line,
664 line);
667 line);
668 WITNESS_LOCK(&rm->lock_object, 0, file, line);
672 LOCK_LOG_TRY("RMRLOCK", &rm->lock_object, 0, 0, file, line);
679 const char *file, int line)
686 ("rm_runlock() of destroyed rmlock @ %s:%d", file, line));
687 _rm_assert(rm, RA_RLOCKED, file, line);
688 WITNESS_UNLOCK(&rm->lock_object, 0, file, line);
689 LOCK_LOG_LOCK("RMRUNLOCK", &rm->lock_object, 0, 0, file, line);
697 * Just strip out file and line arguments if no lock debugging is enabled in
701 _rm_wlock_debug(struct rmlock *rm, const char *file, int line)
708 _rm_wunlock_debug(struct rmlock *rm, const char *file, int line)
716 int trylock, const char *file, int line)
724 const char *file, int line)
743 _rm_assert(const struct rmlock *rm, int what, const char *file, int line)
763 rm->lock_object.lo_name, file, line);
766 rm->lock_object.lo_name, file, line);
777 "read " : "", file, line);
781 rm->lock_object.lo_name, file, line);
784 rm->lock_object.lo_name, file, line);
789 rm->lock_object.lo_name, file, line);
794 rm->lock_object.lo_name, file, line);
802 rm->lock_object.lo_name, file, line);
806 line);