Home
last modified time | relevance | path

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

/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_sprom_subr.c87 size_t num_vars, num_idx; in bhnd_sprom_opcode_init() local
94 state->num_idx = 0; in bhnd_sprom_opcode_init()
101 num_idx = state->layout->num_vars; in bhnd_sprom_opcode_init()
102 idx = bhnd_nv_calloc(num_idx, sizeof(*idx)); in bhnd_sprom_opcode_init()
106 for (num_vars = 0; num_vars < num_idx; num_vars++) { in bhnd_sprom_opcode_init()
140 qsort(idx, num_idx, sizeof(idx[0]), bhnd_sprom_opcode_sort_idx); in bhnd_sprom_opcode_init()
143 state->num_idx = num_idx; in bhnd_sprom_opcode_init()
246 return (bsearch(&vid, state->idx, state->num_idx, sizeof(state->idx[0]), in bhnd_sprom_opcode_index_find()
273 BHND_NV_ASSERT(idxpos < state->num_idx, in bhnd_sprom_opcode_index_next()
281 if (idxpos == state->num_idx) in bhnd_sprom_opcode_index_next()
H A Dbhnd_nvram_data_spromvar.h128 size_t num_idx; /**< variable index entry count */ member
/freebsd/sys/dev/qlxgbe/
H A Dql_hw.c3005 qla_map_sds_to_rds(qla_host_t *ha, uint32_t start_idx, uint32_t num_idx) in qla_map_sds_to_rds() argument
3021 map_rings->num_rings = num_idx; in qla_map_sds_to_rds()
3023 for (i = 0; i < num_idx; i++) { in qla_map_sds_to_rds()