Home
last modified time | relevance | path

Searched refs:sid_history (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/idmap/idmapd/
H A Dserver.c223 state.sid_history = calloc(batch.idmap_mapping_batch_len, in idmap_get_mapped_ids_1_svc()
224 sizeof (*state.sid_history)); in idmap_get_mapped_ids_1_svc()
225 if (state.sid_history == NULL) { in idmap_get_mapped_ids_1_svc()
232 state.sid_history[i].key = state.sid_history_size; in idmap_get_mapped_ids_1_svc()
233 state.sid_history[i].next = state.sid_history_size; in idmap_get_mapped_ids_1_svc()
H A Didmapd.h133 hashentry_t *sid_history; member
H A Ddbutils.c3290 key = state->sid_history[next].key; in get_from_sid_history()
3300 next = state->sid_history[next].next; in get_from_sid_history()
3313 while (state->sid_history[next].key != htsize) { in add_to_sid_history()
3317 state->sid_history[next].key = state->curpos; in add_to_sid_history()
3320 state->sid_history[next].next = state->sid_history[hash].next; in add_to_sid_history()
3321 state->sid_history[hash].next = next; in add_to_sid_history()
3327 free(state->sid_history); in cleanup_lookup_state()
3351 if (state->sid_history != NULL && in dynamic_ephemeral_mapping()
3372 if (state->sid_history != NULL) in dynamic_ephemeral_mapping()