Lines Matching defs:lle

359 static void	witness_lock_list_free(struct lock_list_entry *lle);
766 struct lock_list_entry *lock_list, *lle;
877 lle = lock_list->ll_next;
883 if (lle == NULL)
885 plock = &lle->ll_children[lle->ll_count - 1];
935 for (j = 0, lle = lock_list; lle != NULL; lle = lle->ll_next) {
936 for (i = lle->ll_count - 1; i >= 0; i--, j++) {
939 lock1 = &lle->ll_children[i];
1046 lock2 = &lle->ll_children[i];
1050 if (i == 0 && lle->ll_next != NULL) {
1051 lle = lle->ll_next;
1052 i = lle->ll_count - 1;
1100 struct lock_list_entry **lock_list, *lle;
1137 lle = *lock_list;
1138 if (lle == NULL || lle->ll_count == LOCK_NCHILDREN) {
1139 lle = witness_lock_list_get();
1140 if (lle == NULL)
1142 lle->ll_next = *lock_list;
1143 *lock_list = lle;
1145 instance = &lle->ll_children[lle->ll_count++];
1247 struct lock_list_entry **lock_list, *lle;
1271 lle = *lock_list;
1340 if (*lock_list == lle) {
1341 if (lle->ll_next == NULL)
1344 lle = *lock_list;
1345 *lock_list = lle->ll_next;
1346 witness_lock_list_free(lle);
1355 struct lock_list_entry *lle;
1358 lle = p->p_sleeplocks;
1359 if (lle == NULL || panicstr != NULL || db_active)
1361 if (lle->ll_count != 0) {
1362 for (n = 0; lle != NULL; lle = lle->ll_next)
1363 for (i = lle->ll_count - 1; i >= 0; i--) {
1369 witness_list_lock(&lle->ll_children[i],
1374 KASSERT(lle->ll_next == NULL);
1376 witness_lock_list_free(lle);
1390 struct lock_list_entry *lock_list, *lle;
1400 for (lle = p->p_sleeplocks; lle != NULL; lle = lle->ll_next)
1401 for (i = lle->ll_count - 1; i >= 0; i--) {
1402 lock1 = &lle->ll_children[i];
1724 struct lock_list_entry *lle;
1733 lle = wcpu->wc_lle_cache;
1734 wcpu->wc_lle_cache = lle->ll_next;
1736 memset(lle, 0, sizeof(*lle));
1737 return (lle);
1741 lle = w_lock_list_free;
1742 if (lle == NULL) {
1748 w_lock_list_free = lle->ll_next;
1750 memset(lle, 0, sizeof(*lle));
1751 return (lle);
1755 witness_lock_list_free(struct lock_list_entry *lle)
1762 lle->ll_next = wcpu->wc_lle_cache;
1763 wcpu->wc_lle_cache = lle;
1769 lle->ll_next = w_lock_list_free;
1770 w_lock_list_free = lle;
1821 struct lock_list_entry *lle;
1825 for (lle = list; lle != NULL; lle = lle->ll_next) {
1826 for (i = lle->ll_count - 1; i >= 0; i--) {
1827 instance = &lle->ll_children[i];
1962 struct lock_list_entry *lle;
1966 for (lle = *lock_list; lle != NULL; lle = lle->ll_next)
1967 for (i = lle->ll_count - 1; i >= 0; i--) {
1968 witness_list_lock(&lle->ll_children[i], prnt);