Searched refs:ent (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | swap_cgroup.c | 64 static struct swap_cgroup *lookup_swap_cgroup(swp_entry_t ent, in lookup_swap_cgroup() argument 67 pgoff_t offset = swp_offset(ent); in lookup_swap_cgroup() 72 ctrl = &swap_cgroup_ctrl[swp_type(ent)]; in lookup_swap_cgroup() 90 unsigned short swap_cgroup_cmpxchg(swp_entry_t ent, in swap_cgroup_cmpxchg() argument 98 sc = lookup_swap_cgroup(ent, &ctrl); in swap_cgroup_cmpxchg() 118 unsigned short swap_cgroup_record(swp_entry_t ent, unsigned short id) in swap_cgroup_record() argument 125 sc = lookup_swap_cgroup(ent, &ctrl); in swap_cgroup_record() 141 unsigned short lookup_swap_cgroup_id(swp_entry_t ent) in lookup_swap_cgroup_id() argument 143 return lookup_swap_cgroup(ent, NULL)->id; in lookup_swap_cgroup_id()
|
D | bootmem.c | 77 bootmem_data_t *ent; in link_bootmem() local 79 list_for_each_entry(ent, &bdata_list, list) { in link_bootmem() 80 if (bdata->node_min_pfn < ent->node_min_pfn) { in link_bootmem() 81 list_add_tail(&bdata->list, &ent->list); in link_bootmem()
|
D | memcontrol.c | 4386 swp_entry_t ent; member 4420 swp_entry_t ent = pte_to_swp_entry(ptent); in mc_handle_swap_pte() local 4422 if (!(mc.flags & MOVE_ANON) || non_swap_entry(ent)) in mc_handle_swap_pte() 4428 page = find_get_page(swap_address_space(ent), swp_offset(ent)); in mc_handle_swap_pte() 4430 entry->val = ent.val; in mc_handle_swap_pte() 4597 swp_entry_t ent = { .val = 0 }; in get_mctgt_type() local 4602 page = mc_handle_swap_pte(vma, ptent, &ent); in get_mctgt_type() 4604 page = mc_handle_file_pte(vma, addr, ptent, &ent); in get_mctgt_type() 4606 if (!page && !ent.val) in get_mctgt_type() 4623 if (ent.val && !ret && in get_mctgt_type() [all …]
|
D | swapfile.c | 95 static inline unsigned char swap_count(unsigned char ent) in swap_count() argument 97 return ent & ~SWAP_HAS_CACHE; /* may include SWAP_HAS_CONT flag */ in swap_count()
|