Lines Matching refs:pt
96 drm_mem_stats_t *pt; in DRM() local
117 for (pt = DRM(mem_stats); pt->name; pt++) { in DRM()
119 pt->name, in DRM()
120 pt->succeed_count, in DRM()
121 pt->free_count, in DRM()
122 pt->fail_count, in DRM()
123 pt->bytes_allocated, in DRM()
124 pt->bytes_freed, in DRM()
125 pt->succeed_count - pt->free_count, in DRM()
126 (long)pt->bytes_allocated in DRM()
127 - (long)pt->bytes_freed); in DRM()
148 void *pt; in DRM() local
155 if (!(pt = kmalloc(size, GFP_KERNEL))) { in DRM()
165 return pt; in DRM()
170 void *pt; in DRM() local
172 if (!(pt = DRM(alloc)(size, area))) return NULL; in DRM()
174 memcpy(pt, oldpt, oldsize); in DRM()
177 return pt; in DRM()
182 char *pt; in DRM() local
185 if (!(pt = DRM(alloc)(length+1, area))) return NULL; in DRM()
186 strcpy(pt, s); in DRM()
187 return pt; in DRM()
200 void DRM(free)(void *pt, size_t size, int area) in DRM()
205 if (!pt) DRM_MEM_ERROR(area, "Attempt to free NULL pointer\n"); in DRM()
206 else kfree(pt); in DRM()
295 void *pt; in DRM() local
303 if (!(pt = ioremap(offset, size))) { in DRM()
313 return pt; in DRM()
318 void *pt; in DRM() local
326 if (!(pt = ioremap_nocache(offset, size))) { in DRM()
336 return pt; in DRM()
339 void DRM(ioremapfree)(void *pt, unsigned long size, drm_device_t *dev) in DRM()
344 if (!pt) in DRM()
348 iounmap(pt); in DRM()