Changeset View
Changeset View
Standalone View
Standalone View
head/sys/vm/uma.h
Show All 36 Lines | |||||
#ifndef _VM_UMA_H_ | #ifndef _VM_UMA_H_ | ||||
#define _VM_UMA_H_ | #define _VM_UMA_H_ | ||||
#include <sys/param.h> /* For NULL */ | #include <sys/param.h> /* For NULL */ | ||||
#include <sys/malloc.h> /* For M_* */ | #include <sys/malloc.h> /* For M_* */ | ||||
/* User visible parameters */ | /* User visible parameters */ | ||||
#define UMA_SMALLEST_UNIT (PAGE_SIZE / 256) /* Smallest item allocated */ | #define UMA_SMALLEST_UNIT 8 /* Smallest item allocated */ | ||||
/* Types and type defs */ | /* Types and type defs */ | ||||
struct uma_zone; | struct uma_zone; | ||||
/* Opaque type used as a handle to the zone */ | /* Opaque type used as a handle to the zone */ | ||||
typedef struct uma_zone * uma_zone_t; | typedef struct uma_zone * uma_zone_t; | ||||
/* | /* | ||||
▲ Show 20 Lines • Show All 650 Lines • Show Last 20 Lines |