entry_state
struct entry_state *state = NULL;
state = malloc(sizeof(struct entry_state),
STAILQ_ENTRY(entry_state) entries_state;
STAILQ_HEAD(state_head, entry_state);
struct entry_state *entry_state = NULL;
entry_state = STAILQ_FIRST(state_head);
state = &entry_state->state;
free(entry_state, M_QAT);
struct entry_state *entry_state = NULL;
entry_state = STAILQ_FIRST(&prv_data->state_head);
free(entry_state, M_QAT);