Searched refs:max_meds (Results 1 – 5 of 5) sorted by relevance
164 int max_meds; in meta_set_addmeds() local181 if ((max_meds = get_max_meds(ep)) == 0) in meta_set_addmeds()295 for (i = 0; i < max_meds; i++) in meta_set_addmeds()313 if ((t.n_cnt + sd->sd_med.n_cnt) > max_meds) { in meta_set_addmeds()380 for (j = 0; j < max_meds; j++) { in meta_set_addmeds()485 for (i = 0; i < max_meds; i++) { in meta_set_addmeds()616 for (i = 0; i < max_meds; i++) { in meta_set_addmeds()745 int max_meds; in meta_set_deletemeds() local766 if ((max_meds = get_max_meds(ep)) == 0) in meta_set_deletemeds()805 for (i = 0; i < max_meds; i++) in meta_set_deletemeds()[all …]
821 int max_meds; in meta_med_hnm2ip() local823 if ((max_meds = get_max_meds(ep)) == 0) in meta_med_hnm2ip()826 for (i = 0; i < max_meds; i++) { in meta_med_hnm2ip()875 int max_meds; in meta_h2hi() local877 if ((max_meds = get_max_meds(ep)) == 0) in meta_h2hi()882 for (i = 0; i < max_meds; i++) { in meta_h2hi()898 int max_meds; in meta_hi2h() local900 if ((max_meds = get_max_meds(ep)) == 0) in meta_hi2h()904 for (i = 0; i < max_meds; i++) { in meta_hi2h()925 int max_meds; in setup_med_cfg() local[all …]
3215 int max_meds; in meta_traditional_set_addhosts() local3317 if ((max_meds = get_max_meds(ep)) == 0) in meta_traditional_set_addhosts()3506 for (i = 0; i < max_meds; i++) { in meta_traditional_set_addhosts()3583 for (i = 0; i < max_meds; i++) { in meta_traditional_set_addhosts()3752 int max_meds = 0; in meta_set_deletehosts() local4046 if ((max_meds = get_max_meds(ep)) == 0) { in meta_set_deletehosts()4163 for (i = 0; i < max_meds; i++) { in meta_set_deletehosts()4812 for (i = 0; i < max_meds; i++) { in meta_set_deletehosts()5244 for (i = 0; i < max_meds; i++) { in meta_set_deletehosts()
254 static int max_meds = 0; in get_max_meds() local256 if (max_meds == 0) in get_max_meds()257 if (metaioctl(MD_MED_GET_NMED, &max_meds, ep, NULL) != 0) in get_max_meds()260 return (max_meds); in get_max_meds()
104 int max_meds; in printset() local228 if ((max_meds = get_max_meds(ep)) == 0) in printset()231 for (i = 0; i < max_meds; i++) { in printset()