Lines Matching defs:gatt
138 struct agp_gatt *gatt;
150 gatt = malloc(sizeof(struct agp_gatt), M_AGP, M_NOWAIT);
151 if (!gatt)
154 gatt->ag_entries = entries;
155 gatt->ag_virtual = (void *)kmem_alloc_contig(kernel_arena,
158 if (!gatt->ag_virtual) {
161 free(gatt, M_AGP);
164 gatt->ag_physical = vtophys((vm_offset_t) gatt->ag_virtual);
166 return gatt;
170 agp_free_gatt(struct agp_gatt *gatt)
172 kmem_free(kernel_arena, (vm_offset_t)gatt->ag_virtual,
173 gatt->ag_entries * sizeof(u_int32_t));
174 free(gatt, M_AGP);