Lines Matching refs:cnt
146 int cnt;
159 cnt = smbios_info_strtab(shp, oem_id, 0, NULL);
160 if (cnt > 0) {
161 oem_str = alloca(sizeof (char *) * cnt);
162 (void) smbios_info_strtab(shp, oem_id, cnt, oem_str);
164 for (i = 0; i < cnt; i++) {
315 int i, n, cnt;
318 cnt = smbios_info_contains(shp, id, chdl_cnt, chdl);
319 if (cnt > SMB_CONT_MAX)
321 n = MIN(chdl_cnt, cnt);
363 int i, n, cnt;
366 cnt = smbios_info_contains(shp, id, elem_cnt, elems);
367 if (cnt > SMB_CONT_MAX)
369 n = MIN(elem_cnt, cnt);