Searched refs:__maxlen (Results 1 – 6 of 6) sorted by relevance
| /openbmc/ipmitool/include/ipmitool/ |
| H A D | helper.h | 122 #ifndef __maxlen 123 # define __maxlen(a, b) ({ int x=strlen(a); int y=strlen(b); (x > y) ? x : y;}) macro
|
| /openbmc/ipmitool/lib/ |
| H A D | helper.c | 397 if (strncasecmp(vs[i].str, str, __maxlen(str, vs[i].str)) == 0) in str2val()
|
| H A D | ipmi_event.c | 218 strncasecmp(desc, evt->desc, __maxlen(desc, evt->desc)) == 0) in ipmi_event_find_offset()
|
| H A D | ipmi_main.c | 197 if (strncmp(name, cmd->name, __maxlen(cmd->name, name)) == 0) in ipmi_cmd_run()
|
| H A D | ipmi_sdr.c | 4506 __maxlen(type, in ipmi_sdr_print_type() 4571 __maxlen(entitystr, entity_id_vals[i].str)) == 0) { in ipmi_sdr_print_entity()
|
| H A D | ipmi_dcmi.c | 597 __maxlen(str, vs[i].str)) == 0) { in str2val2()
|