Lines Matching refs:lock_object

64 	void		(*lc_assert)(const struct lock_object *lock, int what);
65 void (*lc_ddb_show)(const struct lock_object *lock);
66 void (*lc_lock)(struct lock_object *lock, uintptr_t how);
67 int (*lc_owner)(const struct lock_object *lock,
69 uintptr_t (*lc_unlock)(struct lock_object *lock);
218 void lock_init(struct lock_object *, struct lock_class *,
220 void lock_destroy(struct lock_object *);
225 void witness_init(struct lock_object *, const char *);
226 void witness_destroy(struct lock_object *);
227 int witness_defineorder(struct lock_object *, struct lock_object *);
228 void witness_checkorder(struct lock_object *, int, const char *, int,
229 struct lock_object *);
230 void witness_lock(struct lock_object *, int, const char *, int);
231 void witness_upgrade(struct lock_object *, int, const char *, int);
232 void witness_downgrade(struct lock_object *, int, const char *, int);
233 void witness_unlock(struct lock_object *, int, const char *, int);
234 void witness_save(struct lock_object *, const char **, int *);
235 void witness_restore(struct lock_object *, const char *, int);
238 int witness_warn(int, struct lock_object *, const char *, ...);
239 void witness_assert(const struct lock_object *, int, const char *, int);
240 void witness_display_spinlock(struct lock_object *, struct thread *,
242 int witness_line(struct lock_object *);
243 void witness_norelease(struct lock_object *);
244 void witness_releaseok(struct lock_object *);
245 const char *witness_file(struct lock_object *);
267 witness_defineorder((struct lock_object *)(lock1), \
268 (struct lock_object *)(lock2))
299 witness_norelease(&(lock)->lock_object)
302 witness_releaseok(&(lock)->lock_object)