Lines Matching refs:gray_list
46 * unreferenced objects at a time. The gray_list contains the objects which
49 * scan_mutex is held. At the end of a scan, the gray_list is always empty.
51 * added to the gray_list and therefore cannot be freed. This mutex also
131 * object->lock. Insertions or deletions from object_list, gray_list or
140 struct list_head gray_list;
181 static LIST_HEAD(gray_list);
521 INIT_LIST_HEAD(&object->gray_list);
1080 * added to the gray_list.
1084 list_add_tail(&object->gray_list, &gray_list);
1150 object = list_entry(gray_list.next, typeof(*object), gray_list);
1151 while (&object->gray_list != &gray_list) {
1158 tmp = list_entry(object->gray_list.next, typeof(*object),
1159 gray_list);
1162 list_del(&object->gray_list);
1167 WARN_ON(!list_empty(&gray_list));
1202 list_add_tail(&object->gray_list, &gray_list);
1273 list_add_tail(&object->gray_list, &gray_list);