* Insert a PI mutex into hash table. */
| 1778 | * Insert a PI mutex into hash table. |
| 1779 | */ |
| 1780 | static inline void |
| 1781 | umtx_pi_insert(struct umtx_pi *pi) |
| 1782 | { |
| 1783 | struct umtxq_chain *uc; |
| 1784 | |
| 1785 | uc = umtxq_getchain(&pi->pi_key); |
| 1786 | UMTXQ_LOCKED_ASSERT(uc); |
| 1787 | TAILQ_INSERT_TAIL(&uc->uc_pi_list, pi, pi_hashlink); |
| 1788 | } |
| 1789 | |
| 1790 | /* |
| 1791 | * Lock a PI mutex. |
no test coverage detected