Home
last modified time | relevance | path

Searched refs:idx_array_index (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/ofed/librdmacm/
H A Dindexer.c96 entry = idx->array[idx_array_index(index)]; in idx_insert()
107 entry = idx->array[idx_array_index(index)]; in idx_remove()
118 entry = idx->array[idx_array_index(index)]; in idx_replace()
125 idm->array[idx_array_index(index)] = calloc(IDX_ENTRY_SIZE, sizeof(void *)); in idm_grow()
126 if (!idm->array[idx_array_index(index)]) in idm_grow()
145 if (!idm->array[idx_array_index(index)]) { in idm_set()
150 entry = idm->array[idx_array_index(index)]; in idm_set()
160 entry = idm->array[idx_array_index(index)]; in idm_clear()
H A Dindexer.h65 #define idx_array_index(index) (index >> IDX_ENTRY_BITS) macro
74 return (idx->array[idx_array_index(index)] + idx_entry_index(index))->item; in idx_at()
94 entry = idm->array[idx_array_index(index)]; in idm_at()
100 return ((index <= IDX_MAX_INDEX) && idm->array[idx_array_index(index)]) ? in idm_lookup()