Deleted Added
full compact
27c27
< * $FreeBSD: head/sys/vm/uma.h 177921 2008-04-04 18:41:12Z alc $
---
> * $FreeBSD: head/sys/vm/uma.h 184546 2008-11-02 00:41:26Z keramida $
42c42
< /* User visable parameters */
---
> /* User visible parameters */
104c104,105
< * this should be the same state that the destructor leaves the object in.
---
> * The initializer and the destructor should leave the object in the same
> * state.
121c122
< * system for other uses. It is the counter part to the init function.
---
> * system for other uses. It is the counter-part to the init function.
134c135
< * For example, in the initializer you may want to initialize embeded locks,
---
> * For example, in the initializer you may want to initialize embedded locks,
151c152
< * name The text name of the zone for debugging and stats, this memory
---
> * name The text name of the zone for debugging and stats. This memory
154c155
< * ctor The constructor that is called when the object is allocated
---
> * ctor The constructor that is called when the object is allocated.
159c160
< * align A bitmask that corisponds to the requested alignment
---
> * align A bitmask that corresponds to the requested alignment
161c162
< * flags A set of parameters that control the behavior of the zone
---
> * flags A set of parameters that control the behavior of the zone.
175c176
< * name The text name of the zone for debugging and stats, this memory
---
> * name The text name of the zone for debugging and stats. This memory
177c178
< * ctor The constructor that is called when the object is allocated
---
> * ctor The constructor that is called when the object is allocated.
215c216
< #define UMA_ZONE_STATIC 0x0004 /* Staticly sized zone */
---
> #define UMA_ZONE_STATIC 0x0004 /* Statically sized zone */
259,261c260,262
< * A non null pointer to an initialized element from the zone is
< * garanteed if the wait flag is M_WAITOK, otherwise a null pointer may be
< * returned if the zone is empty or the ctor failed.
---
> * A non-null pointer to an initialized element from the zone is
> * guaranteed if the wait flag is M_WAITOK. Otherwise a null pointer
> * may be returned if the zone is empty or the ctor failed.
317,318c318,319
< * zone The zone that is requesting pages
< * size The number of bytes being requested
---
> * zone The zone that is requesting pages.
> * size The number of bytes being requested.
323c324
< * A pointer to the alloced memory or NULL on failure.
---
> * A pointer to the allocated memory or NULL on failure.
332,334c333,335
< * item A pointer to the previously allocated pages
< * size The original size of the allocation
< * pflag The flags for the slab. See UMA_SLAB_* below
---
> * item A pointer to the previously allocated pages.
> * size The original size of the allocation.
> * pflag The flags for the slab. See UMA_SLAB_* below.
406,408c407,409
< * zone The zone to update
< * obj The obj to use for future allocations
< * size The size of the object to allocate
---
> * zone The zone to update.
> * obj The VM object to use for future allocations.
> * size The size of the object to allocate.
438c439
< * be changed once allocations have already begun and only
---
> * be changed once allocations have already begun, but only be set
449,450c450,451
< * be changed once allocations have already begun and
< * only immediately upon zone creation.
---
> * be changed once allocations have already begun, but only be set
> * immediately upon zone creation.
459c460
< * zone The zone whos back end allocator is being changed.
---
> * zone The zone whose backend allocator is being changed.
487c488
< * These flags are setable in the allocf and visable in the freef.
---
> * These flags are setable in the allocf and visible in the freef.
540,542c541,542
< * Statistics stream consusts of a uma_stream_header, followed by a series of
< * alternative uma_type_header and uma_type_stat structures. Statistics
< * structures
---
> * Statistics stream consists of a uma_stream_header, followed by a series of
> * alternative uma_type_header and uma_type_stat structures.
580c580
< u_int64_t ups_allocs; /* Cache: number of alloctions. */
---
> u_int64_t ups_allocs; /* Cache: number of allocations. */