Searched refs:current_memory (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/rust/alloc/ |
D | raw_vec.rs | 242 fn current_memory(&self) -> Option<(NonNull<u8>, Layout)> { in current_memory() method 408 let ptr = finish_grow(new_layout, self.current_memory(), &mut self.alloc)?; in grow_amortized() 427 let ptr = finish_grow(new_layout, self.current_memory(), &mut self.alloc)?; in grow_exact() 436 let (ptr, layout) = if let Some(mem) = self.current_memory() { mem } else { return Ok(()) }; in shrink() 458 current_memory: Option<(NonNull<u8>, Layout)>, in finish_grow() 469 let memory = if let Some((ptr, old_layout)) = current_memory { in finish_grow() 486 if let Some((ptr, layout)) = self.current_memory() { in drop()
|
/linux-6.1.9/include/linux/ |
D | agp_backend.h | 53 int current_memory; member
|
/linux-6.1.9/drivers/char/agp/ |
D | compat_ioctl.c | 53 userinfo.pg_used = kerninfo.current_memory; in compat_agpioc_info_wrap()
|
D | frontend.c | 729 userinfo.pg_used = kerninfo.current_memory; in agpioc_info_wrap()
|
D | generic.c | 383 info->current_memory = atomic_read(&bridge->current_memory_agp); in agp_copy_info()
|
/linux-6.1.9/drivers/gpu/drm/radeon/ |
D | radeon_agp.c | 212 info->memory_used = kern->current_memory << PAGE_SHIFT; in radeon_agp_head_info()
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_agpsupport.c | 73 info->memory_used = kern->current_memory << PAGE_SHIFT; in drm_legacy_agp_info()
|
/linux-6.1.9/drivers/video/fbdev/intelfb/ |
D | intelfbdrv.c | 639 dinfo->ring.offset = offset + gtt_info.current_memory; in intelfb_pci_register() 642 + gtt_info.current_memory + (dinfo->ring.size >> 12); in intelfb_pci_register() 645 + gtt_info.current_memory + (dinfo->ring.size >> 12) in intelfb_pci_register()
|