• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/kern/

Lines Matching defs:memory

62  *	Zone-based memory allocator.  A zone is a collection of fixed size
115 * (3) poison the freed memory by overwriting it with 0xdeadbeef.
121 * it still poisons the memory when it's freed, but doesn't check if the memory
232 * The VM system gives us an initial chunk of memory.
360 * memory configurations. The default value is 4000 records.
462 vm_size_t max, /* maximum memory to use */
580 * We got the memory for the log. Zero it out since the code needs this to identify unused records.
588 printf("zone: couldn't allocate memory for zrecords, turning off zleak logging\n");
597 * Cram the given memory into the specified zone.
630 * of memory from zone_map.
658 * Unlock and allocate memory. Because several
660 * use the memory before checking for available
714 * Steal memory for the zone package. Called from
726 * Fill a zone with enough memory to contain at least nelem elements.
729 * be more than the caller asked for since the memory allocation is
739 vm_offset_t memory;
747 kr = kmem_alloc_wired(kernel_map, &memory, size);
752 zcram(zone, (void *)memory, size);
760 * Initialize the "zone of zones" which uses fixed memory allocated
761 * earlier in memory initialization. zone_bootstrap is called
796 * This prevents accidentally hogging too much kernel memory and making the system
899 * Someone is allocating memory for this zone.
918 * memory back, assuming there's no
1180 /* Keep this FALSE by default. Large memory machine run orders of magnitude
1219 panic("zfree: non-allocated memory in collectable zone!");
1315 * If elements have one or more pages, and memory is low,
1363 * were never zalloc'd/zget'd. The correct way to stuff memory
1382 * zprealloc preallocates wired memory, exanding the specified
1616 * begins to run out of memory.
1962 /* use in-line memory */
1975 /* use in-line memory */