Searched refs:slot (Results 1 – 7 of 7) sorted by relevance
/mm/ |
D | early_ioremap.c | 104 int i, slot; in __early_ioremap() local 108 slot = -1; in __early_ioremap() 111 slot = i; in __early_ioremap() 116 if (WARN(slot < 0, "%s(%08llx, %08lx) not found slot\n", in __early_ioremap() 125 prev_size[slot] = size; in __early_ioremap() 143 idx = FIX_BTMAP_BEGIN - NR_FIX_BTMAPS*slot; in __early_ioremap() 154 __func__, (u64)phys_addr, size, slot, offset, slot_virt[slot]); in __early_ioremap() 156 prev_map[slot] = (void __iomem *)(offset + slot_virt[slot]); in __early_ioremap() 157 return prev_map[slot]; in __early_ioremap() 166 int i, slot; in early_iounmap() local [all …]
|
D | filemap.c | 116 void **slot; in page_cache_tree_insert() local 120 &node, &slot); in page_cache_tree_insert() 123 if (*slot) { in page_cache_tree_insert() 126 p = radix_tree_deref_slot_protected(slot, &mapping->tree_lock); in page_cache_tree_insert() 135 radix_tree_replace_slot(slot, page); in page_cache_tree_insert() 161 void **slot; in page_cache_tree_delete() local 165 __radix_tree_lookup(&mapping->page_tree, page->index, &node, &slot); in page_cache_tree_delete() 190 radix_tree_replace_slot(slot, shadow); in page_cache_tree_delete() 203 radix_tree_replace_slot(slot, shadow); in page_cache_tree_delete() 1236 void **slot; in find_get_entries() local [all …]
|
D | ksm.c | 324 struct mm_slot *slot; in get_mm_slot() local 326 hash_for_each_possible(mm_slots_hash, slot, link, (unsigned long)mm) in get_mm_slot() 327 if (slot->mm == mm) in get_mm_slot() 328 return slot; in get_mm_slot() 1587 struct mm_slot *slot; in scan_get_next_rmap_item() local 1595 slot = ksm_scan.mm_slot; in scan_get_next_rmap_item() 1596 if (slot == &ksm_mm_head) { in scan_get_next_rmap_item() 1634 slot = list_entry(slot->mm_list.next, struct mm_slot, mm_list); in scan_get_next_rmap_item() 1635 ksm_scan.mm_slot = slot; in scan_get_next_rmap_item() 1641 if (slot == &ksm_mm_head) in scan_get_next_rmap_item() [all …]
|
D | percpu.c | 879 int slot, off, new_alloc, cpu, ret; in pcpu_alloc() local 933 for (slot = pcpu_size_to_slot(size); slot < pcpu_nr_slots; slot++) { in pcpu_alloc() 934 list_for_each_entry(chunk, &pcpu_slot[slot], list) { in pcpu_alloc() 1117 int slot, nr_to_pop, ret; in pcpu_balance_workfn() local 1191 for (slot = pcpu_size_to_slot(PAGE_SIZE); slot < pcpu_nr_slots; slot++) { in pcpu_balance_workfn() 1198 list_for_each_entry(chunk, &pcpu_slot[slot], list) { in pcpu_balance_workfn()
|
D | truncate.c | 30 void **slot; in clear_exceptional_entry() local 42 if (!__radix_tree_lookup(&mapping->page_tree, index, &node, &slot)) in clear_exceptional_entry() 44 if (*slot != entry) in clear_exceptional_entry() 46 radix_tree_replace_slot(slot, NULL); in clear_exceptional_entry()
|
D | backing-dev.c | 687 void **slot; in cgwb_bdi_destroy() local 693 radix_tree_for_each_slot(slot, &bdi->cgwb_tree, &iter, 0) in cgwb_bdi_destroy() 694 cgwb_kill(*slot); in cgwb_bdi_destroy()
|
D | shmem.c | 1854 void **slot; in shmem_tag_pins() local 1864 radix_tree_for_each_slot(slot, &mapping->page_tree, &iter, start) { in shmem_tag_pins() 1865 page = radix_tree_deref_slot_protected(slot, &mapping->tree_lock); in shmem_tag_pins() 1898 void **slot; in shmem_wait_for_pins() local 1918 radix_tree_for_each_tagged(slot, &mapping->page_tree, &iter, in shmem_wait_for_pins() 1921 page = radix_tree_deref_slot(slot); in shmem_wait_for_pins()
|