Lines Matching defs:path_instance

165  * a vHCI.  This pathinfo "path" is associated with a 'path_instance'.
333 /* Allocate ['path_instance' <-> "path"] maps */
2055 int path_instance; /* request specific path instance */
2059 path_instance = (int)(intptr_t)arg;
2062 path_instance = 0;
2129 /* Caller is specifying a specific pathinfo path by path_instance */
2130 if (path_instance) {
2131 /* search for pathinfo with correct path_instance */
2133 pip && (mdi_pi_get_path_instance(pip) != path_instance);
2145 * path_instance, we select the requested path in any
2937 int path_instance;
2965 * already allocated a 'path_instance' for that "path". If so,
2966 * we use the already allocated 'path_instance'. If not, we
2967 * allocate a new 'path_instance' and associate it with a copy of
2969 * between a 'path_instance' this "path" string persists until
2977 path_instance = (uint_t)(intptr_t)hv;
2979 /* allocate a new 'path_instance' and persistent "path" */
2980 path_instance = mdi_pathmap_instance++;
2984 (mod_hash_val_t)(intptr_t)path_instance);
2986 (mod_hash_key_t)(intptr_t)path_instance,
2995 (mod_hash_key_t)(intptr_t)path_instance,
2999 MDI_PI(pip)->pi_path_instance = path_instance;
3035 * Lookup of "path" by 'path_instance'. Return "path".
3039 mdi_pi_pathname_by_instance(int path_instance)
3044 /* mdi_pathmap lookup of "path" by 'path_instance' */
3047 (mod_hash_key_t)(intptr_t)path_instance, &hv) == 0)
3057 * Lookup of "shortpath" by 'path_instance'. Return "shortpath".
3061 mdi_pi_spathname_by_instance(int path_instance)
3066 /* mdi_pathmap lookup of "path" by 'path_instance' */
3069 (mod_hash_key_t)(intptr_t)path_instance, &hv) == 0)
4089 * Get the 'path_instance' of a mdi_pathinfo node
4092 * path_instance