Lines Matching defs:preferred
1929 int preferred, path_cnt;
1946 /* if found any online/preferred then use this type */
1949 preferred = 1;
1952 preferred = 0;
1964 MDI_PI(pip)->pi_preferred == preferred) {
2051 int preferred = 1; /* preferred path */
2194 preferred = 1;
2209 preferred == MDI_PI(pip)->pi_preferred) {
2237 if (start == pip && preferred) {
2238 preferred = 0;
2239 } else if (start == pip && !preferred) {
2274 preferred = MDI_PI(start_pip)->pi_preferred;
2276 preferred = 1;
2294 if (preferred == 0) {
2297 * the traversal as preferred
2307 * traversal of non preferred
2310 preferred = 0;
2323 preferred) ? 1 : 0);
2329 preferred) ? 1 : 0);
2334 preferred) ? 1 : 0);
2342 preferred) ? 1 : 0);
2358 preferred) ? 1 : 0);
2412 if (preferred == 1) {
2416 * traversal of non preferred
2419 preferred = 0;
2425 * Non-preferred. Bail out now.
2445 * non-preferred path in the following
2454 * preferred in the second pass. The following
2457 * other non preferred elements.
2461 != preferred)) {
2473 if (start == pip && preferred) {
2475 preferred = 0;
2476 } else if (start == pip && !preferred) {
4335 * Get the preferred path flag
4348 * Set the preferred path flag
4351 mdi_pi_set_preferred(mdi_pathinfo_t *pip, int preferred)
4354 MDI_PI(pip)->pi_preferred = preferred;