Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/dev/bhnd/nvram/
HDbhnd_nvram_data_sprom_subr.c266 size_t idxpos; in bhnd_sprom_opcode_index_next() local
270 idxpos = 0; in bhnd_sprom_opcode_index_next()
273 idxpos = (size_t)(prev - state->idx); in bhnd_sprom_opcode_index_next()
274 BHND_NV_ASSERT(idxpos < state->num_idx, in bhnd_sprom_opcode_index_next()
275 ("invalid index %zu", idxpos)); in bhnd_sprom_opcode_index_next()
278 idxpos++; in bhnd_sprom_opcode_index_next()
282 if (idxpos == state->num_idx) in bhnd_sprom_opcode_index_next()
285 return (&state->idx[idxpos]); in bhnd_sprom_opcode_index_next()
HDbhnd_nvram_store_subr.c474 size_t idxpos; in bhnd_nvstore_path_data_next() local
484 idxpos = (index_ref - path->index->cookiep); in bhnd_nvstore_path_data_next()
485 if (idxpos >= path->index->count) in bhnd_nvstore_path_data_next()