Lines Matching refs:shmems
121 unsigned long *shmems; in com90xx_probe() local
130 shmems = kzalloc(((0x100000-0xa0000) / 0x800) * sizeof(unsigned long), in com90xx_probe()
132 if (!shmems) in com90xx_probe()
137 kfree(shmems); in com90xx_probe()
151 shmems[numshmems++] = shmem; in com90xx_probe()
154 shmems[numshmems++] = count; in com90xx_probe()
196 kfree(shmems); in com90xx_probe()
221 for (index = 0, p = &shmems[0]; index < numshmems; p++, index++) { in com90xx_probe()
273 *p-- = shmems[--numshmems]; in com90xx_probe()
282 kfree(shmems); in com90xx_probe()
290 for (p = &shmems[0]; p < shmems + numshmems; p++) { in com90xx_probe()
391 u_long ptr = shmems[index]; in com90xx_probe()
404 shmems[index] = shmems[--numshmems]; in com90xx_probe()
428 release_mem_region(shmems[index], MIRROR_SIZE); in com90xx_probe()
430 kfree(shmems); in com90xx_probe()