Home
last modified time | relevance | path

Searched refs:free_mem_ptr (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/arch/sh/boot/compressed/
Dmisc.c97 static unsigned long free_mem_ptr; variable
109 if (free_mem_ptr == 0) error("Memory error\n"); in malloc()
111 free_mem_ptr = (free_mem_ptr + 3) & ~3; /* Align */ in malloc()
113 p = (void *)free_mem_ptr; in malloc()
114 free_mem_ptr += size; in malloc()
116 if (free_mem_ptr >= free_mem_end_ptr) in malloc()
128 *ptr = (void *) free_mem_ptr; in gzip_mark()
133 free_mem_ptr = (long) *ptr; in gzip_release()
231 free_mem_ptr = (unsigned long)&_end; in decompress_kernel()
232 free_mem_end_ptr = free_mem_ptr + HEAP_SIZE; in decompress_kernel()
/linux-2.4.37.9/arch/alpha/boot/
Dmisc.c98 static ulg free_mem_ptr; variable
110 if (free_mem_ptr <= 0) error("Memory error\n"); in malloc()
112 free_mem_ptr = (free_mem_ptr + 3) & ~3; /* Align */ in malloc()
114 p = (void *)free_mem_ptr; in malloc()
115 free_mem_ptr += size; in malloc()
117 if (free_mem_ptr >= free_mem_ptr_end) in malloc()
128 *ptr = (void *) free_mem_ptr; in gzip_mark()
133 free_mem_ptr = (long) *ptr; in gzip_release()
195 free_mem_ptr = (ulg)output_start + ksize; in decompress_kernel()
/linux-2.4.37.9/arch/sh64/boot/compressed/
Dmisc.c96 static unsigned long free_mem_ptr; variable
109 if (free_mem_ptr == 0) in malloc()
112 free_mem_ptr = (free_mem_ptr + 3) & ~3; /* Align */ in malloc()
114 p = (void *) free_mem_ptr; in malloc()
115 free_mem_ptr += size; in malloc()
117 if (free_mem_ptr >= free_mem_end_ptr) in malloc()
129 *ptr = (void *) free_mem_ptr; in gzip_mark()
134 free_mem_ptr = (long) *ptr; in gzip_release()
216 free_mem_ptr = (unsigned long) &_end; in decompress_kernel()
217 free_mem_end_ptr = free_mem_ptr + HEAP_SIZE; in decompress_kernel()
/linux-2.4.37.9/arch/arm/boot/compressed/
Dmisc.c182 static ulg free_mem_ptr; variable
195 if (free_mem_ptr <= 0) error("Memory error\n"); in malloc()
197 free_mem_ptr = (free_mem_ptr + 3) & ~3; /* Align */ in malloc()
199 p = (void *)free_mem_ptr; in malloc()
200 free_mem_ptr += size; in malloc()
202 if (free_mem_ptr >= free_mem_ptr_end) in malloc()
214 *ptr = (void *) free_mem_ptr; in gzip_mark()
220 free_mem_ptr = (long) *ptr; in gzip_release()
289 free_mem_ptr = free_mem_ptr_p; in decompress_kernel()
/linux-2.4.37.9/arch/x86_64/boot/compressed/
Dmisc.c102 static long free_mem_ptr = (long)&end; variable
124 if (free_mem_ptr <= 0) error("Memory error\n"); in malloc()
126 free_mem_ptr = (free_mem_ptr + 3) & ~3; /* Align */ in malloc()
128 p = (void *)free_mem_ptr; in malloc()
129 free_mem_ptr += size; in malloc()
131 if (free_mem_ptr >= free_mem_end_ptr) in malloc()
143 *ptr = (void *) free_mem_ptr; in gzip_mark()
148 free_mem_ptr = (long) *ptr; in gzip_release()
350 if (free_mem_ptr < 0x100000) setup_normal_output_buffer(); in decompress_kernel()
/linux-2.4.37.9/arch/cris/boot/compressed/
Dmisc.c108 static long free_mem_ptr = (long)&end; variable
118 free_mem_ptr = (free_mem_ptr + 3) & ~3; /* Align */ in malloc()
120 p = (void *)free_mem_ptr; in malloc()
121 free_mem_ptr += size; in malloc()
132 *ptr = (void *) free_mem_ptr; in gzip_mark()
137 free_mem_ptr = (long) *ptr; in gzip_release()
/linux-2.4.37.9/arch/i386/boot/compressed/
Dmisc.c110 static long free_mem_ptr = (long)&end; variable
132 if (free_mem_ptr <= 0) error("Memory error\n"); in malloc()
134 free_mem_ptr = (free_mem_ptr + 3) & ~3; /* Align */ in malloc()
136 p = (void *)free_mem_ptr; in malloc()
137 free_mem_ptr += size; in malloc()
139 if (free_mem_ptr >= free_mem_end_ptr) in malloc()
151 *ptr = (void *) free_mem_ptr; in gzip_mark()
156 free_mem_ptr = (long) *ptr; in gzip_release()
368 if (free_mem_ptr < 0x100000) setup_normal_output_buffer(); in decompress_kernel()
/linux-2.4.37.9/drivers/sound/
Dgus_wave.c85 static long free_mem_ptr = 0; variable
209 free_mem_ptr = 2; in reset_sample_memory()
1118 return (gus_mem_size == 0) ? 0 : gus_mem_size - free_mem_ptr - 32; in guswave_ioctl()
1759 free_mem_ptr = (free_mem_ptr + 31) & ~31; /* 32 byte alignment */ in guswave_load_patch()
1771 if ((free_mem_ptr / GUS_BANK_SIZE) != in guswave_load_patch()
1772 ((free_mem_ptr + patch.len) / GUS_BANK_SIZE)) in guswave_load_patch()
1776 ((free_mem_ptr / GUS_BANK_SIZE) + 1) * GUS_BANK_SIZE; in guswave_load_patch()
1781 free_mem_ptr = tmp_mem; /* This leaves unusable memory */ in guswave_load_patch()
1784 if ((free_mem_ptr + patch.len) > gus_mem_size) in guswave_load_patch()
1787 sample_ptrs[free_sample] = free_mem_ptr; in guswave_load_patch()
[all …]