Lines Matching refs:ptr
84 void *ptr;
100 ptr = __vmalloc_node(size, align, GFP_KERNEL | __GFP_ZERO, 0,
102 if (!ptr)
105 vfree(ptr);
117 void *ptr;
123 ptr = __vmalloc_node(PAGE_SIZE, align, GFP_KERNEL|__GFP_ZERO, 0,
125 if (!ptr)
128 vfree(ptr);
136 void *ptr;
140 ptr = __vmalloc_node(5 * PAGE_SIZE, THREAD_ALIGN << 1,
143 if (!ptr)
146 vfree(ptr);
177 void **ptr;
181 ptr = vmalloc(sizeof(void *) * 15000);
182 if (!ptr)
186 ptr[i] = vmalloc(1 * PAGE_SIZE);
211 vfree(ptr[i]);
213 vfree(ptr);
219 void **ptr, **junk_ptr, *tmp;
227 ptr = vmalloc(sizeof(void *) * junk_length);
228 if (!ptr)
233 vfree(ptr);
238 ptr[i] = vmalloc(1 * PAGE_SIZE);
260 vfree(ptr[i]);
262 vfree(ptr);
270 void *ptr;
274 ptr = vmalloc(3 * PAGE_SIZE);
276 if (!ptr)
279 *((__u8 *)ptr) = 0;
281 vfree(ptr);