Lines Matching defs:memory
49 char *memory;
52 memory = cvmx_fpa_alloc(pool);
53 if (memory) {
55 *(struct sk_buff **)(memory - sizeof(void *));
59 } while (memory);
70 * cvm_oct_fill_hw_memory - fill a hardware pool with memory.
79 char *memory;
85 * FPA memory must be 128 byte aligned. Since we are
87 * can feed it to kfree when the memory is returned to
94 memory = kmalloc(size + 256, GFP_ATOMIC);
95 if (unlikely(!memory)) {
100 fpa = (char *)(((unsigned long)memory + 256) & ~0x7fUL);
101 *((char **)fpa - 1) = memory;
109 * cvm_oct_free_hw_memory - Free memory allocated by cvm_oct_fill_hw_memory
116 char *memory;
124 memory = *((char **)fpa - 1);
125 kfree(memory);