Lines Matching defs:max_paths

60 	uint8_t			max_paths;
83 ibt_path_flags_t flags, uint8_t max_paths);
86 ibt_path_flags_t flags, uint8_t max_paths, ibt_path_info_t *paths,
120 ibt_path_attr_t *attrp, uint8_t max_paths, ibt_path_handler_t func,
124 ibt_hdl, ibtl_cm_get_clnt_name(ibt_hdl), flags, attrp, max_paths,
134 return (ibcm_handle_get_path(attrp, flags, max_paths, NULL, NULL,
147 * If the first 3 match, max_paths is 1, sname is NULL, and sid is 0,
245 uint8_t max_paths, ibt_path_info_t *path, uint8_t *num_paths_p)
251 if (max_paths != 1 || attrp->pa_num_dgids != 1 ||
308 ibt_path_attr_t *attrp, uint8_t max_paths, ibt_path_info_t *path)
314 if (max_paths != 1 || attrp->pa_num_dgids != 1 ||
373 * max_paths The size of the "paths" array argument. Also, this
375 * max_paths indicates the number of requested paths to
393 ibt_path_attr_t *attrp, uint8_t max_paths, ibt_path_info_t *paths,
401 ibt_hdl, ibtl_cm_get_clnt_name(ibt_hdl), flags, attrp, max_paths);
412 if (ibcm_path_cache_check(flags, attrp, max_paths, paths,
416 retval = ibcm_handle_get_path(attrp, flags, max_paths, paths,
420 ibcm_path_cache_add(flags, attrp, max_paths, paths);
427 uint8_t max_paths, ibt_path_info_t *paths, uint8_t *num_path_p,
435 retval = ibcm_validate_path_attributes(attrp, flags, max_paths);
464 if ((flags & IBT_PATH_AVAIL) && (max_paths == 1)) {
473 path_tq->max_paths = max_paths;
507 uint8_t max_paths)
517 max_paths, flags, attrp->pa_num_dgids, attrp->pa_sd_flags);
532 (max_paths > IBT_MAX_SPECIAL_PATHS)) {
549 * w/ IBT_PATH_MULTI_SVC_DEST flag, max_paths must be greater than "1".
551 if ((max_paths == 0) ||
552 ((flags & IBT_PATH_MULTI_SVC_DEST) && (max_paths < 2))) {
555 "max_paths %d", flags, max_paths);
655 uint8_t max_paths, num_path;
665 p_arg, p_arg->flags, p_arg->max_paths);
667 max_paths = num_path = p_arg->max_paths;
715 len = max_paths - 1;
743 p_arg->paths = kmem_zalloc(sizeof (ibt_path_info_t) * max_paths,
853 * We allocated earlier memory based on "max_paths",
864 sizeof (ibt_path_info_t) * max_paths);
868 sizeof (ibt_path_info_t) * max_paths);
883 "Found %d/%d Path Records", retval, num_path, max_paths);
2399 if (rec_found == p_arg->max_paths)
2403 if (rec_found < p_arg->max_paths)
3740 uint8_t max_paths, num_path;
3755 max_paths = num_path = p_arg->attr.ipa_max_paths;
3858 p_arg->paths = kmem_zalloc(sizeof (ibt_path_info_t) * max_paths,
3862 sizeof (ibt_path_ip_src_t) * max_paths, KM_SLEEP);
3936 * We allocated earlier memory based on "max_paths",
3947 sizeof (ibt_path_info_t) * max_paths);
3956 sizeof (ibt_path_ip_src_t) * max_paths);
3960 sizeof (ibt_path_info_t) * max_paths);
3963 sizeof (ibt_path_ip_src_t) * max_paths);
3985 "Found %d/%d Path Records", retval, num_path, max_paths);
4021 IBTF_DPRINTF_L2(cmlog, "ibcm_val_ipattr: Invalid max_paths %d",