Lines Matching refs:head
100 static void free_kclist_ents(struct list_head *head) in free_kclist_ents() argument
104 list_for_each_entry_safe(pos, tmp, head, list) { in free_kclist_ents()
145 LIST_HEAD(head); in kcore_update_ram()
155 list_add(&ent->list, &head); in kcore_update_ram()
156 __kcore_update_ram(&head); in kcore_update_ram()
165 get_sparsemem_vmemmap_info(struct kcore_list *ent, struct list_head *head) in get_sparsemem_vmemmap_info() argument
177 list_for_each_entry(tmp, head, list) { in get_sparsemem_vmemmap_info()
191 list_add_tail(&vmm->list, head); in get_sparsemem_vmemmap_info()
198 get_sparsemem_vmemmap_info(struct kcore_list *ent, struct list_head *head) in get_sparsemem_vmemmap_info() argument
208 struct list_head *head = (struct list_head *)arg; in kclist_add_private() local
234 list_add_tail(&ent->list, head); in kclist_add_private()
236 if (!get_sparsemem_vmemmap_info(ent, head)) { in kclist_add_private()
251 LIST_HEAD(head); in kcore_update_ram()
263 ret = walk_system_ram_range(0, end_pfn, &head, kclist_add_private); in kcore_update_ram()
265 free_kclist_ents(&head); in kcore_update_ram()
268 __kcore_update_ram(&head); in kcore_update_ram()