Lines Matching defs:ntp
144 ipmi_name_trans_t *ntp;
146 for (ntp = &ipmi_entity_table[0]; ntp->int_name != NULL; ntp++) {
147 if (ntp->int_value == id) {
148 (void) strlcpy(buf, ntp->int_name, len);
159 ipmi_name_trans_t *ntp;
161 for (ntp = &ipmi_sensor_type_table[0]; ntp->int_name != NULL; ntp++) {
162 if (ntp->int_value == type) {
163 (void) strlcpy(buf, ntp->int_name, len);
174 ipmi_name_trans_t *ntp;
176 for (ntp = &ipmi_units_type_table[0]; ntp->int_name != NULL; ntp++) {
177 if (ntp->int_value == type) {
178 (void) strlcpy(buf, ntp->int_name, len);
191 ipmi_name_trans_t *ntp;
195 ntp = &ipmi_sensor_type_table[0];
198 ntp = &ipmi_reading_type_table[0];
201 for (; ntp->int_name != NULL; ntp++) {
202 if (ntp->int_value == val) {
203 (void) strlcpy(buf, ntp->int_name, len);