Lines Matching refs:memory
970 * the supplied rights and memory.
981 mach_port_array_t memory,
996 ports[i] = memory[i];
1027 * we can free the memory.
1031 kfree(memory,
1043 * rights and memory.
1048 * KERN_RESOURCE_SHORTAGE Couldn't allocate memory.
1057 void *memory;
1067 memory = kalloc(size);
1068 if (memory == 0)
1075 kfree(memory, size);
1079 ports = (ipc_port_t *) memory;
1082 * Clone port rights. Because kalloc'd memory