Searched refs:entitystr (Results 1 – 1 of 1) sorted by relevance
/openbmc/ipmitool/lib/ |
H A D | ipmi_sdr.c | 4545 ipmi_sdr_print_entity(struct ipmi_intf *intf, char *entitystr) in ipmi_sdr_print_entity() argument 4553 if (entitystr == NULL || in ipmi_sdr_print_entity() 4554 strncasecmp(entitystr, "help", 4) == 0 || in ipmi_sdr_print_entity() 4555 strncasecmp(entitystr, "list", 4) == 0) { in ipmi_sdr_print_entity() 4560 if (sscanf(entitystr, "%u.%u", &id, &instance) != 2) { in ipmi_sdr_print_entity() 4565 if (sscanf(entitystr, "%u", &id) != 1) { in ipmi_sdr_print_entity() 4570 if (strncasecmp(entitystr, entity_id_vals[i].str, in ipmi_sdr_print_entity() 4571 __maxlen(entitystr, entity_id_vals[i].str)) == 0) { in ipmi_sdr_print_entity() 4578 lprintf(LOG_ERR, "Invalid entity: %s", entitystr); in ipmi_sdr_print_entity()
|