Lines Matching defs:memory
74 char *memory;
77 memory = cvmx_fpa_alloc(pool);
78 if (memory) {
80 *(struct sk_buff **)(memory - sizeof(void *));
84 } while (memory);
95 * cvm_oct_fill_hw_memory - fill a hardware pool with memory.
104 char *memory;
110 * FPA memory must be 128 byte aligned. Since we are
112 * can feed it to kfree when the memory is returned to
119 memory = kmalloc(size + 256, GFP_ATOMIC);
120 if (unlikely(memory == NULL)) {
125 fpa = (char *)(((unsigned long)memory + 256) & ~0x7fUL);
126 *((char **)fpa - 1) = memory;
134 * cvm_oct_free_hw_memory - Free memory allocated by cvm_oct_fill_hw_memory
141 char *memory;
148 memory = *((char **)fpa - 1);
149 kfree(memory);