Searched refs:alloc_visitor (Results 1 – 3 of 3) sorted by relevance
266 SubAllocator::Visitor alloc_visitor = [](void* ptr, int numa_node, in RegMemVisitors() local276 ProcessState::singleton()->AddCPUAllocVisitor(alloc_visitor); in RegMemVisitors()280 GPUProcessState::singleton()->AddGpuHostAllocVisitor(0, alloc_visitor); in RegMemVisitors()
131 SubAllocator::Visitor alloc_visitor = in TEST() local148 0 /*numa_node*/, {alloc_visitor}, {free_visitor}); in TEST()
236 SubAllocator::Visitor alloc_visitor = [this](void* ptr, int numa_node, in Init() local248 ProcessState::singleton()->AddCPUAllocVisitor(alloc_visitor); in Init()254 alloc_visitor); in Init()