Lines Matching defs:handle_arr

142 static	handle_array_t	handle_arr;
380 if (maxnum != handle_arr.maxnum) {
394 free(handle_arr.fru_types);
395 handle_arr.fru_types = fru_types;
396 free(handle_arr.envhandles);
397 handle_arr.envhandles = envhandles;
398 free(handle_arr.piclprhdls);
399 handle_arr.piclprhdls = piclprhdls;
401 (void) memset(handle_arr.fru_types, 0,
403 (void) memset(handle_arr.envhandles, 0,
405 (void) memset(handle_arr.piclprhdls, 0,
409 handle_arr.num = 0;
410 handle_arr.maxnum = maxnum;
423 handle_arr.maxnum = maxnum;
424 handle_arr.num = 0;
425 handle_arr.fru_types = calloc(maxnum, sizeof (uchar_t));
426 handle_arr.envhandles = calloc(maxnum, sizeof (envmon_handle_t));
427 handle_arr.piclprhdls = calloc(maxnum, sizeof (picl_prophdl_t));
860 for (index = 0; index < handle_arr.num; index++) {
861 if (handle_arr.piclprhdls[index] == proph)
929 fru_type = handle_arr.fru_types[index];
930 id = handle_arr.envhandles[index];
1053 fru_type = handle_arr.fru_types[index];
1074 led_ctl.id = handle_arr.envhandles[index];
1133 int index = handle_arr.num;
1139 if (index >= handle_arr.maxnum)
1150 handle_arr.fru_types[index] = fru_type;
1152 handle_arr.envhandles[index] = id;
1206 handle_arr.envhandles[index].name,
1233 &handle_arr.piclprhdls[index]);
1303 handle_arr.envhandles[index].name);
1345 } while ((id.name[0] != '\0') && (index < handle_arr.maxnum));
1347 handle_arr.num = index;
1510 handle_arr.num--;
1511 if (index != handle_arr.num) {
1513 handle_arr.fru_types[index] =
1514 handle_arr.fru_types[handle_arr.num];
1515 handle_arr.envhandles[index] =
1516 handle_arr.envhandles[handle_arr.num];
1517 handle_arr.piclprhdls[index] =
1518 handle_arr.piclprhdls[handle_arr.num];