Lines Matching refs:gray_list
33 * unreferenced objects at a time. The gray_list contains the objects which
36 * scan_mutex is held. At the end of a scan, the gray_list is always empty.
38 * added to the gray_list and therefore cannot be freed. This mutex also
132 * object->lock. Insertions or deletions from object_list, gray_list or
141 struct list_head gray_list;
187 static LIST_HEAD(gray_list);
586 INIT_LIST_HEAD(&object->gray_list);
1199 * gray_list.
1203 /* put_object() called when removing from gray_list */
1205 list_add_tail(&object->gray_list, &gray_list);
1380 object = list_entry(gray_list.next, typeof(*object), gray_list);
1381 while (&object->gray_list != &gray_list) {
1388 tmp = list_entry(object->gray_list.next, typeof(*object),
1389 gray_list);
1392 list_del(&object->gray_list);
1397 WARN_ON(!list_empty(&gray_list));
1433 list_add_tail(&object->gray_list, &gray_list);
1508 list_add_tail(&object->gray_list, &gray_list);