Home
last modified time | relevance | path

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

/Linux-v6.6/rust/alloc/
Draw_vec.rs272 fn current_memory(&self) -> Option<(NonNull<u8>, Layout)> { in current_memory() method
443 let ptr = finish_grow(new_layout, self.current_memory(), &mut self.alloc)?; in grow_amortized()
462 let ptr = finish_grow(new_layout, self.current_memory(), &mut self.alloc)?; in grow_exact()
471 let (ptr, layout) = if let Some(mem) = self.current_memory() { mem } else { return Ok(()) }; in shrink()
495 current_memory: Option<(NonNull<u8>, Layout)>, in finish_grow()
506 let memory = if let Some((ptr, old_layout)) = current_memory { in finish_grow()
523 if let Some((ptr, layout)) = self.current_memory() { in drop()
/Linux-v6.6/include/linux/
Dagp_backend.h53 int current_memory; member
/Linux-v6.6/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-v6.6/drivers/gpu/drm/
Ddrm_agpsupport.c73 info->memory_used = kern->current_memory << PAGE_SHIFT; in drm_legacy_agp_info()
/Linux-v6.6/drivers/gpu/drm/radeon/
Dradeon_agp.c212 info->memory_used = kern->current_memory << PAGE_SHIFT; in radeon_agp_head_info()
/Linux-v6.6/drivers/video/fbdev/intelfb/
Dintelfbdrv.c642 dinfo->ring.offset = offset + gtt_info.current_memory; in intelfb_pci_register()
645 + gtt_info.current_memory + (dinfo->ring.size >> 12); in intelfb_pci_register()
648 + gtt_info.current_memory + (dinfo->ring.size >> 12) in intelfb_pci_register()