iSCSI object memory tracker More...
#include <ocs_iscsi.h>
iSCSI object memory tracker
Structure used to group allocation of objects into chucks and then pull them out. This is done because DMA memory allocations is done in pages which causes wasted space. By grouping the structures together, we attempt to consoldiate as many per page as possible. This structure will allocate tracking SGLs that are used to free the memory later as well as enumerate the individual structures at initialization.
Definition at line 117 of file ocs_iscsi.h.
Data Fields | |
| uint32_t | num_objs |
| ocs_dma_t * | pages |
| uint32_t | num_pages |
| uint32_t | obj_per_page |
| uint32_t | obj_size |
| uint32_t | obj_size_padded |
| uint32_t ocs_iscsi_mem_tracker_t::num_objs |
Definition at line 118 of file ocs_iscsi.h.
| uint32_t ocs_iscsi_mem_tracker_t::num_pages |
Definition at line 120 of file ocs_iscsi.h.
| uint32_t ocs_iscsi_mem_tracker_t::obj_per_page |
Definition at line 121 of file ocs_iscsi.h.
| uint32_t ocs_iscsi_mem_tracker_t::obj_size |
Definition at line 122 of file ocs_iscsi.h.
| uint32_t ocs_iscsi_mem_tracker_t::obj_size_padded |
Definition at line 123 of file ocs_iscsi.h.
| ocs_dma_t* ocs_iscsi_mem_tracker_t::pages |
Definition at line 119 of file ocs_iscsi.h.