Lines Matching refs:free_mem_ptr
85 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()
1815 target = free_mem_ptr; in guswave_load_patch()
1945 free_mem_ptr += patch.len; in guswave_load_patch()