Home
last modified time | relevance | path

Searched refs:ext (Results 1 – 2 of 2) sorted by relevance

/kernel/power/
Dswsusp.c84 struct swsusp_extent *ext; in swsusp_extents_insert() local
88 ext = container_of(*new, struct swsusp_extent, node); in swsusp_extents_insert()
90 if (swap_offset < ext->start) { in swsusp_extents_insert()
92 if (swap_offset == ext->start - 1) { in swsusp_extents_insert()
93 ext->start--; in swsusp_extents_insert()
97 } else if (swap_offset > ext->end) { in swsusp_extents_insert()
99 if (swap_offset == ext->end + 1) { in swsusp_extents_insert()
100 ext->end++; in swsusp_extents_insert()
110 ext = kzalloc(sizeof(struct swsusp_extent), GFP_KERNEL); in swsusp_extents_insert()
111 if (!ext) in swsusp_extents_insert()
[all …]
Dsnapshot.c304 struct mem_extent *ext, *aux; in free_mem_extents() local
306 list_for_each_entry_safe(ext, aux, list, hook) { in free_mem_extents()
307 list_del(&ext->hook); in free_mem_extents()
308 kfree(ext); in free_mem_extents()
326 struct mem_extent *ext, *cur, *aux; in create_mem_extents() local
334 list_for_each_entry(ext, list, hook) in create_mem_extents()
335 if (zone_start <= ext->end) in create_mem_extents()
338 if (&ext->hook == list || zone_end < ext->start) { in create_mem_extents()
349 list_add_tail(&new_ext->hook, &ext->hook); in create_mem_extents()
354 if (zone_start < ext->start) in create_mem_extents()
[all …]