Lines Matching defs:preference
2131 * preference is:
2140 dr_target_pref_t preference; /* lower value is higher preference */
2241 preference = dr_get_target_preference(hp, t_mp, s_mp,
2246 if (preference == DR_TP_INVALID)
2249 dr_smt_preference[preference]++;
2251 /* calculate index to start of preference set */
2252 idx = DR_SMT_NUNITS_PER_SET * preference;
2277 preference = (dr_target_pref_t)(idx / DR_SMT_NUNITS_PER_SET);
2279 ASSERT(preference != DR_TP_INVALID);
2353 switch (preference) {
2465 * Returns target preference rank:
2477 dr_target_pref_t preference;
2489 preference = DR_TP_SAME; /* same size */
2491 preference = DR_TP_LARGE; /* larger target */
2500 preference = DR_TP_INVALID;
2503 preference = DR_TP_NONRELOC;
2505 preference = DR_TP_INVALID;
2512 * Force floating board preference lower than all other boards
2515 if ((preference != DR_TP_INVALID) && drmach_board_is_floating(t_id)) {
2517 preference += DR_TP_FLOATING;
2519 preference = DR_TP_INVALID;
2522 PR_MEM("%s: %s preference=%d\n", f, t_mp->sbm_cm.sbdev_path,
2523 preference);
2525 return (preference);