Searched refs:phys_mem (Results 1 – 2 of 2) sorted by relevance
45 struct phys_mem { struct135 struct phys_mem *mem = rb_node_data(struct phys_mem, node, node); in cmp_phys_mem()139 static struct phys_mem *145 struct phys_mem *new_mem = calloc(1, sizeof(*new_mem)); in ensure_phys_mem()160 return rb_node_data(struct phys_mem, node, node); in ensure_phys_mem()163 static struct phys_mem *173 return rb_node_data(struct phys_mem, node, node); in search_phys_mem()212 struct phys_mem *pmem = ensure_phys_mem(mem, page); in aub_mem_phys_write()277 struct phys_mem *phys_mem = search_phys_mem(mem, phys_addr); in aub_mem_get_ggtt_bo() local279 if (!phys_mem) in aub_mem_get_ggtt_bo()[all …]
5403 int phys_mem; in get_physical_memory() local5424 phys_mem = sysctl_physmem >> 20; in get_physical_memory()5429 phys_mem = SQUASHFS_LOWMEM; in get_physical_memory()5438 phys_mem = num_pages * page_size >> 20; in get_physical_memory()5444 if(phys_mem < SQUASHFS_LOWMEM) in get_physical_memory()5448 return phys_mem; in get_physical_memory()