Lines Matching refs:list
88 list_add_tail(&new->list, &kclist_head); in kclist_add()
100 list_for_each_entry(m, &kclist_head, list) { in get_kcore_size()
136 list_add(&ent->list, head); in kcore_ram_list()
157 list_for_each_entry(tmp, head, list) { in get_sparsemem_vmemmap_info()
171 list_add_tail(&vmm->list, head); in get_sparsemem_vmemmap_info()
223 list_add_tail(&ent->list, head); in kclist_add_private()
226 list_del(&ent->list); in kclist_add_private()
236 static int kcore_ram_list(struct list_head *list) in kcore_ram_list() argument
251 ret = walk_system_ram_range(0, end_pfn, list, kclist_add_private); in kcore_ram_list()
260 LIST_HEAD(list); in kcore_update_ram()
271 ret = kcore_ram_list(&list); in kcore_update_ram()
275 list_splice_tail(&list, &garbage); in kcore_update_ram()
279 list_for_each_entry_safe(pos, tmp, &kclist_head, list) { in kcore_update_ram()
281 list_move(&pos->list, &garbage); in kcore_update_ram()
283 list_splice_tail(&list, &kclist_head); in kcore_update_ram()
290 list_for_each_entry_safe(pos, tmp, &garbage, list) { in kcore_update_ram()
291 list_del(&pos->list); in kcore_update_ram()
381 list_for_each_entry(m, &kclist_head, list) { in read_kcore()
478 list_for_each_entry(m, &kclist_head, list) { in read_kcore()
485 if (&m->list == &kclist_head) { in read_kcore()