Searched refs:map_idx (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/dev/mpr/ |
H A D | mpr_mapping.c | 346 u32 map_idx, high_idx = MPR_MAPTABLE_BAD_IDX; in _mapping_get_high_missing_mt_idx() local 366 for (map_idx = start_idx; map_idx < end_idx; map_idx++, mt_entry++) { in _mapping_get_high_missing_mt_idx() 369 high_idx = map_idx; in _mapping_get_high_missing_mt_idx() 385 u32 start_idx, end_idx, map_idx; in _mapping_get_ir_mt_idx_from_wwid() local 390 for (map_idx = start_idx; map_idx <= end_idx; map_idx++, mt_entry++) in _mapping_get_ir_mt_idx_from_wwid() 392 return map_idx; in _mapping_get_ir_mt_idx_from_wwid() 407 u32 map_idx; in _mapping_get_mt_idx_from_id() local 410 for (map_idx = 0; map_idx < sc->max_devices; map_idx++) { in _mapping_get_mt_idx_from_id() 411 mt_entry = &sc->mapping_table[map_idx]; in _mapping_get_mt_idx_from_id() 413 return map_idx; in _mapping_get_mt_idx_from_id() [all …]
|
/freebsd/sys/dev/mps/ |
H A D | mps_mapping.c | 347 u32 map_idx, high_idx = MPS_MAPTABLE_BAD_IDX; in _mapping_get_high_missing_mt_idx() local 367 for (map_idx = start_idx; map_idx < end_idx; map_idx++, mt_entry++) { in _mapping_get_high_missing_mt_idx() 370 high_idx = map_idx; in _mapping_get_high_missing_mt_idx() 386 u32 start_idx, end_idx, map_idx; in _mapping_get_ir_mt_idx_from_wwid() local 391 for (map_idx = start_idx; map_idx <= end_idx; map_idx++, mt_entry++) in _mapping_get_ir_mt_idx_from_wwid() 393 return map_idx; in _mapping_get_ir_mt_idx_from_wwid() 408 u32 map_idx; in _mapping_get_mt_idx_from_id() local 411 for (map_idx = 0; map_idx < sc->max_devices; map_idx++) { in _mapping_get_mt_idx_from_id() 412 mt_entry = &sc->mapping_table[map_idx]; in _mapping_get_mt_idx_from_id() 414 return map_idx; in _mapping_get_mt_idx_from_id() [all …]
|
/freebsd/usr.bin/vtfontcvt/ |
H A D | vtfontcvt.c | 196 add_mapping(struct glyph *gl, unsigned int c, unsigned int map_idx) in add_mapping() argument 208 ml = &maps[map_idx]; in add_mapping() 223 map_count[map_idx]++; in add_mapping() 230 dedup_mapping(unsigned int map_idx) in dedup_mapping() argument 233 unsigned normal_map_idx = map_idx - VFNT_MAP_BOLD; in dedup_mapping() 235 assert(map_idx == VFNT_MAP_BOLD || map_idx == VFNT_MAP_BOLD_RIGHT); in dedup_mapping() 237 TAILQ_FOREACH_SAFE(mp_bold, &maps[map_idx], m_list, mp_temp) { in dedup_mapping() 247 TAILQ_REMOVE(&maps[map_idx], mp_bold, m_list); in dedup_mapping() 255 add_glyph(const uint8_t *bytes, unsigned int map_idx, int fallback) in add_glyph() argument 261 glyph_count[map_idx]++; in add_glyph() [all …]
|