Lines Matching refs:gray_list
36 * unreferenced objects at a time. The gray_list contains the objects which
39 * scan_mutex is held. At the end of a scan, the gray_list is always empty.
41 * added to the gray_list and therefore cannot be freed. This mutex also
138 * object->lock. Insertions or deletions from object_list, gray_list or
147 struct list_head gray_list;
200 static LIST_HEAD(gray_list);
648 INIT_LIST_HEAD(&object->gray_list);
1280 * gray_list.
1284 /* put_object() called when removing from gray_list */
1286 list_add_tail(&object->gray_list, &gray_list);
1467 object = list_entry(gray_list.next, typeof(*object), gray_list);
1468 while (&object->gray_list != &gray_list) {
1475 tmp = list_entry(object->gray_list.next, typeof(*object),
1476 gray_list);
1479 list_del(&object->gray_list);
1484 WARN_ON(!list_empty(&gray_list));
1559 list_add_tail(&object->gray_list, &gray_list);
1648 list_add_tail(&object->gray_list, &gray_list);