Lines Matching refs:pfnarray
98 if (obj->pfnarray != NULL)
99 kmem_free(obj->pfnarray, btopr(obj->real_size) * sizeof (pfn_t));
174 obj->pfnarray = kmem_zalloc(real_pgcnt * sizeof (pfn_t), KM_NOSLEEP);
175 if (obj->pfnarray == NULL) {
176 DRM_DEBUG("pfnarray == NULL");
185 obj->pfnarray[n++] = btop(paddr);
213 obj->pfnarray = kmem_zalloc(pgcnt * sizeof (pfn_t), KM_NOSLEEP);
214 if (obj->pfnarray == NULL) {
215 DRM_ERROR("Failed to allocate pfnarray ");
220 obj->pfnarray, pgcnt, flag);
223 kmem_free(obj->pfnarray, pgcnt * sizeof (pfn_t));
254 if (tmp_pfn != obj->pfnarray[0]) {
256 (void *)obj, tmp_pfn, obj->pfnarray[0]);
681 kmem_free(obj->pfnarray, btopr(obj->real_size) * sizeof (pfn_t));