Lines Matching defs:aperture

125 	Aperture(agp_gart_bus_module_info *module, void *aperture);
173 size_t Hash(Aperture *aperture) const
174 { return aperture->ID(); }
175 bool Compare(const KeyType &id, Aperture *aperture) const
176 { return id == aperture->ID(); }
177 Aperture *&GetLink(Aperture *aperture) const
178 { return aperture->fNext; }
423 Aperture::Aperture(agp_gart_bus_module_info *module, void *aperture)
428 fPrivateAperture(aperture)
432 init_lock(&fLock, "aperture");
956 Aperture *aperture = NULL;
976 aperture = new(std::nothrow) Aperture(module, privateAperture);
977 status = aperture->InitCheck();
980 *_apertureBase = aperture->Base();
982 sApertureHashTable.Insert(aperture);
984 delete aperture;
985 aperture = NULL;
992 return aperture != NULL ? aperture->ID() : status;
1007 Aperture *aperture = sApertureHashTable.Lookup(id);
1008 if (aperture == NULL)
1011 sApertureHashTable.Remove(aperture);
1012 delete aperture;
1020 Aperture *aperture = get_aperture(id);
1021 if (aperture == NULL)
1024 Autolock _(aperture->Lock());
1025 return aperture->GetInfo(info);
1036 Aperture *aperture = get_aperture(id);
1037 if (aperture == NULL)
1042 Autolock _(aperture->Lock());
1044 aperture_memory *memory = aperture->CreateMemory(size, alignment, flags);
1048 status_t status = aperture->AllocateMemory(memory, flags);
1050 status = aperture->BindMemory(memory, 0, 0);
1052 aperture->DeleteMemory(memory);
1064 aperture->DeleteMemory(memory);
1080 Aperture *aperture = get_aperture(id);
1081 if (aperture == NULL)
1084 Autolock _(aperture->Lock());
1085 aperture_memory *memory = aperture->GetMemory(base);
1089 aperture->DeleteMemory(memory);
1097 Aperture *aperture = get_aperture(id);
1098 if (aperture == NULL)
1108 Aperture *aperture = get_aperture(id);
1109 if (aperture == NULL)
1120 Aperture *aperture = get_aperture(id);
1121 if (aperture == NULL)
1125 if (size == 0 || size > aperture->Size()
1139 Autolock _(aperture->Lock());
1142 // use reserved aperture to bind the pages
1143 memory = aperture->GetMemory(reservedBase);
1148 memory = aperture->CreateMemory(size, alignment,
1156 status_t status = aperture->BindMemory(memory, base, size);
1159 aperture->DeleteMemory(memory);
1174 Aperture *aperture = get_aperture(id);
1175 if (aperture == NULL)
1178 Autolock _(aperture->Lock());
1179 aperture_memory *memory = aperture->GetMemory(base);
1186 status_t status = aperture->UnbindMemory(memory);
1191 aperture->DeleteMemory(memory);
1218 // Since there can be custom aperture modules (for memory management only),
1233 Aperture *aperture = iterator.Next();
1234 sApertureHashTable.Remove(aperture);
1235 delete aperture;