pb_slab_manager Struct Reference

It adds/removes slabs as needed in order to meet the allocation/destruction of individual buffers. More...

Collaboration diagram for pb_slab_manager:

Collaboration graph
[legend]

Data Fields

struct pb_manager base
struct pb_managerprovider
 From where we get our buffers.
size_t bufSize
 Size of the buffers we hand on downstream.
size_t slabSize
 Size of the buffers we request upstream.
struct pb_desc desc
 Alignment, usage to be used to allocate the slab buffers.
struct list_head slabs
 Partial slabs.
pipe_mutex mutex

Detailed Description

It adds/removes slabs as needed in order to meet the allocation/destruction of individual buffers.

Definition at line 103 of file pb_bufmgr_slab.c.


Field Documentation

struct pb_manager pb_slab_manager::base [read]

Definition at line 105 of file pb_bufmgr_slab.c.

struct pb_manager* pb_slab_manager::provider [read]

From where we get our buffers.

Definition at line 108 of file pb_bufmgr_slab.c.

size_t pb_slab_manager::bufSize

Size of the buffers we hand on downstream.

Definition at line 111 of file pb_bufmgr_slab.c.

size_t pb_slab_manager::slabSize

Size of the buffers we request upstream.

Definition at line 114 of file pb_bufmgr_slab.c.

struct pb_desc pb_slab_manager::desc [read]

Alignment, usage to be used to allocate the slab buffers.

We can only provide buffers which are consistent (in alignment, usage) with this description.

Definition at line 122 of file pb_bufmgr_slab.c.

struct list_head pb_slab_manager::slabs [read]

Partial slabs.

Full slabs are not stored in any list. Empty slabs are destroyed immediatly.

Definition at line 130 of file pb_bufmgr_slab.c.

pipe_mutex pb_slab_manager::mutex

Definition at line 132 of file pb_bufmgr_slab.c.


The documentation for this struct was generated from the following file:
Generated on Tue Sep 29 06:26:03 2009 for Gallium3D by  doxygen 1.5.4