Home
last modified time | relevance | path

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

/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom_subr.c265 size_t idxpos; in bhnd_sprom_opcode_index_next() local
269 idxpos = 0; in bhnd_sprom_opcode_index_next()
272 idxpos = (size_t)(prev - state->idx); in bhnd_sprom_opcode_index_next()
273 BHND_NV_ASSERT(idxpos < state->num_idx, in bhnd_sprom_opcode_index_next()
274 ("invalid index %zu", idxpos)); in bhnd_sprom_opcode_index_next()
277 idxpos++; in bhnd_sprom_opcode_index_next()
281 if (idxpos == state->num_idx) in bhnd_sprom_opcode_index_next()
284 return (&state->idx[idxpos]); in bhnd_sprom_opcode_index_next()
H A Dbhnd_nvram_store_subr.c472 size_t idxpos; in bhnd_nvstore_path_data_next() local
482 idxpos = (index_ref - path->index->cookiep); in bhnd_nvstore_path_data_next()
483 if (idxpos >= path->index->count) in bhnd_nvstore_path_data_next()