Home
last modified time | relevance | path

Searched refs:current_memory (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/rust/alloc/
Draw_vec.rs242 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/
Dagp_backend.h53 int current_memory; member
/linux-6.1.9/drivers/char/agp/
Dcompat_ioctl.c53 userinfo.pg_used = kerninfo.current_memory; in compat_agpioc_info_wrap()
Dfrontend.c729 userinfo.pg_used = kerninfo.current_memory; in agpioc_info_wrap()
Dgeneric.c383 info->current_memory = atomic_read(&bridge->current_memory_agp); in agp_copy_info()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_agp.c212 info->memory_used = kern->current_memory << PAGE_SHIFT; in radeon_agp_head_info()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_agpsupport.c73 info->memory_used = kern->current_memory << PAGE_SHIFT; in drm_legacy_agp_info()
/linux-6.1.9/drivers/video/fbdev/intelfb/
Dintelfbdrv.c639 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()