Home
last modified time | relevance | path

Searched refs:link (Results 1 – 7 of 7) sorted by relevance

/mm/
Dinterval_tree.c33 struct rb_node **link; in vma_interval_tree_insert_after() local
41 link = &prev->shared.linear.rb.rb_right; in vma_interval_tree_insert_after()
53 link = &parent->shared.linear.rb.rb_left; in vma_interval_tree_insert_after()
57 rb_link_node(&node->shared.linear.rb, &parent->shared.linear.rb, link); in vma_interval_tree_insert_after()
Dzsmalloc.c915 struct link_free *link; in init_zspage() local
929 link = (struct link_free *)vaddr + off / sizeof(*link); in init_zspage()
932 link->next = location_to_obj(page, i++); in init_zspage()
933 link += class->size / sizeof(*link); in init_zspage()
942 link->next = location_to_obj(next_page, 0); in init_zspage()
1349 struct link_free *link; in obj_malloc() local
1361 link = (struct link_free *)vaddr + m_offset / sizeof(*link); in obj_malloc()
1362 first_page->freelist = link->next; in obj_malloc()
1365 link->handle = handle; in obj_malloc()
1436 struct link_free *link; in obj_free() local
[all …]
Dzswap.c263 struct rb_node **link = &root->rb_node, *parent = NULL; in zswap_rb_insert() local
266 while (*link) { in zswap_rb_insert()
267 parent = *link; in zswap_rb_insert()
270 link = &(*link)->rb_left; in zswap_rb_insert()
272 link = &(*link)->rb_right; in zswap_rb_insert()
278 rb_link_node(&entry->rbnode, parent, link); in zswap_rb_insert()
Dhugetlb.c150 struct list_head link; member
162 list_for_each_entry(rg, head, link) in region_add()
172 list_for_each_entry_safe(rg, trg, rg->link.prev, link) { in region_add()
173 if (&rg->link == head) in region_add()
184 list_del(&rg->link); in region_add()
203 list_for_each_entry(rg, head, link) in region_chg()
210 if (&rg->link == head || t < rg->from) { in region_chg()
219 INIT_LIST_HEAD(&nrg->link); in region_chg()
223 list_add(&nrg->link, rg->link.prev); in region_chg()
234 list_for_each_entry(rg, rg->link.prev, link) { in region_chg()
[all …]
Dkmemleak.c523 struct rb_node **link, *rb_parent; in create_object() local
570 link = &object_tree_root.rb_node; in create_object()
572 while (*link) { in create_object()
573 rb_parent = *link; in create_object()
576 link = &parent->rb_node.rb_left; in create_object()
578 link = &parent->rb_node.rb_right; in create_object()
591 rb_link_node(&object->rb_node, rb_parent, link); in create_object()
Dksm.c103 struct hlist_node link; member
326 hash_for_each_possible(mm_slots_hash, slot, link, (unsigned long)mm) in get_mm_slot()
337 hash_add(mm_slots_hash, &mm_slot->link, (unsigned long)mm); in insert_to_mm_slots_hash()
801 hash_del(&mm_slot->link); in unmerge_and_remove_all_rmap_items()
1668 hash_del(&slot->link); in scan_get_next_rmap_item()
1843 hash_del(&mm_slot->link); in __ksm_exit()
Dshmem.c3152 .link = shmem_link,