Lines Matching refs:shmems
101 unsigned long *shmems; in com90xx_probe() local
110 shmems = kzalloc(((0x100000 - 0xa0000) / 0x800) * sizeof(unsigned long), in com90xx_probe()
112 if (!shmems) in com90xx_probe()
117 kfree(shmems); in com90xx_probe()
132 shmems[numshmems++] = shmem; in com90xx_probe()
135 shmems[numshmems++] = count; in com90xx_probe()
182 kfree(shmems); in com90xx_probe()
207 for (index = 0, p = &shmems[0]; index < numshmems; p++, index++) { in com90xx_probe()
264 *p-- = shmems[--numshmems]; in com90xx_probe()
273 kfree(shmems); in com90xx_probe()
281 for (p = &shmems[0]; p < shmems + numshmems; p++) { in com90xx_probe()
388 u_long ptr = shmems[index]; in com90xx_probe()
401 shmems[index] = shmems[--numshmems]; in com90xx_probe()
430 release_mem_region(shmems[index], MIRROR_SIZE); in com90xx_probe()
432 kfree(shmems); in com90xx_probe()