Lines Matching defs:lock
38 #include <sys/lock.h>
265 * to keep the protocol in lock-step with the Linux NTB driver.
343 static void ntb_list_add(struct mtx *lock, struct ntb_queue_entry *entry,
345 static struct ntb_queue_entry *ntb_list_rm(struct mtx *lock,
347 static struct ntb_queue_entry *ntb_list_mv(struct mtx *lock,
889 * payload will be transmitted. This assumes that a lock is being held to
1636 ntb_list_add(struct mtx *lock, struct ntb_queue_entry *entry,
1640 mtx_lock_spin(lock);
1642 mtx_unlock_spin(lock);
1646 ntb_list_rm(struct mtx *lock, struct ntb_queue_list *list)
1650 mtx_lock_spin(lock);
1658 mtx_unlock_spin(lock);
1664 ntb_list_mv(struct mtx *lock, struct ntb_queue_list *from,
1669 mtx_lock_spin(lock);
1679 mtx_unlock_spin(lock);